Jump to content

error while loading shared libraries: libavdevice.so.58


Recommended Posts

Posted (edited)

Hi,

Just install Emby 64 bits package (v 4.5.4.0-6)  on my Synology 1618+. Look like there is a problem here:

admin@NASDreamHouse:~$ /volume1/@appstore/EmbyServer/bin/ffmpeg
/volume1/@appstore/EmbyServer/bin/ffmpeg: error while loading shared libraries: libavdevice.so.58: cannot open shared object file: No such file or directory


admin@NASDreamHouse:~$ /volume1/@appstore/EmbyServer/bin/ffprobe
/volume1/@appstore/EmbyServer/bin/ffprobe: error while loading shared libraries: libavdevice.so.58: cannot open shared object file: No such file or directory
 

Edited by ADHARA26
Posted

Hi there, where are you getting that error? How did you install the package?

Posted (edited)

Hi

I installed the package on my Synology NAS form here (apk) : https://emby.media/synology-server.html

I did choose: 64-bit NAS

DS1618+ Intel Atom C3538 4 cores 4 threads

I'm getting this error on SSH when using ffmpeg or ffprobe binaries available in the installation directory /volume1/@appstore/EmbyServer/bin/

 

Edited by ADHARA26
Posted

I did try to install the package ARMv8 (x18 Series) but not compatible...

x18 Series

  • RS2818RP+
  • RS2418+/RS2418RP+
  • DS1618+
Posted
3 hours ago, ADHARA26 said:

I did try to install the package ARMv8 (x18 Series) but not compatible...

x18 Series

  • RS2818RP+
  • RS2418+/RS2418RP+
  • DS1618+

Of course it's not compatible. Your architecture is x64.

Posted
4 hours ago, ADHARA26 said:

Hi

I installed the package on my Synology NAS form here (apk) : https://emby.media/synology-server.html

I did choose: 64-bit NAS

DS1618+ Intel Atom C3538 4 cores 4 threads

I'm getting this error on SSH when using ffmpeg or ffprobe binaries available in the installation directory /volume1/@appstore/EmbyServer/bin/

 

OK so you're not actually having a problem in Emby?

Posted (edited)

No, Emby seems to work fine.

But binaries inside Emby directory fail to work ... "error while loading shared libraries: libavdevice.so.58: cannot open shared object file: No such file or directory"

 

For example, I tried this script to add AC3 track when only DTS track is available:

 

Quote

#!/bin/bash 

DTS="Audio: dts (DTS)"

find . -type f -name "*.mkv" -print0 | while IFS= read -r -d '' file; do
        if /volume1/@appstore/EmbyServer/bin/ffprobe "$file" |& grep -F "$DTS"; then 
        echo "DTS audio found, converting $file"
        /volume1/@appstore/EmbyServer/bin/ffmpeg -nostdin -i "$file" -map 0:v -map 0:a:0 -map 0:a -map 0:s?  -c:v copy -c:s copy -c:a copy -c:a:0 ac3 -disposition:a:0 default -disposition:a:1 0 "${file%.mkv}.AC3.mkv"
        wait
        test -f "${file%.mkv}.AC3.mkv" && rm "$file"
    else
        echo "DTS audio not found in $file"
    fi
done

 

Edited by ADHARA26
Posted

Right, you can't run the embedded ffmpeg. Well at least not easily.

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...