Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to stop live stream recording? #15717

Closed
rhazor opened this issue Feb 27, 2018 · 3 comments
Closed

How to stop live stream recording? #15717

rhazor opened this issue Feb 27, 2018 · 3 comments

Comments

@rhazor
Copy link

@rhazor rhazor commented Feb 27, 2018

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.02.26. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2018.02.26

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

Description of your issue, suggested solution and other information

How to stop live stream recording? Pressing Q does not do anything. And CTRL+C stops it, but then I'm left with a .part extension file, which is not a video.

I found this #8932 but it is unsolved and locked.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 27, 2018

Ctrl+C works fine. Do not hit it multiple times.

@dstftw dstftw closed this Feb 27, 2018
@endquote
Copy link

@endquote endquote commented Sep 30, 2018

It seems to work on Windows, but not macOS.

@sebma
Copy link

@sebma sebma commented Mar 23, 2020

@rhazor You can use the timeout command if you know in advance how long the recording is going to last, example to stop recording after 1h50m :

timeout -s SIGINT 110m youtube-dl -f 93 $your_Youtube_Live_Stream_URL
# timeout can also accept floating point numbers, which for 110m equals to 1.83333333333333333333 hours : 
timeout -s SIGINT 1.83333333333333333333h youtube-dl -f 93 $your_Youtube_Live_Stream_URL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.