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


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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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