搜索
bottom↓
回复: 1

vlc接收H264 rtp视频流解码错误

[复制链接]

出0入0汤圆

发表于 2015-8-7 20:28:06 | 显示全部楼层 |阅读模式
1.开发板硬件编码的同时打包RTP发送数据。
2.用wireshark抓包分析发送来的数据打包是正确的,序列号递增,同一个nal分包情况下时间戳相同。
3.用vlc接收数据提示下面的错误:


[0xb2023cb0] es demux error: cannot peek
[h264 @ 0xb2030400] negative number of zero coeffs at 19 14
[h264 @ 0xb2030400] error while decoding MB 19 14
[h264 @ 0xb2030400] concealing 50 DC, 50 AC, 50 MV errors
[h264 @ 0xb2017220] corrupted macroblock 19 14 (total_coeff=-1)
[h264 @ 0xb2017220] error while decoding MB 19 14
[h264 @ 0xb2017220] concealing 50 DC, 50 AC, 50 MV errors
[h264 @ 0xb2030400] corrupted macroblock 19 14 (total_coeff=-1)
[h264 @ 0xb2030400] error while decoding MB 19 14
[h264 @ 0xb2030400] concealing 50 DC, 50 AC, 50 MV errors
[h264 @ 0xb20f1be0] cbp too large (4294967295) at 15 14
[h264 @ 0xb20f1be0] error while decoding MB 15 14
[h264 @ 0xb20f1be0] concealing 54 DC, 54 AC, 54 MV errors
[h264 @ 0xb2030400] concealing 52 DC, 52 AC, 52 MV errors
[h264 @ 0xb2017220] concealing 56 DC, 56 AC, 56 MV errors
[h264 @ 0xb20f1be0] concealing 56 DC, 56 AC, 56 MV errors
[h264 @ 0xb2030400] concealing 71 DC, 71 AC, 71 MV errors
[h264 @ 0xb2017220] concealing 71 DC, 71 AC, 71 MV errors
[h264 @ 0xb20f1be0] concealing 56 DC, 56 AC, 56 MV errors
[h264 @ 0xb2030400] concealing 56 DC, 56 AC, 56 MV errors
[h264 @ 0xb2017220] corrupted macroblock 19 14 (total_coeff=-1)
[h264 @ 0xb2017220] error while decoding MB 19 14

阿莫论坛20周年了!感谢大家的支持与爱护!!

一只鸟敢站在脆弱的枝条上歇脚,它依仗的不是枝条不会断,而是自己有翅膀,会飞。

出0入0汤圆

 楼主| 发表于 2015-8-15 16:40:39 | 显示全部楼层
发现是程序中的nalu->len 设置错误。
修改之后,视频还是会出现卡帧现象。
vlc提示:

[0xaae262e8] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[0xaae262e8] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[0xaae262e8] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)


[0xaae262e8] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-6-15 00:12

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表