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.
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.
If my reply answers your question then please click on the green button "Verify Answer"
Thanks for reply.
I am using linux-18.104.22.168.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.
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.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.