使用 ffmpeg 加水印后视频质量不佳 [英] Bad quality video after watermarking with ffmpeg

查看:93
本文介绍了使用 ffmpeg 加水印后视频质量不佳的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以告诉我我做错了什么吗?我正在使用以下参数从 c# 应用程序中使用 ffmpeg 为视频添加水印:

Can someone please tell me what I'm doing wrong? I'm using the following arguments to watermark a video with ffmpeg from a c# app:

-i "video.AVI" -s 384x288 -vhook "vhook/imlib2.dll -x 0 -y 0 -i"watermark.png"" -y "output.avi"-sameq

-i "video.AVI" -s 384x288 -vhook "vhook/imlib2.dll -x 0 -y 0 -i "watermark.png"" -y "output.avi" -sameq

原始文件大小为 233mb,但输出为 60 mb.我认为使用 -sameq 参数会给我相同的大小和质量输出.

The orginal file size is 233mb but the output is 60 odd mb. I thought using the -sameq argument would give me the same size and quality output.

推荐答案

代替 -sameq 尝试使用 -ab-vb<手动定义比特率/代码>.

Instead of -sameq try defining the bitrates manually with -ab and -vb.

这篇关于使用 ffmpeg 加水印后视频质量不佳的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆