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

Steve Ha steveha at u2sr.com
Tue Feb 4 15:19:25 EET 2020

Thanks for your answer.

I know what you mean but it is not my case. The trouble I meant to ask here
is about the error ffmpeg gives "No decoder surfaces left.".
If my usage of ffmpeg, which I shown in the previous mail, is correct, I
think there must be something wrong in the library which might cause the
allocated surfaces could not be freed.

On Tue, Feb 4, 2020 at 6:53 PM Strahinja Radman <dr.strashni at gmail.com>

>> 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
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/libav-user
> To unsubscribe, visit link above, or email
> libav-user-request at ffmpeg.org with subject "unsubscribe".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20200204/582157ca/attachment.html>

More information about the Libav-user mailing list