[MPlayer-users] Problems with new DVDnav.

Krzysztof Duchnowski amidk75 at gmail.com
Sat Aug 2 18:12:40 CEST 2008


Stroller pisze:

>>> Obviously I've done something stupid. I followed the instructions at
>>> <http://www.mplayerhq.hu/DOCS/tech/dvdnav-howto.txt> yet get the
>>> errors below.

>> And that was your biggest error.
>> You should follow how-to from your SVN MPlayer source
>> "DOCS/tech/dvdnav-hoto.txt"

> Uh, but that says the SAME thing.


Oh... so it's been updated... ;P

It's my dvdnav:

# mplayer -profile dvd.nr dvdnav://
# MPlayer dev-SVN-r27389-4.1.3 (C) 2000-2008 MPlayer Team
# CPU: AMD Athlon(tm) 64 Processor 3500+ (Family: 15, Model: 95, 
Stepping: 2)
# CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
# Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
#
# Playing dvdnav://.
# libdvdnav: Using dvdnav version 4.1.2
# libdvdread: Using libdvdcss version 1.2.9 for DVD access
# libdvdread: Attempting to use device /dev/hda mounted on /media/cdrom0 
for CSS authentication
# libdvdnav: Can't read name block. Probably not a DVD-ROM device.
# libdvdnav: Unable to find map file '/home/user/.dvdnav/.map'
# libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1
#
# libdvdread: Attempting to retrieve all CSS keys
# libdvdread: This can take a _long_ time, please be patient
#
# libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000137
# libdvdread: Elapsed time 0
# libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0000c4e0
# libdvdread: Elapsed time 0
# libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00028e1f
# libdvdread: Elapsed time 0
# libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x003c22cd
# libdvdread: Elapsed time 0
# libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x003c22d1
# libdvdread: Elapsed time 0
# libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x003ccc7d
# libdvdread: Elapsed time 0
# libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x003ccc81
# libdvdread: Elapsed time 0
# libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x003df111
# libdvdread: Elapsed time 0
# libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x003df115
# libdvdread: Elapsed time 0
# libdvdread: Found 4 VTS's
# libdvdread: Elapsed time 0
# Remember to disable MPlayer's cache when playing dvdnav:// streams 
(adding -nocache to your command line)
# DVDNAV, switched to title: 1
# MPEG-PS file format detected.
# VIDEO:  MPEG2  720x480  (aspect 2)  29.970 fps  9800.0 kbps (1225.0 
kbyte/s)
# [gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
# Couldn't open video filter 'ass'.
# ASS: cannot add video filter
# Opening video filter: [pp=tn:16:32:64]
# Opening video filter: [screenshot]
# Opening video filter: [pp=ac]
# [ass] Init
# [ass] Updating font cache.
# ==========================================================================
# Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
# VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
# [PP] Using external postprocessing filter, max q = 6.
# Could not find matching colorspace - retrying with -vf scale...
# Opening video filter: [scale]
# The selected video_out device is incompatible with this codec.
# Try appending the scale filter to your filter list,
# e.g. -vf spp,scale instead of -vf spp.
# VDecoder init failed :(
# Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
# Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
# ==========================================================================
# ==========================================================================
# Opening audio decoder: [liba52] AC3 decoding with liba52
# Using SSE optimized IMDCT transform
# Using MMX optimized resampler
# AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
# Selected audio codec: [a52] afm: liba52 (AC3-liba52)
# ==========================================================================
# AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
# Starting playback...
# VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
# [PP] Using external postprocessing filter, max q = 6.
# VDec: using Planar YV12 as output csp (no 0)
# Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
# SwScaler: reducing / aligning filtersize 5 -> 4
# SwScaler: reducing / aligning filtersize 5 -> 4
# SwScaler: reducing / aligning filtersize 1 -> 1
# SwScaler: reducing / aligning filtersize 5 -> 4
# [swscaler @ 0x897d1e0]BICUBIC scaler, from yuv420p to rgb24 using MMX2
# [swscaler @ 0x897d1e0]using 4-tap MMX scaler for horizontal luminance 
scaling
# [swscaler @ 0x897d1e0]using 4-tap MMX scaler for horizontal 
chrominance scaling
# [swscaler @ 0x897d1e0]using n-tap MMX scaler for vertical scaling (BGR)
# [swscaler @ 0x897d1e0]720x480 -> 854x480
# VO: [gl] 720x480 => 854x480 Planar YV12  [fs]
# [mpeg2video @ 0x89948d0]ac-tex damaged at 32 6
# [mpeg2video @ 0x89948d0]Warning MVs not available
# [mpeg2video @ 0x89948d0]concealing 1080 DC, 1080 AC, 1080 MV errors
# No bind found for key 'MOUSE_BTN2'.                         3% 8 0
# A:  19.5 V:  19.5 A-V:  0.015 ct:  0.380 455/455 12% 37%  1.2% 8 0
# Exiting... (Quit)



And this is my way of compiling:

# cd libdvdread
# sudo make uninstall
# sudo rm -rf /usr/lib/libdvdread* /usr/include/dvdread* \
#		/usr/local/lib/libdvdread* /usr/local/include/dvdread*
# make distclean
# svn cleanup
# svn up
# ./configure 2>&1 | tee ../libdvdread.configure.log
# make
# sudo make install
# sudo ldconfig


# cd ../libdvdnav
# sudo make uninstall
# sudo rm -rf /usr/lib/libdvdnav* /usr/include/dvdnav* 
/usr/local/lib/libdvdnav* \
# 	/usr/local/include/dvdnav* /usr/bin/dvdnav-config 
/usr/local/bin/dvdnav-config
# make distclean
# svn cleanup
# svn up
# ./configure --with-dvdread=/usr/local/include/libdvdread 2>&1 | tee 
../libdvdnav.configure.log
# make
# sudo make install
# sudo ldconfig


# cd ../mplayer
# sudo make uninstall
# make distclean
# svn cleanup
# svn up
# CFLAGS= ./configure --enable-gui --enable-largefiles --enable-menu 
--disable-runtime-cpudetection --disable-debug \
#		--disable-dvdread-internal 
--with-dvdread-config=/usr/local/bin/dvdread-config 
--with-dvdnav-config=/usr/local/bin/dvdnav-config \
#		--disable-pulse --charset=utf-8 2>&1 | tee ../mplayer.configure.log
# make 2>&1 | tee ../mplayer.compilation.log
# sudo make install
# sudo make install-gui
# sudo ldconfig


Of course it's only stripped little part of my mplayer-update script...

I think what's missing in MPlayer how-to is when you doing libdvdread 
and libdvdnav and mplayer ".configure" and compiling it's installed in 
"/usr/local" thus it's hard for ".configure" script to detect everything 
properly so either you go with ".configure --prefix=/usr" on everything 
or you must state possition key item with ".configure" options like 
"--with-dvdread-config" and "--with-dvdnav-config".
That was also in my case - without this, dvdnav wheren't working...

-- 
Krzysztof 'DK75' Duchnowski
GetFirefox - http://www.mozilla.com/firefox/
Konfiguracja UTF-8 dla czytników - http://evil.pl/pip/utf/



More information about the MPlayer-users mailing list