Page 1 of 1

FFmpeg audio recording

Posted: 28 Feb 2018, 14:33
by Total-Image
Since Ventuz is using the FFmpeg code, I'm wondering if it is possible to use the FFmpeg functionality in a C# node.
We want to record all the audio from a line input (RME soundcard) to the local drive. We can run command prompt commands with the FFmpeg command / arguments but whould be nice if we can do it within a C# node using the FFmpeg library

Rogier

Re: FFmpeg audio recording

Posted: 28 Feb 2018, 16:04
by Christian Krix Schmidt
You can run the ffmpeg application from within a script by opening an invisible command prompt. It's actually only a few lines. When I did that I used to encode a movie while Ventuz is running. But I did not create a separate thread so Ventuz froze for a short time. Didn't matter for me back then. It should work if you run it in a separate thread. Here is more information:
https://stackoverflow.com/questions/146 ... t-commands