• Damien Lucas's avatar
    · 865113b2
    Damien Lucas authored
    Added a command line launching solution for easy configuration.
    By 'easy', I mean one mpeg-2 input streamed to one ipv4 network output.
    
    syntax is:
    
    vls [options] target
    
    with target like:
      dvd:/dev/dvd                - for reading from the device
      dvd:/mnt/videos/dvd1        - for files stored on a hard drive
      file:/mnt/videos/stream1.ts - for a local file
    
       when using file method, vls detects wether it is a MPEG2-TS or MPEG2-PS
       but does not detect MPEG1-PS.
    
    options:
      -f (--file)        to specify the configuration file
      -l (--loop)        with start streaming with loop option
      -v (--verbose)     verbose level (-v, -vv, -vvv)
      -d (--destination) specify IP and port to broadcast to
                          (multicast IP are automaticaly detected)
      -t (--ttl)         specify TTL
      -h (--help)        display a short syntax help
      --log              specify logfile
    
    To do this, I had to change few things:
      . in vls.cfg section "vls" (or ...)  are now called "global"
      . you just have one configuration file local inputs are described inside
          (I will add a include directive soon)
    
    But documentation is no longer up to date. We are going to rewrite it soon
    
    Those changes should only be available on system with getopt headers and
    should have broken anything in other OS. But I am not that sure ;-)
    865113b2
Name
Last commit
Last update
bin Loading commit data...
build_test Loading commit data...
debian Loading commit data...
doc Loading commit data...
interface Loading commit data...
src Loading commit data...
test Loading commit data...
.cvsignore Loading commit data...
.dmallocrc Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
Makefile Loading commit data...
Makefile.dep Loading commit data...
Makefile.module Loading commit data...
Makefile.module.dep Loading commit data...
Makefile.opts.in Loading commit data...
README Loading commit data...
README.win32 Loading commit data...
TODO Loading commit data...
config.guess Loading commit data...
config.sub Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
todo.pl Loading commit data...
vls.cfg Loading commit data...
vls.sln Loading commit data...
vls.spec Loading commit data...
vls.vcproj Loading commit data...