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).
“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
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.
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.
Paul Dwyer
“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
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 ?