Re: [FFmpeg-user] Concat 2 videos, results in wrong length of the result

2017-09-08 Thread Gyan
On Sat, Sep 9, 2017 at 11:01 AM, Nitish Prabhu wrote: > > Won't altering the timebase for "96.out.mp4" make the "96.new.mp4" play > slower than it was recorded at? > When the timescale is changed here, ffmpeg will rescale the timestamps to maintain timing. There's a loss of precision since the t

Re: [FFmpeg-user] Concat 2 videos, results in wrong length of the result

2017-09-08 Thread Nitish Prabhu
On Sat, Sep 9, 2017 at 10:24 AM, Gyan wrote: > > Run this on 96.out.mp4 > > ffmpeg -i 96.out.mp4 -c copy -video_track_timescale 12800 96.new.mp4 > > and concat this with the other file. Won't altering the timebase for "96.out.mp4" make the "96.new.mp4" play slower than it was recorded at? Is

Re: [FFmpeg-user] Concat 2 videos, results in wrong length of the result

2017-09-08 Thread Gyan
On Fri, Sep 8, 2017 at 3:38 PM, Marek Sebera wrote: > > Concat of the 2 videos, of lenght (00:00:21.00) and (00:00:28.03) > results in video of lenght (00:01:54.92), which is obviously wrong. > > > ffprobe of 98.out.mp4 > > Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661),

[FFmpeg-user] Concat 2 videos, results in wrong length of the result

2017-09-08 Thread Marek Sebera
Hi, I'm trying to concat 2 video files, process that worked pretty well for us for the past few months. Using Debian binary distribution ffmpeg (7:3.2.7-1~deb9u1) and libx264 (libx264-148:amd64 2:0.148.2748+git97eaef2-1) Concat 2 files, ffmpeg command, ffprobe of both source files and result fi