simon3z / usbtv

Fushicai USBTV007 Audio-Video Grabber
17 stars 6 forks source link

Request: Support multiple video devices #9

Closed vkulpa closed 8 years ago

vkulpa commented 8 years ago

Is this possible to have param to the module (default is 1) saying how many video devices should be created? I've tried to modify usbtv-core.c and duplicated code that creates/initializes usbtv struct. It created 2 devices but the first "died" when the second started stream. Unfortunately, I'm not good in C and in v4l2 and don't know how to do it.

Let me know if it's possible maybe there's another easiest way to duplicate existing video device.

simon3z commented 8 years ago

Is this possible to have param to the module (default is 1) saying how many video devices should be created? I've tried to modify usbtv-core.c and duplicated code that creates/initializes usbtv struct. It created 2 devices but the first "died" then the second started stream. Unfortunately, I'm not good in C and in v4l2 and don't know how to do it.

Let me know if it's possible maybe there's another easiest way to duplicate existing video device.

@vkulpa this module is maintained in the main kernel now, so this question should be done on the kernel ml or bugzilla (or video subsystem).

vkulpa commented 8 years ago

@simon3z ok, great, tnx, for letting me know. Moving the question there and closing this one.