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

[improvement] Download live streams with Youtube-dl without corruption #18

Open
DarkMahesvara opened this issue Feb 3, 2021 · 0 comments

Comments

@DarkMahesvara
Copy link

https://github.com/abayochocoball/hollow_memories/blob/master/archiving_livestreams.md#recording-regular-streams

"Youtube-dl can record livestreams as well but Streamlink offers a better user experience for this scenario (it is common for people to corrupt their livestream recordings with youtube-dl). "

There is actually an option with ffmpeg to automatically stop the recording when the stream ends.

--external-downloader-args "'-m3u8_hold_counters' 10" will timeout the recording after 10 seconds (can be longer or shorter).
see: https://ffmpeg.org/ffmpeg-formats.html#hls-1

Currently i only got it working on Windows and not Linux (Ubuntu) which might be because of a difference with the ffmpeg version/features on different platforms (or the syntax is different?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant