Adam-Kay / Batch-Encoder

Command line batch file encoder using FFmpeg
GNU General Public License v3.0
0 stars 0 forks source link

Add advanced mode #37

Closed Adam-Kay closed 10 months ago

Adam-Kay commented 10 months ago

Improvement Description

Based on the information from https://trac.ffmpeg.org/wiki/Encode/H.264#no1, it would be good to have an additional prompt that offered something along the lines of:

Please select encoding type: s - Simple encode (default options) a - Advanced encoding options

The advanced options should include both an option for CRF value (quality) and a speed preset (final file size)

Adam-Kay commented 10 months ago

For CRF value, reasonable ends of the scale would be between 13 and 37. The user can be provided with a 1-9 inclusive scale. To convert the user input to a CRF value, the formula will be $\mathsf{10+(usernum*3)}$, where 1 becomes 13 and 9 becomes 37.

Adam-Kay commented 10 months ago

Conveniently, there are also 9 different speed preset values so the same formula can be followed