Skip to content
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

Not all dependencies are installed automatically #3

Open
Tooloco opened this issue Feb 21, 2022 · 5 comments
Open

Not all dependencies are installed automatically #3

Tooloco opened this issue Feb 21, 2022 · 5 comments

Comments

@Tooloco
Copy link

Tooloco commented Feb 21, 2022

Hey there everything went smooth until I tried to run compile.sh where at first during the -configure prompt I got the following error:
libvpx enabled but no supported decoders found
Doing apt install libvpx-dev fixed it but im getting another error:
ERROR: mmal not found
Im assuming installing it manually will fix it. Just wanted to point out that these packages are not installed automatically.

I'll edit this post if I find any more packages that need to manually be installed.

Edit: Seems raspbian has an apt package that includes ffmpeg with hardware transcoding support, would it be possible to use this instead of compiling ffmpeg again?

@Tooloco
Copy link
Author

Tooloco commented Feb 21, 2022

Okay so I didnt find how to fix the mmal issue so I just copied the binaries into the script dir. But now im getting a weird error after running install.sh.
Terminal output
sudo ./install.sh
Failed to create symlink to wrapper script!

Which is weird because I can see a symlink being created at /usr/lib/plexmediaserver/
lrwxrwxrwx 1 root root 50 Feb 21 14:52 'Plex Transcoder' -> /home/dietpi/raspi-plex-transcode/ffmpeg-transcode

Edit: Anyway running uninstall.sh did work I'll do some testing later

@ForsakenNGS
Copy link
Owner

Thanks for the feedback, I'll add the missing dependency when I next work on it. The mmal error occurs when the raspberry pi dependencies are missing.

For the docker image I solved it like this: https://github.com/ForsakenNGS/docker-plex-raspi/blob/main/Dockerfile
Yet I'm not comfortable suggesting to partially install raspbian packages on a productive system, since it may break non-raspbian binaries/dependencies.

@ForsakenNGS
Copy link
Owner

ForsakenNGS commented Feb 21, 2022

Okay so I didnt find how to fix the mmal issue so I just copied the binaries into the script dir. But now im getting a weird error after running install.sh.
Which is weird because I can see a symlink being created at

Thats really weird, since the script basically just verifies that the /usr/lib/plexmediaserver/Plex Transcoder file exists before printing the success message.

@Tooloco
Copy link
Author

Tooloco commented Feb 22, 2022

Okay so I didnt find how to fix the mmal issue so I just copied the binaries into the script dir. But now im getting a weird error after running install.sh.
Which is weird because I can see a symlink being created at

Thats really weird, since the script basically just verifies that the /usr/lib/plexmediaserver/Plex Transcoder file exists before printing the success message.

I know right I was looking at the script, it makes no sense. Anyway, I did redo the process pulling again from github and adding the dev repo (deb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi) so I could install libraspberrypi-dev That fixed everything it seems.

I ran compile.sh succesfully and install.sh too. I just need to test the transcoding by finding an incompatible video now (difficult atm cause I reencode everything to h264 and aac).

@Tooloco
Copy link
Author

Tooloco commented Feb 23, 2022

So I did find a HEVC EAC3 film I could test. It seems that transcoding is not happening at all, just endless loading. Cant seem to find any relevant logs not here: '/var/lib/plexmediaserver/plex-transcoder.log' my plex logs are actually here: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs and the 'Plex Transcoder Statistics.log' doesnt show any problems any other places I could look for a log ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants