Add start from and download length options
Allow downloading from a specified start time and downloading a specified length. Support both positive and negative values in the form of HH:MM:SS for start time, only positive for length. Will end up being inaccurate as stream segments are either 1, 2, or 5 seconds in length. ffmpeg can potentially do something about that, will see when implementing. This should make clipping ongoing streams easier and not require screen recording, which is disgusting.
I've had success manually setting cur_frag and cur_seq in download_stream to the offset I want to start from. Allowing that to be a configurable value from the command line would be helpful
Hello @Kethsar : do we have any update on this feature where we can pass --start and duration ?
adding such a feature would make this perfect
can anyone point me how to edit this in the code? older versions I think were only able to grab 24h and newer one can grab up to 5 days. so it has to be somehow possible to set it to only grab X hours before the current live segments.
I think this issue is partially solved by https://github.com/Kethsar/ytarchive/pull/198
But it still lacks the length option. @Kethsar @keredau would that be possible?
Yeah I was thinking of trying to put that in place now that keredau has added the other pieces. But as always, am lazy.
I actually have a branch in my fork where i'm working on that feature. :)
This compact downloader solves this issue and allows time-back video download. It was actually inspired by ytarchive. Check it out here:
https://github.com/com-py/pyarxiver