Tin2tin Posted September 14, 2012 Posted September 14, 2012 How do I send the letter q to ffmpeg running in the cmd in order to stop it? DVD slideshow GUI
iamtheky Posted September 14, 2012 Posted September 14, 2012 run("cmd /k ffmpeg ...) sleep (2000) send ("q") ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__)
Tin2tin Posted September 14, 2012 Author Posted September 14, 2012 I couldn't get it to work that way, however this works: ProcessClose("ffmpeg.exe") DVD slideshow GUI
iamtheky Posted September 14, 2012 Posted September 14, 2012 Those are two different behaviors, from my 2 minutes of testing with a script that combines video of one file and audio of another: processclose results in an unusable file. sending q results in a half-generated file that still contains the frames that got processed. ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now