View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002176 | DCP-o-matic | Features | public | 2022-01-30 22:45 | 2025-09-21 19:45 |
| Reporter | carl | Assigned To | carl | ||
| Priority | high | Severity | major | Reproducibility | N/A |
| Status | acknowledged | Resolution | open | ||
| Summary | 0002176: Look at nvJPEG to make playback and encoding faster | ||||
| Description | |||||
| Tags | git | ||||
| Branch | nvidia,nvidia2 | ||||
| Estimated weeks required | |||||
| Estimated work required | Major | ||||
|
|
Maybe try it on Linux and then think about the whole Windows build tool SNAFU. |
|
|
Some encoding hacks on the Current showstopper is it doesn't seem to support custom precinct sizes; setting It seems that there's more optimisation (pipelining) in the decoder than the encoder at the moment. Perhaps the encoder will get better. |
|
|
Fixed a few things to make it actually work and the FPS is closer to 10.5. |
|
|
Translating the PSNR to our bitrate still needs doing. |
|
|
Decoding seems not to work with 4K ( |
|
|
2K playback seems OK, about 1 core being used on i7-7700 with GeForce GTX 980 Ti to play back a DCI flat DCP (BTaER). |
|
|
I put a message on nvidia's foruma about precinct sizes: https://forums.developer.nvidia.com/t/nvjpeg2k-enable-custom-precincts/215482 |
|
|
https://forums.developer.nvidia.com/t/nvjpeg2kstreamparse-error-on-4k-jpeg2000-stream/202551 says they're already on the 4K problem. |
|
|
Got a sponsorship offer to implement this for playback on Linux. |
|
|
It seems that as of v0.8.0 of nvjpeg2000 custom-precinct sizes are now supported, perhaps a new test is in order. |
|
|
Was able to use mingw in Linux to compile a simple win64 exe test program that initializes nvjpeg2k library and queries it for basic information. Now working to test encoding a some video frames. N:\dev\jp2ktest>jp2ktest.exe |
|
|
Was able to encode raw frame image files to (hopefully) DCP compliant jpeg2000 frames using nvjpeg2000, passed along example source code to Carl. There is a lot of work done to be here to not only try and make this cross-platform for Linux/Windows/Mac using the same cuda binary compiled function, and even more work probably to get the GPU threading done right so it encodes faster than a CPU. Ideally the target would be at least 4x~8x faster than CPU encoding. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2022-01-30 22:45 | carl | New Issue | |
| 2022-01-30 22:45 | carl | Assigned To | => carl |
| 2022-01-30 22:45 | carl | Status | new => acknowledged |
| 2022-05-19 16:10 | carl | Summary | Look at nvJPEG to make playback faster => Look at nvJPEG to make playback and encoding faster |
| 2022-05-19 16:10 | carl | Estimated work required | => Undecided |
| 2022-05-19 16:14 | carl | Description Updated | |
| 2022-05-19 16:14 | carl | Note Added: 0005032 | |
| 2022-05-23 22:45 | carl | Note Added: 0005037 | |
| 2022-05-23 22:45 | carl | Note Edited: 0005037 | |
| 2022-05-23 22:45 | carl | Note Edited: 0005037 | |
| 2022-05-23 22:46 | carl | Note Edited: 0005037 | |
| 2022-05-23 22:46 | carl | Note Edited: 0005037 | |
| 2022-05-24 00:21 | carl | Note Added: 0005038 | |
| 2022-05-24 00:33 | carl | Note Added: 0005039 | |
| 2022-05-24 08:29 | carl | Branch | => nvidia |
| 2022-05-24 08:29 | carl | Estimated work required | Undecided => Major |
| 2022-05-24 19:46 | carl | Note Added: 0005040 | |
| 2022-05-24 19:46 | carl | Note Edited: 0005040 | |
| 2022-05-24 21:35 | carl | Note Added: 0005041 | |
| 2022-05-24 21:38 | carl | Note Added: 0005042 | |
| 2022-05-24 22:10 | carl | Note Added: 0005043 | |
| 2022-05-24 22:26 | carl | Note Edited: 0005042 | |
| 2022-05-24 22:26 | carl | Note Edited: 0005042 | |
| 2022-09-10 21:44 | carl | Target Version | 2.18.0 => |
| 2022-10-15 21:45 | carl | Note Edited: 0005043 | |
| 2024-04-02 21:42 | carl | Priority | normal => high |
| 2024-04-02 21:42 | carl | Note Added: 0006362 | |
| 2024-04-02 21:42 | carl | Severity | minor => major |
| 2025-09-18 11:53 | Josephur | Note Added: 0007094 | |
| 2025-09-20 21:37 | carl | Branch | nvidia => nvidia,nvidia2 |
| 2025-09-21 06:29 | Josephur | Note Added: 0007097 | |
| 2025-09-21 19:29 | Josephur | Note Added: 0007098 | |
| 2025-09-21 19:45 | carl | Tag Attached: git |