开发者

linux run ffmpeg within c++ code

the O.S. is Lin开发者_如何学Goux. I have an old c++ code that writes raw SDI input from a capture device to a file. My intent is to modify this program and redirect the raw video from the SDI source to the stdin of ffmpeg. How can I do that? Is better to run ffmpeg within the c++ source code (how can I do that?)? Thank you very much.


Open a pipe, start mencoder and configure it to read from the pipe. Then write data to the pipe.

If you want to use a library, write a code (etc), then take a look into libav


I use a C++ wrapper around FFMpeg called FOBS

my2c

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜