hi all! I'm working on the Spartan 3E started with mapping MJPEG decoder. I had the source code of the JPEG deccoding, now I use AVI container to display MJPEG via VGA port. I wanna find the first image inside of AVI container but I don't understand the AVI's structure. it has some index such as super index, old index, ect. And I don't know how to display video into monitor via VGA port. any body has idea for my problems? Please, help me!
thanks alot!
--------------------------------------- Posted through
I was acutally doign somethign similar not too long ago. I was receiving video into an FPGA and trying to write out to and SDXC card in AVI format. I didn't finish this, got pulled into something else. But after hours I figured out AVI is formatted and wrote a C program to pull out the data. If you get your code please email it me to snipped-for-privacy@gmail.com. Below are the links I used to figure it out.
It is liek a hierarchy where RIFF contains AVI and AVI contains LIST and LIST contains hdrl etc.. until you get down to the image. Each time you get a container you get a label and size, so from the size you know how many bytes to count to the header.
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.