INTERACT FORUM

More => Old Versions => JRiver Media Center 24 for Linux => Topic started by: geier22 on September 29, 2018, 05:07:53 pm

Title: A question about the playback of HEVC videos
Post by: geier22 on September 29, 2018, 05:07:53 pm
Hello a question about the playback of HEVC videos
I use Debian Buster /MC 24.0.52 64 Bit .
Graphic card:
Code: [Select]
Device-1: NVIDIA GP106 [GeForce GTX 1060 3GB] driver: nvidia v: 390.87
  Display: x11 server: X.Org 1.20.1 driver: nvidia
  resolution: 2560x1600 ~ 60Hz
  OpenGL: renderer: GeForce GTX 1060 3GB / PCIe / SSE2 v: 4.6.0 NVIDIA 390.87

It's about the following test video: jellyfish-400-mbps-4k-uhd-hevc-10bit.mkv
Code: [Select]
ID:                      1
Format:                   HEVC
Format / Info:            High Efficiency Video Coding
Format profile:           Main 10 @ L6.1 @ High
Codec ID:                 V_MPEGH / ISO / HEVC
Duration:                 30 s 97 ms
Bit rate:                 392 Mb / s
Width:                    3 840 pixels
Height:                   2 160 pixels
Display aspect ratio:     16: 9
Frame rate mode:         constant
Frame rate:               29.970 (29970/1000) FPS
Color space:              YUV
Chroma subsampling:       4: 2: 0
Bit depth:                  10 bits
Bits / (Pixels * Frame): 1,577

The only way to play this video under Linux with decoding on the video card is so far mpv with the following parameters via Cuda:
Code: [Select]
mpv --hwdec = cuda jellyfish-400-mbps-4k-uhd-hevc-10bit.mkv
If this video is played back with Mediacenter, only the CPU will decode the video.
The huge difference is visible in my Conky
Is there a way to set this in MC to use Cuda?
Title: Re: A question about the playback of HEVC videos
Post by: bob on October 29, 2018, 10:59:07 am
Not currently but I think it's on Hendriks to-do list.
Title: Re: A question about the playback of HEVC videos
Post by: Hendrik on November 27, 2018, 06:48:46 am
The next version of MC for Linux supports hardware decoding on NVIDIA, Intel and AMD GPUs, at least as a first draft. We might need to make future performance improvements for low-end systems.
Although due to the limitations of building MC on Jessie, HEVC is not supported on Intel/AMD yet, but should work on NVIDIA.
Title: Re: A question about the playback of HEVC videos
Post by: geier22 on November 27, 2018, 02:15:35 pm
 @Hendrik - Thanks for your answer, that gives hope

Why is Mediacenter actually compiled on the basis of Jessie? What problems are there? After all, Jessie has been "old stable" for two years. In about 6 months comes the release of Buster. OK - so far, there seems to be no problems even with testing. But I can imagine that at some point there will be incompatibilities with any libs.

HEVC is not that important to me, but it prevents me, for example, to watch DVB-T2 with MC. I'm avoiding mpv, or watching TV on my laptop with VLC (core I5)
Title: Re: A question about the playback of HEVC videos
Post by: Hendrik on November 27, 2018, 02:53:07 pm
We stuck with Jessie because some commonly used distros were incompatible with Stretch at the time. But we're currently discussing upgrading to Stretch again (https://yabb.jriver.com/interact/index.php/topic,118353.0.html)