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

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

  •  
  •   cuican008399 · Sep 3, 2018 · 4916 views
    This topic created in 2821 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
        1
    cuican008399  
    OP
       Sep 3, 2018
    不晓得错在哪。 测试 N 遍不循环执行
    cuican008399
        2
    cuican008399  
    OP
       Sep 3, 2018
    系统是 centos 7
    cuican008399
        3
    cuican008399  
    OP
       Sep 4, 2018
    有没有大神解答
    cuican008399
        4
    cuican008399  
    OP
       Sep 4, 2018
    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
        5
    DavidWei  
       Sep 4, 2018 via iPhone
    cuican008399
        6
    cuican008399  
    OP
       Sep 4, 2018
    @DavidWei 这个博客只是记录了这个错误
    cuican008399
        7
    cuican008399  
    OP
       Sep 4, 2018
    刚试了一下用 win 10 系统 和 ubuntu 都可以执行成功。 换了个系统解决了
    c4f36e5766583218
        8
    c4f36e5766583218  
       May 10, 2019
    不晓得,命令看着没问题。你再根据报错信息查查吧
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   6005 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 274ms · UTC 03:08 · PVG 11:08 · LAX 20:08 · JFK 23:08
    ♥ Do have faith in what you're doing.