[FFmpeg-trac] #7927(undetermined:closed): Video copy from mkv to mp4 causes variable frame rate from constant frame rate
FFmpeg
trac at avcodec.org
Sun Aug 29 13:26:17 EEST 2021
#7927: Video copy from mkv to mp4 causes variable frame rate from constant frame
rate
-------------------------------------+-------------------------------------
Reporter: Mads | Owner: (none)
Johansen |
Type: defect | Status: closed
Priority: normal | Component:
| undetermined
Version: git-master | Resolution: invalid
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Balling):
There is a special thing that should be done for AVC.
ffmpeg -i vfr.mkv -c copy -bsf:v
"h264_metadata=tick_rate=24000/1001:'''fixed_frame_rate_flag=1'''"
-video_track_timescale 24000 "output.mp4"
fixed_frame_rate_flag is creating a special flag is SPS of bitstream
itself. Now, apparently it a very common problem. https://github.com/slhck
/ffmpeg-normalize/issues/95
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7927#comment:17>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list