optimalt 10 Posted July 27, 2015 Posted July 27, 2015 On all clients I use (android app, chromecast and web on computer and android), I get no picture or sound when I try to play a transcoded video with subtitles. Also the ffmpeg process won't shut down until I either a) restart the Emby server after playing a video with subtitles or shut down the Emby server and kill the ffmpeg processes manually in windows task manager. This happens on both the latest stable version and the latest dev-version (3.0.5686.125) of the Emby server for windows. Logs attached (from v.3.0.5686.125). All help appreciated! logs.zip
Luke 38827 Posted July 27, 2015 Posted July 27, 2015 i'm not sure at the moment. there's a bunch of debug messages from ffmpeg i've not seen before. anytime we have to burn in subtitles it's going to cause more stress for your cpu, although it should work.
shorty1483 501 Posted August 9, 2015 Posted August 9, 2015 (edited) @@Luke perhaps it's helpful, the case is on Chromecast and Web but the Subtitle entries in the log of @@optimalt are the same than in mine, Sometimes I have the same behaviour (This time when my wife wanted to watch the First time over Emby , what a good start ). In attached Fileinfo, we are talking about Subtitle #5 and #6. Due that Subtitle #7 (also PGS) does not throw out error, it seems Emby and FFMpeg show this behaviour when resolution of of subtitles cannot be determined. The problem is that after a failure run, the ffmpeg instance does also not seem to shutdown properly. It's it's related to this post: http://emby.media/community/index.php?/topic/22235-chromecast-not-playing/page-3&do=findComment&comment=232554 I attached logs for playing the same movies with Subtitles on (auto use forced), and then with als Subs off. The ffmpeg output "Consider increasing the value for the 'analyzeduration' and 'probesize' options" seems to be known in ffmpeg forums. This is what I found: my solution was ffmpeg -analyzeduration 2147483647 -probesize 2147483647 -i. 2147483647 is max_int https://trac.ffmpeg.org/ticket/2208 When I turned Plex on as last resort not too sleep on the couch it played the file fine. Perhaps an option inside Emby Code to ignore such Subtitles? Or is this a problem only related to ffmpeg without any options for Team Emby? Edit: Same behaviour when playing over web or Android App, when live switching to one of the Subs above, Video freezes, but ffmpeg runs and runs and creates ts files. Only solution is to restart server. Server - Exception Subs ON.txt Transcode - Exception Subs ON.txt Transcode II - Exception Subs ON.txt Transcode - File plays Subs OFF.txt FileInfo.txt Edited August 10, 2015 by shorty1483
shorty1483 501 Posted August 17, 2015 Posted August 17, 2015 (edited) Anything new about it? None of my mkv with pgs subs straight outta Bluray works, not in Web, Android, Samsung. Server begins to transcode but the players mentioned load and load and load...Gesendet von meinem HTC One_M8 mit Tapatalk Edited August 17, 2015 by shorty1483
shorty1483 501 Posted September 13, 2015 Posted September 13, 2015 (edited) Issue still persistent on latest server versions with internal subtitles, specially PGS. On Android with VLC engine, the problems gone due to direct play/streaming. But e.g. Webclient or Chromecast (where my mkv's transcode anyway), the video does not even start when a subtitle is chosen. On every start with Subs enabled, a new mutliple ffmpeg instances are opened until Emby becomes unresponsive and needs to be restartet. But no video starts in one of the mentioned players. I added a server log for an example file (as it happens with most of my files), a transcode log is without Sub enabled (-> transcodes and plays fine), the other ones are the case where ffmpeg does nothing after file check. server-63577644412.txt transcode-b58fd605-5c17-4fe2-b542-9599f8466125.txt transcode-bf9f6b30-1bcd-4e2b-8e3b-5755c7f4f637.txt transcode-d4b970bd-ea32-4284-b77b-6e8c4e07f9a8.txt transcode-311fdfa3-49b0-4ea8-9997-df591cc5c10f.txt Edited September 13, 2015 by shorty1483
Waseh 4 Posted September 20, 2015 Posted September 20, 2015 (edited) I'm having the exact same problem. Trying to view a movie through the webplayer with subs disabled works just fine however enabling subs results in no video and emby eventually hanging and it seems to only be files where the subtitles are internal as mentioned. Edited September 20, 2015 by Waseh
shorty1483 501 Posted October 20, 2015 Posted October 20, 2015 Any news? Gesendet von meinem HTC One M8 mit Tapatalk
Luke 38827 Posted October 20, 2015 Posted October 20, 2015 i'm not aware of any problems on the current beta. there have been enough changes that we basically need to start over. the previous info presented in this thread isn't going to be useful anymore.
Waseh 4 Posted October 27, 2015 Posted October 27, 2015 I still experience this problem in Version 3.0.5768.7.File plays fine without subtitles but hangs when subtitles are enabled.What kind of logs would be helpful to provide?
ebr 15435 Posted October 27, 2015 Posted October 27, 2015 In my experience when we have to burn in embedded subs to a transcoded stream it can take a really long time to start up. I'm talking minutes in some cases. This would certainly look like we hung but I suspect that may be what is going on here. 1
Luke 38827 Posted October 27, 2015 Posted October 27, 2015 Hi there. For media playback issues, please see how to report a problem.
Waseh 4 Posted October 27, 2015 Posted October 27, 2015 (edited) Thanks for the reply ebrThe thing i dont understand is that i have a file which plays fine without subtitles as well as when i play the file with external subtiles it works fine and with no delay. Only the internal subtitles contained in the mkv gives problems.Is it only internal subtitles that are burned in? it was my understanding that when playing through the webplayer everything gets transcoded/burned in. Or are internal subtitles more demanding perhaps? Edited October 27, 2015 by Waseh
Luke 38827 Posted October 27, 2015 Posted October 27, 2015 Thanks for the reply ebr The thing i dont understand is that i have a file which plays fine without subtitles as well as when i play the file with external subtiles it works fine and with no delay. Only the internal subtitles contained in the mkv gives problems. Is it only internal subtitles that are burned in? it was my understanding that when playing through the webplayer everything gets transcoded/burned in. Or are internal subtitles more demanding perhaps? As far as whether internal subtitles are more demanding, the answer is sometimes, yes, other times not at all. Please see post #11 and we can give you a more exact answer
shorty1483 501 Posted November 14, 2015 Posted November 14, 2015 In my experience when we have to burn in embedded subs to a transcoded stream it can take a really long time to start up. I'm talking minutes in some cases. This would certainly look like we hung but I suspect that may be what is going on here.Man I always thought subs don't work at all on my webclient but you're right it just takes up to 5 mins. So thanks for that hint. But the question is how to lower the time. Gesendet von meinem HTC One M8 mit Tapatalk
shorty1483 501 Posted December 4, 2015 Posted December 4, 2015 (edited) In my experience when we have to burn in embedded subs to a transcoded stream it can take a really long time to start up. I'm talking minutes in some cases. This would certainly look like we hung but I suspect that may be what is going on here. @@Luke is there any solution to speed up that process? I'm experiencing exactly what @@ebr describes on Web Client and Chromecast. All my subs are inside the mkv's. Edited December 4, 2015 by shorty1483
Luke 38827 Posted December 4, 2015 Posted December 4, 2015 for the most part now we have gone back to extracting and caching the result, which only happens once but sometimes can also be a slow process the first time. that's just how long it takes but we do cache the result. if you want to maximize efficiency you can use the open subtitle feature to obtain more external subtitles. 1
shorty1483 501 Posted December 4, 2015 Posted December 4, 2015 for the most part now we have gone back to extracting and caching the result, which only happens once but sometimes can also be a slow process the first time. that's just how long it takes but we do cache the result. if you want to maximize efficiency you can use the open subtitle feature to obtain more external subtitles. Are they supporting just forced subs? And since I am no subtitle tech guy permit me one question: Why there is a difference between internal and external subs?
Luke 38827 Posted December 4, 2015 Posted December 4, 2015 because we can send an external text file straight down to client apps without really having to do any work 1
shorty1483 501 Posted December 4, 2015 Posted December 4, 2015 (edited) because we can send an external text file straight down to client apps without really having to do any work Thanks so much m8. Tested with one file and it definitely works as expected...Now I need a good Batch Sub Extracting Tool Do I also need to remove the subs inside the mkv's or are the external subs preferred by Emby? Edit: Just tried and the most internal forced subs are also flagged as default. Is a setting possible to prefer external over internal subs or a switch to ignore internal subs if external is present? I found an older thread but name an external sub .force.default does not work and remux around 2/3 of my collection would be a pain in the a$$... Edited December 4, 2015 by shorty1483
Sp3kt3r 13 Posted January 25, 2016 Posted January 25, 2016 Im having the same issue, when I click play from my phone to send video to either xbox one or chromecast.. i get a black screen and it timeout.. nothing play if I change my setting for subtitle to none, everything works fine. if I understand I would have to extract the subtitle from the mkv and keep it external ? this would be a long process.. anybody know a good sub extractor ?
Luke 38827 Posted January 25, 2016 Posted January 25, 2016 Im having the same issue, when I click play from my phone to send video to either xbox one or chromecast.. i get a black screen and it timeout.. nothing play if I change my setting for subtitle to none, everything works fine. if I understand I would have to extract the subtitle from the mkv and keep it external ? this would be a long process.. anybody know a good sub extractor ? To answer why, please see here http://emby.media/community/index.php?/topic/739-how-to-report-a-problem/ Thanks.
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