Using this classes http://www.delphidabbler.com/software/consoleapp
There was no good Demo, so i modified Demo8 to show real needed work of this.
In example i’m running ffmpeg with console.
I had included only 64-bit version of ffmpeg for demo, if you still on 32-bit windows, download your build http://ffmpeg.zeranoe.com/builds/
You also need to modify parameters of ffmpeg to work on your machine. Try this simple commands:
ffmpeg -list_devices true -f dshow -i dummy – to list devices
ffmpeg -f dshow -i video=”Trust Webcam ” -target film-dvd -y file.mp4 – to write mp4 video from your webcam.
Use “Q” button to stop running ffmpeg
Download Delphi RAD 2010 project!