Hi All,
I am using DM368 Soc,able to capture video and encode in mpeg2 as per my requirement. But I am not able to understood how to
stream video data to host PC(windows) through USB.everyone mansion use UVC class API but i am not able to find out uvc class based application.
Please provide your guidelines in this.
Regards,
Anil
You need to use uvc gadget driver at drivers/usb/gadget/uvc_video.c etc. and there is no standard application to use this. You can search for the same or write your own application for the same.
Regards,Ajay
If my reply answers your question then please click on the green button "Verify Answer"
Hi Ajay,
Thanks for reply.
I am using linux-2.6.32.17.where no such file uvc_video.c available in drivers/usb/gadget dir.but I am able to find this c file in drivers/media/video/uvc dir.
I have also find some video streaming application as with attachment.let me know these application are suitable for my requirement otherwise need to write own application from scratch.
Here some quires:
1. DVSDK 4.2 - Encode demo application used ioctl(hCapture->fd, VIDIOC_STREAMON, &type) for what purpose ? means only for recording video from
input (composite ,s-video) in temp buffer or else like stream over usb ?
uvc_video.c is added in v2.6.34 and you wil have to either port back that to your kernel or move to latest kernel. I don;t know about your question on ioctl, may be someone else would respond on this.
Ajay
Hi,
I am using the UVC gadet driver for streaming video data to the PC. In addition to that, I also need to notify the PC about some status changes at the device side once in a while. Does the uvc_video.c driver in 2.6.34 support this feature? If yes could you help in mentioning how this is handled.
Best Regards
Avinash