Using ffmpeg in command line with D

Karabuta via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Mar 21 10:26:09 PDT 2016


Hi all,
I'm trying to convert an array of video filenames to another 
format using spawnProcess() from std.process. I want to convert 
all files in sequence with the command "ffmpeg -i filename.mp4 -o 
outputfile.webm" where process will be run one process after the 
other.

I am new to this kind of multimedia stuff and all this is 
currently theoretical. Will this work and is it the right 
approach used by video convertor front-ends?


More information about the Digitalmars-d-learn mailing list