Jump to content

Media playback hangs on recently added library files


bradgy

Recommended Posts

bradgy

Haven't been able to figure out why some of my recently added tv files are getting to the fanart wallpaper stage when trying to stream but then hanging and not reaching the video OSD stage. It's been happening with a range of shows over the last 2-3 weeks. It's affecting all users on the server despite the client platform (firefox, chrome, android). Items in the library added before this 2-3 week period still play perfectly.

 

Additionally, I've noticed that the details of the affected files don't show up on the episode page, whereas they do for the episodes that play normally. Screenshots to illustrate:

 

58cffe671aca9_Selection_100.png

 

58cffe744d0d8_Selection_101.png

 

So, I'm not sure whether it's a library problem, a streaming problem, or something else. I've attached the logs from immediately after playing one of the affected episodes. Hoping they can shed some light on the situation.

 

Thanks for any assistance in advance.

ffmpeg-transcode-887b82e8-45da-497c-9271-b41295e69486.txt

server-63625564799.txt.txt

Link to comment
Share on other sites

trifleneurotic

What is the H264 level for both videos? The last line caught my eye. Take a look at the level:

2017-03-20 11:55:25.1168 Info HttpServer: HTTP GET http://209.6.46.247:8085/emby/videos/13654d2007fe50f7f90787dec981cb3f/live.m3u8?DeviceId=939af463011cd666c60b3f338a2564f9&MediaSourceId=13654d2007fe50f7f90787dec981cb3f&VideoCodec=h264&AudioCodec=aac&VideoBitrate=1808000&AudioBitrate=192000&Level=51&Profile=high&PlaySessionId=39fb30a931ff43bab47993072b9a24d4&CopyTimestamps=false&TranscodingMaxAudioChannels=6&EnableSubtitlesInManifest=false&Tag=dc66f2dd87cc2a8dce1cf3c2ad827af7&RequireAvc=true. UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

The newest beta adds support in more browsers for level 51 H264. Check out the release notes.

 

It's just a guess. Perhaps someone with a more discerning eye can offer something more than a guess :)

Edited by landgazr
Link to comment
Share on other sites

trifleneurotic

Did you take a look at the last line of your ffmpeg log as well?

file:/mnt/af5fd582-ddca-4b22-805a-3c9f92175a66/Newest TV/The Walking Dead/Season 7/The Walking Dead - 7x13 - Bury Me Here.mkv: Permission denied

What user is Emby running under and how did you mount that filesystem? I've seen it where I had to manually change the mount point permissions after the fact because I didn't mount it properly.

 

Maybe the details aren't showing up because it isn't able to write a file somewhere or save temporary transcoding data?

Edited by landgazr
Link to comment
Share on other sites

bradgy

Oh, well spotted! I completely missed that line, as obvious as it seems now. Emby is running under its own user 'emby'. Looks like it could be a permissions issue, I'll check the mount and file/folder settings and report back.

Link to comment
Share on other sites

bradgy

Problem appears to be resolved.

I changed the permissions for incoming library items so that user 'emby' would be able to read them, and it looks like I might have been ignoring a fairly crucial warning in my nzb downloader that was leading to the creation of some weird files (it wanted python-sabyenc for anyone that's wondering).

 

Thanks for the quick support Emby community.

Link to comment
Share on other sites

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