Page 16 of 29

Re: Feature Requests

Posted: Sun Apr 12, 2020 7:39 am
by Rocky
You can already right click on DGIndexNV.exe, select Properties/Details and get that information. Is that good enough?

Re: Feature Requests

Posted: Sun Apr 12, 2020 8:11 am
by Boulder
Rocky wrote:
Sun Apr 12, 2020 7:00 am
OK, how about adding a formatted command line to the DGI file right there with the existing HDR lines? You could copy and paste from that and it would be easier to implement. Or I could just replace the existing lines with the formatted version.
That would definitely work fine. While you're at it, would you mind adding the --frames xxxxx parameter as well? It's something I always add to the command line as it then gives the ETA when encoding.

Re: Feature Requests

Posted: Sun Apr 12, 2020 11:11 am
by Rocky
Please let me know if this is working for you. The line is labeled X265_CL and it is at the bottom of the DGI file.

http://rationalqm.us/misc/DGIndexNV_Boulder.exe

Re: Feature Requests

Posted: Sun Apr 12, 2020 1:24 pm
by Boulder
Rocky wrote:
Sun Apr 12, 2020 11:11 am
Please let me know if this is working for you. The line is labeled X265_CL and it is at the bottom of the DGI file.

http://rationalqm.us/misc/DGIndexNV_Boulder.exe
Thank you, works and looks good :D I'd remove all the extra whitespaces though, the input values are strings and I don't know if they are stripped by x265 or not. As such, better make it exactly the same format they show in their docs.

Re: Feature Requests

Posted: Sun Apr 12, 2020 3:05 pm
by Rocky
OK, will do. Thank you Boulder for this great feature request. Always looking to improve the DG user experience. :salute:

Re: Feature Requests

Posted: Sun Apr 12, 2020 4:21 pm
by kebulek
kebulek wrote:
Sun Apr 12, 2020 7:11 am
Can you please add command line flag -V or -version?

Code: Select all

DGIndexNV.exe -version
->
DGIndexNV 2053.0.0.206 (64 bit) built on Apr 10 2020
That would be great, thank you! :salute:
Rocky wrote:
Sun Apr 12, 2020 7:39 am
You can already right click on DGIndexNV.exe, select Properties/Details and get that information. Is that good enough?
I would like to display it in command line, so that is sadly not good enough for me. :(

Re: Feature Requests

Posted: Sun Apr 12, 2020 4:22 pm
by Bullwinkle
Too bad, so sad.

Re: Feature Requests

Posted: Mon Apr 13, 2020 7:00 am
by Rocky
I suppose there is no harm in it and it is pretty easy to do, so I'll do it. Thank you for the suggestion, kebulek.

Re: Feature Requests

Posted: Mon Apr 13, 2020 8:54 am
by Rocky
Now looking at it, I can output to the console but it is asynchronous, so you'll get output like this:

-----
D:\Don\Programming\C++\DGDecNV\DGIndexNV\x64\Debug>dgindexnv -version

D:\Don\Programming\C++\DGDecNV\DGIndexNV\x64\Debug>DGIndexNV 2053.0.0.206 (64 bit)
-----

Is that acceptable, kebulek? The alternative is to make some com/exe hack (https://code.google.com/archive/p/dualsubsystem/) but I am disinclined to do that.

Re: Feature Requests

Posted: Mon Apr 13, 2020 1:00 pm
by kebulek
Yes, that is very acceptable! ;) Thank you very much.

Re: Feature Requests

Posted: Wed Apr 15, 2020 11:17 am
by Guest 2
Boulder wrote:
Fri Apr 03, 2020 1:30 pm
Would it be possible to have the HDR-specific colorimetry and mastering information written in the template in x265 style with a macro? I don't know if you already determine the chroma location but that would be useful too. All these would then be easy to drop in the x265 commandline.
Now that the feature has been kindly provided by Rocky, would you please write a noob HDR guide to encode UHD BD to x265 maintaining HDR data?

Such as: decode with DGIndexNV, now that you have the DGI with parameters..... :salute:

Re: Feature Requests

Posted: Wed Apr 15, 2020 1:28 pm
by Curly
I hope Boulder replies because I don't have a clue. :? :facepalm:

Re: Feature Requests

Posted: Wed Apr 15, 2020 1:30 pm
by Natasha
Curly wrote:
Wed Apr 15, 2020 1:28 pm
I don't have a clue.
We knew that darling.

Re: Feature Requests

Posted: Wed Apr 15, 2020 2:22 pm
by Boulder
Curly wrote:
Wed Apr 15, 2020 1:28 pm
I hope Boulder replies because I don't have a clue. :? :facepalm:
--hdr-opt is probably the only one that you need in addition to what is already provided by DGIndexNV. And of course, the x265 parameters to taste. --hdr is set automatically if you specify master-display or max-cll.

Re: Feature Requests

Posted: Wed Apr 15, 2020 2:54 pm
by Rocky
If I may add, yes Guest 2, just make a project and script for your HDR stream. Then run x265.exe with the script and the options Boulder described. It's not that involved.

BTW:

"Renamed --hdr-opt to --hdr10-opt. --hdr-opt will be deprecated in the upcoming major release."

Re: Feature Requests

Posted: Wed Apr 15, 2020 3:11 pm
by Guest
Here is a sample command line to get you started
"C:\Program Files (Portable)\x265\x265.exe" --crf 18 --level-idc 5.1 --output-depth 10 --vbv-bufsize 160000 --vbv-maxrate 160000 --keyint 120 --no-open-gop --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,0)" --colorprim bt2020 --colormatrix bt2020nc --transfer smpte2084 --range limited --hdr --repeat-headers --hrd --aud --input-depth 10 --no-strong-intra-smoothing --frames 177147 --y4m --output T:\WARCRAFT.hevc -
Note
MaxCLL and MaxFALL were not required on this movie

Re: Feature Requests

Posted: Wed Apr 15, 2020 4:09 pm
by Rocky
That's not using a script, though, is it? How do we encode from an Avisynth script?

Re: Feature Requests

Posted: Wed Apr 15, 2020 4:39 pm
by Guest
"C:\Program Files\VSPIPE\vspipe.exe" WARCRAFT.vpy - --y4m | "C:\Program Files (Portable)\x265\x265.exe" --crf 18 --level-idc 5.1 --output-depth 10 --vbv-bufsize 160000 --vbv-maxrate 160000 --keyint 120 --no-open-gop --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,0)" --colorprim bt2020 --colormatrix bt2020nc --transfer smpte2084 --range limited --hdr --repeat-headers --hrd --aud --input-depth 10 --no-strong-intra-smoothing --frames 177147 --y4m --output T:\WARCRAFT.hevc -
This is for a VS script
Should be readily adaptable to an AVS+ script, just replace vspipe with avs2y4m I believe

Re: Feature Requests

Posted: Wed Apr 15, 2020 4:52 pm
by Rocky
Oh, I see, thank you. The pipe thingie. :facepalm:

Re: Feature Requests

Posted: Wed Apr 15, 2020 4:57 pm
by Guest
Yeah, that intermediate magic box
Required if you don't to rely on some gui, which would just pipe it on the authors terms, not yours

Re: Feature Requests

Posted: Wed Apr 15, 2020 5:26 pm
by Rocky
Well, some GUIs are wonderful and some...not so much.

Re: Feature Requests

Posted: Wed Apr 15, 2020 5:27 pm
by Curly
Hehe, I know which one you are thinking about! :agree:

Re: Feature Requests

Posted: Wed Apr 15, 2020 5:29 pm
by Natasha
Curly said something intelligent. Is it a first?

Re: Feature Requests

Posted: Wed Apr 15, 2020 5:32 pm
by Mr. Peabody
Miss Natasha, intelligence is merely a social construct that should not be used to divide and excoriate:

https://youtu.be/GaYdtUVL6Co?t=11

"You see, I have been told that I am intelligent."

Re: Feature Requests

Posted: Wed Apr 15, 2020 5:33 pm
by Bullwinkle
Anyone spending 10 minutes on that nonsense is definitely low IQ.