lhue 0 Posted November 7, 2016 Posted November 7, 2016 I hope this is the right place to put this topic in, I haven't posted before and it felt like the most relevant place. I use Emby regularly, and I primarily watch subbed anime. And as with any tv/movie style there will sometimes be multiple things conveyed on screen. So the problem is that whenever there is a large amount of subtitles on screen (Large being above the average single line) the web app will freeze up. So when a sign with multiple slanted lines of text shows up the app freezes on that frame without showing the subtitles and the audio continues without me being able to pause it. Another example from today: The episode ends and the ending theme plays, with one line horizontally in English and one vertically in Japanese. The video plays but the subs freeze and the controls don't show up when I move the mouse or click. On a related note; is split OP/ED+EP, which is common for blu-ray anime releases, in planning at all? Please excuse if my English is wrong anywhere.
Deathsquirrel 744 Posted November 7, 2016 Posted November 7, 2016 What format are these subtitles. The embedded blu-ray subs almost certainly require transcoding to render in a web player which means significant CPU resources used on the server. If that's the case look at your transcode log as your server likely isn't fast enough to do the work.
lhue 0 Posted November 8, 2016 Author Posted November 8, 2016 (edited) They're embedded in the .mkv container and according to emby the codec is SSA (I hope that's what you meant). I looked at the logs and I see multiple "parse errors", one at 23:38.94 and the video freezes on 23:39 during the outro. I checked the task manager on the desktop I'm using for emby and my cpu usage rested on 30-40% with emby using 0.8-1.2 during the frozen video. Is the task manager lying to me? *EDIT: Oh and I didn't even see ffmpeg when I was sorting by highest percentage, remembered that it's not actually the emby process that does the encoding. Edited November 8, 2016 by lhue
Luke 39662 Posted November 8, 2016 Posted November 8, 2016 Hi there, welcome ! We're very sorry to hear about your subtitle issue. in order for us to best help you, please provide the information requested in how to report a media playback issue. Thanks !
lhue 0 Posted November 9, 2016 Author Posted November 9, 2016 Hello! I think these two are the most recent relevant ones. ffmpeg-transcode-f2cd3ad8-728a-4372-9dc8-e170291ee476.txtffmpeg-transcode-a3d61d72-f0ff-44a5-9e93-518f09c49fed.txt Also I don't know if this is relevant but I experience the freezing both when playing on the same network (And using the direct option) and when streaming to somewhere completely different.
Luke 39662 Posted November 10, 2016 Posted November 10, 2016 Can you please provide the emby server log as well? thanks !
Luke 39662 Posted November 10, 2016 Posted November 10, 2016 Also was there an additional ffmpeg log for a subtitle extraction? This would have happened at the time you attempted to play. Thanks.
lhue 0 Posted November 10, 2016 Author Posted November 10, 2016 Hi again, I really appreciate you trying to fix this. I attached the server logs from that day and the day after, just in case. ffmpeg-sub-extract-c588f0b0-b30a-40bc-a4a3-225771fda99a.txt ffmpeg-sub-extract-d1e0b504-113e-4c34-8e31-c27bf635ba1e.txt server-63614246399.txt server-63614198433.txt server-63614098976.txt
Solution Luke 39662 Posted November 14, 2016 Solution Posted November 14, 2016 What's happening is the subtitle extractions are taking anywhere from 5 to 15 seconds in your cases and yes this can delay playback. However the extraction result is saved for re-use the next time you play the same video. I am working on adjusting the extraction process to make it faster for the next release of the server. 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now