[MPlayer-users] -chapter support with DVDNAV.
Alexander Roalter
alex at roalter.it
Mon Feb 4 21:41:58 CET 2008
> it is supported (although, as usual, I forgot that months ago I
> committed the code to make it work:) ) I'll run some test to verify
> it's not broken. Is there any error message displayed?
no, no errormessage whatsoever:
MPlayer dev-SVN-r25952-4.0.2 (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (Family: 15, Model:
43, Stepping: 1)
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
get_path('codecs.conf') -> '/home/alex/.mplayer/codecs.conf'
Reading /home/alex/.mplayer/codecs.conf: Can't open
'/home/alex/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration:
CommandLine: '-fixed-vo' '-dvd-device' '/dev/hdc' '-nocache' '-alang'
'en' '-slang' 'en' '-forcedsubsonly' '-fs' '-speed' '0.96' 'dvdnav://1'
'-chapter' '20' '-v'
init_freetype
get_path('font/font.desc') -> '/home/alex/.mplayer/font/font.desc'
Bitmap font /home/alex/.mplayer/font/font.desc loaded successfully! (206
chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/alex/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/alex/.mplayer/input.conf'
Parsing input config file /home/alex/.mplayer/input.conf
Input config file /home/alex/.mplayer/input.conf parsed: 70 binds
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Connection refused
Failed to open LIRC support. You will not be able to use your remote
control.
get_path('1.conf') -> '/home/alex/.mplayer/1.conf'
Playing dvdnav://1.
get_path('sub/') -> '/home/alex/.mplayer/sub/'
libdvdnav: Using dvdnav version SVN-r956 from http://dvd.sf.net
libdvdnav: DVD Title: BLADE_RUNNER_FINAL_CUT
libdvdnav: DVD Serial Number: 3750b898
libdvdnav: DVD Title (Alternative):
libdvdnav: Unable to find map file
'/home/alex/.dvdnav/BLADE_RUNNER_FINAL_CUT.map'
libdvdnav: DVD disk reports itself with Region mask 0x00e50000. Regions:
2 4 5
audio stream: 0 format: ac3 (5.1) language: en aid: 128.
audio stream: 1 format: ac3 (5.1) language: de aid: 129.
audio stream: 2 format: ac3 (5.1) language: es aid: 130.
audio stream: 3 format: ac3 (5.1) language: pl aid: 131.
audio stream: 4 format: ac3 (stereo) language: en aid: 132.
audio stream: 5 format: ac3 (stereo) language: en aid: 133.
audio stream: 6 format: ac3 (stereo) language: en aid: 134.
subtitle ( sid ): 32 language: en
subtitle ( sid ): 33 language: en
subtitle ( sid ): 34 language: de
subtitle ( sid ): 35 language: de
subtitle ( sid ): 36 language: es
subtitle ( sid ): 37 language: hr
subtitle ( sid ): 38 language: cs
subtitle ( sid ): 39 language: da
subtitle ( sid ): 40 language: fi
subtitle ( sid ): 41 language: el
subtitle ( sid ): 42 language: iw
subtitle ( sid ): 43 language: no
subtitle ( sid ): 44 language: pl
subtitle ( sid ): 45 language: pt
subtitle ( sid ): 46 language: sl
subtitle ( sid ): 47 language: sv
subtitle ( sid ): 48 language: tr
INIT ERROR: couldn't get init pos New position not yet determined.
Remember to disable MPlayer's cache when playing dvdnav:// streams
(adding -nocache to your command line)
STREAM: [null] dvdnav://1
STREAM: Description: DVDNAV stream
STREAM: Author:
STREAM: Comment:
DVDNAV, switched to title: 1
DVDNAV, NEW TITLE 1
system stream synced at 0xD (13)!
==> Found video stream: 0
MPEG-PS file format detected.
==> Found audio stream: 128
Searching for sequence header... OK!
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 9800.0 kbps (1225.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
get_path('sub/') -> '/home/alex/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x960 with depth 24 and 32 bpp (":0.0" => local
display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
Disabling DPMS
DPMSDisable stat: 1
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 2046x2046
Opening video filter: [pp=lb]
[vo] query(Planar YV12) -> 3
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
[PP] Using external postprocessing filter, max q = 6.
Trying filter chain: pp vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale pp vo
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: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer.
dec_audio: Allocating 18432 + 65536 = 83968 bytes for output buffer.
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s
A52 flags before a52_frame: 0x37
A52 flags after a52_frame: 0x17
Using MMX optimized resampler
AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000->576000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
Building audio filter chain for 48000Hz/6ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter channels
[channels] Changing number of channels to 6
[libaf] Removing filter channels
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/6ch/s16le
[dummy] Was reinitialized: 48000Hz/6ch/s16le
alsa-init: requested format: 48000 Hz, 6 channels, 9
alsa-init: using ALSA 1.0.9
alsa-init: device set to surround51
alsa-init: using device hw:0,1
alsa-init: pcm opened in blocking mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=5
alsa-init: got buffersize=65532
alsa-init: got period size 1024
alsa: 48000 Hz/6 channels/12 bpf/65532 bytes buffer/Signed 16 bit Little
Endian
AO: [alsa] 48000Hz 6ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy at streamminister.de>
AO: Comment: under developement
Building audio filter chain for 46080Hz/6ch/s16le -> 48000Hz/6ch/s16le...
[dummy] Was reinitialized: 46080Hz/6ch/s16le
[libaf] Adding filter lavcresample
[dummy] Was reinitialized: 48000Hz/6ch/s16le
[dummy] Was reinitialized: 48000Hz/6ch/s16le
Starting playback...
==> Found audio stream: 129
==> Found audio stream: 130
==> Found audio stream: 131
==> Found audio stream: 132
==> Found audio stream: 133
==> Found audio stream: 134
[libaf] Reallocating memory in module lavcresample, old len = 0, new len
= 65938Increasing filtered audio buffer size from 0 to 65808
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
Trying filter chain: pp vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (720x576->1024x576,flags=1,'MPlayer',0x32315659)
REQ: flags=0x437 req=0x0
VO: [xv] 720x576 => 1024x576 Planar YV12 [fs]
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 270 for hw scaling
[xv-fs] dx: 0 dy: 0 dw: 1280 dh: 720
[xv] dx: 0 dy: 0 dw: 1280 dh: 720
*** [pp] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
*** [pp] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes6x
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes.96x
[xv] dx: 0 dy: 0 dw: 1280 dh: 960
[xv-fs] dx: 0 dy: 0 dw: 1280 dh: 720
*** [pp] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes6x
Uninit audio filters...-0.007 ct: 0.089 52/ 52 8% 5% 6.5% 0 0 0.96x
[libaf] Removing filter lavcresample
[libaf] Removing filter dummy
Uninit audio: liba52
Uninit video: libmpeg2
Successfully enabled DPMS
alsa-uninit: pcm closed
vo: uninit ...
as for the A-V-synch... I think there's nothing to it. It's hard to tell
on some audio commentaries sometimes, and I got confused by the
percentage used (the last three percentages in the normal output),
which rise way up after each chapter break (don't do so with -cache, but
seeking won't work with cache)
OTOH: subtitle display won't work *that* well. If I change the subtitle
language (pressing j), I only see a few subtitles, then they don't
appear anymore. I'm not sure if this happens along chapter breaks or if
it is a common phenomenon... maybe after this night I'm a bit wiser.
--
Cheers,
Alex
More information about the MPlayer-users
mailing list