Re: mjpeg playback possible?

Kevin DeKorte <[email protected]> Tue, 17 Jun 2008 15:59:34 -0600
Newsgroups gmane.comp.mozilla.mplayerplug-in
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jim Sheldon wrote:
| Greetings everyone.
|
| My company is working on an embedded device that will, among other
| things, make certain IP cameras available for viewing using firefox.
| Currently we are only supporting MJPEG streams.
|
| We have found that when playing these streams in firefox with this
| limited hardware, performance suffers greatly.  However, when using
| mplayer from the command line like so:
|
| mplayer -demuxer lavf http://<camera ip>/mjpg/video.mjpg
|
| Performance is substantially better.
|
| Does anyone know if it would be possible to open a MJPEG stream with
| mplayerplug-in?  As far as I can tell this is not possible, since the
| stream is essentially just jpeg images, and clearly we don't want to
| associate all jpeg images with mplayerplug-in.
|
| Any help would be greatly appreciated.
|
| Thanks,
| Jim


What you want to do is create a normal webpage and then used an embed tag..

<embed type="application/x-mplayer2" width=500 height=400 autostart=1
src="http://camerip/mjpg/video.mjpg">


This page should give you a helpful example

http://mplayerplug-in.sourceforge.net/testing/testvid.html

Kevin
- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFIWDPG6w2kMH0L1dERAmXDAJ9CPVh6Tol3/93NYVGvv/EgUO0u0gCfQb/P
dg2mmki45rsz51PmS6n0ieQ=
=ty83
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php