<p>No need to transcode, it can be done via remuxing.</p>

<pre><code>ffmpeg -i in.mp4 -map 0 -c copy -video_track_timescale 30 out.mp4
</code></pre>

<p>where 30 is the new tbn value.</p>

CC BY-SA 4.0
2019-11-05T14:32:33.343Z
2019-11-05T14:32:33.343Z
Gyan
<p>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?
<a href="https://i.sstatic.net/ramyS.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ramyS.png" alt="enter image description here"></a></p>

<ffmpeg><editing><video-quality>
How to correct tbn for files with ffmpeg?
AlexZheda
# How to correct tbn for files with ffmpeg?

(Asked by: username_0 on 2019-11-05)

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](https://i.sstatic.net/ramyS.png)](https://i.sstatic.net/ramyS.png)

**Tags:** ffmpeg, editing, video-quality


---

## 1 answers

### Answer by username_1 on 2019-11-05. Score: 0 | Accepted answer

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.


---

