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
Question
Hey Guys,
I'm working on an automated bash script to record youtube streams and save them.
Everything is working fine so far, but i'm running into an issue when the stream is supposed to end.
Instead of ending the record and saving everything in my mp4 it just loops seeming endlessly with this message:
Image
I can end this with Ctrl+C and it writes the file just fine, but since it's supposed to be automated this doesn't work.
I already tried with socket-timeout and many other variables, but seems like nothing helps.
If i replace the Stream-URL with a video it works. It downloads the video, saves it and runs that script again with a random 400-600s timer till the broadcaster starts streaming again
Is anyone familiar with this case?