Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: tzap (apps-1.1.0) modification



Johannes Stezenbach wrote:
> bmh@arkady.demon.co.uk wrote:
> > 
> > I couldn't find a simple (command line) way to record a DVB-T program
> > from a channel for a set length of time eg. scheduled from an "at"
> > job.
> > 
> > My quick hack to tzap.c (from linuxtv-dvb-apps-1.1.0/util/szap/tzap.c)
> > is available from http://www.arkady.demon.co.uk/tzap.c.gz
> > 
> > The new flags are:
> > -R              Record mode (to stdout or filename specified with -o)
> > -t secs         Record time
> > -o filename     Output filename (sets -R)
> > -s              Only print summary
> > -S              Run silently (no output)
> > 
> > Examples of use might be:
> >         tzap -t 3600 -o prog.mpg "BBC ONE"
> > or      tzap -t 1800 -R "BBC TWO" |ts2ps nnn nnn > prog2.mpg
> > 
> > If you don't use any of the new flags the only difference is that all of
> > tzap's messages go to stderr (was stdout) to allow for mpeg output on stdout.
> 
> I'm sorry I still had no time to test your tzap patch.
> 
> One thing I would like to have changed is: Drop -o, and make
> -R take the filename parameter. One can still use /dev/stdout,
> or you could support the common "-" special filename.

OK, I now did a quick test, and it works as advertised.

But I realized that the various ?zap options now get
increasingly inconsistent. The only sensible way out
is to merge the three ?zap progams into one, and possibly
move common stuff into a library.

I know this breaks backwards compatibility for scripts
which use ?zap, but I think we should do it before
doing a new dvb-apps release.

Johannes


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index