How does MPlayer recognize MJPEG stream?

Since MJPEG over http is mainly about transferring a series of JPEG images separated by a specific seperator, how does MPlayer recognize that it is an MJPEG stream?

thank

+3


source to share


1 answer


Take a look:

MplayerMjpegStreamViewing <Motion <Foswiki

eg.



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

      

does the job for me. Suitable for a streaming server running on raspberries 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

      

0


source







All Articles