首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >FFMPEG视频编码错误

FFMPEG视频编码错误
EN

Stack Overflow用户
提问于 2012-03-24 22:33:11
回答 1查看 1.2K关注 0票数 2

我正在尝试使用ffmpeg对我的视频进行编码。我将每一帧的输出作为单独的图像,然后使用ffmpeg将它们连接到视频中。我从源代码编译了ffmpeg。这就是我使用的命令和我一直遇到的错误!

代码语言:javascript
运行
复制
---:/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    
EN

回答 1

Stack Overflow用户

发布于 2012-03-27 06:13:11

它在读取图像帧时出错。

它们能在其他软件上正常打开吗?它们是否命名为image1.pngimage2.png等?

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/9852544

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档