[FFmpeg-trac] #4768(undetermined:new): FFmpeg preserving CFR during TS to MP4 conversion
FFmpeg
trac at avcodec.org
Mon Jan 25 00:02:36 CET 2016
#4768: FFmpeg preserving CFR during TS to MP4 conversion
-------------------------------------+-------------------------------------
Reporter: zer0z | Owner:
Type: enhancement | Status: new
Priority: wish | Component:
Version: unspecified | undetermined
Keywords: dts | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by Misaki):
This bug report had a solution, but what about the concat input format? It
requires an extra file but I guess it might be possible to do it with
pipes or something on Linux.
ffmpeg -f concat -i <(echo file "'input1.mp4'" ; echo file "'input2.mp4'")
[...]
This would avoid the reported reason for variable frame-rate. However, I
couldn't get the "duration" option to work so it's automatically inserted,
and for files with audio+video, the offset can vary slightly (and
seemingly unpredictably between different files). The 'stts' atom would be
nearly the size, since it would just have two main entries instead of one,
but it still wouldn't be completely constant frame rate.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4768#comment:17>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list