如何使用Nreco设置视频比特率 [英] How Can I Set Video Bit Rate Using Nreco

查看:138
本文介绍了如何使用Nreco设置视频比特率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用nreco设置视频比特率?

How can i set video bit rate using nreco ?

推荐答案

有点晚但我没有看到这个问题的答案。



使用NReco VideoConverter组件设置视频比特率(比方说,64 kbit / s)相当简单:

A bit late but I didn't see any answers for this question.

It is rather trivial to set video bitrate (say, 64 kbit/s) with NReco VideoConverter component:
var ffmpeg = new NReco.VideoConverter.FFMpegConverter();
ffmpeg.ConvertMedia("input.avi", null, "output.mp4", null, 
 new ConvertSettings() {
  CustomOutputArgs = " -b:v 64k -bufsize 64k "
 });



更多选项你可以在ffmpeg文档中找到。


more options you can found in the ffmpeg documentation.


这篇关于如何使用Nreco设置视频比特率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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