Click here to Skip to main content
15,881,803 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How can i set video bit rate using nreco ?
Posted

1 solution

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:
C#
var ffmpeg = new NReco.VideoConverter.FFMpegConverter();
ffmpeg.ConvertMedia("input.avi", null, "output.mp4", null, 
 new ConvertSettings() {
  CustomOutputArgs = " -b:v 64k -bufsize 64k "
 });

more options you can found in the ffmpeg documentation.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900