[FFmpeg-trac] #4768(undetermined:new): FFmpeg preserving CFR during TS to MP4 conversion
FFmpeg
trac at avcodec.org
Tue Aug 11 18:12:06 CEST 2015
#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 ffmpegreport):
Replying to [comment:1 heleppkes]:
> There is no way to know the original TS file actually is CFR (other than
parsing the entire file and reading every timestamp), so any file
converted from TS should assume to be VFR.
>
> In fact, preserving the exact timestamps as present in the TS file is
the goal, and not re-interpretation to set some arbitrary CFR flag in some
other container. I believe ffmpeg has features to overwrite the timestamp
behavior of that is so desired.
If the source the CBR, the outfile should be CBR. Assuming a file to be
VFR is unnecessary and produces false-positives. It seems obvious the
proper approach would be to parse the file, even if that slows the process
down at all. Accuracy and correct outfiles should trump assumptions.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4768#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list