Page 1 of 1
quality based H.264 encoding
Posted: Wed Jun 24, 2015 10:23 am
by screenshaper
Is there a way to encode H.264 with "custom ffmpeg" using CRF (Constant Rate Factor) quality parameter instead of bitrate?
As recommended on ffmpeg H.264 encoding guide:
https://trac.ffmpeg.org/wiki/Encode/H.264
The bitrate field in FFAStrans' custom ffmpeg pane controls witch parameter(s) of ffmpeg command line? Maybe "-maxrate"?
Re: quality based H.264 encoding
Posted: Wed Jun 24, 2015 5:36 pm
by admin
The built in bitrate sliders/inputs sets the "-b:v" and "-b:a" parameters. If you manually insert bitrate and codecs in the command options the built inn will be omitted. Generally, you can use the "Custom FFmpeg"-encoder just like any ffmpeg.exe command except for the first input file and the last output.file.
In future versions the bitrate and codec options might be removed.
-steipal
Re: quality based H.264 encoding
Posted: Wed Jun 24, 2015 6:09 pm
by screenshaper
How can I disable b:v parameter in the current version?
What happens if I put it to zero?
Re: quality based H.264 encoding
Posted: Wed Jun 24, 2015 6:20 pm
by admin
You don't need to disable them. If you use -b:v, -b:a, -c:v or -c:a in you command line the built in will be omitted. Simple as that
-steipal
Re: quality based H.264 encoding
Posted: Wed Jun 24, 2015 6:27 pm
by screenshaper
Ok!
Many thanks.
You're so kind, quick and useful.
As usual.