Jump to content

No more hardware encoding on Raspberry Pi 4 after 4.5.3 upgrade


Recommended Posts

Posted (edited)

Hi,

The Raspberry Pi 4 has had the option for OpenMax and V4L2 H.264 encoding for the last few months. But encoding is being done on the CPU ever since the upgrade to 4.5.3. Note that the new version apparently also adds support for OpenMax decoding (or maybe it's the operating system that's finally exposing those encoders), but neither the hardware encoder or decoder is being used in the new version.

Logs and MediaInfo attached.

ffmpeg-transcode-b2432380-f6cb-4bb2-90dd-9aaad7802918_1.txt mediainfo.txt

Edited by Ellimist
Posted

@Ellimist - No change has been made to this for a long time.

Could you post an ffmpeg log from your previous Emby version showing it working?

Posted

This is from a totally different OS version than the other ffmpeg log..

Posted (edited)

Right, I ran kernel upgrades between yesterday and today. Here are logs from right now, on the same OS version, on the same file - for 4.5.1 and 4.5.3.

4.5.1.txt 4.5.3.txt

Edited by Ellimist
Posted

Thank you very much for creating those logs. These are very helpful.

Please hold on, I need to check back internally what has happened.

  • Like 1
Posted

Thank you for taking the time to look into this. The hardware acceleration speedup isn't much but it makes the transcoding speed more than 1x and is the difference between choppy and smooth playback.

Thanks again. Software devs aren't appreciated much, but I appreciate the work you guys do!

  • Like 1
Posted

Thanks. The key issue here is that there are two very different ffmpeg builds. I don't know what happened here, but we will find out...

  • 1 month later...
Posted

@Ellimist are you still running into this with Emby Server 4.5.4?

Posted

I can hardware encode using the OMX encoder on v4.5.4 again. :)

I was aware of v4.5.4 being released and looked at the release notes and looks like nothing was fixed regarding this, so I didn't test it out. But it looks like it did! Thanks for your hard work on this!

Posted

Thanks for the feedback !

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...