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? enter image description here

1 Answer 1


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.