Search found 775 matches

by Guest 2
Thu Aug 18, 2022 1:49 pm
Forum: CUDA Filters
Topic: Port Cube
Replies: 299
Views: 199323

Port Cube

Rocky wrote:
Thu Aug 18, 2022 1:41 pm
Also, just open the script in VirtualDub2 to eliminate the encode. I've tested various PQ streams with a cube like yours and everything is fine.
What nvidia driver are you using?
by Guest 2
Thu Aug 18, 2022 1:49 pm
Forum: CUDA Filters
Topic: Port Cube
Replies: 299
Views: 199323

Port Cube

Rocky wrote:
Thu Aug 18, 2022 1:24 pm
That stuff is present in the source file
That is the encoded one.
Rocky wrote:
Thu Aug 18, 2022 1:24 pm
It must be your encode because it is resized.
I resized to make it faster.
Rocky wrote:
Thu Aug 18, 2022 1:24 pm
Please provide the corresponding source stream. Thank you.
Here https://krakenfiles.com/view/0VcYGMVjg5/file.html
by Guest 2
Thu Aug 18, 2022 1:20 pm
Forum: CUDA Filters
Topic: Port Cube
Replies: 299
Views: 199323

Port Cube

Rocky wrote:
Thu Aug 18, 2022 1:18 pm
Try without the prefetch.
No difference at all.
by Guest 2
Thu Aug 18, 2022 1:06 pm
Forum: CUDA Filters
Topic: Port Cube
Replies: 299
Views: 199323

Port Cube

Output before last build (external color space conversion):
correct.png
Output with last build (internal color space conversion):
wrong.png
by Guest 2
Thu Aug 18, 2022 12:54 pm
Forum: CUDA Filters
Topic: Port Cube
Replies: 299
Views: 199323

Port Cube

Just tell me what the problem is! The image is corrupted, it seems two layered ones. Just look from 00:03 on. You should not set fullrange=false for that script. I do not understand what the proper use is for fullrange. I thought that with a limited range in and a limited range out, it should be fa...
by Guest 2
Thu Aug 18, 2022 12:38 pm
Forum: CUDA Filters
Topic: Port Cube
Replies: 299
Views: 199323

Port Cube

Mmm... there is something wrong: https://krakenfiles.com/view/qqjYIXbecL/file.html The script is: SetFilterMTMode("DEFAULT_MT_MODE", 2) LoadPlugin("D:\Eseguibili\Media\DGDecNV\DGDecodeNV.dll") LoadPlugin("D:\Eseguibili\Media\DgCube\DGCube.dll") DGSource("F:\In\2_0446 Akira\akira.dgi",ct=48,cb=48,cl=...
by Guest 2
Thu Aug 18, 2022 12:07 pm
Forum: CUDA Filters
Topic: Port Cube
Replies: 299
Views: 199323

Port Cube

Rocky wrote:
Thu Aug 18, 2022 11:05 am
If DGCube receives YUV420P16 then it outputs YUV420P16.
Ok, now I understand. We just need the support for limited range cubes from Warner too.
by Guest 2
Thu Aug 18, 2022 10:27 am
Forum: CUDA Filters
Topic: Port Cube
Replies: 299
Views: 199323

Port Cube

Rocky wrote:
Thu Aug 18, 2022 9:30 am
Ah, I forgot that my YUV <-> RGB conversions
And what about my error? Any idea?
Rocky wrote:
Thu Aug 18, 2022 9:30 am
fullrange is inapplicable for YUV420P16 input
What would happen if DGDecodeNV outputs a 444 stream?
by Guest 2
Thu Aug 18, 2022 10:25 am
Forum: CUDA Filters
Topic: Port Cube
Replies: 299
Views: 199323

Port Cube

Rocky wrote:
Thu Aug 18, 2022 8:18 am
when false we specify that the input is limited and the output should be limited
I don't know if possible but if the LUT produces limited from full or full from limited? Perhaps it should be better to specify what we are giving as input and what we want as output?
by Guest 2
Wed Aug 17, 2022 1:01 pm
Forum: CUDA Filters
Topic: Port Cube
Replies: 299
Views: 199323

Port Cube

Curly wrote:
Wed Aug 17, 2022 12:57 pm
Good move. PQ sucks rocks.
Indeed. :mrgreen:
by Guest 2
Wed Aug 17, 2022 1:01 pm
Forum: CUDA Filters
Topic: Port Cube
Replies: 299
Views: 199323

Port Cube

Depends on at least three things. Is the LUT made for limited or full-range input/output? Is the source limited or full range? Should the output be limited or full range? 1) Input, in my case, is PQ video from UHD, so we can assume it's limited range. 2) My LUT wants full range. 3) The output shoul...
by Guest 2
Wed Aug 17, 2022 12:21 pm
Forum: CUDA Filters
Topic: Port Cube
Replies: 299
Views: 199323

Port Cube

Let's test what we have and I'll look into the range stuff in parallel. In the examples you write: loadplugin("...\dgdecodenv.dll") loadplugin("...\dgcube.dll") dgsource("THE GREAT WALL.dgi") DGCube("PQ_to_BT709_slope.cube", fullrange=false, interp="tetrahedral") What is the output format and range...
by Guest 2
Wed Aug 17, 2022 8:51 am
Forum: CUDA Filters
Topic: Port Cube
Replies: 299
Views: 199323

Port Cube

Perhaps you already know but LUT cubes can work in RGB or Studio RGB, i.e. full TV range or limited TV range. On PQ to HLG, for full TV range, such as BBC ones, you would need: #From 4:2:0 16bit planar Narrow Range to RGB Planar 16bit Full Range z_ConvertFormat(pixel_type="RGBP16", colorspace_op="20...
by Guest 2
Wed Aug 17, 2022 5:47 am
Forum: CUDA Filters
Topic: Port Cube
Replies: 299
Views: 199323

Port Cube

Rocky wrote:
Tue Aug 16, 2022 4:38 pm
That was all done in C code. Now I'll port it to the CUDA kernel. That should be plain sailing.
Eager to test it. :salute:
by Guest 2
Sat Aug 13, 2022 11:27 am
Forum: CUDA Filters
Topic: Port Cube
Replies: 299
Views: 199323

Port Cube

Rocky wrote:
Sat Aug 13, 2022 8:11 am
Sure. Bullwinkle already mentioned that.
:salute:
by Guest 2
Sat Aug 13, 2022 2:40 am
Forum: CUDA Filters
Topic: Port Cube
Replies: 299
Views: 199323

Port Cube

Rocky wrote:
Fri Aug 12, 2022 10:29 am
And it gives a raison d'etre for DGCube.
:mrgreen:

Do you think it's possible to have the necessary color space conversion ported to CUDA, to offload the cpu as much as possible?

OpenCV supports it easily and, if I am not wrong, it's written in CUDA... so...
by Guest 2
Wed Aug 10, 2022 11:29 am
Forum: CUDA Filters
Topic: Port Cube
Replies: 299
Views: 199323

Port Cube

The script you asked for With a commercial (BBC) LUT: AVSCube no prefetch Number of frames: 1000 Length (hh:mm:ss.ms): 00:00:41.667 Frame width: 3840 Frame height: 2160 Framerate: 24.000 (24/1) Colorspace: RGBP16 Audio channels: 1 Audio bits/sample: 16 Audio sample rate: 44100 Audio samples: 183750...
by Guest 2
Wed Aug 10, 2022 10:08 am
Forum: CUDA Filters
Topic: Port Cube
Replies: 299
Views: 199323

Port Cube

Rocky wrote:
Wed Aug 10, 2022 9:04 am
Please let the Doom9 guys know about this.
Your wish is my command. :salute:

P.S: Will you add tetrahedral to AVSCube too?
by Guest 2
Wed Aug 10, 2022 1:51 am
Forum: CUDA Filters
Topic: Port Cube
Replies: 299
Views: 199323

Port Cube

Rocky wrote:
Tue Aug 09, 2022 11:15 am
I compared scripts with BlankClip() source and no conversions and things are as expected.
Please, post your script.
Rocky wrote:
Tue Aug 09, 2022 6:14 pm
I read the whole thread and didn't see anything relevant. Did I miss something?
:oops:
by Guest 2
Tue Aug 09, 2022 6:14 am
Forum: CUDA Filters
Topic: Port Cube
Replies: 299
Views: 199323

Port Cube

Aligned results also with x265.exe --crf 20 --preset slow --output-depth 10 --aq-mode 5 --fades --colorprim bt2020 --colormatrix bt2020nc --transfer arib-std-b67 --range limited --min-luma 64 --max-luma 940 --output "F:\In\2_0446 Akira\akira_cube_6_temp\akira_cube_6_out.hevc" "F:\In\2_0446 Akira\aki...
by Guest 2
Tue Aug 09, 2022 5:39 am
Forum: CUDA Filters
Topic: Port Cube
Replies: 299
Views: 199323

Port Cube

Real world scenario: 4k PQ video to 1080p HLG video with denoise and x265 encoding. Script: SetMemoryMax() SetFilterMTMode("DEFAULT_MT_MODE", 2) LoadPlugin("D:\Eseguibili\Media\DGDecNV\DGDecodeNV.dll") LoadPlugin("D:\Eseguibili\Media\AVSCube\VSCube.dll") # or DGCube DGSource("F:\In\2_0446 Akira\akir...
by Guest 2
Tue Aug 09, 2022 3:57 am
Forum: CUDA Filters
Topic: Port Cube
Replies: 299
Views: 199323

Port Cube

Preliminary benchmarks before encoding, using AVSMeter64 + GPU-Z. AVSCube script: LoadPlugin("D:\Eseguibili\Media\DGDecNV\DGDecodeNV.dll") LoadPlugin("D:\Eseguibili\Media\AVSCube\VSCube.dll") DGSource("F:\In\2_0446 Akira\akira.dgi",ct=48,cb=48,cl=0,cr=0) propClearAll() #From 4:2:0 16bit planar Narro...
by Guest 2
Mon Aug 08, 2022 1:22 pm
Forum: CUDA Filters
Topic: Port Cube
Replies: 299
Views: 199323

Port Cube

Rocky wrote:
Mon Aug 08, 2022 11:57 am
Re-download DGCube to get the fix, i.e., ability to open any size cube file.
Rapidly tested and it seems to be working.

I will bench and post results.
by Guest 2
Mon Aug 08, 2022 10:55 am
Forum: CUDA Filters
Topic: Port Cube
Replies: 299
Views: 199323

Port Cube

Rocky wrote:
Mon Aug 08, 2022 9:09 am
Your cube is size 33.
Is the 65 size related to CUDA only? AVSCube works ok.
by Guest 2
Mon Aug 08, 2022 8:26 am
Forum: CUDA Filters
Topic: Port Cube
Replies: 299
Views: 199323

Port Cube

1. Where are you loading avsresize.dll? No need as it's in AVS+ default folders. 2. Can you give me the cube file? I can give you a identity one, that crashes too: IDENTITY.7z which must be size 65 Are you meaning kB or what? Both BBC and Warner Bros licensed cube files are around 1 MB. I asked a f...