[FFmpeg-trac] #4037(undetermined:new): [Transcoding] Duration and frame number changed after transcoding

FFmpeg trac at avcodec.org
Thu Oct 16 12:15:28 CEST 2014

#4037: [Transcoding] Duration and frame number changed after transcoding
             Reporter:  hungnv       |                     Type:  defect
               Status:  new          |                 Priority:  important
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
  transcoding, mpegts                |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
 Summary of the bug:
 The input video has duration:
 Duration: 00:00:15.08, start: 91.000511, bitrate: 1428 kb/s

 After transcoding it, duration changed to:
 Duration: 00:00:15.09, start: 1.469089, bitrate: 922 kb/s

 I also use transcoding.c from trunk, modify it abit to work with mpegts
 file, duration change to:
 Duration: 00:00:15.01, start: 90.989133, bitrate: 489 kb/s

 How to reproduce:
 %ffmpeg -v debug -y -i yeuxa90.ts -vcodec libx264 -vb 500000 -s 640x360 -f
 mpegts -aspect 16:9 -g 25 -keyint_min 50 -vf scale=640:-1 -x264opts
 "keyint=50:min-keyint=50:no-scenecut" ffmpeg.ts
 ffmpeg version 2.4.1 Copyright (c) 2000-2014 the FFmpeg developers
 built on Oct  7 2014 09:23:21 with gcc 4.6 (Ubuntu/Linaro 4.6.4-3ubuntu1)
 The input video can be found at :
 I believe with ffmpeg, there's something make packet/frame duplicated, and
 with transcoding example, frame was dropped...
 Modified version of transcoding here:

Ticket URL: <https://trac.ffmpeg.org/ticket/4037>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list