FFmpeg stops outputting frames unexpectedly and indefinitely on "bad" h264 over UDP stream
|Reported by:||superware||Owned by:|
|Blocking:||Reproduced by developer:||yes|
|Analyzed by developer:||no|
FFmpeg stops outputting frames unexpectedly and indefinitely on "bad" h264 over UDP stream, it happens quite rarely on a wireless link. I've managed to reproduce by recording (pcap) and manipulating a stream by discarding every second packet, which causes the video to be played very badly. At 01:38 ffplay stops displaying frames (restarting ffplay plays the stream again). It is as if a specific packet/frame causes ffmpeg to enter a specific state from which it cannot recover.
How to reproduce:
Play the attached pcap file on an active local network adapter with the IP 192.168.19.121.
% ffplay -i udp://192.168.19.121:40002
Video starts at 0:27, issue occurs at 01:38.
Tried on latest git, 2.7 and 2.5.2 (Windows).
Change History (37)
comment:29 by , 7 years ago
|Component:||undetermined → avcodec|
|Keywords:||regression added; udp removed|
|Priority:||normal → important|
|Reproduced by developer:||set|
|Version:||unspecified → git-master|
follow-up: 35 comment:34 by , 4 years ago
|Status:||closed → reopened|