streaming FLV to RTMP with FFMpeg using H264 codec and C++ API to flv.js
问题 I would like to stream live video from webcam using OpenCV using H264 codec and converting that to FLV then stream over RTMP server and catch the stream in browser with flv.js. Basically I have everything working except that I cannot read stream in flv.js. I can open stream with ffplay so I think at least most of the things are set correctly. My current implementation: #include <iostream> #include <vector> #include <opencv2/highgui.hpp> #include <opencv2/video.hpp> extern "C" { #include