Log in

No account? Create an account
Motion JPEG specs - brad's life — LiveJournal [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | bradfitz.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Motion JPEG specs [Jun. 10th, 2001|01:04 pm]
Brad Fitzpatrick
Can anybody point me in the right direction to find specs on the various Motion JPEG formats? MJPEG-A, MJPEG-B (also called 411, 422, 111, perhaps)?

From what I've read, the formats are all very similar and easy ... just JPEG frames with some crap in-between. I just need to know what that crap is.

[User Picture]From: mart
2001-06-10 01:12 pm (UTC)

I dread to think what you are going to do with motion jpegs! )

(Reply) (Thread)
[User Picture]From: dormando
2001-06-10 01:33 pm (UTC)
err, doh. submitted too quickly.

anyway, that's nonstandard, but open and the file format is easily available. I dunno where to find the others.
(Reply) (Parent) (Thread)
[User Picture]From: foobar
2001-06-10 01:43 pm (UTC)
(Reply) (Thread)
[User Picture]From: foobar
2001-06-10 01:46 pm (UTC)
D'oh... hehe thought you said mpeg. Oh well.

Maybe a link off jpeg.org? I dunno. :/ Sorry.
(Reply) (Parent) (Thread)
[User Picture]From: topher
2001-06-10 02:08 pm (UTC)

Hrm. . . .

I don't know if this is relevant or not, but I just found this on the JPEG FAQ from comp.graphics.misc. However, it's dated the end of 1999, and I couldn't find anymore more recent. I don't know if it's still accurate, or not.

Subject: [20] Isn't there an M-JPEG standard for motion pictures?

As was stated in section 1, JPEG is only for still images. Nonetheless,
you will frequently see references to "motion JPEG" or "M-JPEG" for video.
*There is no such standard*. Various vendors have applied JPEG to
individual frames of a video sequence, and have called the result "M-JPEG".
Unfortunately, in the absence of any recognized standard, they've each done
it differently. The resulting files are usually not compatible across
different vendors.

MPEG is the recognized standard for motion picture compression. It uses
many of the same techniques as JPEG, but adds inter-frame compression to
exploit the similarities that usually exist between successive frames.
Because of this, MPEG typically compresses a video sequence by about a
factor of three more than "M-JPEG" methods can for similar quality.
The disadvantages of MPEG are (1) it requires far more computation to
generate the compressed sequence (since detecting visual similarities is
hard for a computer), and (2) it's difficult to edit an MPEG sequence on a
frame-by-frame basis (since each frame is intimately tied to the ones around
it). This latter problem has made "M-JPEG" methods rather popular for video
editing products.

It's a shame that there isn't a recognized M-JPEG standard. But there
isn't, so if you buy a product identified as "M-JPEG", be aware that you
are probably locking yourself into that one vendor.

Recently, both Microsoft and Apple have started pushing (different :-()
"standard" M-JPEG formats. It remains to be seen whether either of these
efforts will have much impact on the current chaos. Both companies were
spectacularly unsuccessful in getting anyone else to adopt their ideas about
still-image JPEG file formats, so I wouldn't assume that anything good will
happen this time either...

See the MPEG FAQ for more information about MPEG.
(Reply) (Thread)
[User Picture]From: bradfitz
2001-06-10 02:13 pm (UTC)

Re: Hrm. . . .

Yes, I know that.

The fact remains that there are two M-JPEG de-facto standards out there, even if they're not de-jure standards.

Java media framework supports them, browsers support them, my network cam supports them.... I need to figure out what they are, official or not.
(Reply) (Parent) (Thread)
[User Picture]From: firelegend
2001-06-10 03:08 pm (UTC)

Re: Hrm. . . .

you gonna use them on a website or for a .. project.. appalet?

http://www.lokigames.com/development/smjpeg.php3 from dorm says it doesn't support internet streaming..
(Reply) (Parent) (Thread)
[User Picture]From: marcoo
2001-06-10 02:17 pm (UTC)
(Reply) (Thread)
[User Picture]From: bradfitz
2001-06-10 05:07 pm (UTC)
Woo, thanks!!
(Reply) (Parent) (Thread)
[User Picture]From: marcoo
2001-06-10 05:09 pm (UTC)


No problem ;) It's my field ;)
(Reply) (Parent) (Thread)
[User Picture]From: steve
2001-06-10 06:37 pm (UTC)
What's that? *cough* porn *cough*
(Reply) (Parent) (Thread)
[User Picture]From: marcoo
2001-06-10 06:38 pm (UTC)


Nope *coughfilmmakingcough*
(Reply) (Parent) (Thread)
[User Picture]From: steve
2001-06-10 06:43 pm (UTC)


Heh, i guess i could still me right.... ;)
(Reply) (Parent) (Thread)