Newer ffmpeg versions (?) seem to be able to output mjpeg to v4l2. That means we could use, e.g.
ffmpeg -i http://127.0.0.1:4747/video?1920x1080 -c:v copy -f v4l2 /dev/video10 , so that we copy the mjpeg stream from droidcam instead of converting it to rawvideo and changing the pixel format.
This results in a significantly better performance on my old machine at least.
Thanks!
Newer ffmpeg versions (?) seem to be able to output mjpeg to v4l2. That means we could use, e.g.
ffmpeg -i http://127.0.0.1:4747/video?1920x1080 -c:v copy -f v4l2 /dev/video10
, so that we copy the mjpeg stream from droidcam instead of converting it to rawvideo and changing the pixel format. This results in a significantly better performance on my old machine at least. Thanks!