Cybergy 4 Posted July 13, 2018 Posted July 13, 2018 (edited) Following on @@Luke's response in a separate thread; https://emby.media/community/index.php?/topic/60539-live-tv-works-in-emby-in-chrome-but-not-emby-theater/?p=596345 I was watching a live TV channel last night for about 4 hours via the Android TV app when suddenly the stream stopped/crashed and the Emby app flipped back to the EPG. Can this happen if the stream just stopped from the provider, or could this be a server issue perhaps? I enabled Auto-loop per a suggestion from @@Luke and the viewing has been flawless since then, until this issue last night. Immediately I tried to reconnect back to the server, but it was not responding. Emby Server Stream Crash -2018-07-12-910pm.txt Edited July 13, 2018 by Cybergy
Luke 39003 Posted July 13, 2018 Posted July 13, 2018 That looks like it is just stalling from your provider as ffmpeg isn't reading anything.
Cybergy 4 Posted July 13, 2018 Author Posted July 13, 2018 Ok but does that explain why the server was unreachable?
Luke 39003 Posted July 13, 2018 Posted July 13, 2018 Perhaps the server was unreachable at that particular moment?
Cybergy 4 Posted July 13, 2018 Author Posted July 13, 2018 It certainly was unreachable as I indicated, I'm just looking for why. Does the loss of a stream typically cause the server to become unreachable, or did the stream fail because the Emby server failed? I'm not confident that the minimal server specs can handle to load to be honest, so I'm trying to determine if I need new hardware or not. Core 2 duo and 1GB RAM feels awfully light.
Guest asrequested Posted July 13, 2018 Posted July 13, 2018 If you're wanting to transcode anything, that CPU is definitely light. What are your expectations?
Cybergy 4 Posted July 13, 2018 Author Posted July 13, 2018 (edited) The stream stopped, and it flipped me back to the EPG. I selected the program and channel again from the guide and a pop up advised that my server was unreachable “do you want to delete” the server connection. Edited July 13, 2018 by Cybergy
Luke 39003 Posted July 13, 2018 Posted July 13, 2018 can you make this happen again? i'd like to see a screenshot of that popup. thanks.
Cybergy 4 Posted July 13, 2018 Author Posted July 13, 2018 @, I would like to record but due to the need for auto-loop that seems to not be possible for now. What I would like is for the server to be able to handle the load if I watch live tv on 1 or possibly 2 apps at a time.
Cybergy 4 Posted July 13, 2018 Author Posted July 13, 2018 If it happens again I’ll grab a shot Luke.
Luke 39003 Posted July 13, 2018 Posted July 13, 2018 For one thing you will have to make sure that your provider supports at least two simultaneous streams because currently using the auto-loop setting will prevent the use of our stream sharing feature.
Cybergy 4 Posted July 13, 2018 Author Posted July 13, 2018 I do have 2 streams right now in my plan. Also, the stream had been running for 3-4 hours flawlessly and then just crashed.
Luke 39003 Posted July 13, 2018 Posted July 13, 2018 Ok. Please make sure to attach complete log files as it is difficult to assist you otherwise. Thanks.
Cybergy 4 Posted July 13, 2018 Author Posted July 13, 2018 I did supply the log from when the event occurred (above). I don’t know how much time before/after is relevant so I pretty much just posted the event itself.
Cybergy 4 Posted July 14, 2018 Author Posted July 14, 2018 Due to the core 2 duo server constantly pausing today, I switched to the 8-core, 20GB RAM server today. Admittedly that may introduce a whole new set of parameters. I also started using my new Fire Stick today for viewing instead of the MyGica 1900. However, I left the room with a stream running when I returned the screen was at the Fire Stick home screen. This happened at about 6:45PM roughly. Logs clearly indicate a crash. I have changed my email address and the provider domain in the logs, but if you want that info I can DM it to you. Emby Server Stream Crash -2018-07-13-640pm-2.txt
Cybergy 4 Posted July 14, 2018 Author Posted July 14, 2018 Sorry Luke I just realized - are you asking for all the logs in server directory?
Luke 39003 Posted July 14, 2018 Posted July 14, 2018 Whatever ones were modified at the time the problem occurred.
Cybergy 4 Posted July 14, 2018 Author Posted July 14, 2018 Ok, here the relevant logs from one crash; July 13, 6:40pm (8-core, 20GB Windows 10 server) Emby Server Stream Crash -2018-07-13-640pm-2.txt ffmpeg-directstream-b501fca7-a73f-4588-a01a-006d3157a4a6.txt ffmpeg-transcode-ae73c56d-86e5-42ff-86ca-bc59442f8d13.txt ffmpeg-transcode-bdd4b851-9dd6-4afa-b464-b77e314ca978.txt
Cybergy 4 Posted July 14, 2018 Author Posted July 14, 2018 The other crash; July 12, 9:10pm (core 2 duo, 1GB Windows 7 server) Emby Server Stream Crash -2018-07-12-910pm.txt ffmpeg-directstream-4c01d9fe-9c4b-4b06-9a6b-7003950da926.txt ffmpeg-directstream-4c25b1f8-8c6d-4901-b046-ba43ce4df24d.txt ffmpeg-directstream-5e394a6c-e70a-4d48-a3b0-2276808a33fe.txt ffmpeg-directstream-72a94612-63f4-4595-b5c9-9721bc1ebab2.txt ffmpeg-directstream-766e5a61-a8e1-4a49-b048-3530c88b6df8.txt ffmpeg-directstream-04349f82-185d-4791-996b-121d9dd521fc.txt ffmpeg-directstream-45496c0e-6be2-4eaf-9da6-e9c23328abf5.txt ffmpeg-directstream-b6c6c091-6a72-459f-93b6-68409b8e5a6b.txt ffmpeg-directstream-c7155ba6-af81-4b15-9e50-88720542b42d.txt ffmpeg-transcode-5d3a6ef5-2bd6-4e38-81ba-d7ff943e9534.txt ffmpeg-transcode-6b44329f-9954-4fa8-bba7-ffa2c516f34f.txt ffmpeg-transcode-9e5b116d-46f6-4636-bf4b-6bfc1bba99c2.txt ffmpeg-transcode-9f56d932-94b7-485c-adf4-2df321b416f2.txt ffmpeg-transcode-18ef04a4-7ad7-4bf4-8994-4abb6fedf6d7.txt ffmpeg-transcode-21c7cdfd-5a3b-4f77-abc4-c7c1f5dd8a64.txt ffmpeg-transcode-82b1428f-7b36-424c-ae1c-583073e3ca8a.txt ffmpeg-transcode-363d4ed5-13de-4a8c-82db-01062d28d8b0.txt ffmpeg-transcode-650f62fe-094b-4033-852d-9862a78f8da0.txt ffmpeg-transcode-799a4c4e-212b-42f8-896a-081565a7a5ce.txt ffmpeg-transcode-06071d9b-2941-44e0-a29f-3f15f17e9e64.txt
Luke 39003 Posted July 14, 2018 Posted July 14, 2018 I believe this is a problem on your provider's server. Well, either a problem, or at some point it just decides to cut you off. Try this. The next time this happens, take your provider's raw video url from the channel and put it in a browser. Please let me know the result of that. Thanks.
Cybergy 4 Posted July 14, 2018 Author Posted July 14, 2018 (edited) I will try that next time Luke but it draws me back to the same question; does the server crash when the feed dies? I wouldn’t think so because of the nature of these IPTV feeds right? They do die that’s why they’re less expensive. If I pull the plug on my cable modem, would you expect Emby to crash? Edited July 15, 2018 by Cybergy
Luke 39003 Posted July 15, 2018 Posted July 15, 2018 No i would not expect Emby to crash, so yes this is a little odd, almost as if the connection with the provider is remaining open but they're just not sending any data.
Cybergy 4 Posted July 15, 2018 Author Posted July 15, 2018 Hmmm. I’m not in much of a position to troubleshoot right now, but at the moment Emby can’t see my provider streams at all. Nothing connects via the guide. Or from the server via browser. (Channel not available or something) If I use the TNT providers android tv app (super plain and simple, no EPG) directly, the streams work. I rebooted the 8-core Emby windows server that couldn’t connect and Emby is now able to get streams just like the providers app. I don’t know what to make of it all. Something seems very finicky.
maegibbons 1268 Posted July 15, 2018 Posted July 15, 2018 If the Fire stick had returned to the Home screen rather than the EPG then that was an FTV app crash or fire stick restart which will have nothing to do with the server. A few observations: 1) I would expect your problems to be manageable now you have upgraded the server - old server was too lightweight 2) FATV app crashes are not unheard of and the Fire stick in particular compared to the fire TV is slightly underpowered. 3) It is not uncommon for users to loose IPTV streams after a random period of time and is down to the fragility of the internet from your router through your ISP to a major backbone and through to your IPTVs provider network. Any break in that chain of more that a few secs can kill the stream. Currently there is NO detection of this in emby and NO Auto-Restart capability (which there should be) Krs Mark
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