Jump to content

Playback stopping once per media file until server reboot


m1stertim

Recommended Posts

m1stertim

Greetings,

 

Emby server 4.3.0.25 on Windows, playback issues on both Chrome and LG WebOS app.  

 

Playback stops (typically in the 10-20 minute window, but not at a consistent time), and will not resume - not if going back to the home screen, not refreshing the page, not manually clicking pause/play, not skipping forward or back... not anything i can think of - except rebooting the server.  

 

Server logs attached.  I had debug logging enabled for the last couple attempts to play the broken file.  

Link to comment
Share on other sites

m1stertim

What happens when you try to resume?

 

The play button will toggle between play and pause icons, but time doesn't increase, and playback doesn't happen.  

Link to comment
Share on other sites

m1stertim

Looks like all of the involved files are x264 mkvs or mp4s if that's what you're asking.  every time it froze up i would verify the file manually in VLC to make sure it wasn't corrupted, and VLC could play through the frozen point.  and after reboot, Emby could also play through the frozen point.  

Link to comment
Share on other sites

m1stertim

If you back out of the video, refresh the page, then try to play again, what exactly happens?

If I try to resume playback, nothing happens.  I don't think I tried this in conjunction with playing the same file from the beginning though.  

 

Problem didn't happen last night though... *fingers crossed*

Link to comment
Share on other sites

What do you mean exactly by nothing happens? What happens when you click the resume button on the video detail screen?

Link to comment
Share on other sites

m1stertim

What do you mean exactly by nothing happens? What happens when you click the resume button on the video detail screen?

Exactly the same as the original post - playback doesn't happen.  Resume goes to the frozen time but does not play.  

Link to comment
Share on other sites

Does the browser debug console show any errors? Have you ran a hard disk scan lately to check for possible drive failures?

Link to comment
Share on other sites

m1stertim

Does the browser debug console show any errors? Have you ran a hard disk scan lately to check for possible drive failures?

 

This has happened on both TV and movies (sourcing from two different physical drives).  I chkdsk'd both, and windows found and fixed 3 corrupt security descriptors on one, and nothing on the other.  SMART reporting is all good.  

 

I'm usually watching from my smart TV so I don't have a debug console available to check, but I'll watch something on the desktop here in a bit and see if I can make it happen

Link to comment
Share on other sites

Can you try adding a new video, perhaps even to your system drive. It would be a helpful point of comparison. Thanks.

Link to comment
Share on other sites

m1stertim

Can you try adding a new video, perhaps even to your system drive. It would be a helpful point of comparison. Thanks.

These are all actually new videos that I've watched recently.  Since it doesn't happen all the time, unless it definitely happens on system drive too i'll need several data points... i see where you're coming from and i'll get what i can

Link to comment
Share on other sites

m1stertim

Alright, so it's currently frozen right now on a new file, same hard drive.  This is what I see in console when I click play/pause:

 

Requesting url without automatic networking: http://192.168.1.242:8096/emby/Sessions/Playing/Progress   apiclient.js?v=4.3.0.26:1 
Requesting url without automatic networking: http://192.168.1.242:8096/emby/Sessions/Playing/Progress   apiclient.js?v=4.3.0.26:1
Requesting url without automatic networking: http://192.168.1.242:8096/emby/Sessions/Playing/Progress   apiclient.js?v=4.3.0.26:1 
 
When I go back to home screen and click Resume, I hear the tiniest blip of audio, then it freezes again.  This is the console output:
 
 
router.js?v=4.3.0.26:1 appRouter - processing path request /web#!/home.html
router.js?v=4.3.0.26:1 appRouter - user is authenticated
router.js?v=4.3.0.26:1 appRouter - proceeding to /web#!/home.html
apiclient.js?v=4.3.0.26:1 Requesting url without automatic networking: http://192.168.1.242:8096/emby/Sessions/Playing/Stopped
videoosd.js?v=4.3.0.26:1 nowplaying event: playbackstop
remotecontrolautoplay.js?v=4.3.0.26:1 Skipping remote control autoplay because both old and new players are local
apiclient.js?v=4.3.0.26:1 Requesting url without automatic networking: http://192.168.1.242:8096/emby/Users/c5d3bdaf89804c5eb9ffba77d4bf267b/Items/Resume?Limit=12&Recursive=true&Fields=PrimaryImageAspectRatio%2CBasicSyncInfo%2CProductionYear&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&EnableTotalRecordCount=false&MediaTypes=Video
apiclient.js?v=4.3.0.26:1 Requesting url without automatic networking: http://192.168.1.242:8096/emby/Users/c5d3bdaf89804c5eb9ffba77d4bf267b/Items/Resume?Limit=12&Recursive=true&Fields=PrimaryImageAspectRatio%2CBasicSyncInfo%2CProductionYear&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&EnableTotalRecordCount=false&MediaTypes=Audio
apiclient.js?v=4.3.0.26:1 Requesting url without automatic networking: http://192.168.1.242:8096/emby/Shows/NextUp?Limit=24&Fields=PrimaryImageAspectRatio%2CSeriesInfo%2CDateCreated%2CBasicSyncInfo&UserId=c5d3bdaf89804c5eb9ffba77d4bf267b&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CBanner%2CThumb&EnableTotalRecordCount=false
apiclient.js?v=4.3.0.26:1 Requesting url without automatic networking: http://192.168.1.242:8096/emby/Users/c5d3bdaf89804c5eb9ffba77d4bf267b/Items/Latest?Limit=16&Fields=PrimaryImageAspectRatio%2CBasicSyncInfo%2CProductionYear%2CStatus%2CEndDate&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&ParentId=c8ca023cdbb96c78e4de5fcb477df512
apiclient.js?v=4.3.0.26:1 Requesting url without automatic networking: http://192.168.1.242:8096/emby/Users/c5d3bdaf89804c5eb9ffba77d4bf267b/Items/Latest?Limit=16&Fields=PrimaryImageAspectRatio%2CBasicSyncInfo%2CProductionYear%2CStatus%2CEndDate&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&ParentId=10e9dda2d7d0e16e1a052dbb7b5607e1
apiclient.js?v=4.3.0.26:1 Requesting url without automatic networking: http://192.168.1.242:8096/emby/Users/c5d3bdaf89804c5eb9ffba77d4bf267b/Items/Latest?Limit=16&Fields=PrimaryImageAspectRatio%2CBasicSyncInfo%2CProductionYear%2CStatus%2CEndDate&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&ParentId=7c6b1294b30d4c722993e4036d0425ac
apiclient.js?v=4.3.0.26:1 Requesting url without automatic networking: http://192.168.1.242:8096/emby/Users/c5d3bdaf89804c5eb9ffba77d4bf267b
apiclient.js?v=4.3.0.26:1 Requesting url without automatic networking: http://192.168.1.242:8096/emby/Users/c5d3bdaf89804c5eb9ffba77d4bf267b/Views
apiclient.js?v=4.3.0.26:1 Requesting url without automatic networking: http://192.168.1.242:8096/emby/Users/c5d3bdaf89804c5eb9ffba77d4bf267b/Items/Resume?Limit=12&Recursive=true&Fields=PrimaryImageAspectRatio%2CBasicSyncInfo%2CProductionYear&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&EnableTotalRecordCount=false&MediaTypes=Video
apiclient.js?v=4.3.0.26:1 Requesting url without automatic networking: http://192.168.1.242:8096/emby/Users/c5d3bdaf89804c5eb9ffba77d4bf267b/Items/Resume?Limit=12&Recursive=true&Fields=PrimaryImageAspectRatio%2CBasicSyncInfo%2CProductionYear&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&EnableTotalRecordCount=false&MediaTypes=Audio
apiclient.js?v=4.3.0.26:1 Requesting url without automatic networking: http://192.168.1.242:8096/emby/Shows/NextUp?Limit=24&Fields=PrimaryImageAspectRatio%2CSeriesInfo%2CDateCreated%2CBasicSyncInfo&UserId=c5d3bdaf89804c5eb9ffba77d4bf267b&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CBanner%2CThumb&EnableTotalRecordCount=false
apiclient.js?v=4.3.0.26:1 Requesting url without automatic networking: http://192.168.1.242:8096/emby/Users/c5d3bdaf89804c5eb9ffba77d4bf267b/Items/Latest?Limit=16&Fields=PrimaryImageAspectRatio%2CBasicSyncInfo%2CProductionYear%2CStatus%2CEndDate&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&ParentId=c8ca023cdbb96c78e4de5fcb477df512
apiclient.js?v=4.3.0.26:1 Requesting url without automatic networking: http://192.168.1.242:8096/emby/Users/c5d3bdaf89804c5eb9ffba77d4bf267b/Items/Latest?Limit=16&Fields=PrimaryImageAspectRatio%2CBasicSyncInfo%2CProductionYear%2CStatus%2CEndDate&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&ParentId=10e9dda2d7d0e16e1a052dbb7b5607e1
apiclient.js?v=4.3.0.26:1 Requesting url without automatic networking: http://192.168.1.242:8096/emby/Users/c5d3bdaf89804c5eb9ffba77d4bf267b/Items/Latest?Limit=16&Fields=PrimaryImageAspectRatio%2CBasicSyncInfo%2CProductionYear%2CStatus%2CEndDate&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&ParentId=7c6b1294b30d4c722993e4036d0425ac
router.js?v=4.3.0.26:1 appRouter - processing path request /web#!/item/item.html
router.js?v=4.3.0.26:1 appRouter - user is authenticated
router.js?v=4.3.0.26:1 appRouter - proceeding to /web#!/item/item.html
apiclient.js?v=4.3.0.26:1 Requesting url without automatic networking: http://192.168.1.242:8096/emby/Items/42902/ThemeMedia?UserId=c5d3bdaf89804c5eb9ffba77d4bf267b&InheritFromParent=true&EnableThemeSongs=true&EnableThemeVideos=true
apiclient.js?v=4.3.0.26:1 Requesting url without automatic networking: http://192.168.1.242:8096/emby/Users/c5d3bdaf89804c5eb9ffba77d4bf267b/Items/42902
apiclient.js?v=4.3.0.26:1 Requesting url without automatic networking: http://192.168.1.242:8096/emby/Users/c5d3bdaf89804c5eb9ffba77d4bf267b/Items/42902/SpecialFeatures
apiclient.js?v=4.3.0.26:1 Requesting url without automatic networking: http://192.168.1.242:8096/emby/Users/c5d3bdaf89804c5eb9ffba77d4bf267b/Items?fields=PrimaryImageAspectRatio%2CUserData%2CCanDelete&EnableTotalRecordCount=false&IncludeItemTypes=Playlist%2CBoxSet&Recursive=true&SortBy=SortName&ListItemIds=42902
apiclient.js?v=4.3.0.26:1 Requesting url without automatic networking: http://192.168.1.242:8096/emby/Items/42902/Similar?userId=c5d3bdaf89804c5eb9ffba77d4bf267b&limit=12&fields=PrimaryImageAspectRatio%2CUserData%2CCanDelete%2CProductionYear&EnableTotalRecordCount=false
apiclient.js?v=4.3.0.26:1 Requesting url without automatic networking: http://192.168.1.242:8096/emby/Items/42902/Similar?userId=c5d3bdaf89804c5eb9ffba77d4bf267b&limit=12&fields=PrimaryImageAspectRatio%2CUserData%2CCanDelete%2CProductionYear&IncludeItemTypes=Program&EnableTotalRecordCount=false
index.html#!/item/item.html?id=42902&serverId=f94d788b47514aabae46ced2da1b40ce:1 [Intervention] An <img> element was lazyloaded with loading=lazy, but had no dimensions specified. Specifying dimensions improves performance. See https://crbug.com/954323
apiclient.js?v=4.3.0.26:1 Requesting url without automatic networking: http://192.168.1.242:8096/emby/Items/42902/PlaybackInfo?UserId=c5d3bdaf89804c5eb9ffba77d4bf267b&StartTimeTicks=0&IsPlayback=false&AutoOpenLiveStream=false&MaxStreamingBitrate=140000000
registrationservices.js?v=4.3.0.26:1 validateFeature: playback
apiclient.js?v=4.3.0.26:1 Requesting url without automatic networking: http://192.168.1.242:8096/emby/Items/42902/PlaybackInfo?UserId=c5d3bdaf89804c5eb9ffba77d4bf267b&StartTimeTicks=63907062930&IsPlayback=true&AutoOpenLiveStream=true&AudioStreamIndex=1&MediaSourceId=63f3066b205dbd766fcfda5abde8ed2e&MaxStreamingBitrate=140000000
plugin.js?v=4.3.0.26:1 playing url: http://192.168.1.242:8096/emby/videos/42902/stream.mp4?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzczLjAuMzY4My4xMDMgU2FmYXJpLzUzNy4zNnwxNTU1OTAwMTAyMzUz&MediaSourceId=63f3066b205dbd766fcfda5abde8ed2e&Static=true&PlaySessionId=5d0247b1c4fc45aa82ccf82bf5f05073&api_key=59c4359972d345e6ba1eb2f69ff6ce39
router.js?v=4.3.0.26:1 appRouter - processing path request /web#!/videoosd/videoosd.html
router.js?v=4.3.0.26:1 appRouter - user is authenticated
router.js?v=4.3.0.26:1 appRouter - proceeding to /web#!/videoosd/videoosd.html
playbackmanager.js?v=4.3.0.26:1 Active player: {"name":"Web Video Player","id":"htmlvideoplayer","playerName":"Web Video Player","playableMediaTypes":["Video"],"isLocalPlayer":true,"supportedCommands":["GoHome","GoToSettings","VolumeUp","VolumeDown","Mute","Unmute","ToggleMute","SetVolume","SetAudioStreamIndex","SetSubtitleStreamIndex","SetMaxStreamingBitrate","DisplayContent","GoToSearch","DisplayMessage","SetRepeatMode","PlayMediaSource","PlayTrailers","ToggleFullscreen","PictureInPicture","SetBrightness","SetAspectRatio"]}
apiclient.js?v=4.3.0.26:1 Requesting url without automatic networking: http://192.168.1.242:8096/emby/Sessions/Playing
videoosd.js?v=4.3.0.26:1 nowplaying event: playbackstart
apiclient.js?v=4.3.0.26:1 Requesting url without automatic networking: http://192.168.1.242:8096/emby/Sessions/Playing/Progress
apiclient.js?v=4.3.0.26:1 Requesting url without automatic networking: http://192.168.1.242:8096/emby/Sessions/Playing/Progress
plugin.js?v=4.3.0.26:1 Setting new text track index to: -1
4apiclient.js?v=4.3.0.26:1 Requesting url without automatic networking: http://192.168.1.242:8096/emby/Sessions/Playing/Progress

 

 

for some reason it removed all the text I had written here after the code block when I submitted the post... weird.  

 

Anyhow, rebooting the server didn't fix this one.  It consistently freezes at 1:46:30.  I can play from the beginning and it's fine before and after that time.  

 

I open the file in VLC, and there's the tiniest of glitches, maybe 0.2s lost audio, and a few artifacts floating around.  So it definitely seems like a file issue that VLC is just more tolerant of than Emby is - but if chkdsk isn't finding/fixing this, how do I get really down and dirty with inspecting the file?  

 

Edited by m1stertim
Link to comment
Share on other sites

m1stertim

I have watched about an hour.  Watching apollo 11 documentary now off that drive.  how long do you want me to watch before assuming that it's fine?  

Link to comment
Share on other sites

m1stertim

And you normally would have run into the problem by then, right?

i think?  i mean i had a night with no issues at all... and then yesterday/this morning i had multiple issues in the same file.  so, yes, probably, but not conclusively.  

Link to comment
Share on other sites

i think?  i mean i had a night with no issues at all... and then yesterday/this morning i had multiple issues in the same file.  so, yes, probably, but not conclusively.  

 

From what I can see this looks I/O related to me with those two drives. You already confirmed chkdsk reporting problems earlier. There's no other obvious problem here and your browser console shows what should be a simple direct play of an  mp4.

Link to comment
Share on other sites

m1stertim

I get what you're saying, but i'm not really sure what to do about it.  The hard drive is relatively new (still under warranty) but without corrupted sectors, or SMART errors, or something, I probably can't get a replacement.  If the error follows the video file when moved, then it was corrupted while being written i guess?  do you have any suggestions? 

 

I tried using Stellar Phoenix video repair, and it said repaired, but Emby still pauses on playback.  Maybe Emby could be slightly more tolerant of bad frames?   :)

Link to comment
Share on other sites

Maybe Emby could be slightly more tolerant of bad frames?   :)

 

 

Well in this case it's direct playing to Chrome, so it's really a question of the Chrome video player being tolerant of corrupt data, and generally browser video players tend to be much more strict on what they require than something like Vlc.

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