I would like to add filter parameters under ffmpeg preset (e.g. -spre directive).

Suppose a simple test.ffpreset under ~/.ffmpeg like this:


How do we add hqdn3d=16 to this preset file in order to avoid adding -vf hqdn3d=16 on ffmpeg command line invocation?


ffmpeg presets are used to specify codec options only. -vf hqdn3d=16 specifies filter graph to be used. To read filter graph from a file you should use -filter_script option.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.