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

Provide an option to specify a (shorter) duration #24641

Closed
rsfinlayson opened this issue Apr 5, 2020 · 0 comments
Closed

Provide an option to specify a (shorter) duration #24641

rsfinlayson opened this issue Apr 5, 2020 · 0 comments

Comments

@rsfinlayson
Copy link

@rsfinlayson rsfinlayson commented Apr 5, 2020

Checklist

  • I'm reporting a feature request
  • I've verified that I'm running youtube-dl version 2020.03.24
  • I've searched the bugtracker for similar feature requests including closed ones

Description

For recording a live stream (e.g., a live YouTube stream, or a TV channel's live HLS stream), it would be nice to be able to specify a duration (e.g., in minutes), after which time the recording ends. Right now the only way I can see to do this is to start recording the stream with the --hls-use-mpegts option, then (at the desired end time) Control-C the process, then rename the ".part" file to have a ".ts" filename suffix. But it would be nice to have a cleaner way to do this - e.g., with a command-line option that specifies a duration.

@rsfinlayson rsfinlayson added the request label Apr 5, 2020
@dstftw dstftw closed this Apr 5, 2020
@dstftw dstftw added the duplicate label Apr 5, 2020
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
2 participants
You can’t perform that action at this time.