[FFmpeg-user] How to split and then concatenate a video file?

Stefano Sabatini stefasab at gmail.com
Wed Feb 20 17:41:06 CET 2013


On date Wednesday 2013-02-20 15:17:28 +0100, Žygimantas Bruzgys wrote:
> On Wed, Feb 20, 2013 at 2:16 PM, Stefano Sabatini <stefasab at gmail.com> wrote:
> >> zybru at hp-6530b-bs:~/Desktop$ ffmpeg -i small.mp4 -f segment -vcodec
> >> h264 -acodec mp3 -segment_time 2 -map 0 out%03d.mp4
> >
> > Did you try with -reset_timestamps 1?
> 
> Let me try it now! (just fyi, I've recompiled ffmpeg today from git head)
> 
> Output:
> 
> zybru at hp-6530b-bs:~/Desktop$ ffmpeg -i small.mp4 -f segment -vcodec
> h264 -acodec mp3 -segment_time 2 -map 0 -reset_timestamps 0
> out%03d.mp4

What about using -reset_timestamps 1?

[...]


More information about the ffmpeg-user mailing list