Raspberry Pi4 HW transcoding: Found

Server Version#:1.18.6.2368

I been seeing HW transcoding on pi 4 since last few update.

I dont see any option in the web to enable it .

PlexMediaServer install:
PlexMediaServer install: Now installing based on:
PlexMediaServer install: Process Control: Systemd
PlexMediaServer install: Plex User: plex
PlexMediaServer install: Plex Group: plex
PlexMediaServer install: Video Group: render
PlexMediaServer install: Metadata Dir: /var/lib/plexmediaserver/Library/Application Support
PlexMediaServer install: Temp Directory: /var/lib/plexmediaserver/tmp_transcoding
PlexMediaServer install: Lang Encoding: en_US.UTF-8
PlexMediaServer install: HW transcoding: Found
PlexMediaServer install:
PlexMediaServer install: Completing final configuration.
PlexMediaServer install: Starting Plex Media Server.
PlexMediaServer install: PlexMediaServer-1.18.6.2368-97add474d - Installation successful.

3 Likes

looks like a bug or false positive in the install script.

@ChuckPa

It’s a bug but not a bug.

  1. That kernel creates the /dev/dri/renderD128 inode.
  2. The installer sees it
  3. Plex can’t use it,
  4. I already changed the text to be “Transcoding HW” .

In the release notes for the packaging, I do state it’s possible for the simplistic detection to see something which can’t be used. A good example is AMD GPUs.

I could start writing additional code to qualify what it finds before stating it’s viable but decoding CPU info is problematic at best.

The OS / kernel sees it but Plex can’t.

There won’t ever be any HW transcoding on a Pi CPU unless there is a real nVidia card plugged in somewhere.

EDIT: I am curious what cat /proc/cpuinfo returns for ‘model name’ ?

model name : ARMv7 Processor rev 3 (v7l)

Is this due to a lack of interest? The Raspberry Pi 4 supports hardware decode of H.265 (up to 4K 60 FPS) and H.264 (up to 1080p 60 FPS); and hardware encode of H.264 (up to 1080p 30 FPS). And FFMPEG has direct support for hardware encode on the Pi. My feeling is that it likely could be implemented, given sufficient interest.

A feature request exists for this:

2 Likes

There is a technology problem here. It’s not due to lack of interest.

  1. Plex’s HW transcoding (FFMPEG) requires 64 bit.
  2. ARMv7 is 32 bit.
  3. Pi4 (ARMv8) is 64 bit.
  4. Plex’s implementation uses a) Intel Quick Sync Video and b) Nvidia

The best advantage of the Plex pass is HW transcoding, Considering the number of people having a RPI, it should by a great opportunity for Plex company.

For my personal case, the day when Plex server support HW transcoding, I will buy a Plex pass immediately ! :slight_smile:

7 Likes

I bought a lifetime Plex pass six years ago
 best investment ever! I just want to add my voice to this - I replied to the feature request and upvoted it. Figured a reply here endorsing the same couldn’t hurt.

Please add HW transcoding support for raspberry pi 4!

2 Likes

If u have not bought plex pass, look else where. By looking at current developments. Plex is not going anywhere. They are not fixing major bug and nothing new as media player server. Just adding thing that nobody wants like free movie. Even closing up the plugins

1 Like

Please allow me to clarify a few things.

  1. We did look at accessing the HW transcoding support which exists in some of the ARMv8 CPUs. I was part of the ARMv8 launch effort.

  2. We discovered it’s licensed and prohibitively expensive to obtain that information at this time. Further, the metrics do not support the investment in that segment of the customer base when other areas need the engineering resources much more urgently. Should the usage metric shift and demonstrate a sufficient demand for ARMv8 HW transcoding which justifies the expense and effort, I’m sure the product and engineering teams will make it happen.

To the point of not fixing major bugs:

We are going as fast as we can. What’s important to one person isn’t necessarily important to the next. It’s a no-win scenario. We make some happy while others feel ignored.

3 Likes

Just to upvote the metrics!

I have a Plex Pass and I would really wanted by Rpi4 to have hardware transcoding, please!

6 Likes

posting in the forum unfortunately doesn’t upvote the server metrics.

That information is exchanged between PMS and Plex.tv when obtaining codecs.
(That’s the only time PMS needs to know which specific binary files to download)

HI, I have a plex lifetime pass, and I would love to see HW Transcode on the Raspberry PI 4
Thanks

2 Likes

@ChuckPa, great to see Plex Staff posting in the forums! Even if the answer is “no, for now”, its just good to know you are out there listening.

FWIW I too would love to see HW transcoding on the Pi4. It’s a good little box, much better than the Pi1/2/3.

2 Likes

@Julz_Laurel-Acc

I do tend to post in the forum from time to time :wink:

1 Like

@Arianit96

If you have all the answers to this problem
please submit your CV to https://www.plex.tv/about/careers/

5 Likes

That type of custom help is outside the scope of a support forum.

As for the ARMv8 question at large:

  1. I was on the team which brought ARMv8 support to Plex.
  2. We tried to gain access to the features within the CPU itself so we could provide that capability primarily to the NAS community (Synology and QNAP) and apply through the FFMPEG layer.
  3. If it were possible to also bring broad spectrum HW support to other ARMv8 implementations (such as the hobbyist Pi4 boards) then great.
  4. Because we couldn’t get direct hardware access, like Intel’s QSV via libva, the only alternative was a libgtreamer hack which would have been unique to the Pi4.
  5. It wasn’t a good solution (as you see). It would take a great deal of work to make viable and bring to production use quality level.
  6. There is insufficient Pi4 user base to justify the expense.
  7. Libgstreamer wouldn’t be viable on the other ARMv8 NAS platforms because they don’t have any of the required base elements.
1 Like

If HW transcoding was enabled, many many more people would use the Pi4 as a server!
I am starting to gather the parts to build one myself.

1 Like

I have sent off a message to the transcoding team to ask if h264_v4l2m2m might already be in the transcoder and, if so, how to access it.

1 Like

It seems the devs perked up some eyebrows and are curious about ‘experimenting’.
This could be good but, until seen in released product, it’s anyone’s guess (especially mine).

The option you reference isn’t used how you think.

FFMPEG upstream comes with codecs embedded. Plex can’t do that due to licensing issues. There’s been some customization because of codec licensing and that happens to be one of the known flags which was altered.

Maybe they can do something else? I have no idea.

It wasn’t so much the possibility of supporting RPi4 as it was the entire ARMv8 NAS community. All those systems would benefit immediately.

2 Likes

This won’t be an instant-turnaround feature addition.
All the NAS platforms need to be done together.
Once work is completed it will then be tested.

At this point, I don’t know if Engineering has it in their schedule.
(They never tell us about new feature development)

2 Likes