[Libav-user] Circular buffer overrun while not reading udp stream

asqz bersac_1 at hotmail.fr
Thu Aug 8 16:18:34 CEST 2013


I am reading an udp stream with the function av_read_frame. While I am
constantly doing it, my program doesn't have any problem. The problem occur
when I stop reading it for a while, and then reading it again. After a while
not reading the udp stream, this error message pop :
*Circular buffer overrun. To avoid, increase fifo_size URL option. To
survive in such case, use overrun_nonfatal option
When I resume the stream reading, it read successfully read some packet and
then display error :
* slice end not reached but screenspace end (3 left 000000, score= -352)*
After this av_read_frame return the value -5 and my program cam't read
successfully any packet.

It seems like I have to stop some buffer to be filled by the udp stream. I
tried the function av_read_pause without success.

Can you help me fix this problem please ?

View this message in context: http://libav-users.943685.n4.nabble.com/Circular-buffer-overrun-while-not-reading-udp-stream-tp4658354.html
Sent from the libav-users mailing list archive at Nabble.com.

More information about the Libav-user mailing list