[libav-bugs] [Bug 590] New: Two pass transcoding fails assertion: Assertion `picture_number<rcc->num_entries' failed

bugzilla at libav.org bugzilla at libav.org
Thu Nov 7 03:39:44 CET 2013


           Summary: Two pass transcoding fails assertion: Assertion
                    `picture_number<rcc->num_entries' failed
           Product: Libav
           Version: 0.8
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: Normal
         Component: libavcodec
        AssignedTo: bugzilla at libav.org
        ReportedBy: johan162 at gmail.com

avconv version 0.8.8-6:0.8.8-0ubuntu0.13.04.1

This is 100% repeatable on my server.

When doing a 2-pass transcoding with mappings:

  Stream #0:0 -> #0:0 (mpeg2video -> mpeg4)
  Stream #0:1 -> #0:1 (mp2 -> aac)

The second pass always fails with 

avconv: /build/buildd/libav-0.8.8/libavcodec/ratecontrol.c:693:
ff_rate_estimate_qscale: Assertion `picture_number<rcc->num_entries' failed.

The exact command lined used are:

avconv -i input-file.mpg -threads 0 -pass 1  -c:v mpeg4 -b:v 1200k -an -f
rawvideo  /dev/null 

avconv -i thigh07.mpg -threads 0 -strict experimental -pass 2  -c:a aac -b:a
192k  -c:v mpeg4 -b:v 1200k output-file.mp4

The input file is taken from a Hauppauge video card. The input file can be
successfully transcoded in a single pass situation with avconv and viewed
successfully. It is just the two-pass transcoding that is not working.

On request I can supply a small sample from the video output.

Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the libav-bugs mailing list