Posts: 10.604
Threads: 57
Joined: May 2017
Send you a link to a dev version for testing.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 64
Threads: 7
Joined: Jun 2017
(06.09.2017, 18:27)Selur Wrote: Send you a link to a dev version for testing.
Cu Selur
Could you please take care of this in Hybrid? (I got the info from Donald Graft 5 minutes ago!):
"
Re: HEVC main10 decoding support
Yes, it is possible. Use the fulldepth parameter to DGSource. From the user manual:
fulldepth: true/false (default: false)
When fulldepth=true and the encoded video is HEVC 10-bit or 12-bit, then DGSource() delivers 16-bit data to Avisynth+ with the unused lower bits zeroed. The reported pixel format is CS_YUV420P16. If either of the two conditions are not met, then DGSource() delivers 8-bit YV12 or I420 data, as determined by the i420 parameter. When fulldepth=false and the video is HEVC 10-bit or 12-bit, then the video is dithered down to 8-bit for delivery. If you need a reduced color space (less than 16 bits) for your high-bit-depth processing, you can use ConvertBits() as needed after your DGSource() call."
Posts: 10.604
Threads: 57
Joined: May 2017
06.09.2017, 19:32
(This post was last modified: 06.09.2017, 20:13 by Selur.)
Can't be done in Hybrid atm. since Hybrid doesn't use Avisynth+, in case it is possible in Vapoursynth I could adjust Hybrid to support it when Vapoursynth is used.
Cu Selur
Ps.: Quick code check: FFmpegSource wouldn't be used for high depth input since it always outputs 8bit.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 64
Threads: 7
Joined: Jun 2017
(06.09.2017, 19:32)Selur Wrote: Can't be done in Hybrid atm. since Hybrid doesn't use Avisynth+, in case it is possible in Vapoursynth I could adjust Hybrid to support it when Vapoursynth is used.
Cu Selur
Ps.: Quick code check: FFmpegSource wouldn't be used for high depth input since it always outputs 8bit.
Please let me know if you were successful with Vapousynth. I would really appreciate if you could make Vapoursynth to support main10, main12 GPU assisted decoding via DGDecNV.
I do not know Vapoursynth, I did not even know Hybrid supported that, so in case of success I would need some support what to change in Hybrid to work.
Quote:Ps.: Quick code check: FFmpegSource wouldn't be used for high depth input since it always outputs 8bit.
This means my last test encode to main12 is "damaged". I will encode both SD, HD sources to main10, UHD sources to main10/12 hopefully with your Vapousynth and DGDecNV. They are my only hope.
Posts: 10.604
Threads: 57
Joined: May 2017
Vapoursynth can be used instead of Avisynth (see:
*hidden* Hybrid options,... on how to enable it).
-> Will look into the Vapoursynth support in the next days and report back.
Quote:This means my last test encode to main12 is "damaged".
No, Hybrid should have used LWLibavSource which should support high bit depth without a problem.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 64
Threads: 7
Joined: Jun 2017
Quote:-> Will look into the Vapoursynth support in the next days and report back.
Thank you very much for your efforts!
Posts: 10.604
Threads: 57
Joined: May 2017
Send you a link to a dev version for testing.
Not sure that it works since I can't test it. No hardware which supports HEVC GPU decoding.
I checked, anything that could replace my current watercooled GeForce GTX 980ti for a reasonable price.
I need three displayports and one HDMI port to feed my setup (HP Z27q, LG 34UM94C-P, Onky TX-SR508).
Only thing that would work would be a GeForce GTX 1080, 1080i or even pricier cards.
-> not in my IT budget any time soon, so if it doesn't work create a debug output (level 9).
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 64
Threads: 7
Joined: Jun 2017
(07.09.2017, 18:55)Selur Wrote: Send you a link to a dev version for testing.
Not sure that it works since I can't test it. No hardware which supports HEVC GPU decoding.
I checked, anything that could replace my current watercooled GeForce GTX 980ti for a reasonable price.
I need three displayports and one HDMI port to feed my setup (HP Z27q, LG 34UM94C-P, Onky TX-SR508).
Only thing that would work would be a GeForce GTX 1080, 1080i or even pricier cards.
-> not in my IT budget any time soon, so if it doesn't work create a debug output (level 9).
Cu Selur
Hybrid doesn't use in this new version DGDecodeNV for decoding but still software decoding.
The latest DGDecodeNV package does not include NV12ToRGB24.cubin.
Crop window doesn't open after indexing, so I cannot crop the sources.
I don't understand why these paramterers are used by Vapoursynth when the source is HDR10 and Rec.2020:
Quote:# making sure input color matrix is set as 709
clip = core.resize.Point(clip, matrix_in_s="709")
# making sure input color range is set to TV (16-235) scale.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# adjusting output color from: YUV420P16 to YUV420P8
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8)
# Output
clip.set_output()
Posts: 10.604
Threads: 57
Joined: May 2017
Will look at the debug output later. Earliest in 3 hours, reading the debug output on a mobile is just too much pain.
16bit is used since both LwLibAvSource and DGSource return 16 bit for everything above 8 bit. 420 is used since that is the color sampling of your source.
709 is probably used since that is what Hybrid detected. Will know more once I look at the debug output. As a side note: Unless you do RGB<>YUV concersions, the matrix doesn't matter.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 10.604
Threads: 57
Joined: May 2017
Had a quick look at did some adjustments, color matrix should now be detected correctly.
DebugLog shows that DGSource was used, so that seems to work,..
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.