Jump to content

Some movies/episodes stop at the very end and just hangs there


Recommended Posts

Posted

Hi y'all,

I have noticed that some movies or episodes stop near the very end and don't turn off back to the main screen (probably it has something to do with transcoding). At first I thought that it were just my users stopping the video and not turning off the player but it happened to my last night. I recreated the behavior today and got the logs.

I have latest Emby server on my Synology NAS behind reverse proxy

There are 3 examples here:

1. HEVC mkv Mission Impossible file played via myddns.com Emby Web client on Chrome browser (newest version) - video is transcoded and on OSD player it seems as if the video stops nearly 3 minutes to the end of the file almost at the end of final credits (but when I watch the dashboard, timestamps jump back a few seconds - you can see it here at the beggining: https://imgur.com/a/AX4eDoC)

2. HEVC mkv Poison file played via myddns.com Emby Web client on Chrome browser (newest version) - video is transcoded but it plays to the end and than switches to movie's main screen as it's supposed to

3. Same Mission Impossible movie file played on Android TV app - no transcoding and file plays to the end and switches to movie's main screen

I attached emby and ffmpg logs, can someone explain me that behavior.

Additionally - why the file is even transcoded since new Chrome should be able to play HEVC without transoding (and it does on some other HEVC files but on some it dosn't)?

 

embyserver.txt ffmpeg-transcode-e762f463-f99e-4949-9692-5554d37bc63e_1.txt ffmpeg-transcode-81074b1a-2ed1-4fd6-bffd-9d183423da58_1.txt

Posted
Quote

Additionally - why the file is even transcoded since new Chrome should be able to play HEVC without transoding (and it does on some other HEVC files but on some it dosn't)?

Hi there, did you explore the stats feature in the video player to learn why?

Posted

If you mean i.e. stats for nerds than yes, 'unsupported video codec'. Hence, my question: why some HEVC mkv files with ACC sound are being transcoded while played in Chrome and some are direct played (and I can't read ffmpg logs to find out).  But what about my main question, why the video doesn't play to the end and stop?

Posted
Quote

why some HEVC mkv files with ACC sound are being transcoded while played in Chrome and some are direct played

The stats feature will tell you. Not all hevc is the same. There are different profiles of hevc and the web app checks for support for each of them.

Posted

Thanks for clarifying that. And did you have time to look into the 2nd matter?

Posted

@cochize1The issue with playback not continuing to the next episode has been reported by several users. To my knowledge it has not been acknowledged/consumed to be addressed in any way yet. I switched to the beta branch back in June hoping it would be better there but alas it persists for me. I suggest you keep an eye on your server log file because in my case it is writing about 1 gb per hour per hung video to the log file while it's in that broken state.

Posted

That would explain suspicious silence on the topic. And wait, you mean 1gb of the embyserver txt file? Seems a lot. Does it also happen to you only on the web app via some browser and not on native emby clients?

Posted
26 minutes ago, cochize1 said:

And wait, you mean 1gb of the embyserver txt file?

Yes. My log files each day are usually several hundred megs up to a gig+ filled mostly with this line (the number of seconds varies per video) repeating millions of times.

Returning empty segment at the end. RequestedSeconds: 2637, RuntimeSeconds: 2637.056, SegmentLength: 3

 

28 minutes ago, cochize1 said:

Does it also happen to you only on the web app via some browser and not on native emby clients?

It happens when playing via Chrome, Roku, Android, and Apple. So, client doesn't seem to matter in my case.

Posted

Hi, yes we are looking into it. Thanks.

Posted
1 hour ago, cochize1 said:

If anyone's interested I am sending new logs with debug enabled as it happened again overnight. Strangely I couldn't find this part in the logs at all:

Returning empty segment at the end. RequestedSeconds

embyserver.txt 15.61 MB · 0 downloads ffmpeg-transcode-17ca42f4-214c-49dd-80e9-c39bc212ffd7_1.txt 33.27 MB · 0 downloads

Thanks @cochize1! Seems your issue may be different from mine then. Best of luck resolving it.

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