chrisoldroyd 12 Posted December 17, 2015 Share Posted December 17, 2015 (edited) I have noticed that if I start a video playing on my iPhone 6 Plus then stop it after a few minutes the transcoding doesn't stop on my server it carries on unless I physically kill it using task manager. Is this normal behaviour as it is maxing out my server if I start playing something else. I am running the latest stable version of Emby Server on Windows 10. I eventually get numerous ffmpeg instances in task manager all using resources. Thanks Chris Edited December 17, 2015 by chrisoldroyd Link to comment Share on other sites More sharing options...
Luke 37064 Posted December 17, 2015 Share Posted December 17, 2015 Hi, welcome. This isn't normal. How are you stopping video in the app? Link to comment Share on other sites More sharing options...
chrisoldroyd 12 Posted December 17, 2015 Author Share Posted December 17, 2015 I click the x in the top right corner Link to comment Share on other sites More sharing options...
Luke 37064 Posted December 17, 2015 Share Posted December 17, 2015 That's odd. I will do some testing on that, thanks. Link to comment Share on other sites More sharing options...
chrisoldroyd 12 Posted December 17, 2015 Author Share Posted December 17, 2015 I am pretty sure the same thing happens on the Windows 10 app too Link to comment Share on other sites More sharing options...
smalik0 3 Posted December 18, 2015 Share Posted December 18, 2015 I've noticed the same thing. I had to restart Emby to stop these transcode processes. I am running Emby on Windows 7 and using the latest Emby iOS app. Link to comment Share on other sites More sharing options...
Wonderfall 1 Posted December 21, 2015 Share Posted December 21, 2015 (edited) Same here (dockerized latest Emby + latest iOS app). Edited December 21, 2015 by Wonderfall Link to comment Share on other sites More sharing options...
Luke 37064 Posted December 21, 2015 Share Posted December 21, 2015 It's being looked into. 1 Link to comment Share on other sites More sharing options...
3psus 3 Posted December 29, 2015 Share Posted December 29, 2015 I saw this behavior couple times also. It happened on various clients, not only iOS. When I noticed it, it was after some kind of playback issue happened originaly. I can try to reproduce it if you need more details Luke. Link to comment Share on other sites More sharing options...
GhostRider 46 Posted January 11, 2016 Share Posted January 11, 2016 (edited) I have the same issue with iOS app 1.05 and Emby Server Version 3.0.5785.0 running on Windows 7. I close the iOS app by dragging the app off the top of the screen. Happy to provide any logs if this will help with fixing this issue. Edited January 11, 2016 by GhostRider Link to comment Share on other sites More sharing options...
Deihmos 147 Posted January 11, 2016 Share Posted January 11, 2016 Apparently you can't stop the video by closing the app like that. You first have to press that X to stop the video or ffmpeg wouldn't know to stop transcoding. 1 Link to comment Share on other sites More sharing options...
GhostRider 46 Posted January 11, 2016 Share Posted January 11, 2016 Apparently you can't stop the video by closing the app like that. You first have to press that X to stop the video or ffmpeg wouldn't know to stop transcoding. Tried the X method to stop the video. This does stop the server transcoding, a very non iOS way of closing an app though. Link to comment Share on other sites More sharing options...
GhostRider 46 Posted January 11, 2016 Share Posted January 11, 2016 Thinking a little more about the X method to stop the video. If I simply drag the app towards the top the iPad device disappears in the media server web home page so the server knows the device has disconnected. I think I can manage to remember to use the X method but other users will struggle with that and once two ffmpeg processes are running the CPU on my server is maxed out and play back suffers. Any chance that there is a way to support closing by dragging the app up on the screen? Link to comment Share on other sites More sharing options...
GhostRider 46 Posted January 11, 2016 Share Posted January 11, 2016 A quick test with the original media browser app shows that dragging the app off the top of the screen does stop the ffmpeg process on the server so I guess it is doable in the Emby app. Link to comment Share on other sites More sharing options...
Deihmos 147 Posted January 11, 2016 Share Posted January 11, 2016 A quick test with the original media browser app shows that dragging the app off the top of the screen does stop the ffmpeg process on the server so I guess it is doable in the Emby app. How do you get that app? Link to comment Share on other sites More sharing options...
Lawrage 13 Posted January 12, 2016 Share Posted January 12, 2016 Have noticed the same thing recently, wasnt sure which app was responsible as we use a multitude of apps in the house but I had to kill 4 instances of ffmpeg the other day with no clients playing at the time due to my CPU sitting at 100%. Link to comment Share on other sites More sharing options...
Deihmos 147 Posted January 12, 2016 Share Posted January 12, 2016 A lot of people probably don't even realize that this happens. I stopped using the app until this can get fixed. Link to comment Share on other sites More sharing options...
Spaceboy 2493 Posted January 12, 2016 Share Posted January 12, 2016 How do you get that app?I still have it too from downloading through iTunes when I bought the original app. Link to comment Share on other sites More sharing options...
Deihmos 147 Posted January 23, 2016 Share Posted January 23, 2016 (edited) I still have it too from downloading through iTunes when I bought the original app. I wish I could test it out. Not being able to stop the transcoding process is just a deal breaker and there is no sync. Edited January 23, 2016 by Deihmos Link to comment Share on other sites More sharing options...
Luke 37064 Posted January 28, 2016 Share Posted January 28, 2016 I'm working on fixes for both the browser and the ios app to make sure transcoding is stopped if you stop in alternative ways like just simply closing the browser or the app. I am also looking at what happens when playback fails to start and making sure that transcoding is also getting stopped there. 1 Link to comment Share on other sites More sharing options...
Alejandrix 0 Posted January 28, 2016 Share Posted January 28, 2016 Happens to me as well, with the latest beta and the iOS app or chrome. Sometimes even if I press pause and then the x the ffmpeg process won't stop. Link to comment Share on other sites More sharing options...
GhostRider 46 Posted January 28, 2016 Share Posted January 28, 2016 I'm working on fixes for both the browser and the ios app to make sure transcoding is stopped if you stop in alternative ways like just simply closing the browser or the app. I am also looking at what happens when playback fails to start and making sure that transcoding is also getting stopped there. That is great news, thanks Luke. Link to comment Share on other sites More sharing options...
Deihmos 147 Posted February 16, 2016 Share Posted February 16, 2016 (edited) Spoke too soon. I woke up this morning with ffmpeg still running. Edited February 18, 2016 by Deihmos Link to comment Share on other sites More sharing options...
Luke 37064 Posted February 16, 2016 Share Posted February 16, 2016 Thanks. i haven't had a chance to put the new 1.09 release on the blog yet but that fix was the main focus. Link to comment Share on other sites More sharing options...
Deihmos 147 Posted February 22, 2016 Share Posted February 22, 2016 (edited) I still have this issue. If you are viewing a video then minimize then when you return to the emby app ffmpeg starts up even though nothing is playing. Closing the app does not stop it either. When I change the streaming quality it creates another ffmpeg process and leaves one when I close the app. Is it possible to add an option for sync for iOS? I can sync to a folder then watch something without transcoding. Edited February 22, 2016 by Deihmos 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