08-28-2020, 05:10 PM
Some tips and tricks (that may or may not help):
* Checkout different video encoding formats (h264 can be "heavy", motion jpeg or something could be lighter (but bigger))
* Compile ffmepg on the device with some CPU specific flags, try to use formats you have hardware acceleration for
* Check what formats come out of the camera, cheap webcams are usually YUYV, but some offer RGB and even jpeg (creating a motion jpeg from a jpeg is easy)
* Checkout different video encoding formats (h264 can be "heavy", motion jpeg or something could be lighter (but bigger))
* Compile ffmepg on the device with some CPU specific flags, try to use formats you have hardware acceleration for
* Check what formats come out of the camera, cheap webcams are usually YUYV, but some offer RGB and even jpeg (creating a motion jpeg from a jpeg is easy)