GPU based DCP encoding
-
- Site Admin
- Posts: 2548
- Joined: Thu Nov 14, 2013 2:53 pm
Re: GPU based DCP encoding
That is the current plan, yes.
-
- Posts: 3
- Joined: Tue Feb 05, 2019 11:25 am
Re: GPU based DCP encoding
Any news on the GPU accelerated encoding front?
-
- Site Admin
- Posts: 2548
- Joined: Thu Nov 14, 2013 2:53 pm
Re: GPU based DCP encoding
None, I'm afraid. It's interesting to note, however, that nvidia have made some libraries for J2K decoding which we may be able to use (while hoping that nvidia are also working on some encoding libraries!)
Kakadu is also a possibility, but I don't know how much that would end up costing the end user.
There are still some practical difficulties. The first problem is that (I think) I would need to build for Windows using the Microsoft tools (rather than cross-compiling with mingw64) and that involves quite a lot of not-especially-fun work.
Kakadu is also a possibility, but I don't know how much that would end up costing the end user.
There are still some practical difficulties. The first problem is that (I think) I would need to build for Windows using the Microsoft tools (rather than cross-compiling with mingw64) and that involves quite a lot of not-especially-fun work.
-
- Posts: 2804
- Joined: Tue Apr 15, 2014 9:11 pm
- Location: Germany
Re: GPU based DCP encoding
Would it be possible to prototype an encoding solution for you, to find out what the actual benefit would be (overall conversion time)?
Because, e.g. Threadripper 5950X and M1/M2 performance has increased considerably, while GPU prices have grown to the insane.
- Carsten
Because, e.g. Threadripper 5950X and M1/M2 performance has increased considerably, while GPU prices have grown to the insane.
- Carsten
-
- Site Admin
- Posts: 2548
- Joined: Thu Nov 14, 2013 2:53 pm
Re: GPU based DCP encoding
It's an interesting point - my guess would be that since claimed GPU performance is/was so far ahead of CPU it should still be better bang per buck. It's hard to be sure though.Because, e.g. Threadripper 5950X and M1/M2 performance has increased considerably, while GPU prices have grown to the insane.
I'm happy to talk to anybody who has a J2K encoding library (whether CPU or GPU) and see about integrating it into DoM. There are considerable practical hurdles but nothing insurmountable. It's not a massive priority for me but I think I have mellowed a bit on my previous IT MUST ALL BE OPEN SOURCE stance
-
- Posts: 15
- Joined: Thu Jul 20, 2017 9:48 pm
Re: GPU based DCP encoding
I've demo'd another piece of software that uses GPU encoding for creating DCPs. It's absolutely worth it to incorporate it, even if DOM becomes a licensed software.
I ran two tests, encoding the same trailer with DOM, got 16.5FPS on my 5600x CPU.
Test 2, was on the software that uses GPU - 105-120FPS for encoding the same trailer. This is just a 1660 Super GPU, nothing top of the line.
The UI on that other software is horrendous, which explains the amount of errors we get when we receive DCPs authored with them.
I ran two tests, encoding the same trailer with DOM, got 16.5FPS on my 5600x CPU.
Test 2, was on the software that uses GPU - 105-120FPS for encoding the same trailer. This is just a 1660 Super GPU, nothing top of the line.
The UI on that other software is horrendous, which explains the amount of errors we get when we receive DCPs authored with them.
-
- Posts: 46
- Joined: Fri Apr 15, 2016 4:03 pm
Re: GPU based DCP encoding
The nvJPEG2000 Documentation does talk about encoding too! https://docs.nvidia.com/cuda/nvjpeg2000/userguide.html
-
- Posts: 2804
- Joined: Tue Apr 15, 2014 9:11 pm
- Location: Germany
Re: GPU based DCP encoding
We had the idea in the past to implement GPU encoding only for the encoding server. It would be easy to sell just the encoding server as a small separate package commercially. It could be offered separately from the main open source distribution. And having GPU support only in the encoding server means no performance penalty, at least not within a single machine. Across a network, network saturation would hit a lot earlier, though. Licensing would also be a lot easier for a separate module not tied into the main development branch.
- Carsten
- Carsten
Last edited by Carsten on Wed May 18, 2022 10:47 pm, edited 1 time in total.
-
- Posts: 15
- Joined: Thu Jul 20, 2017 9:48 pm
Re: GPU based DCP encoding
That's exactly the path I was looking to explore with GPU encoding. Having a GPU server in the IT room that can act as an encode server and have all workstations that need to make DCPs be on that network. It would probably require 10Gbit Ethernet, but that's easily available these days for a reasonable cost.
-
- Site Admin
- Posts: 2548
- Joined: Thu Nov 14, 2013 2:53 pm
Re: GPU based DCP encoding
Wow - I hadn't spotted that (maybe it's new?) If that produces cinema-compliant codestreams (and that's quite a big "if") it could be the answer.The nvJPEG2000 Documentation does talk about encoding too! https://docs.nvidia.com/cuda/nvjpeg2000/userguide.html