Spaceboy 2500 Posted June 6, 2023 Share Posted June 6, 2023 i'm not querying the how - happy for the technical team to determine that. just setting out user expectations from this user indeed. how is tvnext progressing? its going to be the main focus of 4.9 isnt it? Link to comment Share on other sites More sharing options...
iiiJoe 55 Posted June 6, 2023 Author Share Posted June 6, 2023 38 minutes ago, Spaceboy said: i disagree with this. i want it to keep retrying for the whole length of the original recording. imagine i'm recording sports game. i'd rather miss 5mins of action in the middle of the game and have the end recorded than emby give up and miss everything. there's no downside to that. yes the user should be notified, plus if another broadcast is available at a later date then emby should automatically schedule that for recording too edit - but you guys should get better iptv providers. i almost never have failed recordings I’m of the same mindset on retries, especially for sports. But I do like what @Carlois saying about letting Emby take over in the case of a redirect. I also agree that a quality provider is a vital component but failed recordings can also be an isp issue, of which some of us only have one good option. It sounds like these changes would solve both of these problems. Link to comment Share on other sites More sharing options...
BoomerGamer62 18 Posted June 6, 2023 Share Posted June 6, 2023 39 minutes ago, Carlo said: Spaceboy, I think we all want it to keep trying. All I was suggesting is about a minute for ffmpeg to try and reconnect then give up. At that point it's back to Emby Server to try and re-establish the connection. My thought is that there could be additional streams available, could have been a stream redirect so the new location of the stream is different, etc. Oh yea, another, when we get stacked channel support (ie one channel with different resolutions) Emby could switch streams to continue if needed. Lots of people get multiple versions of the same channel isuch as 4K, 1080, 720, SD so these could be stacked and used in cases like this. Yes, thats my thought too -- give up, and then Emby re-establishes the connection. However......as of now Emby isnt restarting connections if the stream stops, only for hardware issues. Is this something that can be improved? Would be great if a recording gets restarted for ANY reason if the recording stopped before the scheduled end time of the recording. 1 Link to comment Share on other sites More sharing options...
Luke 37179 Posted June 14, 2023 Share Posted June 14, 2023 Have you tried the changes? Link to comment Share on other sites More sharing options...
iiiJoe 55 Posted June 15, 2023 Author Share Posted June 15, 2023 18 hours ago, Luke said: Have you tried the changes? Beta version has the new settings? Link to comment Share on other sites More sharing options...
Luke 37179 Posted June 15, 2023 Share Posted June 15, 2023 28 minutes ago, iiiJoe said: Beta version has the new settings? No, it has the changes we've been discussing. Link to comment Share on other sites More sharing options...
iiiJoe 55 Posted June 15, 2023 Author Share Posted June 15, 2023 32 minutes ago, Luke said: No, it has the changes we've been discussing. Awesome!! Do I need to update my Emby server? Link to comment Share on other sites More sharing options...
iiiJoe 55 Posted June 15, 2023 Author Share Posted June 15, 2023 6 hours ago, Luke said: No, it has the changes we've been discussing. @Lukeanything I need to do to see these changes on my Emby server? Link to comment Share on other sites More sharing options...
Luke 37179 Posted June 15, 2023 Share Posted June 15, 2023 1 hour ago, iiiJoe said: @Lukeanything I need to do to see these changes on my Emby server? Just test out a live stream. 1 Link to comment Share on other sites More sharing options...
iiiJoe 55 Posted June 15, 2023 Author Share Posted June 15, 2023 26 minutes ago, Luke said: Just test out a live stream. Will do. Will also do more recordings. @BoomerGamer62wanna do recordings also? And we can compare our experiences 1 Link to comment Share on other sites More sharing options...
iiiJoe 55 Posted June 16, 2023 Author Share Posted June 16, 2023 (edited) @LukeLive stream working fine so far. Had a recording that failed though. Ended 30 minutes early, no retries from Emby to save it. embyserver.txt recording-conversion-73eee840-4571-4a3f-aa54-f012a363293a_1.txt Edited June 16, 2023 by iiiJoe Link to comment Share on other sites More sharing options...
iiiJoe 55 Posted June 16, 2023 Author Share Posted June 16, 2023 (edited) Had a second recording that also ended early with no attempts by Emby to save/restart. recording-conversion-f37d6bbb-9e01-4605-b108-83af288c4ab9_1.txt embyserver.txt Edited June 16, 2023 by iiiJoe Link to comment Share on other sites More sharing options...
BoomerGamer62 18 Posted June 16, 2023 Share Posted June 16, 2023 18 hours ago, iiiJoe said: Will do. Will also do more recordings. @BoomerGamer62wanna do recordings also? And we can compare our experiences I will set up a test server for this since I cant downgrade my main system if there is an issue. Just so I know Im going to the right place, is this where I pick up the beta install? Link to comment Share on other sites More sharing options...
iiiJoe 55 Posted June 16, 2023 Author Share Posted June 16, 2023 16 minutes ago, BoomerGamer62 said: I will set up a test server for this since I cant downgrade my main system if there is an issue. Just so I know Im going to the right place, is this where I pick up the beta install? @Luke? Link to comment Share on other sites More sharing options...
iiiJoe 55 Posted June 17, 2023 Author Share Posted June 17, 2023 @LukeDo we need to download Beta to see the changes? Link to comment Share on other sites More sharing options...
Luke 37179 Posted June 17, 2023 Share Posted June 17, 2023 1 hour ago, iiiJoe said: @LukeDo we need to download Beta to see the changes? Yes. 1 Link to comment Share on other sites More sharing options...
iiiJoe 55 Posted June 17, 2023 Author Share Posted June 17, 2023 1 minute ago, Luke said: Yes. Please disregard my two recent messages on failed recordings as they were not done on Beta. Thank you Luke Link to comment Share on other sites More sharing options...
iiiJoe 55 Posted June 27, 2023 Author Share Posted June 27, 2023 Ok everyone, haven't been recording alot since it's summer slow time for me on TV, lol. But, I have an example of one that ended early. It was supposed be a 1hr program and I got 40 seconds. The interesting thing is the log. Can you guys please take a look and see what you think? Looks to me like Emby tried longer than 40 seconds embyserver-63823420800.txt recording-conversion-ba9ddec3-70b4-4f9c-be18-453cd25601a9_1.txt Link to comment Share on other sites More sharing options...
Luke 37179 Posted June 27, 2023 Share Posted June 27, 2023 26 minutes ago, iiiJoe said: Ok everyone, haven't been recording alot since it's summer slow time for me on TV, lol. But, I have an example of one that ended early. It was supposed be a 1hr program and I got 40 seconds. The interesting thing is the log. Can you guys please take a look and see what you think? Looks to me like Emby tried longer than 40 seconds embyserver-63823420800.txt 2.74 MB · 0 downloads recording-conversion-ba9ddec3-70b4-4f9c-be18-453cd25601a9_1.txt 37.18 kB · 0 downloads Looks like the stream url went bad in the middle of it? It started returning 404 not found responses. Link to comment Share on other sites More sharing options...
iiiJoe 55 Posted June 27, 2023 Author Share Posted June 27, 2023 Was Emby trying to reconnect? Link to comment Share on other sites More sharing options...
Luke 37179 Posted June 27, 2023 Share Posted June 27, 2023 19 minutes ago, iiiJoe said: Was Emby trying to reconnect? Yes. Link to comment Share on other sites More sharing options...
iiiJoe 55 Posted June 27, 2023 Author Share Posted June 27, 2023 @Lukea little help would be much appreciated. When, in the log, did it start trying to reconnect and for how long? What is the delay max value currently set at? Link to comment Share on other sites More sharing options...
iiiJoe 55 Posted June 28, 2023 Author Share Posted June 28, 2023 Here's another recording that stopped prematurely. It appears that no attempt was made to reconnect. If the command line is as follows, -reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 127 -reconnect_on_http_error 5xx,4xx, then Emby should have initiated a reconnect sequence. Correct? @Lukecan you please advise how the current command line is configured? embyserver(3).txt recording-conversion-ad55c297-c3ab-43d7-9d52-36e67678c255_1.txt Link to comment Share on other sites More sharing options...
Brian_M 4 Posted July 3, 2023 Share Posted July 3, 2023 I've been having this same problem and got around to looking into it a bit more. At least in my case, and I think in your case @iiiJoeit's the exact same as this: https://github.com/jellyfin/jellyfin/issues/8774 It looks like the solution, based on my own testing, is to add -reconnect_at_eof 1 to the ffmpeg command line. I may go ahead and write a wrapper for ffmpeg and see if I can fix it that way, or maybe a transcoding setting can do that. I've only used Emby for a few weeks, so I'm still learning a lot! Link to comment Share on other sites More sharing options...
iiiJoe 55 Posted July 4, 2023 Author Share Posted July 4, 2023 @Brian_Mthanks for joining the conversation! @BoomerGamer62found an excellent article on solving these issues: https://medium.com/intrasonics/robust-continuous-audio-recording-c1948895bb49 I believe @Lukeis trying to implement these changes in beta but I don’t believe we’ve seen any difference so far. Would you mind sharing how you did your testing? Wouldn’t mind trying this myself. We’re you able to keep your recordings alive? 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