Test command to check if hardware transcoding is working

Hey there,

I try to figure out if the hardware transcoding feature is working with my current setup.
seems that most of my movies are already in h264 an my devices will play them directly - so most of the time no transcode is needed.

But I want to try if it would work… so:

Is there a cli string which I can use to try to transcode a file : Lets assume the Big Buck Bunny test movie:

bbb_sunflower_2160p_60fps_normal.mp4 (http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_2160p_60fps_normal.mp4)

It is in 4K and H264 / AC3

So I Have /volume2/MOVIES/bbb_sunflower_2160p_60fps_normal.mp4 and want to try the iGPU hardware transcode of my Intel Xeon 1245 v6 … what command would be test if it would work?

Thanks!

Just use the ‘Optimize’ feature of Plex. No need for the CLI.
https://support.plex.tv/hc/en-us/articles/213095317-Creating-Optimized-Versions

But how do I see here if it is using HW accleration or not? in “currently viewed” view there is a hint about that, but there it isn’t :frowning:

Would be really great to have a standard usecase/testcase in which the plex-transcoder always should usw HW transcode if correctly available on a system.

If it is using the hardware transcoder for transcoded streaming playback, it very likely also uses it for the optimization.

Depending on your platform, you might be able to monitor the GPU load
here an example for Windows

And there is also the Plex Media Server.log
I see in mine

Nov 08, 2017 00:14:36.084 [4444] DEBUG - TPU: hardware transcoding: enabled, but no hardware decode accelerator found
Nov 08, 2017 00:14:36.084 [4444] DEBUG - [Universal] Using local file path instead of URL: G:\Filme_SD\1 Filme low qual	estfile.xvid.avi
Nov 08, 2017 00:14:36.084 [4444] DEBUG - TPU: hardware transcoding: zero-copy support not present
Nov 08, 2017 00:14:36.084 [4444] DEBUG - TPU: hardware transcoding: final decoder: , final encoder: mf

(On my system there is no hardware decoder support - only encoder support, because I am running Plex server as a system service/daemon - and these cannot fully use the GPU on Windows.)

1 Like