[FFmpeg-devel] [PATCH] avformat: PTS/DTS timestamps get broken in concat

Marton Balint cus at passwd.hu
Tue Oct 13 00:27:01 CEST 2015


On Mon, 12 Oct 2015, Jaroslav Ć najdr wrote:

> This fixes trac #4924, most likely not 100% correct.

Well, it is not, because file_start_time is the start timestamp of the 
input, not the calculated start timestamp of the output...

I'd say if you want to use the concat demuxer this way, extend it with an 
optional mode which leaves the packet pts values untouched. (keeps delta at 0)

Regards
Marton


More information about the ffmpeg-devel mailing list