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.
Im writing a python script, and for few hours I'm looking for a way to stop recording when a certain condition is fulfilled (if the file size is bigger then X mb or if variable == someting) but I didn't find a solution. Is ffmpeg just stops the thread until the stream is over or until I stop it menually?