gpt4 book ai didi

FFMPEG 视频编码错误

转载 作者:行者123 更新时间:2023-12-04 22:49:47 25 4
gpt4 key购买 nike

我正在尝试使用 ffmpeg 对我的视频进行编码。我已将每个帧的输出作为单独的图像,然后我使用 ffmpeg 将它们加入到视频中。我从源代码编译了ffmpeg。
这是我使用的命令,也是我不断遇到的错误!

---:/media/New Volume/temp$ ffmpeg -f image2 -i image%1d.png -vcodec libx264 \
-preset ultrafast -crf 15 output.mp4
ffmpeg version git-2012-03-24-2571506 Copyright (c) 2000-2012 the FFmpeg developers
built on Mar 24 2012 03:47:02 with gcc 4.6.1
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame \
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora \
--enable-libvorbis --enable-libx264 --enable-nonfree --enable-version3 \
--enable-x11grab
libavutil 51. 44.100 / 51. 44.100
libavcodec 54. 12.100 / 54. 12.100
libavformat 54. 2.100 / 54. 2.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 65.102 / 2. 65.102
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 7.100 / 0. 7.100
libpostproc 52. 0.100 / 52. 0.100
// ERORRS::
[png @ 0xa4d5120] Missing png signature
[image2 @ 0xa4ceb00] decoding for stream 0 failed
[image2 @ 0xa4ceb00] Could not find codec parameters (Video: png)
image%1d.png: could not find codec parameters

最佳答案

读取图像帧时出错。

它们是否可以使用其他软件正确打开?他们的名字是 image1.png , image2.png , ETC。?

关于FFMPEG 视频编码错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9852544/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com