site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Share Topic
Posting?
Post a:
Post a:
Links: ·Forum FAQ ·Attitude Adjustment ·Linux docs ·DistroWatch ·OPLM
AuthorAll Replies

TuxRaiderPen

join:2009-09-19

reply to dlsauers

Re: capture mjpeg-streamer stream to file NOT jpgs

said by dlsauers:
Any ideas ? ? ? I am coming up dry in searches ...Thanks.
A quickie way:

wget

example:

wget -O outpufilenamep.mjpg --user xxx --password pass http://127.0.0.1:8090/?action=stream
 

Where outpufilename you would change to your desired name

user and password are only needed if you setup the mjpeg-streamer with such and you would need to adjust from 8090 to what ever port your using.

To convert it to something like mp4 you can use ffmpeg

ffmpeg -i outfilenamep.mjpg testing.mp4
 

You will/may need to tweak the settings on ffmpeg to get desired framerate, quality etc...

Note: VLC will play the mjpeg stream natively, as will mplayer but it requires the .mjpg to work.

There may be something else that can capture the mjpeg stream better than wget, curl?, something else? ? ... but off the top of my head.... thats what I've got....

Friday, 24-May 11:30:48 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 13.5 years online © 1999-2013 dslreports.com.
Most commented news this week
Hot Topics