Sp3kt3r 13 Posted May 15, 2015 Posted May 15, 2015 (edited) I recall having this issue before and I thought it was fixed. (ffmpeg.exe closing) When I pause my Chromecast streaming (from webclient) and comeback 10 minutes later.. I click play, streaming continue for not even 5 seconds and black screen. I will try it again and see in the log if there's something not normal (be right back). Update: I noticed that now I have 2 log for the transcoding on the streaming that I paused, almost like if when I click Play to resume it started a new transcoding. Update2: I added my log and as you can see there's 2 log from the transcoding; transcode-a85641e2-1482-459a-b259-08836b2882e5.txt = original one transcode-6ab3a066-16ff-4fd5-b640-4a5cdaece339.txt = when I click Play/Resume after 10 minutes. server-63567158623.txt transcode-6ab3a066-16ff-4fd5-b640-4a5cdaece339.txt transcode-a85641e2-1482-459a-b259-08836b2882e5.txt Edited May 15, 2015 by Sp3kt3r
richardap1 10 Posted May 16, 2015 Posted May 16, 2015 i've noticed this too. I left it paused it while my wife was talking, unpaused it and then black screen. Unfortunately it was the evening so i didn't get chance to get any logs
Sp3kt3r 13 Posted May 17, 2015 Author Posted May 17, 2015 This is annoying but I can replicate the problem anytime.. as soon as I click pause on anything streaming to my chromecast it doesn't even take more than 2 minutes and the ffmpeg.exe is gone and when I click Play to resume, emby server start a new ffmpeg.exe processes but crash after not even 5 second.. this is why I have 2 transcoding log.
Luke 42080 Posted May 18, 2015 Posted May 18, 2015 I've pushed a fix to the chromecast receiver. please reboot your CC device and try again. thanks.
Sp3kt3r 13 Posted May 18, 2015 Author Posted May 18, 2015 Thx Luke, I'll give it a try now.. it take not even 5 minute so I'll go make some tea
Sp3kt3r 13 Posted May 18, 2015 Author Posted May 18, 2015 It works ! I pause for a good 10 minutes and no stop after resuming the streaming. I will test more tomorrow as I often click pause . Thx Luke ! 1
Sp3kt3r 13 Posted May 18, 2015 Author Posted May 18, 2015 Hi Luke, Unfortunately, I guess yesterday night I was just lucky.. but this morning I started playing something and I had to click pause and when I resume after a few minute it did the asme thing. the ffmpeg.exe stop before I click play.. when the move is on pause for more than 2-3 minutes. the ffmpeg.exe just disappear from my cpu processes and when I click play again it start a new processes (transcoding) but the movie stop because it reach the end of the first transcoding. Hopefully this will help to find the bug. Let me know if you need more details
Luke 42080 Posted May 18, 2015 Posted May 18, 2015 ok, i will be looking into it, but the fix i made should at least help it to occur less frequently.
Sp3kt3r 13 Posted May 28, 2015 Author Posted May 28, 2015 Hi Luke Just FYI, with the latest stable release, this bug is still happening. I would like to know if others have this issue. I can't be the only one ?
Sp3kt3r 13 Posted June 3, 2015 Author Posted June 3, 2015 Hey Luke.. I noticed that when the CPU THROTTLING feature from the playack option is off, I don't have any issue pausing the streaming. This might help you.
Luke 42080 Posted June 3, 2015 Posted June 3, 2015 i think that is probably coincidental to tell you the truth. what's happening is clients are responsible for pinging the server periodically to keep the transcoding session alive. we ping in response to player events, but we also have a backround timer that pings at an interval. my theory is that when the device idles it causes our background timer to get killed. anyway, if you run the server dev build, the kill time has been doubled from 60 seconds to 120, which will make it less likely to occur.
Sp3kt3r 13 Posted June 3, 2015 Author Posted June 3, 2015 ah.. thx for the technical explanation . I was just trying to provide more info in case if it help but it make more sense now. I'll give a try on my test machine with the dev release.
Sp3kt3r 13 Posted June 28, 2015 Author Posted June 28, 2015 HI Luke. Does the fix from the alpha version as you mentioned is now included in the latest beta? because I'm still having this issue frequently.. even pausing for less than 1 minute can cause the streaming to stop as soon as I click play to resume.
Luke 42080 Posted June 28, 2015 Posted June 28, 2015 one minute should never happen because the kill timer on the server is two minutes now. so we need to know if you're exaggerating or if it really did stop in under a minute. so if you could reproduce the problem and then provide the server log in debug mode that would be great. thanks.
Sp3kt3r 13 Posted June 28, 2015 Author Posted June 28, 2015 ok I will look how long exactly it takes.. I said 1 minute but could have been a little bit longer than that but for sure it was between 2-3 minutes... which might explain since you said the kill timer on the server is 2 minutes. so does this mean that 2 minute is the max to pause a video when broadcasting to chromecast ? how come sometime I can pause for more than that (7-8 minutes). I know when you watch something you are not supposed to click pause often but when the phone ring or need to take a shower.. at 90% of the time it will always crash on resume. I'll keep an eye on the exact time... thx again !
Luke 42080 Posted June 28, 2015 Posted June 28, 2015 2 minute kill timer means if the client stops checking in with the server for at least 2 minutes. we do keep checking in while paused but i think the CC receiver is killing our background timer because it thinks the device has idled. that's my guess right now at least.
Sp3kt3r 13 Posted June 28, 2015 Author Posted June 28, 2015 ok thx again, I will definitely do some test for the timing. Also just a quick note, I noticed sometime when I click pause the button doesn't change and remain the pause button so I can't resume since there's no PLAY button I need to stop the move while it's pause and resume the movie.
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