Log in

View Full Version : About webM encoding


srfscenar
8th October 2013, 16:00
Hi all,

I am encoding a 640x480 video with ffmpeg to webM.
the line I used is:
ffmpeg -i input.mov -c:v libvpx -b:v 2000K -maxrate 2000K -minrate 2000K output.webm

I want it to have constant bitrate 2000K (+audio).
The thing is that the output file is ~600Kbps.

Is there a way to achieve a 2000K bitrate to a .webM file with the specific dimensions?
Does the dimensions have to do with it?

Thanks.

BadFrame
8th October 2013, 22:22
Hi all,

I am encoding a 640x480 video with ffmpeg to webM.
the line I used is:
ffmpeg -i input.mov -c:v libvpx -b:v 2000K -maxrate 2000K -minrate 2000K output.webm

I want it to have constant bitrate 2000K (+audio).
The thing is that the output file is ~600Kbps.

Is there a way to achieve a 2000K bitrate to a .webM file with the specific dimensions?
Does the dimensions have to do with it?

Thanks.
I haven't tried encoding webm using ffmpeg, but in the official vpxenc encoder there's '--end-usage=cbr' and '--target-bitrate=' which I assume would allow you to set a constant bitrate, I suppose those options are available through ffmpeg aswell.