[MPlayer-users] error while enocoding dvd-rips

Farrell Farahbod upgrdman at mindspring.com
Mon Aug 5 20:54:01 CEST 2002


i have been trying to compress two dvds recently, with the following
commands:

mencoder -dvd 1 -alang en -ovc copy -oac copy -o black_hawk_down.avi

mencoder black_hawk_down.avi -ovc frameno -oac mp3lame -lameopts
cbr:br=96 -o frameno.avi

mencoder black_hawk_down.avi -ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=1400:vhq:vpass=1 -sws 2 -vop
scale=640:272,crop=718:360:0:58 -oac copy -o BHD-compressed.avi

(but i havnt gotten to pass 2 yet...)

when i get to pass one, i get this error:

-------------------------------------------------------------------------------

MEncoder CVS-000802-20:12-3.1 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Advanced Micro Devices Athlon TB Thunderbird (Family: 6, Stepping:
4)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Reading /home/upgrdman/.mplayer/codecs.conf: can't open
'/home/upgrdman/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 36 audio & 103 video
codecs
Detected AVI file format!
VIDEO:  [FrNo]  0x0  24bpp  29.97 fps    1.0 kbps ( 0.1 kbyte/s)
Using pass3 control file: frameno.avi
font: can't open file: /home/upgrdman/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206
chars)
success: format: 0  data: 0x0 - 0x3CD0447E
Detected AVI file format!
VIDEO:  []  720x480  24bpp  29.97 fps  942.4 kbps (115.0 kbyte/s)
VIDEO:  MPEG2  720x480  (aspect 3)  29.97 fps  12250.0 kbps (1531.2
kbyte/s)
[V] filefmt:3  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
libavcodec: CPU flags: mmx mmxext 3dnow
Opening video filter: [expand=-1:-1:-1:-1:1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [scale=640:272]
Opening video filter: [crop=718:360:0:58]
Crop: 718 x 360, 0 ; 58
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)  
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)  
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 6 -> 8
SwScaler: reducing / aligning filtersize 6 -> 8
SwScaler: reducing / aligning filtersize 7 -> 6
SwScaler: reducing / aligning filtersize 7 -> 6

SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
videocodec: libavcodec (640x272 fourcc=58564944 [DIVX])
High quality encoding selected (non real time)!
Detected video codec: [mpeg12] drv:1 (MPEG 1 or 2)
==========================================================================
audiocodec: framecopy (format=55 chans=2 rate=48000 bits=0 bps=12000
sample=1)
Writing AVI header...
Pos:   0.7s     22f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:96]
skip frame!!!    
Pos:   1.0s     32f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [37:96]
skip frame!!!    
Pos: 400.5s  14950f ( 6%)  25fps Trem: 149min 1093mb  A-V:0.000
[1286:96]
DEMUXER: Too many (4096 in 1179648 bytes) audio packets in the buffer!
(maybe you play a non-interleaved stream/file or the codec failed)?
For .AVI files, try to force non-interleaved mode with option -ni
Pos: 400.5s  14951f ( 6%)  25fps Trem: 149min 1093mb  A-V:0.000
[1285:96]
Writing AVI index...
Fixup AVI header...

Video stream: 1285.979 kbit/s  (160747 bps)  size: 64379623 bytes 
400.502 secs  14951 frames

Audio stream:   96.000 kbit/s  (12000 bps)  size: 4812000 bytes  401.000
secs
[upgrdman at localhost temp]$ 
-------------------------------------------------------------------------------

this also happened with another movie i was trying to compress. i have
tried re-ripping the dvds, but i get the same errors.

judging by the errors, i understand that there and too many audio
packets in the buffer, but why would be a problem? maybe im missing the
point entirly, in which case im sorry, and if possible, explain and
please offer a solution. 

thanx,

farrell f.




More information about the MPlayer-users mailing list