Page 1 of 1

Looking for MJPEG library or code

Posted: Fri Sep 14, 2007 7:03 pm
by TheCorporation
I'm a beginner with PureBasic, looking for MJPEG library or code (to save inside the JPEG pictures I capture from my webcam with my PureBasic program).

If someone can give me sometips please... :-|

Posted: Sat Sep 15, 2007 9:53 am
by Num3

Posted: Sat Sep 15, 2007 11:14 am
by TheCorporation
> Maybe this can help?

No :-( (This code saves only .JPG files).

Posted: Wed Sep 19, 2007 10:37 am
by pdwyer
Wikipedia here http://en.wikipedia.org/wiki/MJPEG links two sources for specs

http://tools.ietf.org/html/rfc2435
http://developer.apple.com/documentatio ... F/qtff.pdf (from page 114)

Happy reading, seems there's a couple of versions

Posted: Wed Sep 19, 2007 11:08 am
by DoubleDutch
For playback: MJPeg was used in the psx, maybe if you look around you can find some assembly or c source code for that? MIPS code is pretty easy to follow.

For recording: There should be source on the net for psx movie encoders.

Posted: Wed Sep 19, 2007 11:30 am
by pdwyer
seems like you only need to code or read the stream format, the jpegs could be usable with native PB. If that's the case, doing it all in PB would be cleaner from the docs than from a port...

The RFC doc looks easier to get something up and running quickly though

just a thought.

Posted: Sun Aug 24, 2008 3:37 pm
by TheCorporation
(up : I'm still in the same problem).

> The RFC doc

Ok however I am not good programmer enough to be able to make a port :(.


What I wish to do is a 24/24 video recording software like MJPEG Surveillance ( http://www2.brooksyounce.com/soft/mjpeg.htm )
+ feature to erase old videos to not fill hard disk.

It seems to me that the Morgan M-JPEG codec from http://www.morgan-multimedia.com/ may be okay for that.
Please do you think is may be possible, or do you have other ideas ? :?: