[FFmpeg-trac] #5018(undetermined:new): incorrect PTS/DTS on first frame of RTSP stream
FFmpeg
trac at avcodec.org
Thu May 19 17:46:36 EEST 2022
#5018: incorrect PTS/DTS on first frame of RTSP stream
-------------------------------------+-------------------------------------
Reporter: Scott Lamb | Owner: (none)
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: git-master | Resolution:
Keywords: rtsp h264 | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Mika Fischer):
Replying to [comment:5 Scott Lamb]:
> I just discovered an effective workaround: `-fflags nobuffer`. The first
frame's pts is fine then.
While this indeed prevents the frame with NOPTS, it also swallows the
packet with NOPTS, which leads to the decoder swallowing all the following
non-I-frames, so a whole GOP is lost.
We see this issue with every single rtsp stream from a camera-like device.
For instance try "IP Webcam" on Android
(https://play.google.com/store/apps/details?id=com.pas.webcam&hl=de&gl=US)...
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5018#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list