Jump to content

Problem with runtime/duration


Recommended Posts

raptorjr
Posted

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

Posted

Hi, what OS are you running Emby Server on?

raptorjr
Posted

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.

Posted

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
Posted

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
Posted

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 ffprobe
stefan@tvdator:/opt/emby-server/bin$ ./ffmpeg
./ffmpeg: error while loading shared libraries: libavdevice.so.57: cannot open shared object file: No such file or directory
stefan@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?

Posted

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
Posted

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

Posted

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
Posted

Thank you for your patience and knowledge Luke. Now I also know about ACL permissions =\

Everything seems to be working now.

Posted

Thanks for the feedback.

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