dandere2x
dandere2x copied to clipboard
output codec?
any chance of adding an option to the CLI to allow for the output codec to be set?
h265, h265 10 bit, h264
would be the current main ones, av1 in the not too distant future.
You can set it on config_files/output_options.yaml
pipe_video:
-hwaccel: auto
output_options:
-loglevel: panic
-y: -f
image2pipe: True
-i: '-'
-vcodec: libx264
-preset: medium
-qscale: 5
-crf: 15
-vf:
- ' deband=range=8:blur=false, pp7=qp=2:mode=medium'
how do you use this if using the docker command?
hmm, I don't think you can. I'll keep this in mind as I do book keeping. i'll let you know in this thread once I add support for this.
I'm also interested since newer codecs other than x264, will produce better results. h265-10b (x265, hevc_nvenc, and I'm also interested in SVT-AV1 and AOM-AV1) will suffice, but depending on the source it may require also allowing other parameters to be set such as bit depth (eg: yuv420p10le), codec profile level (eg: high444), or even x265-params, aom-params, svtav1-params...
I'm just commenting to be notified if there are news in this issue.