Hello all (and sorry for a rather long post).
I am struggling a bit with the Xine video player... I'm using Debian Woody (stable, yes) and I haven't got Xine to play WMV files yet, and I have also problems when playing AVI files. I got one AVI file working though.
I tested the same files under Windows XP and they work fine there. 10 points to Microsoft from that.
(
Please do not instruct me to change to MPlayer, I don't like it. It ruins my "I-like-my-Debian-as-stable-as-possible" philosophy completely. And I remember trying to install it once and got so annoyed back then that those bad memories have not faded yet.)
System specs:
- NVIDIA 6600 GT 128 MB AGP graphics card (Asus)
- NVIDIA's latest graphics card driver for Linux
- Xine is using OSS audio driver
This is what I did:
As root: apt-get install xine-ui
All fine for now, it plays MPEG's just good as a normal user.
After learning that I have to install w32codecs to get Xine playing WMV and some other file formats, I decided to download those codecs from the MPlayer site.
1. user: downloaded codec file essential-20050412.tar.bz2 (all codecs without free alternative, for Linux x86)
2. root: copied all files from essential-20050412.tar.bz2 to /usr/lib/win32
3. user: tried Xine with WMV, no luck... didn't work
4. user: checked that Xine points to the correct directory... yes it does
5. root: tried Xine with WMV, no luck... didn't work
This is the output Xine gave at this point to the console:
Code:
This is xine (X11 gui) - a free video player v0.9.8
(c) 2000, 2001 by G. Bartsch and the xine project team.
Built with xine library 0.9.8 [Sat 19 Jan 2002 22:24:54]-[gcc version 2.95.4 (Debian prerelease)]-[Linux 2.4.18pre2 i686].
Found xine library version: 0.9.8 (0.9.8).
Display is not using Xinerama.
video_out_xv: using Xv port 166 from adaptor NV17 Video Texture for hardware colorspace conversion and scaling.
video_out_xv: this adaptor supports the yuy2 format.
video_out_xv: this adaptor supports the yv12 format.
load_plugins: video output plugin Xv successfully loaded.
load_plugins: audio output plugin /usr/lib/xine/plugins/xineplug_ao_out_alsa.so failed to link: libasound.so.2: cannot open shared object file: No such file or directory
audio_oss_out: Opening audio device...
audio_oss_out: using device >/dev/dsp<
audio_oss_out: using SNDCTL_DSP_GETODELAY
audio_oss_out : supported modes are mono stereo
load_plugins: audio output plugin oss successfully loaded.
xine_init entered
xine: using MMXEXT optimized memcpy()
load_plugins: input plugin found : CDA
load_plugins: input plugin found : DVD
load_plugins: input plugin found : stdin_fifo
load_plugins: input plugin found : TCP
load_plugins: input plugin found : file
load_plugins: input plugin found : RTP
load_plugins: input plugin found : VCD
load_plugins: input plugin found : HTTP
load_plugins: demux plugin found : MPEG_TS
load_plugins: demux plugin found : QUICKTIME
load_plugins: demux plugin found : MPEG
load_plugins: demux plugin found : ASF
load_plugins: demux plugin found : AVI
load_plugins: demux plugin found : CDA
load_plugins: demux plugin found : MPEG_ELEM
load_plugins: demux plugin found : MPEG_PES
load_plugins: demux plugin found : OGG
load_plugins: demux plugin found : MPGAUDIO
load_plugins: demux plugin found : MPEG_BLOCK
video decoder plugin found : vfw (win32) video decoder
audio decoder plugin found : vfw (win32) audio decoder
audio decoder plugin found : a/52dec
audio decoder plugin found : dts
audio decoder plugin found : mad
spu decoder plugin found : spucc
spu decoder plugin found : spudec
video decoder plugin found : mpeg2dec
audio decoder plugin found : lpcm
video decoder plugin found : videofill
video decoder plugin found : ffmpeg video decoder
spu decoder plugin found : sputext
audio decoder plugin found : vorbis
xine_init returning
xine_play: xine open Ashlee_Sax.wmv, start pos = 0, start time = 0 (sec)
xine: using input plugin >file< for this MRL (Ashlee_Sax.wmv).
xine: using demuxer plugin >ASF< for this MRL.
metronom: video stream start...
metronom: waiting for audio to start...
metronom: audio stream start...
metronom: audio stream start...done
demux_asf: stream length is 67 sec, rate is 14172 bytes/sec
demux_asf: audio conceal interleave detected (1 x 1 x 929)
demux_asf: audio format : DivX audio (WMA) (wFormatTag 0x161)
demux_asf: wavex header is 28 bytes long
audio_loop: using decoder >vfw (win32) audio decoder<
audio_oss_out: ao_open rate=44100, mode=4, dev=/dev/dsp
audio_oss_out: audio rate : 44100 requested, 44100 provided by device/sec
audio_oss_out : 1 channels output
audio_out: output sample rate 44100
demux_asf: unknown video format WMV3
demux_asf: title :
demux_asf: author :
demux_asf: copyright :
demux_asf: comment :
audio_out: thread created
Loading DLL: 'divxa32.acm'
Win32 LoadLibrary failed to load: divxa32.acm, /usr/lib/win32/divxa32.acm, /usr/local/lib/win32/divxa32.acm
Can't open library divxa32.acm
w32codec: (ACM_Decoder) Unappropriate audio format
demux_asf: demux loop starting...
demux_asf: end of data
demux_asf: end of data
demux_asf: end of data
demux_asf: end of data
demux_asf: end of data
demux_asf: end of data
demux_asf: end of data
demux_asf: unknow segtype 1
demux_asf: end of data
demux_asf: end of data
demux_asf: end of data
demux_asf: end of data
metronom: video stream end
metronom: waiting for audio to end...
metronom: audio stream end
audio_out: stopping thread...
audio_out: thread stopped, closing driver
xine_stop
xine_stop: stopping demuxer
demux_asf: stop...ignored
xine_stop: do
OK I know how to read from there that it doesn't recognize the video format and I am still missing some file (divxa32.acm) from the /usr/lib/win32 directory. I head back to the MPlayer site to download the file all-20050412.tar.bz2 (all codecs for Linux x86 (Win32 .dll and Linux .so)).
Second method:
1. user: downloaded codec file all-20050412.tar.bz2 all-20050412.tar.bz2
2. root: removed all previously installed files from /usr/lib/win32
2. root: copied all files from all-20050412.tar.bz2 to /usr/lib/win32 (and the missing file (divxa32.acm) from the previous attempt is now in the directory, looks promising...)
3. user: tried Xine with WMV, no luck... didn't work!
This is the output Xine is now giving to the console:
Code:
This is xine (X11 gui) - a free video player v0.9.8
(c) 2000, 2001 by G. Bartsch and the xine project team.
Built with xine library 0.9.8 [Sat 19 Jan 2002 22:24:54]-[gcc version 2.95.4 (Debian prerelease)]-[Linux 2.4.18pre2 i686].
Found xine library version: 0.9.8 (0.9.8).
Display is not using Xinerama.
video_out_xv: using Xv port 166 from adaptor NV17 Video Texture for hardware colorspace conversion and scaling.
video_out_xv: this adaptor supports the yuy2 format.
video_out_xv: this adaptor supports the yv12 format.
load_plugins: video output plugin Xv successfully loaded.
load_plugins: audio output plugin /usr/lib/xine/plugins/xineplug_ao_out_alsa.so failed to link: libasound.so.2: cannot open shared object file: No such file or directory
audio_oss_out: Opening audio device...
audio_oss_out: using device >/dev/dsp<
audio_oss_out: using SNDCTL_DSP_GETODELAY
audio_oss_out : supported modes are mono stereo
load_plugins: audio output plugin oss successfully loaded.
xine_init entered
xine: using MMXEXT optimized memcpy()
load_plugins: input plugin found : CDA
load_plugins: input plugin found : DVD
load_plugins: input plugin found : stdin_fifo
load_plugins: input plugin found : TCP
load_plugins: input plugin found : file
load_plugins: input plugin found : RTP
load_plugins: input plugin found : VCD
load_plugins: input plugin found : HTTP
load_plugins: demux plugin found : MPEG_TS
load_plugins: demux plugin found : QUICKTIME
load_plugins: demux plugin found : MPEG
load_plugins: demux plugin found : ASF
load_plugins: demux plugin found : AVI
load_plugins: demux plugin found : CDA
load_plugins: demux plugin found : MPEG_ELEM
load_plugins: demux plugin found : MPEG_PES
load_plugins: demux plugin found : OGG
load_plugins: demux plugin found : MPGAUDIO
load_plugins: demux plugin found : MPEG_BLOCK
video decoder plugin found : vfw (win32) video decoder
audio decoder plugin found : vfw (win32) audio decoder
audio decoder plugin found : a/52dec
audio decoder plugin found : dts
audio decoder plugin found : mad
spu decoder plugin found : spucc
spu decoder plugin found : spudec
video decoder plugin found : mpeg2dec
audio decoder plugin found : lpcm
video decoder plugin found : videofill
video decoder plugin found : ffmpeg video decoder
spu decoder plugin found : sputext
audio decoder plugin found : vorbis
xine_init returning
xine_play: xine open Ashlee_Sax.wmv, start pos = 0, start time = 0 (sec)
xine: using input plugin >file< for this MRL (Ashlee_Sax.wmv).
xine: using demuxer plugin >ASF< for this MRL.
metronom: video stream start...
metronom: waiting for audio to start...
metronom: audio stream start...
metronom: audio stream start...done
demux_asf: stream length is 67 sec, rate is 14172 bytes/sec
demux_asf: audio conceal interleave detected (1 x 1 x 929)
demux_asf: audio format : DivX audio (WMA) (wFormatTag 0x161)
demux_asf: wavex header is 28 bytes long
audio_loop: using decoder >vfw (win32) audio decoder<
audio_oss_out: ao_open rate=44100, mode=4, dev=/dev/dsp
audio_oss_out: audio rate : 44100 requested, 44100 provided by device/sec
audio_oss_out : 1 channels output
audio_out: output sample rate 44100
audio_out: thread created
Loading DLL: 'divxa32.acm'
w32codec: Audio buffer min. size: 139264
w32codec: Recommended source buffer size: 1858
demux_asf: unknown video format WMV3
demux_asf: title :
demux_asf: author :
demux_asf: copyright :
demux_asf: comment :
demux_asf: demux loop starting...
metronom: audio pts discontinuity/start, pts is 303750, wrap_offset is -273750, vpts is 30000
audio_out: inserting 14216 0-frames to fill a gap of 29058 pts
audio_out: adjusting master clock 1341 -> 10891
xine-panel: EXIT
xine_stop
xine_stop: stopping demuxer
xine_stop: done
xine_exit: shutdown audio
metronom: video stream end
metronom: waiting for audio to end...
metronom: audio stream end
Total Unfree 4096 bytes cnt 1 [(nil),0]
audio_out: stopping thread...
audio_out: thread stopped, closing driver
xine_exit: shutdown video
xine_exit: bye!
I can hear sound playing now but there's no video.
I tried playing with all of the "demuxer selection strategy" options in Xine but it didn't help. I left it at the "default" setting.
I can see that this line appears in both listings:
demux_asf: unknown video format WMV3
Somewhere from the MPlayer site I can read that files:
- wmv9dmod.dll
- wmvdmod.dll
are needed for WMV3 and I have them but yet I do not get it to work.
I also tried an older codec package (win32codecs-20040703.tar.bz2 from MPlayer archives) but it didn't work any better, gives the same error.
What do you think about this, what should I do to fix the problem? Reboot into Windows XP?