- This is a common problem.
- If you do not need to distribute your software (private use / server side / open source), you can use FFMpeg compiled with x264 encoder , there is a configuration flag for the FFMpeg config script.
- If you need to distribute your software, I do not know any licensed LGPL library, I believe that there is no such library. You will need to use some kind of paid solution.
- You should implement DeviceSource.cpp, see DeviceSource.hh and use it as FramedSource.
Edit : Apple discovered the video encoder API by allowing access to the h264 frame stream in iOS8
avishic
source share