[Libav-user] How can I over come error "No decoder surfaces left"

Strahinja Radman dr.strashni at gmail.com
Tue Feb 4 11:53:00 EET 2020


>
> I have trouble in using ffmpeg to decode h264 stream sent from IP cameras
> through a busy network.
>
>
If you are using UDP protocol then maybe increasing circular buffer size
can help. Just add these options
after the IP address:
   1. overrun_nonfatal
   2. fifo_size.

Example:

"udp://IP?overrun_nonfatal=1&fifo_size=50000000"

This will increase input buffer to 50MB, which should be enough. On the
other hand if you are simply losing
the data along the way RTMP will guarantee that packets are delivered
properly.

-- 

Regards
Strahinja Radman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20200204/c3e5c001/attachment.html>


More information about the Libav-user mailing list