From: Olivier P. <op...@fr...> - 2001-01-09 21:58:53
|
When I run xine (at least the 0.3.3 version exhibits the problem but I have the same behaviour withg latest CVS) with latest alsa drivers (0.5.10 and 0.5.10a) and the Xvideo extension I've got following errors: # xine -A alsa -a 1 Using alsa audio output driver. Using MMX for IDCT transform Using MMX for motion compensation snd_pcm_open_subdevice() failed: Device or resource busy snd_pcm_channel_status() failed: Invalid argument snd_pcm_channel_status() failed: Invalid argument snd_pcm_channel_status() failed: Invalid argument snd_pcm_channel_status() failed: Invalid argument snd_pcm_channel_status() failed: Invalid argument snd_pcm_channel_status() failed: Invalid argument ..... and so on and so on and there's roughly one frame per second displayed.... Now, if I run xine with alsa drivers but with the -s switch I've got: # xine -s -A alsa -a 1 Using alsa audio output driver. Using MMX for IDCT transform Using MMX for motion compensation This is xine - a mpeg 1, 2 player v0.3.3 - (c) 2000 by G. Bartsch. Using X Window System shared memory extension for video output. input_dvd: unable to open raw dvd drive (/dev/rdvd): No such file or directory input plugin found : /usr/local/lib/xine/plugins/input_dvd.so(input_dvd.so) input plugin found : /usr/local/lib/xine/plugins/input_file.so(input_file.so) input plugin found : /usr/local/lib/xine/plugins/input_net.so(input_net.so) input plugin found : /usr/local/lib/xine/plugins/input_stdin_fifo.so(input_stdin_fifo.so) input plugin found : /usr/local/lib/xine/plugins/input_vcd.so(input_vcd.so) input_dvd: get_autoplay_list Using ifo VTS_02_0.IFO input dvd : input_plugin_open >dvd://t0c0t0< input dvd : input_plugin_open media type correct. file name is t0c0t0 IFO-mode playing title 0 from chapter 0 -> chapter 0 Using ifo VTS_02_0.IFO input length : 137709568 yuv2rgb: 16 bpp, mode : 1 yuv2rgb: using MMX for colorspace transform ac3 sampling rate stream: 48000 Hz, output : 48000 Hz (3072 -> 3072 samples) actual rate: 48000 ac3 sampling rate stream: 48000 Hz, output : 48000 Hz (3072 -> 3072 samples) 200 frames delivered, 2 frames skipped, 0 frames discarded 200 frames delivered, 0 frames skipped, 0 frames discarded ...and everything is simply *perfect* ! If now I try to run alsa with oss drivers and Xvideo extension I have # xine Using oss audio output driver. Using MMX for IDCT transform Using MMX for motion compensation This is xine - a mpeg 1, 2 player v0.3.3 - (c) 2000 by G. Bartsch. video_out_xv: using Xvideo port 38 for hw scaling Using X Window System video extension for video output. input_dvd: unable to open raw dvd drive (/dev/rdvd): No such file or directory input plugin found : /usr/local/lib/xine/plugins/input_dvd.so(input_dvd.so) input plugin found : /usr/local/lib/xine/plugins/input_file.so(input_file.so) input plugin found : /usr/local/lib/xine/plugins/input_net.so(input_net.so) input plugin found : /usr/local/lib/xine/plugins/input_stdin_fifo.so(input_stdin_fifo.so) input plugin found : /usr/local/lib/xine/plugins/input_vcd.so(input_vcd.so) input_dvd: get_autoplay_list Using ifo VTS_02_0.IFO input dvd : input_plugin_open >dvd://t0c0t0< input dvd : input_plugin_open media type correct. file name is t0c0t0 IFO-mode playing title 0 from chapter 0 -> chapter 0 Using ifo VTS_02_0.IFO input length : 137709568 ac3 sampling rate stream: 48000 Hz, output : 48000 Hz (3072 -> 3072 samples) ac3 sampling rate stream: 48000 Hz, output : 48000 Hz (3072 -> 3072 samples) warning : no free img buffers left warning : no free img buffers left warning : no free img buffers left warning : no free img buffers left warning : no free img buffers left Ouch! lastPTS : 3838 current pts : 0 video_out : throwing away image with pts 28800 because it's too old (diff : 23136 > 1800). video_out : throwing away image with pts 32400 because it's too old (diff : 19536 > 1800). video_out : throwing away image with pts 36000 because it's too old (diff : 15936 > 1800). video_out : throwing away image with pts 39600 because it's too old (diff : 12336 > 1800). video_out : throwing away image with pts 43200 because it's too old (diff : 8736 > 1800). video_out : throwing away image with pts 46800 because it's too old (diff : 5136 > 1800). video_out : throwing away image with pts 54000 because it's too old (diff : 23145 > 1800). video_out : throwing away image with pts 57600 because it's too old (diff : 19545 > 1800). video_out : throwing away image with pts 61200 because it's too old (diff : 15945 > 1800). video_out : throwing away image with pts 64800 because it's too old (diff : 12345 > 1800). video_out : throwing away image with pts 68400 because it's too old (diff : 8745 > 1800). video_out : throwing away image with pts 72000 because it's too old (diff : 5145 > 1800). video_out : throwing away image with pts 0 because it's too old (diff : 77145 > 1800). video_out : throwing away image with pts 0 because it's too old (diff : 77145 > 1800). video_out : throwing away image with pts 0 because it's too old (diff : 77145 > 1800). video_out : throwing away image with pts 0 because it's too old (diff : 77145 > 1800). Ouch! lastPTS : 89219 current pts : 3843 Ouch! lastPTS : 131071 current pts : 5 Ouch! lastPTS : 113796 current pts : 0 and the result is almost correct.... My configuration: CPU: Athlon 1GHz Sound Card: SB Live Video Card: Nvidia Geforce 2 MX with nvidia 0.9.5 drivers -- |