raptorjr 15 Posted April 21, 2018 Posted April 21, 2018 I have a problem that most of my files don't have a runtime/duration. This leads to problem with Emby for Kodi. Even if I just watch 1 minute the file get marked as finished. I've tried to read but haven't really found or understand the solutions. I've found something about smb support for ffmpeg? But don't understand how to check if I have that, or how to fix it if I don't have it. I have a lot of ffprobe errors in the log that maybe is part of the problem. There is other error also that I don't understand if they are part of the problem or not. What I think is strange is that in Kodi I have a runtime/duration of all files. So there can't be a problem with the files. I hope that someone have some suggestions to what I could try. Thank you for your help. server-63659865600.zip
raptorjr 15 Posted April 21, 2018 Author Posted April 21, 2018 Hi, what OS are you running Emby Server on? Ubuntu 16.04. Haven't been using it for a while but decided to make another try to get it to integrate with Kodi. When I tried some year ago it didn't work that good. But now it seems really good if I can only get the duration problem fixed.
Luke 42078 Posted April 21, 2018 Posted April 21, 2018 I would suggest a complete uninstallation and purge followed by an installation of our new installation package, the instructions are here: https://emby.media/download If this is a new install, how did you end up installing the way you installed? Our website download instructions have not been pointing to the old installation package for about six months now. Please note that for SMB support you will need to install the beta package as we're now including libsmb with the bundled ffmpeg build.
raptorjr 15 Posted April 21, 2018 Author Posted April 21, 2018 I would suggest a complete uninstallation and purge followed by an installation of our new installation package, the instructions are here: https://emby.media/download If this is a new install, how did you end up installing the way you installed? Our website download instructions have not been pointing to the old installation package for about six months now. Please note that for SMB support you will need to install the beta package as we're now including libsmb with the bundled ffmpeg build. This is really old installation. Probably 2-3 years. I will try the new way, with the beta package so I get SMB support. Thank you for your help.
raptorjr 15 Posted April 21, 2018 Author Posted April 21, 2018 So I tried to remove the old emby-server installation using apt-get purge emby server. I then downloaded the beta version and installed it. It is running and working as before. Meaning that ffprobe still gives error messages in the log. So I searched and found a post asking the user to try and run ffprobe outside of emby. So I tried that and get an error: drwxr-xr-x 2 root root 4096 Apr 21 23:18 .drwxr-xr-x 8 root root 4096 Apr 21 23:18 ..-rwxr-xr-x 1 root root 583 Aug 22 2017 emby-server-rwxr-xr-x 1 root root 256128 Aug 22 2017 ffmpeg-rwxr-xr-x 1 root root 145560 Aug 22 2017 ffprobestefan@tvdator:/opt/emby-server/bin$ ./ffmpeg./ffmpeg: error while loading shared libraries: libavdevice.so.57: cannot open shared object file: No such file or directorystefan@tvdator:/opt/emby-server/bin$ ./ffprobe./ffprobe: error while loading shared libraries: libavdevice.so.57: cannot open shared object file: No such file or directory But the latest version for libavdevice for Ubuntu seems to be 56. Don't know where I can find 57? Did I do something wrong when I installed the beta version? Should libavdevic57 been a part of that installation? Is it ok to just run it again?
Luke 42078 Posted April 23, 2018 Posted April 23, 2018 Our ffmpeg ships with its own libraries, they're not the same as the ones on your system and won't work standalone without tweaking LD_LIBRARY_PATH. So therefore the standalone test you tried to do is not relevant. Thanks.
raptorjr 15 Posted April 23, 2018 Author Posted April 23, 2018 Our ffmpeg ships with its own libraries, they're not the same as the ones on your system and won't work standalone without tweaking LD_LIBRARY_PATH. So therefore the standalone test you tried to do is not relevant. Thanks. Thank you Luke for taking the time to help me. But then I'm back to the beginning almost. Why ffprobe is not working and finds the duration for my files? I supply the latest log, and now I'm using the BETA version. Log.zip
Luke 42078 Posted April 23, 2018 Posted April 23, 2018 I'm going to guess that emby server doesn't have access to your files. look at all the unauthorized access errors in the server log.
raptorjr 15 Posted April 24, 2018 Author Posted April 24, 2018 Thank you for your patience and knowledge Luke. Now I also know about ACL permissions =\ Everything seems to be working now.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now