[MPlayer-users] Mencoder from DVD problem

Ian Truelsen ian at ihtruelsen.2y.net
Thu May 23 12:53:01 CEST 2002


I am trying to use mencoder to transfer a couple of DVDs to CD so that I can travel with some movies (laptop doesn't have a DVD drive), but I am having trouble getting it to work. Based on the online docs and the man page, this is the command structure that I have been trying:

mencoder -dvd 1 -ovc frameno -oac copy -o frameno.avi (I used 1 instead of 2, since 2 gave me nothing at all)

This should be the first pass in the 2 or 3 pass encoding run. It should create an audio only frameno.avi and give me info on how to set up the bitrates, etc. for various end file sizes. However, I get pages of this output:

Pos: 103.3s   2298f ( 1%) 244fps Trem:  13min  53mb  A-V:-0.048 [0:48]
duplicate 1 frame(s)!!!    
Pos: 103.4s   2301f ( 1%) 244fps Trem:  13min  53mb  A-V:-0.058 [0:48]
duplicate 1 frame(s)!!!    
Pos: 103.5s   2304f ( 1%) 245fps Trem:  13min  53mb  A-V:-0.068 [0:48]
duplicate 1 frame(s)!!!    
Pos: 103.6s   2305f ( 1%) 245fps Trem:  13min  53mb  A-V:-0.038 [0:48]

Then several:

DEMUXER: Too many (4096 in 8241152 bytes) audio packets in the buffer!
(maybe you play a non-interleaved stream/file or the codec failed)

And finally:

Writing AVI index...
Fixup AVI header...
Recommended video bitrate for 650MB CD: 52573
Recommended video bitrate for 700MB CD: 56622
Recommended video bitrate for 800MB CD: 64718

Video stream:    0.712 kbit/s  (88 bps)  size: 9220 bytes  103.604 secs  2305 frames

Audio stream:   48.000 kbit/s  (6000 bps)  size: 627000 bytes  104.500 secs

*** free_stream() called ***

This does not seem to be long enough to be a DVD. Now the second pass:

 mencoder -dvd 1 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1800:vpass=1 -oac copy -o From-Hell.avi

This yields more of the duplicate frame messages above then:

Writing AVI index...
Fixup AVI header...

Video stream:  394.163 kbit/s  (49270 bps)  size: 5104608 bytes  103.604 secs  2305 frames

Audio stream:   48.000 kbit/s  (6000 bps)  size: 627000 bytes  104.500 secs

*** free_stream() called ***

Again, way too short. The third pass yields the same as the second. Now, I go to play the resulting avi and I get a nice quality image, but no sound and only 1 min 43 seconds of output:

MPlayer 0.90pre3-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices Athlon TB Thunderbird (Type: 6, Stepping: 2)
extended cpuid-level: 6
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx
vo: X11 running at 1280x1024 with depth 16 and 16 bits/pixel (":0.0" => local display)
Reading /home/ian/.mplayer/codecs.conf: 34 audio & 92 video codecs
font: can't open file: /home/ian/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Linux RTC init error: No such file or directory
Using usleep() timing
Can't open input config file /home/ian/.mplayer/input.conf : No such file or directory
Falling back on default (hardcoded) config
SKIN dir 1: '/home/ian/.mplayer/Skin'
SKIN dir 2: '/usr/share/mplayer/Skin'
Playing From-Hell.avi
Cache fill:  0.00% (0 bytes)    Detected AVI file format!
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
VIDEO:  [DIVX]  720x480  24bpp  29.97 fps  394.3 kbps (48.1 kbyte/s)
[V] filefmt:3  fourcc:0x58564944  size:720x480  fps:29.97  ftime:=0.0334
Detected audio codec: [a52] drv:14 (AC3-liba52)
Selecting Audio Decoder: [liba52] AC3-liba52
Using 3DNowEx optimized IMDCT transform
a52: CRC check failed!  
AC3: 3.0 (3f)  5512 Hz  10.0 kbit/s
Using MMX optimized resampler
AUDIO: srate=5512  chans=2  bps=2  sfmt=0x10  ratio: 1250->22048
==========================================================================
Opening Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx mmxext 3dnow
Detected video codec: [ffodivx] drv:5 prio:0 (FFmpeg MPEG-4)
==========================================================================
AO: [alsa9] 5512Hz Stereo Signed 16-bit (Little-Endian)
alsa-init: this driver is still at alpha-stage. if you want stable sound support use the OSS emulation instead.
alsa-init: requested format: 5512 Hz, 2 channels, Signed 16-bit (Little-Endian)
alsa-init: 1 soundcard found, using: hw:0,0
alsa-init: buffer_time: 2972423, period_time :371552
AUDIO: 5512 Hz/2 channels/4 bpf/16384 bytes buffer/Signed 16 bit Little Endian
Start playing...
a52: error at resampling
a52: CRC check failed!  7.099 ct:  0.000    1/  1   0%  0%  0.0% 0 0 27%
a52: error at resampling
VDec: vo config request - 720 x 480, Planar YV12  
[PP] Sorry, postprocessing is not available
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 720x480 => 720x480 Planar YV12 fs 
*** [vo] Exporting mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
a52: CRC check failed!  9.037 ct:  0.003    2/  2   0%  0%  0.0% 0 0 19%
a52: error at resampling
A: 104.5 V: 103.6 A-V:  0.928 ct: 10.357  3104/3104  10% 11%  0.1% 0 0 0%

MPlayer interrupted by signal 11 in module: uninit_ao 
- MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and disassembly. For details, see DOCS/bugreports.html section 5.b.
- MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it's MPlayer's fault, please read DOCS/bugreports.html and follow instructions there. We can't and won't help unless you provide these informations when reporting a possible bug.

*** free_stream() called ***
Gdk-ERROR **: BadGC (invalid GC parameter)
  serial 247 error_code 13 request_code 60 minor_code 0
X Error of failed request:  BadGC (invalid GC parameter)
  Major opcode of failed request:  60 (X_FreeGC)
  Resource id in failed request:  0x1e00000
  Serial number of failed request:  254
  Current serial number in output stream:  252

I have tried every combination that I could think of given what was in the docs and the man pages. Can anyone see what I am doing wrong here?

-- 
Ian Truelsen
Masters program in Philosophy 
University of Manitoba, Winnipeg, Canada
BA (Wilfrid Laurier University)
Email: ian at ihtruelsen.2y.net
Homepage: http://www.ihtruelsen.2y.net
PGP key available at: http://www.ihtruelsen.2y.net/pgp.html

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 00000000.mimetmp
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20020523/6b1d8a55/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 00000000.mimetmp
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20020523/6b1d8a55/attachment.pgp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20020523/6b1d8a55/attachment-0001.pgp>


More information about the MPlayer-users mailing list