Php-ffmpeg: Can PHP-FFMPEG encode with Rate Control Modes other than Constant bitrate?

Created on 7 Oct 2017  路  1Comment  路  Source: PHP-FFMpeg/PHP-FFMpeg

Actual Behavior

I've recently started using PHP-FFMpeg for a project. I didn't know much about video encoding but I found this online resource which walks you through the most common "Rate Control Modes": http://slhck.info/video/2017/03/01/rate-control.html. This resource states that Variable Bitrate Encodings are the most useful and used modes, but, as far as I could tell, PHP-FFMpeg seems to create a command that only does Constant Bitrate Encoding by default, by adding the parameter -b:v $bitrate.

Expected Behavior

Can PHP-FFMpeg perform variable bitrate encodings, such as by using the -crf (Constant Rate Factor) parameter and the vbv-maxrate and vbv-bufsize?

Feature

>All comments

Unfortunately no, it cannot at the moment. It looks like it would introduce major breaking changes. But yeah, it's interesting.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

theDTD picture theDTD  路  4Comments

sheikhasadmuneer picture sheikhasadmuneer  路  4Comments

aminyazdanpanah picture aminyazdanpanah  路  6Comments

pascalbaljet picture pascalbaljet  路  4Comments

Mahdi-Mohammadi picture Mahdi-Mohammadi  路  4Comments