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

Henry Law news at lawshouse.org
Fri May 10 19:53:47 CEST 2013


Can anyone help me with the error message in the header, which happens 
in the second pass of an encoding, with the following command:

> nice -19 /usr/local/bin/mencoder -alang en -oac lavc \
>  -ovc lavc -of rawvideo -vf-clr \
>  -vf crop=720:400:0:40,expand=:::::16/9,scale=720:576,dsize=1024:576,harddup \
>  -ofps 25 \
>  -lavcopts vcodec=mpeg2video:turbo:vpass=2:vrc_buf_size=1835:\
> vrc_maxrate=8264:vbitrate=4500:keyint=15:vstrict=0:aspect=16/9 \
>  mymovie -o mymovie.m2v

The first pass was identical except for output to /dev/null and vpass=1. 
  I've seen reports of this error before but they're some years old and 
marked as "resolved".

Version: MEncoder 1.1-4.6 (C) 2000-2012 MPlayer Team, built from the 
1.1.1 release from the download page today.  Operating system is Ubuntu 
12.04, 64-bit.

It says there's a dump but I've no idea how to get any information from it.

The full console listing (for the second pass) is as follows:

> MEncoder 1.1-4.6 (C) 2000-2012 MPlayer Team
> success: format: 0  data: 0x0 - 0xc3d863b0
> libavformat version 54.6.100 (internal)
> TS file format detected.
> VIDEO MPEG2(pid=101) AUDIO MPA(pid=102) SUB DVB(pid=105)  PROGRAM N. 1
> VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  15000.0 kbps (1875.0 kbyte/s)
> [V] filefmt:29  fourcc:0x10000002  size:720x576  fps:25.000  ftime:=0.0400
> ==========================================================================
> Requested audio codec family [mpg123] (afm=mpg123) not available.
> Enable it at compilation.
> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> libavcodec version 54.23.100 (internal)
> AUDIO: 48000 Hz, 2 ch, floatle, 256.0 kbit/8.33% (ratio: 32000->384000)
> Selected audio codec: [ffmp2float] afm: ffmpeg (FFmpeg MPEG layer-1 and layer-2 audio)
> ==========================================================================
> Opening video filter: [expand osd=1]
> Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
> Opening video filter: [harddup]
> Opening video filter: [dsize=1024:576]
> Opening video filter: [scale w=720 h=576]
> Opening video filter: [expand aspect=16/9]
> Expand: -1 x -1, -1 ; -1, osd: 0, aspect: 1.777778, round: 1
> Opening video filter: [crop w=720 h=400 x=0 y=40]
> Crop: 720 x 400, 0 ; 40
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
> ==========================================================================
> Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
> [swscaler @ 0xeb0cc0]using unscaled yuv420p -> yuv420p special converter
> videocodec: libavcodec (720x576 fourcc=3267706d [mpg2])
> mencoder: libavcodec/ratecontrol.c:175: ff_rate_control_init: Assertion `picture_number < rcc->num_entries' failed.

-- 

Henry Law            Manchester, England


More information about the MEncoder-users mailing list