Forum Discussion
Altera_Forum
Honored Contributor
19 years agoMotion-JPEG decoder/encoder
Hi,everybody:
I used Altera DE2 board and Web Camera. I will display image in IE through boa web server ( Motion-JPEG format) . but I don't know how to decoder/encoder images. Anyone can give me some hint? please regards Faye19 Replies
- Altera_Forum
Honored Contributor
There is a camserv in uClinux-dist.
You need to modify shared library usage in it. The camserv should support a http interface, so you don't need boa. Are you using USB webcam? I don't think the USB on DE2 is fast enough to support video in. You should use composite video input or camera module through 40pins headers (Terasic has it). I haven't tried video input on DE2 yet. I will try them later. PS. I checked USB wlan on DE2, I think it is the isp1362 hcd driver's problem. - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by hippo@Jan 9 2007, 10:34 AM there is a camserv in uclinux-dist.you need to modify shared library usage in it.
the camserv should support a http interface, so you don't need boa.
are you using usb webcam? i don't think the usb on de2 is fast enough to support video in.
you should use composite video input or camera module through 40pins headers (terasic has it).
i haven't tried video input on de2 yet. i will try them later.
ps. i checked usb wlan on de2, i think it is the isp1362 hcd driver's problem.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=20438)
--- quote end ---
--- Quote End --- hi, hippo Thank you very much for your reply. I used DE2's camera module through 40pins headers. I will use wireless to transmission images from DE2 board to PC. Is fast enough? Regards Faye
- Altera_Forum
Honored Contributor
How to use camserv in uClinux-dist?
Does have any documents? Regards Faye - Altera_Forum
Honored Contributor
You have to modify user/camserv/Makefile.
user settting, Miscellaneous Applications---> --- Video tools [*] camserv You can find official camserv, http://cserv.sourceforge.net/ (http://cserv.sourceforge.net/) - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by hippo@Jan 9 2007, 09:32 PM you have to modify user/camserv/makefile.user settting,
miscellaneous applications--->
--- video tools
[*] camserv
you can find official camserv,
http://cserv.sourceforge.net/ (http://cserv.sourceforge.net/)
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=20453)
--- quote end ---
--- Quote End --- hi, hippo Thank you very much for your reply again. I'm new hand for NiosII uClinux. I used DE2's camera module through 40 pins headers. The webcam's data is RGB format. I will transmit images form DE2 board to PC, then process images, so I need compress and decompress it.(JPEG Format) My problem is how to transform RGB format become JPEG format. Does uClinux-dist can do it? Regards Faye
- Altera_Forum
Honored Contributor
I found the camserv needs shared lib, and nios2 cannot support it.
Please use "vidcat" and "w3camd". I had built them successfully. The nios2 patch is updated to ver 29. - Altera_Forum
Honored Contributor
hi, hippo
Thank you very much for your reply again.http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif I'm new hand for NiosII uClinux. I used DE2's camera module through 40 pins headers. The webcam's data is RGB format. I will transmit images form DE2 board to PC, then process images, so I need compress and decompress it.(JPEG Format) My problem is how to transform RGB format become JPEG format. Does uClinux-dist can do it? Regards Faye - Altera_Forum
Honored Contributor
Yes. You can study the codes in user/w3cam .
You will still need a video input driver. I will help you when I have time. - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by hippo@Jan 9 2007, 11:39 PM yes. you can study the codes in user/w3cam .you will still need a video input driver. i will help you when i have time.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=20460)
--- quote end ---
--- Quote End --- hi,hippo I will study w3cam start. Thank you! http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif appreciatively! Regards Faye
- Altera_Forum
Honored Contributor
hi,hippo
PS: I used Terasic's camera module through 40pins headers. Regards Faye