View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000129 | Cinelerra-GG | Feature | public | 2019-02-07 21:08 | 2019-08-18 18:31 |
| Reporter | terje | Assigned To | goodguy | ||
| Priority | normal | Severity | feature | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Intel 620 UHD and Nvidia GPU | OS | openSUSE | OS Version | Leap 15.0 |
| Summary | 0000129: Support for HEVC decode and/or encode hardware acceleration | ||||
| Description | Does Cinx-GG support hardware accelerated graphics for decode and/or encode - and if so, how to set it up? 1) Dell XPS 13 (9370) Quad core Intel Core i7-8550U (-HT-MCP-) cache: 8192 KB Card: Intel Device 5917 Display Server: wayland (X.Org 1.19.6 ) driver: i915 Resolution: 3840x2160@59.98hz OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2) version: 4.5 Mesa 18.0.2 On this machine I can load and playback UHD-H265 video (recorded on a Pixel3 phone) with the Totem and the Dragon video players. Cinx won't load or playback this video (appears as single-threaded as previous mentioned). 2) ASUSTeK model: Z170-A (Skylake) Quad core Intel Core i7-6700K (-HT-MCP-) cache: 8192 KB NVIDIA GK208B [GeForce GT 730] Display Server: x11 (X.Org 1.19.6 ) drivers: nouveau (unloaded: modesetting,fbdev,vesa) Resolution: 1920x1080@60.00hz OpenGL: renderer: GeForce GT 730/PCIe/SSE2 version: 4.5.0 NVIDIA 390.87 None of the standard video players, Totem, Dragon or VLC is able to playback the recorded UHD-H265 video. Cinx won't load or playback this video. Reference articles https://gist.github.com/Brainiarc7/95c9338a737aa36d9bb2931bed379219 https://gist.github.com/Brainiarc7/24de2edef08866c304080504877239a3 | ||||
| Tags | Cinx, decode, encode, HEVC, hwaccell | ||||
|
|
No, it does not support it. Not sure if it ever will. If gg has more to say on this subject, I will report back. |
|
|
I thought there was a chance if ffmpeg could do it. By the way, it would be useful if possible to get clarified the difference between the supported X11-OpenGL accelerated playback (effects done in hardware) vs. hardware accelerated video decoding ;) |
|
|
This issue seems to be worked on, at least one user reported working HEVC decoding and encoding on AMD RX550 hardware and Cinelerra-GG from git: https://lists.cinelerra-gg.org/pipermail/cin/2019-May/000658.html But be aware about https://bugs.freedesktop.org/show_bug.cgi?id=110673 - "1. intra_period must >= 8 otherwise segment fault in mesa. 2. Hevc encoding only works correctly in CQP mode. I have tested CBR and VBR, both of them produce contents of garbageļ¼ green or black mostly." |
|
|
Thanks to spitsyn.andrey for proving this will work. I need to document usage once I understand his work. |
|
|
Closing as I believe everything here has been addressed. I just now downloaded the following H265 (hevc) UHD (4K) sample (because I could not find an actual Pixel 3 to download): http://jell.yfish.us/media/jellyfish-120-mbps-4k-uhd-hevc-10bit.mkv and played it forward/backward and seeking. Although backward was awfully slow. Below shows the Info output: 1 video stream vid0 (0), id 0x0000ad: video1 hevc 3840x2160 29.97 pix yuv420p10le 902+0 frms 30.10 secs 0:00:30.10 Using "HEVC decode and/or encode hardware acceleration" is temporarily documented at: https://www.cinelerra-gg.org/download/GPU_potential_speedup.pdf |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2019-02-07 21:08 | terje | New Issue | |
| 2019-02-07 21:08 | terje | Tag Attached: Cinx | |
| 2019-02-07 21:08 | terje | Tag Attached: decode | |
| 2019-02-07 21:08 | terje | Tag Attached: encode | |
| 2019-02-07 21:08 | terje | Tag Attached: HEVC | |
| 2019-02-07 21:08 | terje | Tag Attached: hwaccell | |
| 2019-02-08 01:29 | PhyllisSmith | Note Added: 0000804 | |
| 2019-02-08 11:58 | terje | Note Added: 0000806 | |
| 2019-05-14 06:10 | Andrew-R | Note Added: 0001520 | |
| 2019-05-16 05:31 | PhyllisSmith | Assigned To | => goodguy |
| 2019-05-16 05:31 | PhyllisSmith | Status | new => assigned |
| 2019-05-16 05:34 | PhyllisSmith | Status | assigned => acknowledged |
| 2019-05-16 05:34 | PhyllisSmith | Note Added: 0001548 | |
| 2019-08-18 18:31 | PhyllisSmith | Status | acknowledged => closed |
| 2019-08-18 18:31 | PhyllisSmith | Resolution | open => fixed |
| 2019-08-18 18:31 | PhyllisSmith | Note Added: 0002027 |