mplayer current CVS doesn't work with my DVB card

Sebastian <[email protected]>
Newsgroups gmane.comp.video.mplayer.user.dvb
Message-ID <[email protected]>
Hello!

I got a Technotrend fullfeatured card (with mpeg2 decoder) and I am able
to play videos over it with mplayer up to and including version
1.0_pre7. But I can't get it to work with CVS. Since 1.0 pre7 was
released some time ago I also tried CVS one or two weeks ago. I didn't
work neither. This is what happens:

mplayer -ao mpegpes -vo mpegpes /data/sk/rip/test/sherlock.avi -vf
dvbscale,scale=-1:0,expand=-1:576:-1:-1:1,lavc
MPlayer dev-CVS-050502-01:41-3.3.5-20050130 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6,
Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE



Playing /data/sk/rip/test/sherlock.avi.
AVI file format detected.
VIDEO:  [XVID]  576x304  12bpp  25.000 fps  447.3 kbps (54.6 kbyte/s)
Clip info:
 Software: MEncoder dev-CVS-050430-21:23-3.3.5-20050130
==========================================================================
Requested audio codec family [mp3] (afm=mp3lib) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [ffmp3] afm:ffmpeg (FFmpeg MPEG layer-3 audio decoder)
==========================================================================
Opening /dev/dvb/adapter0/video0+audio0
Opening video filter: [lavc]
Opening video filter: [expand w=-1 h=576 x=-1 y=-1 osd=1]
Expand: -1 x 576, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [scale w=-1 h=0]
Opening video filter: [dvbscale]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
AF_pre: 48000Hz/2ch/s16le
AO: [mpegpes] 48000Hz 2ch s16le (2 bps)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 576 x 304 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4

SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
[mpeg1video @ 0x84e6020]only YUV420 is supported
Could not open codec.
FATAL: Cannot initialize video driver.

FATAL: Could not initialize video filters (-vf) or video output (-vo).


Exiting... (End of file)
########################################################################
The following is the output with pre7. As you can see it works. Same
options, same file:

mplayer -ao mpegpes -vo mpegpes /data/sk/rip/test/sherlock.avi -vf
dvbscale,scale=-1:0,expand=-1:576:-1:-1:1,lavc
MPlayer 1.0pre7-3.3.5-20050130 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6,
Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE



Playing /data/sk/rip/test/sherlock.avi.
AVI file format detected.
VIDEO:  [XVID]  576x304  12bpp  25.000 fps  447.3 kbps (54.6 kbyte/s)
Clip info:
 Software: MEncoder dev-CVS-050430-21:23-3.3.5-20050130
==========================================================================
Requested audio codec family [mp3] (afm=mp3lib) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [ffmp3] afm:ffmpeg (FFmpeg MPEG layer-3 audio decoder)
==========================================================================
Opening /dev/dvb/adapter0/video0+audio0
Opening video filter: [lavc]
Opening video filter: [expand w=-1 h=576 x=-1 y=-1 osd=1]
Expand: -1 x 576, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [scale w=-1 h=0]
Opening video filter: [dvbscale]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
AF_pre: 48000Hz/2ch/s16le
AO: [mpegpes] 48000Hz 2ch s16le (2 bps)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 576 x 304 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4

SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
VO: [mpegpes] 576x576 => 576x576 Mpeg PES
A:   7.2 V:   7.2 A-V: -0.002 ct: -0.045 181/181  7% 18%  1.9% 0 0 50%



I used the same options for CVS as for any other mplayer version. The
only difference is that mplayer 1.0 pre7 doesn't support aac encoding,
so I had to remove that flag (--disable-faac) before building 1.0 pre7.
Do you guys have the same issue with CVS?

This is what I use to build:

 ./configure --prefix=/usr \
            --confdir=/usr/share/mplayer \
	    --datadir=/usr/share/mplayer \
	    --disable-runtime-cpudetection \
	    --enable-largefiles \
	    --enable-menu \
	    --disable-network --disable-ftp \
	    --with-x11incdir=/usr/X11R6/include \
	    --disable-lirc \
	    --disable-lircc \
	    --disable-xf86keysym \
	    --disable-tv --disable-tv-v4l --disable-tv-v4l2 \
	    --disable-tv-bsdbt848 \
	    --disable-edl \
	    --enable-rtc \
	    --disable-winsock2 --disable-smb --disable-live \
	    --disable-cdparanoia --disable-freetype \
	    --disable-fontconfig --disable-unrarlib \
	    --disable-sortsub --disable-enca \
	    --disable-macosx --disable-inet6 --disable-vstream \
	    --disable-gif --disable-png --disable-jpeg --disable-liblzo \
	    --disable-win32 --disable-dshow --disable-qtx --disable-xanim \
	    --disable-real --enable-xvid --disable-x264 --disable-divx4linux \
	    --disable-libfame \
	    --disable-theora --disable-internal-matroska \
	    --disable-external-faad --disable-internal-faad  \
	    --disable-ladspa \
	    --disable-libdv --disable-toolame --disable-libdts \
	    --disable-mp3lib \
	    --disable-amr_nb --disable-amr_nb-fixed --disable-amr_wb \
	    --disable-vidix --disable-gl --disable-dga --disable-vesa \
	    --disable-svga --disable-sdl --disable-aa --disable-caca \
	    --disable-ggi --disable-directx --disable-dxr2 --disable-dxr3 \
	    --disable-mga --disable-xmga \
	    --enable-xv --disable-vm --disable-xinerama --enable-x11 \
	    --disable-fbdev --disable-directfb --disable-zr --disable-tga \
	    --disable-pnm --disable-md5sum --disable-ossaudio \
	    --disable-arts --disable-esd --disable-polyp --disable-jack \
	    --disable-nas --disable-sgiaudio --disable-sunaudio \
	    --disable-win32waveout --language=en,de --enable-shared-pp

Cheers

Sebastian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.