Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Unable to stop a livestream download #8932
Comments
|
Same issue on OSX El Captan with 2016.07.02. |
|
I have been seeing this a lot when a live stream stalls or fails to end correctly. Ffmpeg will just keep recording forever. If you try to stop it you end up with a corrupt file and a whole lot of wasted time. I feel like there's got to be a good way to have ffmpeg gracefully quit. |
|
So, is there any solution to this other than downloading the old version? |
|
I'd like to know the answer to this as well. |
|
I'v got the same problem. Any workaround ? I don't know maybe a command line to use to make the capture usable ? |
|
I'm currently using this workaround:
|
|
I finally used a crappy workaround : just switch off the internet connection... |
|
My main issue with this 'solution' is that we lose youtube-dl's postprocessing which I very much would like to have in any stream I get. If we do If you are using |
|
I just ran into the exact same issue. Honestly, I don't see a valid reason not to allow input to ffmpeg. How is handling Another possible solution to the problem, at least for HLS live streaming, could be to save to Also, why is this tagged "request" and unsolved for a year? This is definitely a bug if ffmpeg freezes an there is no way to gracefully terminate the download. I don't know if the freezing is an ffmpeg or a youtube-dl bug, but even if it's the former, that's no excuse. There are lots of alternative solutions if you are insistent on not allowing input to ffmpeg. |
I am unable to stop a livestream download/capture by pressing q in the console window.
Also, sending a ? in the command window doesn't work.
If I use version 2016.01.01, this works, since 2016.01.09 this feature got broken.
Sending CTRL+C still works, but that will not trigger ffmpeg to convert the captured file to another format.
At first I thought this was maybe a ffmpeg issue, but since it works in youtube-dl 2016.01.01, and not anymore since 2016.01.09, this is probably a youtube-dl issue.
Here is the command I used for testing this in the current version (2016.03.18) and in 2016.01.01;
youtube-dl.exe --ffmpeg-location C:\ffmpeg\bin https://www.twitch.tv/monstercat
Here is the debug information, but I am not sure if this helps, at the end, I pressed CTRL+C.