[MPlayer-users] How do I configure internal dvdnav support when creating a Debian package?

Nico Sabbi Nicola.Sabbi at poste.it
Tue Dec 4 10:09:08 CET 2007


Il Tuesday 04 December 2007 08:03:12 Pedro A. Aranda ha scritto:
>
> after installing libdvdnav-4.1.1 as a static library in order not
> to disturb packages depending on the Debian version of it. For that
> I did:

too old. use a fresh svn checkout

>
> cd ~/Personal/Devel/libdvdnav-4.1.1/
> ./autogen.sh
> make distclean
> ./configure --enable-static --disable-shared
> make
> sudo make install
>
>
> Regarding the MPEG/AVI/video drivers nightmare,
> let's try to put it as scientifically as possible,
> because it is a completely reproducible bug on
> Debian lenny (aka testing) _and_ Ubuntu 7.10.
>
> (On Ubuntu 7.10 I'm a bit less concerned, because
> I can use the gl2 driver, which works OK)
>
> PRECONDITIONS:
>
> Get your favourite DVB-T/S/C card, tune it to your favourite
> program and record a couple of minutes with the gnutv program which
> is part of the dvb-apps from linuxtv.org
>
> You should get a file which has an MPEG-TS with one video stream
> and one or more audio streams (call it test.ts)
>
> Use mencoder, avidemux or your favourite transcoder and make an AVI
> file with one video and one audio stream (call it test.avi)

with what -ovc ?

>
> Check with gxine or vlc or whatever program you want that both
> files can be reproduced on your computer.
>
> Make sure that in your channels.conf file your have at lease one
> DVB-T/S/C radio station (in my case RNEC) configured
>
> $HOME/.mplayer/config:
>
> [default]
> ao=oss
> fs=no
> vf=lavcdeint,spp
> dvd-device=/dev/hdc
> cache=8192
> stop-xscreensaver=yes
> monitorpixelaspect=4:3
>
> sub-fuzziness=1
> font=/usr/share/fonts/truetype/freefont/FreeSans.ttf
> subfont-encoding=unicode
> ffactor=1
> subpos=96
> subalign=2
> subfont-autoscale=2
> subfont-blur=2.0
> subfont-outline=2.0
> subfont-text-scale=4.5
> subfont-osd-scale=3.5
>
>
> TESTS WITH A FRESH MPLAYER PULLED OUT OF THE SVN
>
> Test 1: mplayer -vo x11 test.ts
> Test 2: mplayer -vo x11 test.avi
> Test 3: mplayer -vo xv test.ts
> Test 4: mplayer -vo xv test.avi
>
> RESULTS
>
> Tests 1,2,4 pass (i.e. I can watch the video, listen to the audio,
> see OSD when video is there, etc.)
>
> Test 3 Mplayer hangs after subsecond sound reproduction, video
> screen black, need to Ctrl-C on the terminal window and/but no
> gdb core dump is generated.

try to change 0x10000001 and 0x10000002 in 
mmioFOURCC('M', 'P', 'G', '1') and mmioFOURCC('M', 'P', 'G', '2')
in libmpdemux/demux_ts.c and libmpdemux/video.c,
then recompile and see if it make any difference.
Also try -vc ffmpeg12 or -vc mpeg12

>
> MORE CLUES (which I hope help)
> I can listen to any sort of Internet radio content with MPlayer
> as well to DVB-T/S/C radio as well as to DVB-T/S/C TV audio when
> using -vo null.
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users





More information about the MPlayer-users mailing list