Shailender Jain
Shailender Jain

Reputation: 35

FFMPEG Customized Quantization

Can i use customised quantization table in FFMPEG. Is there any available option? If there is no option then where i can edit in the code. For e.g. while compressing JPEG custom quatization table can be give as a parameter

Upvotes: 0

Views: 965

Answers (1)

Gyan
Gyan

Reputation: 93271

For libx265, custom quantization lists can be specified using -x265-params scaling-list='filename' where file has to be "in the HM format" . See http://x265.readthedocs.io/en/default/cli.html#cmdoption-scaling-list

For libx264, it's -x264opts cqmfile='filename' where file is "a JM-compatible file"

Upvotes: 2

Related Questions