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

2021-03-10 20:18:33 +08:00
 OwO233

[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

1539 次点击
所在节点    问与答
2 条回复
eason1874
2021-03-10 20:37:45 +08:00
可能是文件问题,先确认 video.flv 文件完整。然后试试这个

ffmpeg -i video.flv -c copy video.mp4
OwO233
2021-03-11 21:46:17 +08:00
@eason1874 #1 好的,感谢。OwO

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

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

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

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

© 2021 V2EX