av_log(avctx, AV_LOG_ERROR, "non-existing PPS %u referenced\n", pps_id); goto fail; } avcodec_send_packet函数返回-1094995529错误,根据FFmpeg的错误信息,得知为AVERROR_INVALIDDATA,猜测是第一种情况 在调用h364_slice_header_parse函数的时候,出现了错误,无法定位PPS 函数的调用逻辑 static int decode...
"non-existing PPS %u referenced\n", sl->pps_id); return AVERROR_INVALIDDATA; } 2)static inline int parse_nal_units(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t * const buf, int buf_size) if (!p->ps.pps_list[pps_id]) { av_log(avctx, AV_LOG_ERROR, "non-exi...
non-existing PPS 0 referenced decode_slice_header error no frame! 但是实际上,手动添加SPS/PPS的内容到extradata字符串中, unsigned char sps_pps[] = { 0x00 ,0x00 ,0x01,0x67,0x42,0x00 ,0x2a ,0x96 ,0x35 ,0x40 ,0xf0 ,0x04 ,0x4f ,0xcb ,0x37 ,0x01 ,0x01 ,0x01 ,0x40 ,0x00 ...
项目要求点播速度是300到500毫秒之间,现在最长的点播延时是1300毫秒(有的时候甚至无法播放视频),生产环境是RTSP传输h264裸流数据, 研究在接收到I帧的时候,开始出来图像,简化FFmpeg的调用逻辑(SPS/PPS已经预先知道,并且分辨率也是固定为1920*1080) 最终的解决方案:核心是要求发送端发送的第一帧:强制I帧,根据如下的其他...
2、编码得到的h264文件播放时提示"non-existing PPS 0 referenced" 分析原因:未将pps sps 等信息写入 解决方案:加入标记AV_CODEC_FLAG2_LOCAL_HEADER codecCtx->flags |= AV_CODEC_FLAG2_LOCAL_HEADER; 项目地址 示例地址 示例代码位于cpp目录下文件
[NULL @ 0x1217b80] non-existing PPS 0 referenced Last message repeated 195 times [rtsp @ 0x1214500] Stream #0: not enough frames to estimate rate; consider increasing probesize [rtsp @ 0x1214500] Could not find codec parameters for stream 0 (Video: h264 (High), none(progressive)): unspe...
Last message repeated1times [h264 @0x2ed1160] decode_slice_header error [h264 @0x2ed1160] no frame![h264 @0x2ed1160] non-existing PPS0referenced Last message repeated1times 4 567891011 12131415161718 19202122232425 26282930311 2345678
non-existingPPS0referenced 运行ffmpeg的SRT推流命令之后,SRS输出以下的日志信息,可见其SRT推流功能正常运行。 代码语言:javascript 复制 [x7gy1tv8]SRTclient ip=127.0.0.1:58898,fd=237547294[x7gy1tv8]@srt,streamid=#!::r=live/test,m=publish,stream_url=/live/test,vhost=__defaultVhost__,app=live,st...
Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 8000 Hz, mono, fltp, 48 kb/s Metadata: encoder : Lavc58.35.100 aac [mp4 @ 0x3495940] Non-monotonous DTS in output stream 0:0; previous: 3686, current: 614; changing to 3687. This may result in incorrect timestamps in the...
non-existing PPS 0 referenced 运行ffmpeg的SRT推流命令之后,SRS输出以下的日志信息,可见其SRT推流功能正常运行。 [x7gy1tv8] SRT client ip=127.0.0.1:58898, fd=237547294 [x7gy1tv8] @srt, streamid=#!::r=live/test,m=publish, stream_url=/live/test, vhost=__defaultVhost__, app=live, stream...