ffmpeg在接收UDP网络协议流时在链接上通过fifo_size进行缓冲大小的设置
·
If you original URL looks like this:
udp://@239.1.1.7:5107
Add the fifo_size and overrun parameters like this:
"udp://@239.1.1.7:5107?overrun_nonfatal=1&fifo_size=50000000"
Remember to escape the URL with quotes.
overrun_nonfatal=1 prevents ffmpeg from exiting, it can recover in most circumstances.
fifo_size=50000000 uses a 50MB udp input buffer (default 5MB)
即,ffmpeg在接收网络协议流时可以在链接上通过fifo_size进行缓冲大小的设置
转自:https://blog.csdn.net/yangtze_1006/article/details/37600579?utm_source=blogxgwz7
更多推荐
所有评论(0)