Jump to content

ffmpeg suggestions


Recommended Posts

Posted (edited)

Hi all!

 

I'm up and running with Emby on my new box thanks to the new download instructions, but I have noticed something odd related to ffmpeg.

 

I noticed some weird ffmpeg issues on my old box, but didn't have time to post.

 

Box:

 

Debian 7

Xeon E5-2695v3

32GB DDR4 ECC

ASRock X99 WS

 

Symptoms:

 

- Videos/Music slow to start

- High CPU use when they do

- Inability to skip ANY videos in ANY format (can skip with Plex so I know it's not the format)

 

 

This is what htop shows...

 

DqcRnnM.png

 

Pretty odd considering there are no videos playing at all, although that's probably the amount of times I have unsuccessfully tried to play a video.

 

Is anyone else experiencing anything like this?

 

When installing the Emby Theatre app, I couldn't get anything to play at all until installing the CCCP - am I missing something similar for Emby server?

 

I use OpenMediaVault so I am tied to Debian 7 at the moment.

 

Thanks :)

 

Edit: Just managed to get a film to skip forward, then it froze :-/

 

Edit2: I think I may have found out why... it seems to only do it when the movie was contained in a folder it was scanning. Now the folder in question has finished its initial scan (although artwork is still being pulled in), it's playing and skipping properly and all the ffmpeg processes have gone...

 

Not sure if this is strictly a bug, but pretty sure it shouldn't happen?

Edited by ellnic
Posted

I was hoping that changing the drive that the temporary transcoding may fix this issue, but I am unable to change it from the web interface...

 

Ut8XplM.png

 

Where do I manually edit this?

Posted

I was hoping that changing the drive that the temporary transcoding may fix this issue, but I am unable to change it from the web interface...

 

Ut8XplM.png

 

Where do I manually edit this?

 

Isn't that message due to the folder not existing, + you have to change the permissions of the folder to allow write access for transcoding, this is just a shot in the dark as I have left mine as is.

Posted (edited)

The folder was created before hand then selected by clicking the magnifying glass and browsing to it, so I don't think it's that.

 

It could be a permissions issue, but I chowned recursively the entire folder where all the media is so its owned by the Emby user account. The folder I selected is a sub folder of that. I'll double check when I get back later and post results.

Edited by ellnic
Posted

ellnic, try that

 

select an episode or movie

click edit

in metadata editor, click refresh then save

 

after that, media info is there and it seems seek/skip/forward is backed and enabled

Posted

slingky, what version of Emby server? I again suspect the ffmpeg/ffprobe spawning issue which was fixed in 3.0.5607.

Posted

I haven't had time to check on my end yet as I got in really late last night. I'm using whatever version is hosted on the Suse servers that's recently been updated on the downloads page.

 

I'll definitely get the time later today to test so I'll be able to confirm version and if the metadata refresh fixes it.

Posted

Sorry it's taken me a while to post back.

 

I am running server version: 3.0.5621.4.

 

Refreshing the metadata does help for those it didn't get.

 

For me, it looks like the ffmpeg issue is present in this version, but only if the metadata is not present/it is scanning and I try to play one of the files it doesn't have yet.

Posted (edited)

I've been playing around with this a bit more and it looks like removing the Media folder and adding it again seemed to solve the problem. It added the second time around much quicker (presumably because all the artwork and metadata was already in the folders) and once completely added, there were no playback/ffmpeg issues.

 

Can one of the mods remove serious from the title as waiting until the library is completely processed appears to be a work around.

Edited by ellnic
Posted

great, thanks!

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