[FFmpeg-trac] #5051(ffmpeg:new): ffmpeg obtains only first 1024 bytes for some RTSP streams
FFmpeg
trac at avcodec.org
Tue Dec 1 15:34:09 CET 2015
#5051: ffmpeg obtains only first 1024 bytes for some RTSP streams
--------------------------------+---------------------------------------
Reporter: ioeir2 | Type: defect
Status: new | Priority: normal
Component: ffmpeg | Version: unspecified
Keywords: rtsp | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------+---------------------------------------
Summary of the bug:
How to reproduce:
{{{
% ffplay "rtsp://user:pass@myip:8001/0/audio" -rtsp_transport tcp
ffmpeg 2.8.3, ffmpeg git dec 1
}}}
The error introduced in commit 764ec70149728be82304c163ccc4e280f1629201 on
Jul 30, 2015. Reverting this commit fix the issue. No such issue on ffmpeg
2.7.3 version.
The bug is related to the closed defect #4952 which partially reverted
commit 764ec70149728be82304c163ccc4e280f1629201, but instead of "if (ch ==
'$' && q == buf) {" should be "if (ch == '$') {" to fix the issue.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5051>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list