#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:  vito.tan
                 Type:  defect     |                   Status:  open
             Priority:  normal     |                Component:  avformat
              Version:  4.4.1      |               Resolution:
             Keywords:  RTSP SEEK  |               Blocked By:
             Blocking:             |  Reproduced by developer:  0
Analyzed by developer:  0          |
-----------------------------------+------------------------------------
Comment (by vito.tan):

 Replying to [ticket:9949 wujian]:
 > Summary of the bug:
 > add Log print location:
 > int ff_read_packet(AVFormatContext *s, AVPacket *pkt):
 >         ret = s->iformat->read_packet(s, pkt);
 >         if (ret < 0) {
 >             .......
 >             continue;
 >         }
 >         '''av_log(NULL, AV_LOG_FATAL, "pkt->pts = %lld\n", pkt->pts);'''
 > static int read_thread(void *arg):
 >             '''av_log(NULL, AV_LOG_WARNING,
 "============START============\n");'''
 >             ret = avformat_seek_file(is->ic, -1, seek_min, seek_target,
 seek_max, is->seek_flags);
 >             '''av_log(NULL, AV_LOG_WARNING,
 "============END==============\n");'''
 > How to reproduce:
 > # ffplay
 
rtsp://192.168.1.10/media/ts/[email protected]_24.000fps_640x400_AAC_LC__2channels.ts
 >
 > Press the right arrow key to seek once.
 >
 > pkt->pts = 1620000
 > pkt->pts = 16166409
 > pkt->pts = 1618560
 > pkt->pts = 16162509
 > ============START============
 > ============END==============
 > pkt->pts = 1627500  --The new round of seek has residual data from the
 previous round.
 > pkt->pts = 2423040
 > pkt->pts = 2424960
 > pkt->pts = 2426250
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9949#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to