[FFmpeg-user] Concat demux PTS discontinuity
chanof
chanof at hotmail.com
Tue Feb 27 05:34:11 EET 2018
Hi everyone, i try to create the encoding suitable for mpeg-dash for my
videos and concatenating them.
Unfortunately, the concat demux generates a discrepancy of the PTS between
videos concatenated:
PTS time stamp:
[...]
382.021016
384.021016
386.021016 the concat demux effect:
388.043047
390.043047
392.043047
[...]
Command line for encoding is
ffmpeg -y -i "$f" -i ../logo/logo.png -c:a aac -b:a 384k -ar 48000 -ac 2
-c:v libx264 -x264opts keyint=$GOP:min-keyint=$GOP:no-scenecut -bf 0 -r
$FPSC -b:v 4800k -maxrate 4800k -bufsize 3000k -profile:v main -crf 22 -t
$DUR -filter_complex
"[0:v][1:v]overlay=main_w-overlay_w-10:10,scale=1920:1080,setsar=1"
../buffer/${NAME}-1080.mp4
Command line for concat is
[code]ffmpeg -f concat -safe 0 -i 1080list.txt -t $TOTDUR -c copy
../output/1080set.mp4[/code]
Videos for input has regular timestamp and starts from 0s
How can I get a regular timestamp after concat demux process without
performing another encoding (to avoid a process that is too long)?
Thanks!
Giammy
--
Sent from: http://www.ffmpeg-archive.org/
More information about the ffmpeg-user
mailing list