[MPlayer-users] mencoder fails with some DVDs (resulting movie just 36k big)
Julian Mayer
julianmayer at mac.com
Fri Jul 11 01:45:17 CEST 2003
hello all
mencoder doesn't work with some DVDs:
i'm doing normal 3-pass encoding (10 sec preview):
mencoder dvd://1 -dvd-device /dev/rdisk5 -endpos 10 -ovc frameno -o
frameno.avi -oac mp3lame -lameopts vbr=3
mencoder dvd://1 -dvd-device /dev/rdisk5 -endpos 10 -ovc lavc -lavcopts
vcodec=mpeg4:vpass=1 -oac copy -o /dev/null
mencoder dvd://1 -dvd-device /dev/rdisk5 -endpos 10 -ovc lavc -lavcopts
vcodec=mpeg4:vpass=2 -oac copy -o movie.avi
but on some DVDs the resulting movie just 36k big
interesting is that normally the last Position output for a 10sec
preview is:
Pos: 9.9s 251f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [774:114]
but on a non working DVD it is:
Pos: 0.1s 499f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
I've attached the whole log for a non working DVD
could anyone tell me if this is a known bug or if i'm doing something
wrong...
otherwise i'll file a bug report
thanks in advance, julian
[master:~] julian% mencoder dvd://1 -dvd-device /dev/rdisk5 -endpos 10
-ovc frameno -o frameno.avi -oac mp3lame -lameopts vbr=3
Using GNU internationalization
Original domain: messages
Original dirname: /usr/local/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
MEncoder dev-CVS-030621-18:34-3.1 (C) 2000-2003 Arpad Gereoffy (see
DOCS)
AltiVec found
Reading /Users/julian/.mplayer/codecs.conf: 58 audio & 149 video codecs
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /Users/julian/.mplayer/mencoder: No such file or
directory
Reading disc structure, please wait...
There are 4 titles on this DVD.
There are 13 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
success: format: 0 data: 0x0 - 0xFA23A000
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 2) 25.00 fps 6000.0 kbps (750.0
kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
========================================================================
==
Opening audio decoder: [liba52] AC3 decoding with liba52
Using AltiVec optimized IMDCT transform
AC3: 2.0 (stereo) 48000 Hz 192.0 kbit/s
No accelerated resampler found
AUDIO: 48000 Hz, 2 ch, 16 bit (0x20), ratio: 24000->192000 (192.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
========================================================================
==
MP3 audio selected
Building audio filter chain for 48000Hz/2ch/16bit ->
48000Hz/2ch/16bit...
Writing AVI header...
Pos: 0.0s 1f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.1s 3f ( 0%) 0fps Trem: 0min 0mb A-V:0.008 [0:0]
Skipping frame!
[skipped because of 55k limit in the list]
Pos: 9.9s 500f ( 0%) 0fps Trem: 0min 0mb A-V:-0.020 [0:69]
Writing AVI index...
Fixing AVI header...
Video stream: 0.800 kbit/s (99 bps) size: 988 bytes 9.880 secs
500 frames
Audio stream: 69.303 kbit/s (8662 bps) size: 90024 bytes 10.392
secs
[master:~] julian% mencoder dvd://1 -dvd-device /dev/rdisk5 -endpos 10
-ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac copy -o /dev/null
Using GNU internationalization
Original domain: messages
Original dirname: /usr/local/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
MEncoder dev-CVS-030621-18:34-3.1 (C) 2000-2003 Arpad Gereoffy (see
DOCS)
AltiVec found
Reading /Users/julian/.mplayer/codecs.conf: 58 audio & 149 video codecs
AVI file format detected.
VIDEO: [oNrF] 720x576 24bpp 25.00 fps 0.8 kbps ( 0.1 kbyte/s)
Using pass3 control file: frameno.avi
Reading config file /Users/julian/.mplayer/mencoder: No such file or
directory
Reading disc structure, please wait...
There are 4 titles on this DVD.
There are 13 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
success: format: 0 data: 0x0 - 0xFA23A000
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 2) 25.00 fps 6000.0 kbps (750.0
kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
========================================================================
==
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
========================================================================
==
audiocodec: framecopy (format=55 chans=2 rate=48000 bits=0 bps=8663
sample=0)
Writing AVI header...
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
videocodec: libavcodec (720x576 fourcc=58564944 [XVID])
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Pos: 0.0s 1f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 3f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 5f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 7f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 9f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 11f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 13f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 15f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 17f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 19f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 21f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 23f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 25f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 27f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 29f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
[skipped because of 55k limit in the list]
Skipping frame!
Pos: 0.1s 491f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.1s 493f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.1s 495f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.1s 497f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.1s 499f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Writing AVI index...
Fixing AVI header...
Video stream: 1363.267 kbit/s (170408 bps) size: 20449 bytes 0.120
secs 499 frames
Audio stream: 167.385 kbit/s (20923 bps) size: 13056 bytes 0.624
secs
[master:~] julian% mencoder dvd://1 -dvd-device /dev/rdisk5 -endpos 10
-ovc lavc -lavcopts vcodec=mpeg4:vpass=2 -oac copy -o movie.avi
Using GNU internationalization
Original domain: messages
Original dirname: /usr/local/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
MEncoder dev-CVS-030621-18:34-3.1 (C) 2000-2003 Arpad Gereoffy (see
DOCS)
AltiVec found
Reading /Users/julian/.mplayer/codecs.conf: 58 audio & 149 video codecs
AVI file format detected.
VIDEO: [oNrF] 720x576 24bpp 25.00 fps 0.8 kbps ( 0.1 kbyte/s)
Using pass3 control file: frameno.avi
Reading config file /Users/julian/.mplayer/mencoder: No such file or
directory
Reading disc structure, please wait...
There are 4 titles on this DVD.
There are 13 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
success: format: 0 data: 0x0 - 0xFA23A000
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 2) 25.00 fps 6000.0 kbps (750.0
kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
========================================================================
==
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
========================================================================
==
audiocodec: framecopy (format=55 chans=2 rate=48000 bits=0 bps=8663
sample=0)
Writing AVI header...
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
videocodec: libavcodec (720x576 fourcc=58564944 [XVID])
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Pos: 0.0s 1f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 3f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 5f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 7f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 9f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 11f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 13f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 15f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.0s 17f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
[skipped because of 55k limit in the list]
Pos: 0.1s 485f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.1s 487f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.1s 489f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.1s 491f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.1s 493f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.1s 495f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.1s 497f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Skipping frame!
Pos: 0.1s 499f ( 0%) 0fps Trem: 0min 0mb A-V:0.000 [0:0]
Writing AVI index...
Fixing AVI header...
Video stream: 1159.267 kbit/s (144908 bps) size: 17389 bytes 0.120
secs 499 frames
Audio stream: 167.385 kbit/s (20923 bps) size: 13056 bytes 0.624
secs
More information about the MPlayer-users
mailing list