xine runs slow when watching DVDs

From: Peter Nuttall (pnu_at_ukfsn.org)
Date: 08/26/03

  • Next message: Greg Folkert: "Re: Does Debian support IDE disks with more than 128GiB or IDE 48bit addressing?"
    To: debian-user@lists.debian.org
    Date: Tue, 26 Aug 2003 18:21:28 +0100
    
    

    I am trying to use xine to watch DVDs but It keeps jerking and dropping
    frames. I have a Athon 2000XP processor and 256MB of RAM which I think should
    be OK. the graphics card is a NVIDIA TNT2 using the nvidia drivers. I have
    included both the output of xvinfo and the file ~/.xine/config if that helps.
    I am sorry the email is so large but I was not sure what was needed.

    Thanks

    pete

    vidtune xvinfo
    Peter@Lupin:~$ xvinfo
    X-Video Extension version 2.2
    screen #0
      Adaptor #0: "NV04 Video Overlay"
        number of ports: 1
        port base: 87
        operations supported: PutImage
        supported visuals:
          depth 24, visualID 0x21
          depth 24, visualID 0x23
          depth 24, visualID 0x24
          depth 24, visualID 0x25
          depth 24, visualID 0x26
          depth 24, visualID 0x27
          depth 24, visualID 0x28
          depth 24, visualID 0x29
          depth 24, visualID 0x22
          depth 24, visualID 0x2a
          depth 24, visualID 0x2b
          depth 24, visualID 0x2c
          depth 24, visualID 0x2d
          depth 24, visualID 0x2e
          depth 24, visualID 0x2f
          depth 24, visualID 0x30
        number of attributes: 4
          "XV_DOUBLE_BUFFER" (range 0 to 1)
                  client settable attribute
                  client gettable attribute (current value is 1)
          "XV_COLORKEY" (range 0 to 16777215)
                  client settable attribute
                  client gettable attribute (current value is 66046)
          "XV_AUTOPAINT_COLORKEY" (range 0 to 1)
                  client settable attribute
                  client gettable attribute (current value is 1)
          "XV_SET_DEFAULTS" (range 0 to 0)
                  client settable attribute
        maximum XvImage size: 2046 x 2046
        Number of image formats: 4
          id: 0x32595559 (YUY2)
            guid: 59555932-0000-0010-8000-00aa00389b71
            bits per pixel: 16
            number of planes: 1
            type: YUV (packed)
          id: 0x32315659 (YV12)
            guid: 59563132-0000-0010-8000-00aa00389b71
            bits per pixel: 12
            number of planes: 3
            type: YUV (planar)
          id: 0x59565955 (UYVY)
            guid: 55595659-0000-0010-8000-00aa00389b71
            bits per pixel: 16
            number of planes: 1
            type: YUV (packed)
          id: 0x30323449 (I420)
            guid: 49343230-0000-0010-8000-00aa00389b71
            bits per pixel: 12
            number of planes: 3
            type: YUV (planar)
      Adaptor #1: "NV05 Video Blitter"
        number of ports: 32
        port base: 88
        operations supported: PutImage
        supported visuals:
          depth 24, visualID 0x21
          depth 24, visualID 0x23
          depth 24, visualID 0x24
          depth 24, visualID 0x25
          depth 24, visualID 0x26
          depth 24, visualID 0x27
          depth 24, visualID 0x28
          depth 24, visualID 0x29
          depth 24, visualID 0x22
          depth 24, visualID 0x2a
          depth 24, visualID 0x2b
          depth 24, visualID 0x2c
          depth 24, visualID 0x2d
          depth 24, visualID 0x2e
          depth 24, visualID 0x2f
          depth 24, visualID 0x30
        no port attributes defined
        maximum XvImage size: 2046 x 2046
        Number of image formats: 5
          id: 0x32595559 (YUY2)
            guid: 59555932-0000-0010-8000-00aa00389b71
            bits per pixel: 16
            number of planes: 1
            type: YUV (packed)
          id: 0x32315659 (YV12)
            guid: 59563132-0000-0010-8000-00aa00389b71
            bits per pixel: 12
            number of planes: 3
            type: YUV (planar)
          id: 0x59565955 (UYVY)
            guid: 55595659-0000-0010-8000-00aa00389b71
            bits per pixel: 16
            number of planes: 1
            type: YUV (packed)
          id: 0x30323449 (I420)
            guid: 49343230-0000-0010-8000-00aa00389b71
            bits per pixel: 12
            number of planes: 3
            type: YUV (planar)
          id: 0x3
            guid: 03000000-0000-0010-8000-00aa00389b71
            bits per pixel: 32
            number of planes: 1
            type: RGB (packed)
            depth: 0
            red, green, blue masks: 0xff0000, 0xff00, 0xff

    xine config

    #
    # xine config file
    #
    .version:1

    # Windows stacking (more)
    # bool, default: 0
    gui.always_layer_above:0

    # Amplification level
    # [0..200], default: 100
    gui.amp_level:100

    # Visiblility behavior of panel
    # bool, default: 0
    gui.auto_panel_visibility:0

    # Visibility behavior of output window
    # bool, default: 0
    gui.auto_video_output_visibility:0

    # Event sender behavior
    # bool, default: 1
    gui.eventer_sticky:1

    # Configuration experience level
    # { Beginner Advanced Expert Master of the known universe }, default: 0
    gui.experience_level:Beginner

    # Windows stacking
    # bool, default: 0
    gui.layer_above:0

    # Logo mrl
    # string, default: file:/usr/share/xine/skins/xine-ui_logo.mpv
    gui.logo_mrl:file:/usr/share/xine/skins/xine-ui_logo.mpv

    # Enable OSD support
    # bool, default: 1
    gui.osd_enabled:1

    # Dismiss OSD time (s)
    # numeric, default: 3
    gui.osd_timeout:3

    # gui panel visibility
    # bool, default: 1
    gui.panel_visible:1

    # numeric, default: 200
    gui.panel_x:200

    # numeric, default: 100
    gui.panel_y:100

    # Ask user for playback with unsupported codec
    # bool, default: 0
    gui.play_anyway:0

    # Automatically reload old playlist
    # bool, default: 0
    gui.playlist_auto_reload:0

    # Audio visualization plugin
    # { fftscope oscope goom }, default: 0
    gui.post_audio_plugin:fftscope

    # Screensaver wakeup
    # numeric, default: 10
    gui.screensaver_timeout:10

    gui.setup_x:100
    gui.setup_y:100
    # Stream information
    # bool, default: 0
    gui.sinfo_auto_update:0

    # gui skin theme
    # { xinetic cloudy CelomaChrome }, default: 0
    gui.skin:xinetic

    # Skin Server Url
    # string, default: http://xine.sourceforge.net/skins/skins.slx
    gui.skin_server_url:http://xine.sourceforge.net/skins/skins.slx

    # Chapter hopping
    # bool, default: 1
    gui.skip_by_chapter:1

    # Change xine's behavior for unexperienced user
    # bool, default: 1
    gui.smart_mode:1

    # Snapshot location
    # string, default: /home/Peter
    gui.snapshotdir:/home/Peter

    # Display splash screen
    # bool, default: 1
    gui.splash:1

    # New stream sizes resize output window
    # bool, default: 1
    gui.stream_resize_window:1

    # tips timeout (ms)
    # numeric, default: 500
    gui.tips_timeout:500

    # gui tips visibility
    # bool, default: 1
    gui.tips_visible:1

    # use XVidModeExtension when switching to fullscreen
    # bool, default: 0
    gui.use_xvidext:0

    # numeric, default: 100
    gui.viewlog_x:100

    # numeric, default: 100
    gui.viewlog_y:100

    # Visual animation style
    # { None Post Plugin Stream Animation }, default: 1
    gui.visual_anim:Post Plugin

    # Synchronized X protocol (debug)
    # bool, default: 0
    gui.xsynchronize:0

    # Double size for small streams (require stream_resize_window)
    # bool, default: 0
    gui.zoom_small_stream:0

    # device used for 5.1-channel output
    # string, default: iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2
    audio.alsa_a52_device:iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2

    # device used for mono output
    # string, default: default
    audio.alsa_default_device:default

    # device used for stereo output
    # string, default: default
    audio.alsa_front_device:default

    # used to inform xine about what the sound card can do
    # bool, default: 0
    audio.alsa_mmap_enable:0

    # device used for 4-channel output
    # string, default: surround40
    audio.alsa_surround40_device:surround40

    # device used for 5-channel output
    # string, default: surround51
    audio.alsa_surround50_device:surround51

    # device used for 5.1-channel output
    # string, default: surround51
    audio.alsa_surround51_device:surround51

    # choose method to sync audio and video
    # { metronom_feedback resample }, default: 0
    audio.av_sync_method:metronom_feedback

    # audio driver to use
    # { auto null alsa oss arts esd none }, default: 0
    audio.driver:auto

    # if !=0 always resample to given rate
    # numeric, default: 0
    audio.force_rate:0

    # Audio volume
    # [0..100], default: 50
    audio.mixer_volume:50

    # /dev/dsp# device to use for oss output, -1 => auto_detect
    # numeric, default: -1
    audio.oss_device_num:-1

    # adjust if audio is offsync
    # numeric, default: 0
    audio.passthrough_offset:0

    # restore volume level at startup
    # bool, default: 0
    audio.remember_volume:0

    # adjust whether resampling is done or not
    # { auto off on }, default: 0
    audio.resample_mode:auto

    # double buffer to sync video to the retrace
    # bool, default: 1
    video.XV_DOUBLE_BUFFER:1

    # Software deinterlace method (Key I toggles deinterlacer on/off)
    # { none bob weave greedy onefield onefield_xv linearblend }, default: 4
    video.deinterlace_method:onefield

    # video driver to use
    # { auto aadxr3 dxr3 xv SyncFB xshm aa none vidixfb vidix fb },
    default: 0
    video.driver:auto

    # horizontal image position in the output window
    # [0..100], default: 50
    video.horizontal_position:50

    # number of video buffers to allocate (higher values mean smoother playback
    but higher latency)
    # numeric, default: 500
    video.num_buffers:500

    # vertical image position in the output window
    # [0..100], default: 50
    video.vertical_position:50

    # send event to front end if percentage of discarded frames exceed this value
    # numeric, default: 10
    video.warn_discarded_threshold:10

    # send event to front end if percentage of skipped frames exceed this value
    # numeric, default: 10
    video.warn_skipped_threshold:10

    # Make Xv autopaint its colorkey
    # bool, default: 1
    video.xv_autopaint_colorkey:1

    # Colorkey used for Xv video overlay
    # [0..16777215], default: 66046
    video.xv_colorkey:66046

    # workaround for some (buggy) XVideo drivers
    # bool, default: 0
    video.xv_pitch_alignment:0

    # Dxr3: Device Name
    # string, default: /dev/em8300-0
    dxr3.devicename:/dev/em8300-0

    # Add black bars to correct aspect ratio
    # bool, default: 1
    dxr3.enc_add_bars:1

    # dxr3: use alternate play mode for mpeg encoder playback
    # bool, default: 1
    dxr3.enc_alt_play_mode:1

    # swap odd and even lines
    # bool, default: 0
    dxr3.enc_swap_fields:0

    # cddbp cache directory
    # string, default: /home/Peter/.xine/cddbcache
    input.cdda_cddb_cachedir:/home/Peter/.xine/cddbcache

    # cddbp server port
    # numeric, default: 8880
    input.cdda_cddb_port:8880

    # cddbp server name
    # string, default: freedb.freedb.org
    input.cdda_cddb_server:freedb.freedb.org

    # device used for cdda drive
    # string, default: /dev/cdrom
    input.cdda_device:/dev/cdrom

    # use cddb feature
    # bool, default: 1
    input.cdda_use_cddb:1

    # path to the libdvdcss title key cache
    # string, default: /home/Peter/.dvdcss/
    input.css_cache_path:/home/Peter/.dvdcss/

    # the css decryption method libdvdcss should use
    # { key disc title }, default: 0
    input.css_decryption_method:key

    # device used for dvd drive
    # string, default: /dev/dvd
    input.dvd_device:/dev/dvd

    # The default language for dvd
    # string, default: en
    input.dvd_language:en

    # raw device set up for dvd access
    # string, default: /dev/rdvd
    input.dvd_raw_device:/dev/rdvd

    # Region that DVD player claims to be (1 -> 8)
    # numeric, default: 1
    input.dvd_region:1

    # Seeking will work on this basis.
    # { seek in program chain seek in program }, default: 0
    input.dvd_seek_behaviour:seek in program chain

    # Skipping will work on this basis.
    # { skip program skip part skip title }, default: 0
    input.dvd_skip_behaviour:skip program

    # Do we use read-ahead caching?
    # bool, default: 1
    input.dvd_use_readahead:1

    # list hidden files
    # bool, default: 1
    input.file_hidden_files:1

    # file browsing start location
    # string, default: /home/Peter
    input.file_origin_path:/home/Peter

    # http proxy host
    # string, default:
    input.http_proxy_host:

    # http proxy password
    # string, default:
    input.http_proxy_password:

    # http proxy port
    # numeric, default: 80
    input.http_proxy_port:80

    # http proxy username
    # string, default:
    input.http_proxy_user:

    # Network bandwidth
    # { 14.4 Kbps (Modem) 19.2 Kbps (Modem) 28.8 Kbps (Modem) 33.6 Kbps (Modem)
    34.4 Kbps (Modem) 57.6 Kbps (Modem) 115.2 Kbps (ISDN) 262.2 Kbps
    (Cable/DSL) 393.2 Kbps (Cable/DSL) 524.3 Kbps (Cable/DSL) 1.5 Mbps (T1)
    10.5 Mbps (LAN) }, default: 10
    input.mms_network_bandwidth:1.5 Mbps (T1)

    # path to the v4l radio device
    # string, default: /dev/v4l/radio0
    input.v4l_radio_device_path:/dev/v4l/radio0

    # path to the v4l video device
    # string, default: /dev/v4l/video0
    input.v4l_video_device_path:/dev/v4l/video0

    # path to your local vcd device file
    # string, default: /dev/cdrom
    input.vcd_device:/dev/cdrom

    # enable a/52 dynamic range compensation
    # bool, default: 0
    codec.a52_dynrng:0

    # a/52 volume control
    # [0..200], default: 100
    codec.a52_level:100

    # enable audio downmixing to 2.0 surround stereo
    # bool, default: 0
    codec.a52_surround_downmix:0

    # ffmpeg mpeg-4 postprocessing quality
    # [0..6], default: 3
    codec.ffmpeg_pp_quality:3

    # path to real player codecs, if installed
    # string, default: unknown
    codec.real_codecs_path:unknown

    # path to win32 codec dlls
    # string, default: /usr/lib/win32
    codec.win32_path:/usr/lib/win32

    # Colorspace conversion method used by Goom
    # { Fast but not photorealistic Slow but looks better (mmx) }, default: 0
    post.goom_csc_method:Fast but not photorealistic

    # Frames per second to generate with Goom
    # numeric, default: 10
    post.goom_fps:10

    # Goom image height in pixels
    # numeric, default: 240
    post.goom_height:240

    # Use Goom asm optimizations
    # bool, default: 1
    post.goom_use_asm:1

    # Goom image width in pixels
    # numeric, default: 320
    post.goom_width:320

    # apply chroma filter after deinterlacing
    # bool, default: 0
    post.tvtime_chroma_filter:0

    # framerate output mode
    # { full half (top) half (bottom) }, default: 0
    post.tvtime_framerate_mode:full

    # make frames evenly spaced for film mode (24 fps)
    # bool, default: 1
    post.tvtime_judder_correction:1

    # deinterlace method
    # { by driver Linear LinearBlend Greedy Greedy2Frame Weave LineDoubler
    Vertical }, default: 1
    post.tvtime_method:Linear

    # pulldown algorithm
    # { none vektor }, default: 1
    post.tvtime_pulldown:vektor

    # disable deinterlacing when progressive_frame flag is set
    # bool, default: 1
    post.tvtime_use_progressive_frame_flag:1

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.28k8_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.a/52_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.adpcm_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.cinepak_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.cyuv_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.dts_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.dxr3-mpeg2_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.dxr3-spudec_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.faad_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.ffmpeg-wmv8_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.ffmpegaudio_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.ffmpegvideo_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.flacdec_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.fli_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.gsm610_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.idcinvideo_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.image_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.interplay_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.interplayaudio_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.logpcm_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.mad_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.mpeg2_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.msrle_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.msvc_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.nsf_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.pcm_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.qta_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.qtrle_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.qtv_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.real_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.realadec_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.rgb_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.roq_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.roqaudio_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.rpza_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.smc_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.speex_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.spucc_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.spudec_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.spuogm_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.sputext_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.svq1_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.vorbis_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.wc3video_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.win32a_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.win32v_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.yuv_frames_priority:0

    # decoder's priority compared to others
    # numeric, default: 0
    decoder.yuv_priority:0

    # media format detection strategy
    # { default reverse content extension }, default: 0
    misc.demux_strategy:default

    # Memcopy method to use in xine for large data chunks.
    # { probe glibc kernel mmx mmxext sse }, default: 0
    misc.memcpy_method:sse

    # Palette (foreground-border-background) to use on subtitles
    # { white-black-transparent white-none-transparent white-none-translucid
    yellow-black-transparent }, default: 0
    misc.osd_text_palette:white-black-transparent

    # Font for external subtitles
    # string, default: sans
    misc.spu_font:sans

    # Encoding of subtitles
    # string, default: iso-8859-1
    misc.spu_src_encoding:iso-8859-1

    # Subtitle size (relative window size)
    # { small normal large }, default: 1
    misc.spu_subtitle_size:normal

    # Subtitle vertical offset (relative window size)
    # numeric, default: 0
    misc.spu_vertical_offset:0

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Greg Folkert: "Re: Does Debian support IDE disks with more than 128GiB or IDE 48bit addressing?"

    Relevant Pages

    • xine and kaffeine jumping
      ... The playback is jerky. ... One user has audio and another does not. ... # bool, default: 0 ... # string, default: /home/carl ...
      (alt.os.linux.suse)
    • [opensuse] hal detecting pressed dvds as empty mediums
      ... on every pressed dvd I try to read I get the ... cdrom: This disc doesn't have any tracks I recognize! ... storage.cdrom.support_media_changed = true (bool) ... info.category = 'storage' (string) ...
      (SuSE)
    • system report 7.2 beta1
      ... The big problem of my laptop is the intel video card, xorg eat up half of my memory,and it's very slow moving windows. ... <CPU Frequency Thermal Control> on cpu0 ... info.subsystem = 'platform' (string) ... net.interface_up = true (bool) ...
      (freebsd-stable)
    • Re: CMAP under vs2005+
      ... typedef MyMap< string, string> CMyMapString; ... BOOL FuncXYZ ... CString v; ...
      (microsoft.public.vc.language)
    • AMD64 reboot regression
      ... info.capabilities = (string list) ... power_management.can_hibernate = false (bool) ... access_control.type = 'sound' ... pnp.description = 'PCI Bus' ...
      (Linux-Kernel)