ffmpeg -stream_loop -1 执行怎么都不循环播放

2018-09-03 23:14:05 +08:00
 cuican008399
命令如下 :
ffmpeg -re -stream_loop -1 -i /root/2/9.mp4 -c copy -f flv "rtmp://send3.douyu.com/live/562xxxxxxxxxxxx"
4091 次点击
所在节点    程序员
8 条回复
cuican008399
2018-09-03 23:20:11 +08:00
不晓得错在哪。 测试 N 遍不循环执行
cuican008399
2018-09-03 23:20:31 +08:00
系统是 centos 7
cuican008399
2018-09-04 01:21:36 +08:00
有没有大神解答
cuican008399
2018-09-04 01:40:12 +08:00
av_interleaved_write_frame(): Broken pipe
[flv @ 0x273e680] Failed to update header with correct duration.
[flv @ 0x273e680] Failed to update header with correct filesize.
停止运行后爆出错误
DavidWei
2018-09-04 06:21:21 +08:00
cuican008399
2018-09-04 10:55:13 +08:00
@DavidWei 这个博客只是记录了这个错误
cuican008399
2018-09-04 15:56:17 +08:00
刚试了一下用 win 10 系统 和 ubuntu 都可以执行成功。 换了个系统解决了
c4f36e5766583218
2019-05-10 13:54:45 +08:00
不晓得,命令看着没问题。你再根据报错信息查查吧

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

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

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

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

© 2021 V2EX