Stack Exchange network consists of 177 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Video Production Stack Exchange is a question and answer site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation. It only takes a minute to sign up.
I have the following files (all .mp4). Whenever I want to concatenate them, the timestamps apparently get broken. Is there a way to correct those files with transcoding?
No need to transcode, it can be done via remuxing.
ffmpeg -i in.mp4 -map 0 -c copy -video_track_timescale 30 out.mp4
where 30 is the new tbn value.
Required, but never shown