[MPlayer-users] Error with 2-pass encoding.

Josef Wolf jw at raven.inka.de
Sat Feb 26 14:10:26 CET 2005


Hello!

I have several movies (recorded with vdr from Astra sattelite) that play
fine with mplayer but error out on the _end_ of the _second_ pass when I
try to encode them with mencoder to divx format.

The command line I use is:

$ cat /var/lib/video.00/%Out_of_Sight/2005-02-24.20.13.99.99.rec/00* | \
  mencoder -ni -cache 4096 -vf crop=712:456:4:60 - -o Out_of_Sight.avi \
   -passlogfile Out_of_Sight.log \
   -ovc lavc -lavcopts vcodec=mpeg4:vqmin=2:mbd=0:vpass=2 \
   -oac mp3lame -lameopts q=0:aq=1
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale

MEncoder 1.0pre6-3.3.1 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading from stdin...
success: format: 0  data: 0x0 - 0x0
MPEG-PES file format detected.
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  7000.0 kbps (875.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 24000->192000 (192.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [crop w=712 h=456 x=4 y=60]
Crop: 712 x 456, 4 ; 60
==========================================================================
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 -vf 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.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
MP3 audio selected
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp 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 (712x456 fourcc=58564944 [DIVX])
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.

[ ... many warnings about duplicated frames deleted ... ]
Pos:6715.5s 167881f ( 0%)  28fps Trem:   0min   0mb  A-V:-0.038 [799:229]
Broken frame at 0x99B8A40
mencoder: ratecontrol.c:618: ff_rate_estimate_qscale: Assertion `picture_number<rcc->num_entries' failed.


Any ideas what could be the problem here?

-- 
No software patents!
-- Josef Wolf -- jw at raven.inka.de --




More information about the MPlayer-users mailing list