求助一个 FFMPEG 转码时的错误提示的问题。

2020-02-14 23:40:24 +08:00
 ReZer0

环境:
远程的服务器接收推流然后广播(广播信号正常,中断报错发生在本地接收端,服务端使用 nginx-rtmp-module )
本地接收端同时接收广播进行转码同时推流到指定播放器(转码 CPU 占用率 70%-80%)

其中出错了 2 个原因:
第一个原因报错如下:
[hls @ 0x6686c00] keepalive request failed for 'http://地址 /hls/live.m3u8' with error: 'Server returned 404 Not Found' when parsing playlist
[http @ 0x68ade40] HTTP error 404 Not Found
[hls @ 0x6686c00] Failed to reload playlist 0
[http @ 0x6714fc0] HTTP error 404 Not Found
[hls @ 0x6686c00] Failed to reload playlist 0
[http @ 0x6690c00] HTTP error 404 Not Foundtime=00:15:47.96 bitrate=6604.6kbits/s speed=0.94x
[hls @ 0x6686c00] Failed to reload playlist 0
[http @ 0x6716440] HTTP error 404 Not Foundtime=00:15:47.96 bitrate=6604.6kbits/s speed=0.937x
[hls @ 0x6686c00] Failed to reload playlist 0
[http @ 0x684e700] HTTP error 404 Not Found
[hls @ 0x6686c00] Failed to reload playlist 0

这个看输出应该是本地网络接收原因造成的,不过之所以贴这个结果,是在考虑下面这个报错是否和上述原因有一些关系。

[http @ 0x668cfc0] Opening 'http://地址 /hls/live-2531.ts' for reading
[h264 @ 0x66e1880] top block unavailable for requested intra mode -16494.2kbits/s speed=0.935x
[h264 @ 0x66e1880] error while decoding MB 32 0, bytestream 181002
[h264 @ 0x66e1880] concealing 8160 DC, 8160 AC, 8160 MV errors in I frame http://地址 /hls/live.m3u8: corrupt decoded frame in stream 0
[h264 @ 0x66e01c0] concealing 6983 DC, 6983 AC, 6983 MV errors in B frame http://地址 /hls/live.m3u8: corrupt decoded frame in stream 0
[h264 @ 0x66fa980] concealing 1426 DC, 1426 AC, 1426 MV errors in B frame8kbits/s speed=0.935x
[h264 @ 0x66fa980] concealing 4098 DC, 4098 AC, 4098 MV errors in P frame

查了下没有搞清楚上面这个输出结果是哪个部分的错误,希望有经验的朋友帮我分析下,感谢。

3028 次点击
所在节点    问与答
4 条回复
em70
2020-02-14 23:47:17 +08:00
http://地址 /hls/live-2531.ts

这个地址不 404 才怪了
ReZer0
2020-02-14 23:52:29 +08:00
@em70 我不可能在帖子里暴露真实地址信息啊,当然手动改了。
CEBBCAT
2020-02-15 03:20:45 +08:00
@ReZer0 下次可以用 example.com
ReZer0
2020-02-15 17:51:57 +08:00
@CEBBCAT 好的,谢谢!

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/644672

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX