V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
OwO233
V2EX  ›  问与答

ffmpeg 运行“ffmpeg -i video.flv video.mp4 出现了如下报错.

  •  
  •   OwO233 · Mar 10, 2021 · 2037 views
    This topic created in 1876 days ago, the information mentioned may be changed or developed.

    [hevc @ 000001d65190c2c0] Invalid NAL unit size (-2147483648 > 2937). [hevc @ 000001d65190c2c0] Error splitting the input into NAL units. Error while decoding stream #0:1: Invalid data found when processing input [hevc @ 000001d65190c740] Invalid NAL unit size (-2147483648 > 827). [hevc @ 000001d65190c740] Error splitting the input into NAL units. Error while decoding stream #0:1: Invalid data found when processing input [hevc @ 000001d65190cc00] Invalid NAL unit size (-2147483648 > 224). [hevc @ 000001d65190cc00] Error splitting the input into NAL units. [hevc @ 000001d65190b9c0] Invalid NAL unit size (-2147483648 > 154). [hevc @ 000001d65190b9c0] Error splitting the input into NAL units. Error while decoding stream #0:1: Invalid data found when processing input Too many packets buffered for output stream 0:1.

    报错消息如上.求指点。OwO 多谢各位大佬了。OwO

    2 replies    2021-03-11 21:46:17 +08:00
    eason1874
        1
    eason1874  
       Mar 10, 2021   ❤️ 1
    可能是文件问题,先确认 video.flv 文件完整。然后试试这个

    ffmpeg -i video.flv -c copy video.mp4
    OwO233
        2
    OwO233  
    OP
       Mar 11, 2021
    @eason1874 #1 好的,感谢。OwO
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3998 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 04:11 · PVG 12:11 · LAX 21:11 · JFK 00:11
    ♥ Do have faith in what you're doing.