Kyuunex / better_droidcam_linux_client

A better client for DroidCam on Linux
GNU General Public License v3.0
42 stars 4 forks source link

[suggestion] Use stream copy instead of rawvideo #1

Closed moppman closed 3 years ago

moppman commented 3 years ago

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!

Kyuunex commented 3 years ago

i will look into this

Kyuunex commented 3 years ago

changed. Thanks! this is much better