[FFmpeg-trac] #4768(undetermined:closed): FFmpeg preserving CFR during TS to MP4 conversion
FFmpeg
trac at avcodec.org
Sat Mar 20 23:19:26 EET 2021
#4768: FFmpeg preserving CFR during TS to MP4 conversion
-------------------------------------+-------------------------------------
Reporter: zer0z | Owner:
Type: enhancement | Status: closed
Priority: wish | Component:
| undetermined
Version: unspecified | Resolution:
| needs_more_info
Keywords: dts | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Zenitram):
> I don't think there ever were samples available for this ticket.
I added a sample file.
Note: created with "ffmpeg -f lavfi -i
testsrc=duration=10:size=1280x720:rate=24000/1001 testsrc.mpg"
Side note:
"ffmpeg -i .\testsrc.mpg -c copy testsrc.mp4" has the wrong time stamps
(VFR, because it replicates the MPG timestamps with a time scale of 90000)
"ffmpeg.exe -i .\testsrc.mpg -c mpeg1video testsrc.mp4" has the right time
stamps (CFR, time scale of 24000) but adds a useless and quality harming
re-encoding to the same video format.
IMO the choice of a video format ("copy" vs the name of the input video
format) should not have an impact on the choice of the time scale.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4768#comment:20>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list