[MEncoder-users] Assertion `picture_number<rcc->num_entries' failed.

Dominique Dumont domi.dumont at free.fr
Sat Jun 10 15:56:46 CEST 2006


Hello

I'm trying to encode a short mpeg movie clip (received by satellite
with vdr) with this command:

mencoder 'vdr_ at CYCLISME_#3A_LE_DAUPHINE_LIBERE_2006-06-10_001.mpg' -oac mp3lame -lameopts preset=120 -vf pp=ci,crop=688:544 -ovc lavc -lavcopts vcodec=mpeg4:v4mv:vbitrate=1000:mbd=2:trell:vpass=2 -o 't_vdr_ at CYCLISME_#3A_LE_DAUPHINE_LIBERE_2006-06-10_001.avi'


The first pass works fine, but the second pass fails at the end with:

mencoder: ratecontrol.c:676: ff_rate_estimate_qscale: Assertion `picture_number<rcc->num_entries' failed.


The full output is:

mencoder 'vdr_ at CYCLISME_#3A_LE_DAUPHINE_LIBERE_2006-06-10_001.mpg' -oac mp3lame -lameopts preset=120 -vf pp=ci,crop=688:544 -ovc lavc -lavcopts vcodec=mpeg4:v4mv:vbitrate=1000:mbd=2:trell:vpass=2 -o 't_vdr_ at CYCLISME_#3A_LE_DAUPHINE_LIBERE_2006-06-10_001.avi'
MEncoder dev-CVS-060430-14:41-4.1.2 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Sempron/Athlon MP/XP/XP-M Barton,Thorton (Family: 6, Stepping: 0)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

success: format: 0  data: 0x0 - 0x1055800
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  15000.0 kbps (1875.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, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [crop w=688 h=544]
Crop: 688 x 544, -1 ; -1
Opening video filter: [pp=ci]
==========================================================================
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.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try adding the scale filter, 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))
==========================================================================

preset=120

MP3 audio selected.
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
videocodec: libavcodec (688x544 fourcc=34504d46 [FMP4])
[VE_LAVC] High quality encoding selected (non-realtime)!
Writing header...2f ( 1%)  0.00fps Trem:   0min   0mb  A-V:0.004 [0:0]
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.

1 duplicate frame(s)!
Pos:   0.8s     22f ( 3%)  0.00fps Trem:   0min   3mb  A-V:0.084 [0:126]
Skipping frame!
Pos:   1.2s     33f ( 4%) 24.74fps Trem:   0min   4mb  A-V:0.082 [978:126]
Skipping frame!
mencoder: ratecontrol.c:676: ff_rate_estimate_qscale: Assertion `picture_number<rcc->num_entries' failed.


IS there any way to avoid this problem ?

Thanks



More information about the MEncoder-users mailing list