]> rtime.felk.cvut.cz Git - frescor/streamer.git/commitdiff
Our cameras gives only 15 fps
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 28 Nov 2009 17:22:41 +0000 (18:22 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Sat, 28 Nov 2009 17:22:41 +0000 (18:22 +0100)
default frame size was lowered to have lower bandwidth

streamer.c

index 72cfaeb9a0bbb2b653ac0bf2e67627d90b7f9554..8df5efac94b40c839c9e5bda7470f7aeb83baac3 100644 (file)
@@ -35,9 +35,9 @@ static const char *sdp_file = "sdp.txt";
 static const char *vdev = "/dev/video0";
 static const char *dst = "127.0.0.1";
 static int dport = 20000;
-static int width = 640;
-static int height = 480;
-int fps = 25;
+static int width = 320;
+static int height = 240;
+int fps = 15;
 static const char *impform = "video4linux2";
 AVFormatContext *s, *os;