learn_ffmpeg 发表于 2016-10-12 10:06:54

ffmpeg长时间运行总是报Circular buffer overrun. Surviving due to overr...

ffmpeg -re -async 1 -i udp://230.0.0.108:20000?overrun_nonfatal=1&fifo_size=147483647&buffer_size=49999916 -c:a aac -b:a 128k -c:v hevc_nvenc -b:v 6M -deinterlace -g 30 -minrate 6M -maxrate 6M -tier high -preset llhq -rc ll_2pass_quality -f mpegts -async 1 -y udp://230.0.0.52:8000?pkt_size=1316&localaddr=192.168.172.110&overrun_nonfatal=1&fifo_size=147483646&ttl==64
错误信息
frame sync error
Error while decoding stream #0:1: Invalid data found when processing input
Circular buffer overrun. Surviving due to overrun_nonfatal option
    Last message repeated 31 times
exponent 27 is out-of-range
error decoding the audio block
Circular buffer overrun. Surviving due to overrun_nonfatal option
    Last message repeated 51 times
frame sync error
Error while decoding stream #0:1: Invalid data found when processing input
Circular buffer overrun. Surviving due to overrun_nonfatal option
    Last message repeated 54 times
PES packet size mismatch
frame=3174367 fps= 23 q=26.0 size=102662938kB time=38:52:19.16 bitrate=6009.9kbits/s dup=0 drop=15517 speed=   1x   
Circular buffer overrun. Surviving due to overrun_nonfatal option
    Last message repeated 40 times
PES packet size mismatch
exponent 26 is out-of-range
error decoding the audio block
Circular buffer overrun. Surviving due to overrun_nonfatal option
    Last message repeated 44 times
frame sync error
Error while decoding stream #0:1: Invalid data found when processing input
Circular buffer overrun. Surviving due to overrun_nonfatal option
    Last message repeated 135 times
bandwidth code = 61 > 60
error decoding the audio block
Circular buffer overrun. Surviving due to overrun_nonfatal option
    Last message repeated 87 times
PES packet size mismatch
frame sync error
Error while decoding stream #0:1: Invalid data found when processing input
Circular buffer overrun. Surviving due to overrun_nonfatal option
frame=3174375 fps= 23 q=30.0 size=102663188kB time=38:52:19.72 bitrate=6009.9kbits/s dup=0 drop=15517 speed=   1x   
Circular buffer overrun. Surviving due to overrun_nonfatal option
    Last message repeated 58 times
exponent 25 is out-of-range
error decoding the audio block
Circular buffer overrun. Surviving due to overrun_nonfatal option
    Last message repeated 26 times
frame sync error
Error while decoding stream #0:1: Invalid data found when processing input
Circular buffer overrun. Surviving due to overrun_nonfatal option
    Last message repeated 58 times
PES packet size mismatch
Circular buffer overrun. Surviving due to overrun_nonfatal option
    Last message repeated 37 times
exponent -1 is out-of-range
error decoding the audio block
Circular buffer overrun. Surviving due to overrun_nonfatal option
    Last message repeated 26 times
frame sync error
Error while decoding stream #0:1: Invalid data found when processing input
Circular buffer overrun. Surviving due to overrun_nonfatal option
    Last message repeated 51 times
PES packet size mismatch
frame=3174382 fps= 23 q=33.0 size=102663363kB time=38:52:20.28 bitrate=6009.8kbits/s dup=0 drop=15517 speed=   1x   
Circular buffer overrun. Surviving due to overrun_nonfatal option
    Last message repeated 71 times
exponent -1 is out-of-range
error decoding the audio block
PES packet size mismatch
frame sync error
Error while decoding stream #0:1: Invalid data found when processing input
Circular buffer overrun. Surviving due to overrun_nonfatal option
    Last message repeated 66 times
exponent -1 is out-of-range
error decoding the audio block
Circular buffer overrun. Surviving due to overrun_nonfatal option
    Last message repeated 49 times
frame sync error
Error while decoding stream #0:1: Invalid data found when processing input
Circular buffer overrun. Surviving due to overrun_nonfatal option


一般这种情况是不是把overrun_nonfatal=1&fifo_size=147483646这两个设置了就OK,但是overrun_nonfatal参数设置完了之后,在缓冲区溢出的时候ffmpeg依然运行,但是画面已经花的不能看了,请大家帮帮忙谢谢




learn_ffmpeg 发表于 2017-5-9 17:37:16

已解决是因为计算资源不足编码太慢 导致从缓冲区中读取数据过慢进而导致缓冲区溢出了,减少一路就OK
页: [1]
查看完整版本: ffmpeg长时间运行总是报Circular buffer overrun. Surviving due to overr...