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.
Checklist
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.