jremmons / pyfakewebcam

A library for writing RGB frames to a fake webcam device on Linux!
GNU Lesser General Public License v3.0
9 stars 2 forks source link

Support for YUV raw video infinity loop #6

Open tongdaxu opened 4 years ago

tongdaxu commented 4 years ago

Hi John Emmons,

Thanks for providing this lib. Practically speaking being able to play raw yuv loop infinitely is super useful for simulated environment for chrome and skype, and GStreamer is surprisingly buggy for this. See issue, issue and issues.

I am one of the guy in media computation who is annoyed by how new version of GStreamer is incompatible with v4l2loopback. I am tired of GStreamer and I just found your wrapper simple and helpful. So I modified it a little to add a support for infinitely loop yuv video files.

Being able to loop over RGB sequences is important, but also a lot more people want to play YUV sequences directly, without performance loss.

Thanks,

Xu