ffmpeg 水印错误:视频像素格式未知,未找到编解码器的解析器

发布于 2024-12-21 06:58:59 字数 564 浏览 2 评论 0原文

我正在尝试为我的视频添加水印,但出现像素格式和编解码器错误。

我正在使用链接 中的最新版本 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

旧梦荧光笔 2024-12-28 06:58:59

在 ffmpeg-user 提出了类似的问题,看看是否那里的回答有帮助。

There's a similar question asked at ffmpeg-user, see if the answer there helps.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文