Discussion:
[linux-uvc-devel] help needed.
Anuroop
2014-06-03 05:34:01 UTC
Permalink
Hi Team,

I am very new to UVC. I need help from you guys to guide me to achieve my
goals.

I have a tuner based h/w which will output mpeg-2 video stream over USB.
How will I be able to receive the video stream inside linux and play the
video in a VLC player or something?

As I understand, I have to add my driver to UVC and build it, such that UVC
supports my device. So that I can see video from any VLC player. Please
correct me if my understanding is wrong.

OR is there any other way? OR is there any doc which says how to add support
for a new video device?

Your help is very much appreciated.

Please add me to the mailing list too.



Thanks

Anuroop
Paulo Assis
2014-06-05 10:06:37 UTC
Permalink
Hi,
Post by Anuroop
Hi Team,
I am very new to UVC. I need help from you guys to guide me to achieve my
goals.
I have a tuner based h/w which will output mpeg-2 video stream over USB.
How will I be able to receive the video stream inside linux and play the
video in a VLC player or something?
You need a v4l2 driver for your device.
Post by Anuroop
As I understand, I have to add my driver to UVC and build it, such that UVC
supports my device. So that I can see video from any VLC player. Please
correct me if my understanding is wrong.
UVC driver only supports devices compliant with the uvc specification.
I'm not aware of uvc based tunners, but if the device is compliant
with uvc, the driver should be able to pick it out without any hacks.
Using a mpeg-2 stream inside uvc can be a bit of a problem, mpeg-4
works fine, but that's described in the uvc spec, you can stream it
directly by exporting the format description(fourcc, resolution list
and frame-rates list) or you can mux it in the MJPG stream by using a
spec defined extension control.
Mpeg-2 I'm just not sure how it's handled, never seen it in uvc devices.
Post by Anuroop
OR is there any other way? OR is there any doc which says how to add support
for a new video device?
You should look at the v4l2 docs from linux-tv:
http://linuxtv.org/docs.php

you probably should also try the v4l development mailing list:
http://linuxtv.org/lists.php

Regards,
Paulo
Post by Anuroop
Your help is very much appreciated.
Please add me to the mailing list too.
Thanks
Anuroop
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Linux-uvc-devel mailing list
https://lists.sourceforge.net/lists/listinfo/linux-uvc-devel
Loading...