webcamoid / akvcam

akvcam, virtual camera for Linux
GNU General Public License v2.0
626 stars 87 forks source link

Clarification of output device #85

Open l4es opened 8 months ago

l4es commented 8 months ago

Dear akvcam owners,

I would like to know if the output device is the device appearing when for example a webcam plugged into the system or is it part of the virtual pair (output --> capture) of akvcam?

In case it is part of the virtual pair (output --> capture) of akvcam, if I need to clone a single /dev/video0 of the system (appearing when I plug the webcam in the above example) to multiple captures devices, would I need to stream the system's /dev/video0 to the output devices of the virtual pairs of akvcam? And would there be the limitation of the formats supported by the output device of the virtual pair ?

Best Regards, Khang Le-Truong

hipersayanX commented 8 months ago

I would like to know if the output device is the device appearing when for example a webcam plugged into the system or is it part of the virtual pair (output --> capture) of akvcam?

The output device is where you sent the video frames, the capture device is from where the client programs will get the video.

In case it is part of the virtual pair (output --> capture) of akvcam, if I need to clone a single /dev/video0 of the system (appearing when I plug the webcam in the above example) to multiple captures devices, would I need to stream the system's /dev/video0 to the output devices of the virtual pairs of akvcam? And would there be the limitation of the formats supported by the output device of the virtual pair ?

You have to create one output, as many capture devices as you want, then connect the output to each capture device. And here is a list of the supported formats for each one.

l4es commented 8 months ago

Dear @hipersayanX,

Thanks for your reply. So if I understand correctly for the output device and its supported formats, I will have to convert the pixel format of the systems' device (/dev/video0) to the format(s) supported by the output device before streaming to it, right?

Best Regards, Khang

hipersayanX commented 8 months ago

Thanks for your reply. So if I understand correctly for the output device and its supported formats, I will have to convert the pixel format of the systems' device (/dev/video0) to the format(s) supported by the output device before streaming to it, right?

Yes, that's right. I will add more output formats in future versions.