[FFmpeg-trac] #3197(FFmpeg:new): Assertion nus->keyframe_pts[k] > last_pts failed when using "-f segment"

FFmpeg trac at avcodec.org
Thu Dec 5 01:51:05 CET 2013


#3197: Assertion nus->keyframe_pts[k] > last_pts failed when using "-f segment"
--------------------------------+---------------------------------------
             Reporter:  ob      |                     Type:  defect
               Status:  new     |                 Priority:  normal
            Component:  FFmpeg  |                  Version:  unspecified
             Keywords:          |               Blocked By:
             Blocking:          |  Reproduced by developer:  0
Analyzed by developer:  0       |
--------------------------------+---------------------------------------
 Summary of the bug:
 Hi,

 I'm trying to split VOB files cleanly with ffmpeg-2.1.1/Linux (32bit),
 using {{{-f segment}}}. My goal is to encode the resulting files in
 parallel on a cluster of machines, before merging everything back.

 My understanding is that {{{-f segment}}} should create a new output file
 every time there's a key frame in the stream. However, I'm getting:

 {{{
 Assertion nus->keyframe_pts[k] > last_pts failed at
 libavformat/nutenc.c:596
 }}}

 The failed assertion is there:

 {{{
             ff_put_v(bc, 1 + 2*flag + 4*n);
             for (k= j - n; k<=j && k<nut->sp_count; k++) {
                 if (nus->keyframe_pts[k] == AV_NOPTS_VALUE)
                     continue;
 =>              av_assert0(nus->keyframe_pts[k] > last_pts);
                 ff_put_v(bc, nus->keyframe_pts[k] - last_pts);
                 last_pts = nus->keyframe_pts[k];
             }
 }}}

 The command I ran was:

 {{{
   ffmpeg -report -i concat:$(echo VTS_01*.VOB | tr ' ' \|) -map 0:1 -map
 0:13 -codec copy -f segment output-%08d.nut
 }}}

 Full report attached.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3197>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list