GPU based DCP encoding

Anything and everything to do with DCP-o-matic.
rl1983
Posts: 14
Joined: Thu Jul 20, 2017 9:48 pm

Re: GPU based DCP encoding

Post by rl1983 »

https://github.com/Karleener/FreeDcpPlayer

Interesting project, this uses the decode side of the nvjpeg2000 package for playing back DCPs.
carl
Site Admin
Posts: 2338
Joined: Thu Nov 14, 2013 2:53 pm

Re: GPU based DCP encoding

Post by carl »

It is a cool project, indeed. I did some work to use nvjpeg2000 with DoM and it looks promising - the main problems at the moment are that the nvidia libraries don't support 4K decoding, and also for encode there is a detail of the cinema J2K profile that they don't support.

This bug in our tracker has some notes.
igit
Posts: 18
Joined: Wed Sep 18, 2019 12:35 pm

Re: GPU based DCP encoding

Post by igit »

I don't know if my experience will be useful
Carsten talks about network saturation all the time, but it's not that important anymore.
Most local area network has 1G/s, that's 112mb/s - let me ask you, do you often deal with source video with 1G/s bitrate?
Ok, I work in RAW 4-6-8K with ARRI RED and so on.
That's why I created a 10G/s local network - it's more than enough for comfortable work from network storage and not from a local disk array. Now network cards and used 10G switches are not at all expensive, and for short distances SFP + and optical cables are not needed - I use DAC.
My array has 16x HDD RAID5 and usually I create DCPs from ProRes422HQ and 4444, less often from 4444XQ.
I work in EasyDCP and also in ColorFront
EasyDCP using GPU(3070) for 2K DCP gives 180fps
ColorFront using 3x A4000 gives 200fps.

There is a commercial GPU solution for J2000 - Comprimato - I wrote about it a long time ago, they provide an Api and their solution uses Marquise Tech and FilmLight to create the DCP.
Why not make DOM based on Comprimato but not for free but as a standalone product with GPU support. For example, a free application runs on the CPU, and when you enter a license, GPU acceleration is activated.
rl1983
Posts: 14
Joined: Thu Jul 20, 2017 9:48 pm

Re: GPU based DCP encoding

Post by rl1983 »

igit wrote: Sat Jul 23, 2022 10:15 pm Why not make DOM based on Comprimato but not for free but as a standalone product with GPU support. For example, a free application runs on the CPU, and when you enter a license, GPU acceleration is activated.
I like this. Best of both worlds. I'll bet more licenses will be issued for the GPU encoding than not.
johel
Posts: 2
Joined: Fri Nov 03, 2017 12:38 pm

Re: GPU based DCP encoding

Post by johel »

Hi !


a new version of FreeDcpPlayer is released on Github, supporting 4K DCP

https://github.com/Karleener/FreeDcpPlayer

for testing purpose....
boxerab
Posts: 17
Joined: Wed May 18, 2016 7:52 pm
Location: Toronto, Canada

Re: GPU based DCP encoding

Post by boxerab »

Hi Folks,

I developed a gpu encoder for AMD cards back in 2016 - at that time I was getting
over 50 fps 2K DCI encoding with a mid-range AMD card and a 4-core Intel cpu.
I would imagine the performance would be much better with current generation of cards.

I was thinking of packaging this up as a commercial network node for DoM.
As it's a fair bit of work to do this, my question is - how many people would be
interested ? The encoder currently only targets AMD cards, but if there is enough interest,
I could port it to Nvidia cards in the future.

Interested to know your thoughts.
Aaron
CRogers
Posts: 3
Joined: Tue Feb 05, 2019 11:25 am

Re: GPU based DCP encoding

Post by CRogers »

As I just launched a 4K DCP render and see that it's going to take about 8 hours I came back here to see if there's been any progress on implementing a GPU render. Sad to see it's still a pipe dream for DoM.
User0
Posts: 1
Joined: Wed Mar 29, 2023 9:35 am

Re: GPU based DCP encoding

Post by User0 »

Hi,

Thanks Carl for your work and anyone promoting DoM and free software.

I have been looking into this https://dcpomatic.com/bugs/view.php?id=2176 and nvjpeg2000 and there has been some changes into v0.7.
https://github.com/NVIDIA/CUDALibrarySa ... 4a1383b13b

I can´t test the encoding example in my pc. Hope there options needed ( enable_custom_precincts width and height) are enabled.

I have post it in nvidia forums to see if they can help with this.
https://forums.developer.nvidia.com/t/a ... y/181800/5

Cheers
Post Reply