[FFmpeg-trac] #11055(avcodec:reopened): OGOP (Open GOP) in certain conditions may cause missing frames of decoding

FFmpeg trac at avcodec.org
Fri Jun 21 17:54:19 EEST 2024


#11055: OGOP (Open GOP) in certain conditions may cause missing frames of decoding
-------------------------------------+-------------------------------------
             Reporter:  markfilipak  |                    Owner:  (none)
                 Type:  defect       |                   Status:  reopened
             Priority:  normal       |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  everything   |               Blocked By:
  OGOP                               |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by markfilipak):

 Replying to [comment:142 Balling]:
 > I believe you can't just concatenate files like this since that will
 invalidate PCR and arrival timestamps in TP_extra_header.
 >
 > https://github.com/justdan96/tsMuxer/issues/108
 >
 > https://forum.doom9.org/showthread.php?p=1105850#post1105850
 >
 > https://forum.doom9.org/showthread.php?p=1576718#post1576718

 Thank you Balling. I have begun to read the articles. That will take some
 time because they contain more links to other posts. I appreciate your
 contribution. May I ask you two questions?

 Question 1:
 Why do the timestamps in this:
   ffmpeg -copyts -i Ticket_11055.m2ts -map 0:v -vf showinfo -c:v rawvideo
 -f null -muxdelay 0 - 2>Ticket_11055.m2ts_showinfo.txt
 differ from the timestamps in this:
   ffmpeg -i Ticket_11055.m2ts -map 0 -copyts -c copy -dn -sn -f framecrc -
 >Ticket_11055.m2ts_framecrc.txt
 Note that the timestamps in framecrc match the actual packets in
 Ticket_11055.m2ts.

 Question 2:
 Why do the timestamps in this:
   ffprobe -sexagesimal -select_streams v -show_frames -of flat -i
 Ticket_11055.m2ts >Ticket_11055.m2ts_show_frames.txt
 differ from the timestamps in this:
   ffmpeg -i Ticket_11055.m2ts -map 0 -copyts -c copy -dn -sn -f framecrc -
 >Ticket_11055.m2ts_framecrc.txt
 Note that the timestamps in framecrc match the actual packets in
 Ticket_11055.m2ts.

 Thank you.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11055#comment:143>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list