本文介绍了MPlayer如何识别MJPEG流?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
由于基于http的MJPEG基本上是由一系列由定义的分隔符分隔的JPEG图像组成的传输,因此MPlayer如何识别它是MJPEG流?
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?
谢谢
推荐答案
看看:
MplayerMjpegStreamViewing<动作<Foswiki
例如
mplayer -fps 4 -demuxer lavf http://rpi-6:8080/?action=stream
替我做这份工作.适用于像这样在Raspberry上运行的流服务器:
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
这篇关于MPlayer如何识别MJPEG流?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!