如何通过FFMPEG实现最佳的整体FLV质量? [英] How can I achieve the best overall FLV quality with FFMPEG?

查看:486
本文介绍了如何通过FFMPEG实现最佳的整体FLV质量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望以最低的文件大小完成最优质的FLV。毕竟不是每个人的目标吗?现在,我的视频不超过320像素,有的是宽屏,所以他们的高度是小于240px。现在的命令:


$ b $($)

转换FLV的质量很差。 b

 > ffmpeg -i video.mov -ar 22050 -ab 32 -f flv -s 320x240 -aspect 4:3 video.flv 


解决方案

默认情况下,flv默认为200Kb,qmax高达30(因为您没有覆盖它),可能会在此附近产生输出。
您可以通过以下两种方式解决此问题:




  • 将qmax设置为较低的值,强制质量控制器升级到满足要求。

  • 使用-vb 400k提高比特率



在测试视频中,我刚刚尝试-qmax 10给出可接受的输出。
使用qmax和qmin设置较低和上限可接受的质量是首选方式。


I'm looking to accomplish the best quality FLV with the lowest file size. After all, isn't that everyone's goal? These videos will be streamed if that makes any difference.

For now, my video(s) are no wider than 320px, and some are widescreen, so their heights are a little smaller than 240px. As it stands, the quality of the converted FLVs is quite poor.

Current command:

> ffmpeg -i video.mov -ar 22050 -ab 32 -f flv -s 320x240 -aspect 4:3 video.flv

解决方案

By default flv defaults to 200Kb and with the qmax being as high as 30 (since you're not overriding it) it'll probably be producing output near that. You can fix this by either:

  • Setting qmax to a lower value forcing the quality control to up the birate to meet the requirement.
  • Upping the bitrate with -vb 400k

On the test video I just tried -qmax 10 gave acceptable output. Using qmax and qmin to set the lower and upper acceptable quality is the preferred way.

这篇关于如何通过FFMPEG实现最佳的整体FLV质量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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