Output a jpeg instead of a movie
Posted: 01 Dec 2009 11:50
Hi,
I run this vlm conf to stream a webcam:
With this I can view the live stream at http://localhost/cam0.flv, works fine.
Question: Can I somehow modify the conf so I also see a still picture at http://localhost/cam0.jpg? The picture should be the most recent frame, so when I press F5 in the browse, I should see a new picture.
/Morten
I run this vlm conf to stream a webcam:
Code: Select all
new chl0 broadcast enabled
setup chl0 input dshow://
setup chl0 option dshow-vdev="Logitech QuickCam Chat "
setup chl0 output #transcode{vcodec=FLV1,acodec=mp3,channels=2,samplerate=44100,width=320,height=240,fps=1,sfilter=mosaic:marq{marquee=%Y%m%d-%H%M%S,position=8}}:std{access=http,mux=ffmpeg{mux=flv},dst=0.0.0.0:80/cam0.flv}
control chl0 play
Question: Can I somehow modify the conf so I also see a still picture at http://localhost/cam0.jpg? The picture should be the most recent frame, so when I press F5 in the browse, I should see a new picture.
/Morten