ffmpeg 水印错误:视频像素格式未知,未找到编解码器的解析器
我正在尝试为我的视频添加水印,但出现像素格式和编解码器错误。
我正在使用链接 中的最新版本 FFmpeg git-7d531e8 64 位静态(最新)(2011-12-12) http://ffmpeg.zeranoe.com/builds/
我正在使用下面的代码向我的视频添加水印。
ffmpeg -i inputputfile.avi -target pal-vcd "movie=abc.png [水印]; [输入][水印] 覆盖=10:10 [输出]" 输出文件.avi。
但我收到视频像素格式未知和未找到编解码器错误解析器的错误。
后来我通过代码更改添加编解码器和像素格式。
ffmpeg -i inputputfile.avi -vcodec wmv3 -pxl_fmt yuv420p -target pal-vcd“movie=abc.png [水印]; [输入][水印]覆盖=10:10 [输出]”输出文件.avi。
但是我仍然收到同样的错误。请帮忙。
I am trying to watermark my video but I am getting pixel format and codec errors.
I am using latest version of FFmpeg git-7d531e8 64-bit Static (Latest) (2011-12-12) from link http://ffmpeg.zeranoe.com/builds/
I am using the below code to add watermark to my video.
ffmpeg -i inputputfile.avi -target pal-vcd "movie=abc.png [Watermark]; [in][Watermark] overlay=10:10 [out]" outputfile.avi.
But i am receiving the error of video pixel format unknown and parser not found for codec error.
Later, I changed by code to add codec and pixel format.
ffmpeg -i inputputfile.avi -vcodec wmv3 -pxl_fmt yuv420p -target pal-vcd "movie=abc.png [Watermark]; [in][Watermark] overlay=10:10 [out]" outputfile.avi.
However I am still receiving the same error. Please help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 ffmpeg-user 提出了类似的问题,看看是否那里的回答有帮助。
There's a similar question asked at ffmpeg-user, see if the answer there helps.