-
Notifications
You must be signed in to change notification settings - Fork 66
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
Docker image variant for Intel QuickSync transcoding #146
Comments
Hi @hueyyeng Thank you for reaching out and trying HomeGallery Is that kind of FYI since you are trying to build your own Docker container? Or do you need any support? Regarding Intel QuickSync I can not help here because I do not own such hardware. |
This is more of trying to get Intel QuickSync working inside the Docker container as the ffmpeg args is helpful if one want to utilise the hardware encoding. I'll share my results here once I got it working so others can benefit from it. Edit: I manage to use linuxserver/ffmpeg image as my base and manually added node for the gallery image. Although I kept encountering ffmpeg exit code errors when debugging the video extractor. Turns out the video extractor plugin uses fluent ffmpeg and I need to add I need to check the documentation for writing plugins but the only changes I did is the I'll share my solution later once I done a few more testing but for others who are interested in getting a working Intel QuickSync transcoding for homegallery in Docker (before I forget):
Make sure to pass the Intel GPU device to the docker. |
You are using vaapi output format. Change it to qsv Should work in current image also |
Everything available with just passed iGPU to container without any magic
|
First of all, great work on this project!
I'm curious if there is a plan to offer an option that supports Intel QuickSync (not limited to others hardware acceleration like Nvenc)?
Reason is I'm dabbling with home lab server and I got Jellyfin running with Intel QuickSync through Docker using linuxserver image: https://hub.docker.com/r/linuxserver/jellyfin
Currently I'm using your
xemle/home-gallery
image and realise it is using node alpine as the base image that I suspects is the culprit as there is no working driver in the docker image when trying to use QuickSync through the video extractor ffmpeg args.Here's the error message when I try to run ffmpeg inside the container:
The command that I used that works in the Jellyfin container but produce the error above in HomeGallery container:
As I'm familiar with Docker, I'll try to modify the
Dockerfile
and see how it goes. Probably I'll need to refer to the JellyfinDockerfile
too to see if I need to do anything extra.Thanks again for this great project! Images just works but I wanted to include videos that got me noticed the max out CPU usage from ffmpeg conversion that got me disabling the video extraction temporarily.
The text was updated successfully, but these errors were encountered: