00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00051
#ifdef HAVE_CONFIG_H
00052
#include <config.h>
00053
#endif
00054
00055
#include <stdio.h>
00056
00057
#include "xdvshow-info.h"
00058
00061
void
00062 show_version(
void)
00063 {
00064 printf(
"xdvshow version %s\n", VERSION);
00065 printf(
"2003, 2004 Milos Liska (xliska@fi.muni.cz)\n");
00066 printf(
"This product includes software developed by Akimichi OGAWA.\n");
00067 }
00068
00069
00072
void
00073 show_usage(
char *argv0)
00074 {
00075 printf(
"Usage : %s [options]\n\n", argv0);
00076
00077 printf(
"<options>\n");
00078 printf(
"-v : show version number\n");
00079 printf(
"-h : show this help message\n");
00080 printf(
"-f file : input from file\n");
00081 printf(
"-A device : enable audio using device\n");
00082
#if (HAVE_SDL || HAVE_SDL11)
00083
printf(
"-F : enable fullscreen\n");
00084 printf(
"-z : enable zoom (change display resolution)\n");
00085 printf(
"-Z : enable zoom (scale video)\n");
00086 printf(
"-D : enable deinterlace\n");
00087 printf(
"-o : disable hw overlay with SDL\n");
00088
#endif
00089 printf(
"-4 : use IPv4\n");
00090
#ifdef ENABLE_INET6
00091
printf(
"-6 : use IPv6\n");
00092
#endif
00093 printf(
"-j addr : join multicast group\n");
00094 printf(
"-r host : packet reflector name/address\n");
00095 printf(
"-P port : set UDP port number\n");
00096 printf(
"-S : stereo\n");
00097
#if (LINUX && HAVE_LIBRAW1394) || FREEBSD_5
00098
printf(
"-i : use ieee1394 interface for DV acquisition\n");
00099
#endif
00100 printf(
"\n");
00101 printf(
"-d : dump displayed dv data\n");
00102 printf(
"\n");
00103
#if (HAVE_SDL || HAVE_SDL11)
00104
printf(
"-s : use SDL for display (default)\n");
00105 printf(
"-x : use X11 for display (no fs available)\n");
00106
#else
00107 printf(
"-x : use X11 for display (no fs available, default)\n");
00108
#endif
00109
00110 }