bruor 31 Posted March 8, 2023 Share Posted March 8, 2023 From time to time I have noticed that emby will think that the tuner stream limit of 5 has been reached though no one, or only 1 user, is watching a single channel at the time. The 1st time I noticed this was during the Superbowl when service was spotty due to either the VPN connection, or the provider being overwhelmed. Last night is only the 2nd time this has happened though I didn't notice any network issues. Restarting the server resolves the issue. I will grab logs and attach when I have access to the server. Link to comment Share on other sites More sharing options...
Luke 37157 Posted March 8, 2023 Share Posted March 8, 2023 Hi there, let's look at an example. Please attach the information requested in how to report a media playback issue. Thanks! Link to comment Share on other sites More sharing options...
bruor 31 Posted March 9, 2023 Author Share Posted March 9, 2023 (edited) Attached is the server log from the 7th, it looks like the log was truncated when I restarted the server so this one should hold the relevant entries. I went ahead and included all relevant remux/transcode logs up to the previous embyserver log file. embyserver-63813801281.txt ffmpeg-remux-9e59418b-37a9-415a-b67a-06344bf86258_1.txt ffmpeg-remux-38da0ceb-88e5-480c-a3b4-98229c563f74_1.txt ffmpeg-remux-1fbd3826-18c1-4d8e-a47d-532ea8ca9e3f_1.txt ffmpeg-remux-8ee88445-5f8a-40d7-bdb5-accb1581d644_1.txt ffmpeg-remux-9fd44c9e-59ef-42e4-b41c-dbc8a42ba404_1.txt ffmpeg-remux-37c41d87-572e-48e8-b942-b0aeb56a2b6b_1.txt ffmpeg-remux-62d83ee1-37d4-4066-8831-32073e5fe45e_1.txt ffmpeg-remux-73db0410-e7f8-4a08-a3d3-a1bf68e38fe9_1.txt ffmpeg-remux-567d1a17-4bc2-443c-8048-ea8c5a550f86_1.txt ffmpeg-remux-8557db2f-7b17-4fac-a9f8-76507fa000b1_1.txt ffmpeg-remux-aed60ee5-eb99-46e7-a1a3-3cbdfad0da38_1.txt ffmpeg-remux-b4b3fca6-8a93-4302-bd9c-c3819c4489aa_1.txt ffmpeg-remux-c2a2f2e8-31d1-4b82-b80a-45ced1f2f595_1.txt ffmpeg-remux-d6645a37-c7a7-4ccc-b872-060e35a8002e_1.txt ffmpeg-remux-e2e0d03d-807a-44b7-91b6-b4a433144fc2_1.txt ffmpeg-remux-ea2fa6c2-2c02-4303-a04c-9a110f9c9471_1.txt ffmpeg-remux-ecece68d-2933-4800-8780-421258750b07_1.txt ffmpeg-remux-f58f2f2e-3d09-4838-ac73-f60383b66275_1.txt ffmpeg-transcode-9ddc0407-86c9-4800-abe0-64c786bf0702_1.txt ffmpeg-transcode-77ed9de5-4cbd-4cb4-88ab-844a0326a71b_1.txt ffmpeg-transcode-482d3f0c-c397-493b-a965-4ee0837a86b4_1.txt ffmpeg-transcode-c3bc9bee-2d0a-4f81-aa6d-db0d9e0e106c_1.txt ffmpeg-remux-73a1d477-afae-440b-b486-817490f8edd9_1.txt ffmpeg-remux-7a4d367c-2a5c-4f46-b0b8-50020192a7c7_1.txt ffmpeg-remux-69ce6bc9-db4e-4965-a5d8-eff1bc664148_1.txt ffmpeg-remux-33835a2c-2408-4990-9fd2-70db27f835c0_1.txt ffmpeg-remux-b20d9b6d-d13b-4aff-8e99-f3ab3b183af5_1.txt ffmpeg-directstream-80ff8ebe-0136-4ab0-9b4e-dbd64d0d4c9b_1.txt ffmpeg-directstream-7387f7b3-d7b5-4e94-ac7a-8054da80efe1_1.txt ffmpeg-directstream-947ce5e4-f31f-4e9e-af21-eb180295a30b_1.txt ffmpeg-directstream-14878ff9-23af-49c6-b90c-174a0303b255_1.txt ffmpeg-directstream-eb554422-7a66-480a-ad5b-98603733bd7d_1.txt ffmpeg-directstream-49a8f15c-09e4-4ceb-9df2-7ad64b917360_1.txt ffmpeg-directstream-ec26a650-e657-4152-bd50-3ca5cc84bb94_1.txt ffmpeg-directstream-0a6a7383-236a-46b4-9769-5adf689a1106_1.txt ffmpeg-directstream-639d2529-f9f8-4674-a5ce-151caa3b1432_1.txt ffmpeg-directstream-88b79c1d-8230-4715-acfd-4a62256b77dd_1.txt Edited March 9, 2023 by bruor Link to comment Share on other sites More sharing options...
Luke 37157 Posted March 10, 2023 Share Posted March 10, 2023 HI, we'll take a look at this. Thanks for reporting. Link to comment Share on other sites More sharing options...
bruor 31 Posted April 6, 2023 Author Share Posted April 6, 2023 Another log for this. The provider has a limit of 5 streams so I had that configured on the M3U tuner, after changing it to unlimited I was able to play a channel. It seems like the system thinks that streams are still in use on the tuner even after they are stopped, though I'm not sure in which cases it does this. embyserver (2).txt Link to comment Share on other sites More sharing options...
Luke 37157 Posted May 1, 2023 Share Posted May 1, 2023 @bruor Hi. Can you try sideloading our standard android app on the same device and see how that compares? https://emby.media/emby-for-android.html Thanks. Link to comment Share on other sites More sharing options...
bruor 31 Posted May 1, 2023 Author Share Posted May 1, 2023 Have attempted browser and that app via phone when the issue arises, and the problem persists. Since I removed the stream limit from the tuner the issue has not come back. Link to comment Share on other sites More sharing options...
Luke 37157 Posted May 1, 2023 Share Posted May 1, 2023 29 minutes ago, bruor said: Have attempted browser and that app via phone when the issue arises, and the problem persists. Since I removed the stream limit from the tuner the issue has not come back. I meant trying it before the problem happens, cutting out the TV app altogether, and seeing if it will occurring only the standard app. Thanks. Link to comment Share on other sites More sharing options...
bruor 31 Posted May 1, 2023 Author Share Posted May 1, 2023 Oh, possibly if I force transcoding for the user so that the frame rate issues we are experiencing in the other thread are not an issue. Link to comment Share on other sites More sharing options...
Luke 37157 Posted May 2, 2023 Share Posted May 2, 2023 7 hours ago, bruor said: Oh, possibly if I force transcoding for the user so that the frame rate issues we are experiencing in the other thread are not an issue. Can you find out for sure? Link to comment Share on other sites More sharing options...
bruor 31 Posted May 2, 2023 Author Share Posted May 2, 2023 Yes, I'll be home in a few days and see if I can get that working. If so I will re enable the limit to see if I can make the issue come back again. Is there any hope that the APK will get a built in self update mechanism? That would be really handy for sideloaded instances long term. If not perhaps a beta that we could join? Link to comment Share on other sites More sharing options...
Luke 37157 Posted May 2, 2023 Share Posted May 2, 2023 We're hoping to get the standard app into the store for TV devices in the near future. Thanks. Link to comment Share on other sites More sharing options...
bruor 31 Posted May 3, 2023 Author Share Posted May 3, 2023 Just a note here, I was unable to complete this testing because the android APK is buggier than I thought when it comes to playback for livetv streams. Updated my other thread as well, but apparently when it uses MediaCodec to play back, the stream is choppy, when it uses ffmpeg to render it looks fine. Forcing transcode only seems to work sometimes. Link to comment Share on other sites More sharing options...
Luke 37157 Posted May 13, 2023 Share Posted May 13, 2023 Are you still running into this? Link to comment Share on other sites More sharing options...
bruor 31 Posted May 13, 2023 Author Share Posted May 13, 2023 No because I've set it to unlimited as a workaround and I'm unable to get usable playback on the CCwGTV using anything other than the current non-beta release of the Android TV app. I could attempt to reinstate the tuner limit and see what happens now that I've put xteve in-between me and the provider. Link to comment Share on other sites More sharing options...
bruor 31 Posted May 13, 2023 Author Share Posted May 13, 2023 Actually I just checked my xteve logs, emby is consuming 6 tuners even though I only have 1 user active watching 1 station. Restarting the emby server has cleared all but 2 tuners. The user active on my server has switched to watching a TV show (not live) so no tuners should be in use right now ideally. I wonder if ffmpeg processes are being stuck open against the media source and orphaned by emby somehow. Link to comment Share on other sites More sharing options...
neik 837 Posted May 15, 2023 Share Posted May 15, 2023 There seems to be some sort of issue that tuners are not released by Emby although the client stopped playback: Might be related? Link to comment Share on other sites More sharing options...
bruor 31 Posted May 15, 2023 Author Share Posted May 15, 2023 (edited) It seems like it might crop up more if there are issues with the stream source. If live tv is interrupted and users hammer the play button for instance. Edited May 15, 2023 by bruor Link to comment Share on other sites More sharing options...
Luke 37157 Posted May 24, 2023 Share Posted May 24, 2023 On 5/15/2023 at 8:15 AM, bruor said: If live tv is interrupted and users hammer the play button for instance. Most of our apps have a defense against that, although we probably should go through them all to double check. Link to comment Share on other sites More sharing options...
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