[FFmpeg-trac] #9949(avformat:open): When the RTSP plays a TS stream, after the seek operation is performed, the data cached in the PES is not cleared. As a result, the data before the seek operation can be read after the seek operation.

FFmpeg trac at avcodec.org
Wed Sep 28 15:10:24 EEST 2022


#9949: When the RTSP plays a TS stream, after the seek operation is performed, the
data cached in the PES is not cleared. As a result, the data before the
seek operation can be read after the seek operation.
-------------------------------------+------------------------------------
             Reporter:  wujian       |                    Owner:  (none)
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:  avformat
              Version:  unspecified  |               Resolution:
             Keywords:  RTSP SEEK    |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------
Changes (by wujian):

 * status:  new => open

Comment:

 '''handle_packets''' determines that the seek operation is performed based
 on the location to clear data in the pes.
 In the RTSP scenario, however, this process is not performed. Instead, the
 process is directly sent to handle_packet through
 '''avpriv_mpegts_parse_packet'''. Therefore, after seek, residual pes data
 exists.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9949#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list