[MPlayer-users] [Video stream] network stream recording with mplayer

RC cooleyr at gmail.com
Sat Apr 10 09:07:19 CEST 2010


On Fri, 9 Apr 2010 14:20:22 +0200
takeo kikuta <takeo.kikuta at gmail.com> wrote:

> mplayer http://host/axis-cgi/mjpg/video.cgi -user root -passwd root \
>  -cache 1024 -fps 25.0 -nosound -vc ffh264 \
> -demuxer 3 -dumpstream -dumpfile output.avi

demuxer, cache, fps, nosound, vc, etc., options make no difference when
you are simply dumping the raw stream to disk.  Also, it's certainly not
an avi file.

> Video Playing is very fast! Why? Is it a synch problem?

You're playing a raw stream of JPEG images, like a slideshow.  There's
no timing information stored anywhere.  On playback, you can force a
framerate.  You can mux / encode the video into some multimedia format
to get a file with a hard-coded framerate, but it will still be whatever
rate you manually specify.

> What parameter I have to use for setting video bitrate with mplayer?

You're just dumping what the camera provides.  Set the quality there, or
reencode the video with mencoder.

-- 
Ha. I'm the idiot.


More information about the MPlayer-users mailing list