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

FFmpeg trac at avcodec.org
Tue Oct 21 23:59:48 CEST 2014

#4037: [Transcoding] Duration and frame number changed after transcoding
             Reporter:  hungnv       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  mpegts       |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0

Comment (by cehoyos):

 Replying to [comment:24 hungnv]:
 > my situation is, after segment mp4 into ts files successfully, my
 application (which use ffmpeg api) read ts file, then transcode it into
 lower bitrate, size for other devices to use, that's why I attached
 modified version of ffmpeg example in opened ticket.

 I believe that your situation is that this doesn't currently work and that
 a simple workaround (and additionally other workarounds) exist. I even
 thought that it cannot work but Nicholas knows this code much better so I
 am probably wrong.

 > What you 're talking about is absolutely right if it work.

 Did you test it?

 > But, why ffmpeg can transcode using m3u8 playlist input but cannot
 transcode single ts file to produce output with right duration, and frame?

 This question sounds to me very much like "Why should I use a simple way
 of solving my problem if there is a much more complicated way that
 currently doesn't work?"

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

More information about the FFmpeg-trac mailing list