k4yt3x/video2x

[Feature Request] Lossless encoding

Closed this issue ยท 4 comments

Being able to use x265 lossless encoding will likely be useful in some cases. This may or may not work:

master...ShortyCM:video2x:master
k4yt3x/video2x-qt6@master...ShortyCM:video2x-qt6:master

I'd test it myself but don't currently have any dev tools installed yet after a recent Windows do-over, and not sure when I'll have time to get all that installed, too.

I've closed the two PRs for now. I appreciate your work, though I'd like to implement something that's more versatile if anything were to be added. See my comments in the PRs for more detail.

Implemented in 3215c89.

You can now specify any AVOptions with --extra-encoder-option, -e. For setting libx265 lossless to 1, do -e x265-params=lossless=1.

image

This will be included in the next release. I'll consider when to add full support of this in the GUI.

Another screenshot just to show the currently supported encoder options:

image

I'll also leave this here. Full change for this implementation:

https://github.com/k4yt3x/video2x/compare/169509b..HEAD