if (argc != 6) {
printf("Usage:\n\n");
printf("resize input output widthxheight(in) widthxheight(out) rgb24|yuv420p\n\n");
printf("vresize input output widthxheight(in) widthxheight(out) rgb24|yuv420p\n\n");
printf("example: resize /dev/video0 /dev/video1 352x288 176x144 yuv420p\n\n");
printf("example: vresize /dev/video0 /dev/video1 320x240 176x144 yuv420p\n\n");
exit(1);
}
sscanf(argv[3], "%dx%d", &width, &height);