Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

Motion-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

Faye

19 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by faye@Jan 12 2007, 09:47 AM

    hi,hippo

    ps: i used terasic's camera module through 40pins headers.

    regards

    faye

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=20517)

    --- quote end ---

    --- Quote End ---

    I will try to get one.

    I am stilling looking at the video capture driver, at linux-2.6.x/drivers/media/video.

    I didn&#39;t figure out how to write the driver yet.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I am busy with the latest uClinux-dist-20070130 release at the moment.

    I had I2C driver working. I will move to video capture later.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by hippo@Feb 6 2007, 09:21 PM

    i am busy with the latest uclinux-dist-20070130 release at the moment.

    i had i2c driver working. i will move to video capture later.

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=21309)

    --- quote end ---

    --- Quote End ---

    ok! thank you again!

    I&#39;m waiting for you!

    You are a very nice man!

    Regards

    Faye
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    hi, hippo

    I used DE2&#39;s camera module through 40 pins headers.

    The webcam&#39;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.

    Can you give me more hint or information?

    I need your help! http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif

    Regards

    Faye
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I used DE2&#39;s camera module through 40 pins headers.

    The webcam&#39;s data is RGB format.

    PS: Can I use V4L to do it?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    There&#39;s no way you&#39;ll be able to do this in software....not with a decent framerate, at least. There&#39;s a JPEG hardware compressor at Opencores.org. You might take a crack at converting it for use in SOPC Builder or....you could try using C2H for the DCT, at a minimum.

    In any case, you&#39;ve a lot of reading to do. There&#39;s ample information on JPEG compression/de-compression on the web.

    Good luck!

    - slacker
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi !

    I am new hand to NiosII and uClinux.

    I have the same problem with you.But the difference is I will use the Vidio In as the input.

    Have you work it out?

    My puzzle is how can I get the Vidios at uClinux.

    I want to share this topic with you

    thank you very much.