av_read_frame返回值为-5 Input/output error

简介: av_read_frame返回值为-5 Input/output error

udp中断报错

[h264 @ 0x7fd39c02e200] error while decoding MB 32 41, bytestream -7
[h264 @ 0x7fd39c02e200] concealing 3257 DC, 3257 AC, 3257 MV errors in I frame


av_read_frame返回值为-5 EIO打印日志为

@@@Input/output error@@@


报这个错误是因为输入流写的速度过快,av_read_frame读的过慢,导致缓冲区满了,就会报这个IO错误。


av_read_frame返回值为-5 日志为,笔者分辨率为3840x2160p50,码率为20M,推流五分钟后报如下错误,也是缓冲区崩了,但这个崩经测试并不是读的速度满了,而是码率过大,可以按照提示把缓冲区设置大些。

[udp @ 0x7f79c8001300] Circular buffer overrun. To avoid, increase fifo_size URL option. To survive in such case, use overrun_nonfatal option
@@@Input/output error@@@


thxchtb3wcn3k_d11fc1ff3db9431d8ad7575e9297ae48.png

相关文章
|
8月前
nobuffer与av_read_frame的关系
nobuffer与av_read_frame的关系
39 0
|
8月前
|
网络协议
av_interleaved_write_frame -32 broken pipe
av_interleaved_write_frame -32 broken pipe
128 0
av_interleaved_write_frame -32 broken pipe
|
8月前
|
索引
av_find_best_stream
av_find_best_stream
68 0
av_find_best_stream
base64转图片的时候Can't read input file!
如果不去掉编码中的图片头信息,就会报Can't read input file!。 一开始还以为是文件路径格式有问题,然后看了看我之前用的,就有一个区别就是没有去头信息。
tdav_converter_video.cxx:49:9: error: ‘uint8’ does not name a type; did you mean ‘uint’?
tdav_converter_video.cxx:49:9: error: ‘uint8’ does not name a type; did you mean ‘uint’?
96 0
error: x264_bit_depth undeclared (first use in this function) did you mean x264_picture_t
error: x264_bit_depth undeclared (first use in this function) did you mean x264_picture_t
126 0
解决办法:av_interleaved_write_frame()返回-22 错误
解决办法:av_interleaved_write_frame()返回-22 错误
89 0
open函数: 可以帮助我们获取文件对象 内置函数 open(file, mode='r', buffering=-1, encoding=None, errors=None
open函数: 可以帮助我们获取文件对象 内置函数 open(file, mode='r', buffering=-1, encoding=None, errors=None
成功解决absl.flags._exceptions.IllegalFlagValueError: flag --train_size=inf: Expect argument to be a str
成功解决absl.flags._exceptions.IllegalFlagValueError: flag --train_size=inf: Expect argument to be a str