Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does MPlayer recognize an MJPEG stream?

Since MJPEG over http consists basically on the transmission of a series of JPEG images seperated by a defined seperator, how does MPlayer recognize that it is an MJPEG stream?

Thank you

like image 975
Emy Avatar asked Mar 13 '26 18:03

Emy


1 Answers

Have a look at:

MplayerMjpegStreamViewing < Motion < Foswiki

e.g.

mplayer -fps 4 -demuxer lavf http://rpi-6:8080/?action=stream

does the job for me. Suitable for a streaming server running on a Raspberry like this:

/usr/local/bin/mjpg_streamer -o output_http.so -w ./www -i input_raspicam.so -x 1920 -y 1440 -fps 3 -hf -vf
like image 91
sparkie Avatar answered Mar 15 '26 14:03

sparkie