[FFmpeg-trac] #4924(avfilter:new): PTS/DTS timestamps get broken when concatenating MPEG-TS files using -f concat

FFmpeg trac at avcodec.org
Tue Oct 13 15:22:43 CEST 2015


#4924: PTS/DTS timestamps get broken when concatenating MPEG-TS files using -f
concat
-------------------------------------+-------------------------------------
             Reporter:  jsnajdr      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  avfilter
              Version:  git-master   |               Resolution:
             Keywords:  concat       |               Blocked By:
  regression                         |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by jsnajdr):

 Marton, in concatdec.c:open_file, shouldn't you get the file_start_time
 from cat->avf->start_time instead of from avf->start_time? The cat->avf
 struct contains the correct info, my debugging shows, as it's been read by
 avformat_find_stream_info a few lines earlier. I can't find where
 avf->start_time is set, but it contains garbage - when processing the
 first file, it's 0, when processing the second, it's the start_time of the
 first, and when processing third and next ones it stays at the same value
 (the first file's start_time).

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4924#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list