We are currently running an AWS container that utilizes FFmpeg for live streaming while concurrently saving the stream as an MP4 file. However, we encountered an issue during a recent live stream session that was functioning correctly until approximately 13 minutes in, at which point FFmpeg reported the following error logs:
我们目前正在运行一个AWS容器,该容器利用FFmpeg进行直播,同时将流保存为MP4文件。然而,在最近的一次直播会话中,我们遇到了一个问题,该会话一直正常运行,直到大约13分钟后,FFmpeg报告了以下错误日志:
ffmpeg [flv @ 0x555c4bdfe680] Failed to update header with correct duration.
2023-09-07T23:06:38.490+05:30 [flv @ 0x555c4bdfe680] Failed to update header with correct filesize.
2023-09-07T23:06:38.491+05:30 failed => rtmp://a.rtmp.youtube.com/live2/key......
2023-09-07T23:06:38.491+05:30 ffmpeg [tee @ 0x555c48843700] Slave muxer #1 failed: Broken pipe, continuing with 1/2 slaves.
It's worth noting that we have conducted hundreds of live streams on YouTube without encountering this error before; this is the first occurrence of such an issue.
值得注意的是,我们在YouTube上进行了数百次直播,以前从未遇到过这种错误;这是第一次出现这样的问题。
We would greatly appreciate it if you could investigate and provide insights into the underlying problem causing these error messages.
如果您能调查并深入了解导致这些错误消息的潜在问题,我们将不胜感激。
更多回答
优秀答案推荐
我是一名优秀的程序员,十分优秀!