Мне нужно открыть трубку ffmpeg и написать данные о кадрах в эту трубу. Я использую этот код: < /p> [code]#ifdef _WIN32 #define POPEN _popen #define PCLOSE _pclose #else #define POPEN popen #define PCLOSE pclose #endif
// FFmpeg command to receive raw BGR24 data and encode with libx264 std::ostringstream oss; oss