-
-
Notifications
You must be signed in to change notification settings - Fork 233
Possible to enable hardware transcoding? #508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I have hardware transcoding running on an ubuntu box and I had to jump through a bunch of hoops to do so. The big one was I had to compile my own version of ffmpeg with the Intel transcoder enabled. If you have the Intel transcoder then you will need ffmpeg with
And then this is what my config looks like...
I hope this helps, I spent a while trying to figure out all of the missing pieces |
Hi, it's beyond my technical skills but
|
Hi, Im trying to use hardware transcoding with Jonathon FFmpeg: https://launchpad.net/~jonathonf/+archive/ubuntu/ffmpeg-4 just works but not in homebridge-camera-ffmpeg. my FFmpeg: and my line: [2020-6-13 14:27:29] [Camera-ffmpeg] Start streaming video from Salon with 1280:720@25fps (299kBit) libswscale 5. 5.100 / 5. 5.100 Device creation failed: -12. [2020-6-13 14:27:29] [Camera-ffmpeg] ERROR: FFmpeg exited with code 1 |
That version of ffmpeg doesn't have |
I tried the same, it works but I don't know how to make it work for HomeBridge. I run HB based on the docker image oznu/docker-homebridge, it comes with ffmpeg in the image. However that particular version doesn't support HW transcoding. I found FFMPEG from Jellyfin docker image also supports HW transcoding, it would be nice to try replace the FFMPEG with either the Jonathan's version or Jellyfin's version. It is unfortuantely beyond my technical skills :-( |
AH, I see. If you have a version of ffmpeg with vaapi built in you can definitely get this to work with what I have included here. (as long as your CPU is an Intel with hw encoding support) |
working. |
Good job!
|
I guess when you have copy for vcodec it will skip transcoding?? |
still image work in my configuration without videoFilters option. |
Hi,
I'm running homebridge as docker container (oznu/homebridge) on my NAS (QNAP with Intel CPU), I believe the docker image comes with ffmpeg. Is there a way to enable hardware transcoding? I've checked and it seems the HW transcoding is possible:
[~] # ls /dev/dri/
card0 renderD128
Anyone manage to get this to work with NAS? Thanks!
The text was updated successfully, but these errors were encountered: