[FFmpeg-devel] ffmpeg latest git - rewrapping (codec copy) breaks container fps/tbr values

David Favor david at davidfavor.com
Mon Apr 13 23:36:18 CEST 2015


David Favor wrote:
> David Favor wrote:
>> The following command:
>>
>>     ffmpeg -i clip.mts -c:v copy -c:a copy clip.mp4 (or clip.mov)
>>
>> seems to incorrectly write container values for fps + tbr which
>> causes .mp4/.mov files to play with very odd jerky movements.
> 
> https://trac.ffmpeg.org/ticket/974 seems to be a ticket already
> opened for this.

More jittery artifacts.

This produces no jitter:

      ffmpeg -fflags +genpts -i clip.mts -c:v copy -c:a copy clip.mp4

This produces jitter:

      ffmpeg -fflags +genpts -i clip.mts -c:v copy -c:a libfaac clip.mp4

Anytime the audio stream is transcoded (libfaac or fdk), jitter returns.

This behavior isn't mentioned in the above ticket.


More information about the ffmpeg-devel mailing list