[FFmpeg-user] Scaling down resolution, reduce framerate and record video from IP camera

Liam Condron-Farnos 23liam at googlemail.com
Sun Feb 17 13:05:42 CET 2013

>I would like to reduce the resolution by half to 640x360

You could use the scale filter: -filter:v 'scale=-1:360'
or you could use -s like so: -s 640x360 - this can be used either as
an input or output option.

>and cut the framerate to let's say 1-2 fps.

use -r 2 (or -r 1 for 1 fps).


You shouldn't use this here. There are a lot of guides online that
wrongly call it 'same quality', but it actually doesn't mean that at
all, and there are only a handful of cases where it will be useful.

Something like this will do what you need:

ffmpeg -r 2 -s 640x360 -i rtsp://aircam/live/ch00_0 -c:v libx264 outvid.mp4

If that doesn't work, try:

ffmpeg -i rtsp://aircam/live/ch00_0 -r 2 -s 640x360 -c:v libx264 outvid.mp4

More information about the ffmpeg-user mailing list