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 <[email protected]> wrote: > > >> 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 > [email protected] > https://ffmpeg.org/mailman/listinfo/libav-user > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe".
_______________________________________________ Libav-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/libav-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
