• 请不要在回答技术问题时复制粘贴 AI 生成的内容
cuican008399
V2EX  ›  程序员

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

  •  
  •   cuican008399 · Sep 3, 2018 · 5421 views
    This topic created in 2983 days ago, the information mentioned may be changed or developed.
    命令如下 :
    ffmpeg -re -stream_loop -1 -i /root/2/9.mp4 -c copy -f flv "rtmp://send3.douyu.com/live/562xxxxxxxxxxxx"
    8 replies  •  2019-05-10 13:54:45 +08:00
    cuican008399
    cuican008399
    OP
    Sep 3, 2018
    1
    不晓得错在哪。 测试 N 遍不循环执行
    cuican008399
    cuican008399
    OP
    Sep 3, 2018
    2
    系统是 centos 7
    cuican008399
    cuican008399
    OP
    Sep 4, 2018
    3
    有没有大神解答
    cuican008399
    cuican008399
    OP
    Sep 4, 2018
    4
    av_interleaved_write_frame(): Broken pipe
    [flv @ 0x273e680] Failed to update header with correct duration.
    [flv @ 0x273e680] Failed to update header with correct filesize.
    停止运行后爆出错误
    cuican008399
    cuican008399
    OP
    Sep 4, 2018
    6
    @DavidWei 这个博客只是记录了这个错误
    cuican008399
    cuican008399
    OP
    Sep 4, 2018
    7
    刚试了一下用 win 10 系统 和 ubuntu 都可以执行成功。 换了个系统解决了
    c4f36e5766583218
    c4f36e5766583218
    May 10, 2019
    8
    不晓得,命令看着没问题。你再根据报错信息查查吧
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2588 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 128ms · UTC 15:09 · PVG 23:09 · LAX 07:09 · JFK 10:09
    ♥ Do have faith in what you're doing.