Git Product home page Git Product logo

Comments (10)

TravisRoy avatar TravisRoy commented on May 24, 2024

Conversion works fine if I go into my sonarr container and convert it manually there.

from radarr-sma.

mdhiggins avatar mdhiggins commented on May 24, 2024

This error would suggest that your build of FFMPEG in the radarr container is missing VAAPI

Can you check the binary and see if that's the case?

docker exec radarr bash

ffmpeg -hwaccels

On my latest pull I'm getting it

Hardware acceleration methods:
vdpau
vaapi
drm
vulkan

from radarr-sma.

mdhiggins avatar mdhiggins commented on May 24, 2024

Also not sure why you are manually installing INSTALL_PIP_PACKAGES=tmdbsimple|guessit|mutagen|qtfaststart those are all handled by the container already

from radarr-sma.

TravisRoy avatar TravisRoy commented on May 24, 2024

Hardware acceleration methods:
vdpau

It is missing vaapi, not sure why

from radarr-sma.

mdhiggins avatar mdhiggins commented on May 24, 2024

Not sure, I just did a fresh pull and used SMA_USE_REPO and mine has VAAPI. The container won't replace FFMPEG once its there so you might need a fresh container rebuild. FFMPEG is installed on first launch and maybe it pulled a different version.

from radarr-sma.

TravisRoy avatar TravisRoy commented on May 24, 2024

Adding this fixed the issue.

build:
context: https://github.com/mdhiggins/radarr-sma.git#build
args:
ffmpeg_tag: 4.4-vaapi2004

from radarr-sma.

mdhiggins avatar mdhiggins commented on May 24, 2024

Additionally the intel libva-intel-driver and mesa-va-gallium drivers (not the dri one though) are installed when the SMA_HWACCEL option is enabled

Any difference between mesa-dri-gallium? I can add that if its a valuable package

The fix you posted should not be needed since the repo does include VAAPI but the build version is a viable option as well

from radarr-sma.

mdhiggins avatar mdhiggins commented on May 24, 2024

None of those pip packages are needed at the system level as long as you use the correct python installation which may be why you were finding the need to manually add them, be cautious as future dependencies won't work since they are installed in the python virtual environment

/usr/loca/sma/venv/bin/python3

from radarr-sma.

TravisRoy avatar TravisRoy commented on May 24, 2024

Yah, I don't bother with the virtual environment when I console into the container to manually do conversions. Adding those packages just make it easier for me.

I had to add the gallium package previously to fix something, it might not be needed any longer.

from radarr-sma.

mdhiggins avatar mdhiggins commented on May 24, 2024

Eh I'll add it to the collection, can't hurt to have more hardware support

You shouldn't need to do anything special other than call that version of python but to each their own

from radarr-sma.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.