Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12652 Discussions

Developing a DVI to USB video capture program

Altera_Forum
Honored Contributor II
1,389 Views

Hi guys, 

 

I'm developing a DVI grayscale video capture and outputting the stream of video serialized via USB. Since the normal USB won't handle data transmission at 800x600 resolution, ​139 MHz clock (60 FPS) and using 1 pixel (24 bits) per clock, I was thinking about implementing a UVC (USB Video Class) with NiosII. Is there any resources for implementing an UVC on NiosII? Any example or an Altera IP Core? 

 

Also, am i in the right track with the UVC idea? Is there an easier/faster way? 

 

Thanks for the help. 

 

 

EDIT: Forgot to say that i'm using a DE2-115 board. I'll input the DVI pins into the GPIO pins. 

 

EDIT2: Can also use Ethernet as the interface to stream the video to the PC.
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
591 Views

Hi, 

 

One of Altera's megafunction partner has something which is of your interest. 

 

Please visit following: http://www.slscorp.com/index.php. ( In that, look into "Image Acquisition using USB3.0 IP core" ). 

 

Hope this would help. 

 

Cheers, 

Bhaumik
0 Kudos
Altera_Forum
Honored Contributor II
591 Views

From Altera, I think they only have the Video image processing suite that used to do the video processing. Not too sure about the UVB.

0 Kudos
Altera_Forum
Honored Contributor II
591 Views

 

--- Quote Start ---  

Hi, 

 

One of Altera's megafunction partner has something which is of your interest. 

 

Please visit following: http://www.slscorp.com/index.php. ( In that, look into "Image Acquisition using USB3.0 IP core" ). 

 

Hope this would help. 

 

Cheers, 

Bhaumik 

--- Quote End ---  

 

 

Unfortunatelly i can't use USB 3.0, USB 2.0 is way more common around here. I'll try to cram the data using compression. 

 

I've taken a turn away from UVC, since i only need to output the pixel values to the USB, i'm thinking about designing a USB bulk endpoint, but i don't know if the Cypress EZ-OTG on the DE2-115 can handle it. Could anyone point me to some reference design? 

 

As for compression, opencores has a JPEG encoder that might suite my needs (http://opencores.org/project,mkjpeg) and i'll stick with it for now. I'll focus on building the USB application for now.
0 Kudos
Reply