当前位置:网站首页>TestPattern error
TestPattern error
2022-06-11 17:16:00 【、、、、南山小雨、、、、】
3840x2160
[hevc @ 0x2356a80] Could not find ref with POC 8
[hevc @ 0x2356a80] Could not find ref with POC 12
[hevc @ 0x2356a80] Could not find ref with POC 16
[hevc @ 0x2396440] The cu_qp_delta 73 is outside the valid range [-26, 25].
[decklink @ 0x23d3fc0] There are not enough buffered video frames. Video may misbehave!
[decklink @ 0x23d3fc0] There’s no buffered audio. Audio will misbehave!
[hevc @ 0x7f412815c540] The cu_qp_delta -32 is outside the valid range [-26, 25].
20000 400s 1080p50 TestPattern_17
Socio.1000
1080i50 1080i60有逐行
硬件方式:视频分辨率转换和视频编码方式转换会黑其他的不黑
码率改变不蹦
h265 8M 4k top
h264/1080p50 声音无延时 ffplay没有 视频还有些卡顿 考虑是主频问题
h265/1080p50 有延时
推流端停止推流
但TestPattern没有崩
推流端再启动后报错:
[hevc @ 0x7f05d4070e80] Duplicate POC in a sequence: 16422.
[hevc @ 0x7f05d4070e80] Error parsing NAL unit #2.
encode send error = -1094995529
@@@Invalid data found when processing [email protected]@@//
[mpegts @ 0x7f77740027c0] PES packet size mismatch
[mpegts @ 0x7f77740027c0] Packet corrupt (stream = 1, dts = 84151592).
read_time:126
[h264 @ 0x7f7774022c00] error while decoding MB 64 29, bytestream -6
againV
read_time:3
[aac @ 0x7f777402e780] decode_band_types: Input buffer exhausted before END element found
@@@Invalid data found when processing [email protected]@@
//这个是udp缓存的问题
Assertion desc failed at libswscale/swscale_internal.h:674
//这个是没收到流信息
-d 2
断音
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 [email protected]@@
//5min
/home/deviser/UHD4000R/livepush --config /home/deviser/UHD4000R/devices/0080000103/livepush.config --srcip 192.168.100.77 --srcport 25403 --dstip 192.168.100.78 --dstport 6017 --dev 1000012146 --magic 1180000103 --workmode 0 --type ipc --board-id -1 --url rtmp://192.168.100.150/live/gx1234
udp之前3.5s 2M时
udp之前6s 500K
用推mp4,一个半小时不崩
/home/deviser/UHD4000R/Receiver.sh &
[udp @ 0x7f7a340032c0] attempted to set receive buffer to size 104857600 but it only ended up set as 33554432
buffer_size=size
Set the maximum UDP socket buffer size in bytes.
fifo_size=units
Set the UDP receiving circular buffer size, expressed as a number of packets with size of 188 bytes. If not specified defaults to 7*4096.
overrun_nonfatal=1|0
Survive in case of UDP receiving circular buffer overrun. Default value is 0.
以上来自ffmpeg官方文档http://ffmpeg.org/ffmpeg-all.html
1080i50 9分钟13535~~13500 nobuffer如下:
URL = "udp://127.0.0.1:6017";
//URL = "srt://192.168.100.78:8080?streamid=live.sls.com/live/test";
AVDictionary *options = NULL;
// ic->flags |= AVFMT_FLAG_NOBUFFER;//CODEC_FLAG_LOW_DELAY;AVIO_FLAG_NONBLOCK
// ic->flags |= AVIO_FLAG_NONBLOCK;
// ic->flags |= AVFMT_FLAG_NONBLOCK;
// URLContext
// av_dict_set_int(&options, "timeout", 6, 0);
// av_dict_set(&options, "stimeout", "5", 0);//milliseconds
av_dict_set(&options, "fflags", "nobuffer", 0);
avformat_alloc_output_context2(&ic, 0, "mpegts", URL);
int re = avformat_open_input(&ic, URL, NULL, &options);
1080i50 4分钟 6000~~6120
9分钟 13500~~13620
带音频睡眠 1080i50
15分钟 22500 ~~22500
20分钟 30027~~30000
用的下面配置
avcodec_register_all();
av_register_all();
avformat_network_init();
ic = avformat_alloc_context();
//URL = "srt://127.0.0.1:8080?streamid=live.sls.com/live/test1";
URL = "udp://127.0.0.1:6017";
AVDictionary *options = NULL;
//ic->flags |= AVFMT_FLAG_NOBUFFER;//CODEC_FLAG_LOW_DELAY;AVIO_FLAG_NONBLOCK
//ic->flags |= AVIO_FLAG_NONBLOCK;
// ic->flags |= AVFMT_FLAG_NONBLOCK;
// URLContext
// av_dict_set_int(&options, "timeout", 6, 0);
// av_dict_set(&options, "stimeout", "5", 0);//milliseconds
// ic->flags |= AVFMT_FLAG_GENPTS;
// ic->flags |= AVFMT_GENERIC_INDEX;
// ic->max_index_size = 99;
av_dict_set(&options, "buffer_size", "33554432", 0);
av_dict_set(&options, "reuse", "1", 0);
av_dict_set(&options, "fifo_size", "30554432", 0);//200Mb
av_dict_set(&options, "max_delay", "2000000", 0);
int re = avformat_open_input(&ic, URL, NULL, &options);
边栏推荐
- 如何成为一个乐观派组织?
- Database backup (MySQL)
- AXI协议基础知识
- Authoring share | understanding saml2 protocol
- Connection and difference of network streaming media protocol (RTP RTCP RTMP HLS)
- Classification and method of feature fusion
- DFS和BFS笔记(一)基于C语言的广度优先搜索
- 字符串转数值
- ASP. Net education OA system source code education industry OA system source code with document
- Cocoapod only updates the specified library (does not update the index)
猜你喜欢

Authoring share | understanding saml2 protocol

Dynamic: capturing network dynamics using dynamic graph representation learning

04_特征工程—特征选择

LeetCode——42. Connected to rainwater (double pointer)
![[Clickhouse column] create a new library, user and role](/img/e5/d11493a37e25b7dde6cc43b3828749.png)
[Clickhouse column] create a new library, user and role

Typescript learning notes (II)

Vscode configures eslint to automatically format an error "auto fix is enabled by default. use the single string form“

Learning C language from scratch day 039

一套ThinkPHP微信小程序商城源码带后台管理

Center detection of circular marking points for opencv camera calibration
随机推荐
Authing 背后的计算哲学
LeetCode-1005. Maximized array sum after K negations
Set object mapping + scene 6-face mapping + create space in threejs
“is-a”,“has-a”,“like-a”
LeetCode-384. 打乱数组
Config: user attribute configuration framework
What products are good for cross-border e-commerce? What are the top selling categories?
Go get downloaded package path
Sohu tout le personnel a été escroqué, quels problèmes ont été exposés?
我的CのERROR们
Connection and difference of network streaming media protocol (RTP RTCP RTMP HLS)
JSP page initial loading method
Leetcode-- array
A set of ThinkPHP wechat applet mall source code with background management
LeetCode-859. 亲密字符串
如何成为一个乐观派组织?
CS0006 C# 未能找到元数据文件“C:\Users\...问题
信息安全数学基础 Chapter 3——有限域(二)
Haas, which integrates relevant technologies of Alibaba cloud, Dharma Institute and pingtouge, has officially announced the book
API management artifact that allows you to call wow directly