In my sequencer I use media foundation to encode audio and video, but I also want to use ffmpeg to support more formats.
The ideal scenario is to use ffmpeg.exe with input of a raw WidthxHeight RGB or YUV stream and with raw pcm stream.
Perhaps in three steps. For example, a) encode video b) encode audio c) mux in an mp4. So my app can send data to ffmpeg stdin and get the stdout.
Is there a quick ffmpeg syntax way to do that? If not, I would have to use programmatically ffmpeg libraries.