如何使用 ffmpeg 高质量将 flv 转换为 avi
需要将 flv 文件转换为 avi 或 mov,尝试使用 ffmpeg,但输出质量很糟糕。如何使视频输出与源的质量相同?
我以为 ffmpeg -i name.flv -s 320x... name.avi 可以做到,但效果不好。
Need to convert flv files to avi or mov, trying out ffmpeg but the output quality is terrible. How can I get the video output to be on par quality with the source?
I thought ffmpeg -i name.flv -s 320x... name.avi would do it, but no good.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
这是我在 ffmpeg 项目中使用的命令,质量应该足够好。如果没有,请尝试增加比特率(
-b
参数):That's the command I was using for a ffmpeg project, the quality should be good enough. If not, try increasing the bitrate (
-b
argument):这是一个很好的解决方案
或使用以下一个
This is a Good solutions
Or Used following one
在互联网上还找到了另一种解决方案,效果非常好!
只需使用相同的质量参数
-sameq
。实际上,sameq 命令并不是相同的质量。
为了成功地做到这一点,必须应用这一点:
如果您有多个文件要做,这里是完整的命令
There is also another solution found on the internet and works like charm!
Just use same quality parameter
-sameq
.Actually the command sameq is not same quality.
In order to successfully do it this one must be applied:
in case you have multiple files to do here is the complete command
要保持质量,请使用
-qscale 0
。例如
ffmpeg.exe -i InputVid.avi -qscale 0 OutputVid.mp4
我将 1.64 GB avi 视频转换为 4.35 MB mp4 文件。
To preserve quality use
-qscale 0
.For example
ffmpeg.exe -i InputVid.avi -qscale 0 OutputVid.mp4
I converted my 1.64 GB avi video to 4.35 MB mp4 file.