From: meino.cramer@gmx.de
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How to record a dvb-t stream for a specific time ?
Date: Tue, 2 Nov 2010 00:36:00 +0100 [thread overview]
Message-ID: <20101101233600.GA19341@solfire> (raw)
In-Reply-To: <4CCF04AA.9020308@coolmail.se>
pk <peterk2@coolmail.se> [10-11-02 00:24]:
> On 2010-10-31 13:30, meino.cramer@gmx.de wrote:
>
> > ...cat has no timing parameter (see mail)...
>
> Yes, but I put it in a sub shell (cat ... &) and then kill it (using a
> very rough script that loops date). Basically what I do is:
>
> 1. set channel for a certain video adapter (I have two).
> 2. Use a script that loops date (with a 5 second interval) and when it
> hits the threshold starts a sub shell with 'cat /dev/video0 >
> filmname.mpg' and saves the PID in a filename with the same name but
> with a .pid ending instead.
> 3. Use a script that loops date and when it hits the threshold reads the
> PID of the cat process from the .pid file and kills it.
>
> Perhaps not the ideal way to solve a problem but it works for me without
> having to mess with something that can sing & dance while (hopefully)
> doing whatever I want it to do... and needing the kitchen sink for a
> minimal install.
>
> MfG
>
> Peter K
>
Hi Peter,
yes, the "killing thing" was my first idea also. But since it is
not that gentleman like, I asked here for another solution.
In the meanwhile I found this:
tzap -r -H -t <duration in seconds> -o - <channelname from ~/.tzap/channels.conf > "filename"
records the stream into "filename". The redirection is necassary,
since tzap gets problems when trying to write more than 2Gigs of
streamed data.
I start this via fcron.
MfG
mcc
prev parent reply other threads:[~2010-11-01 23:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-30 11:55 [gentoo-user] How to record a dvb-t stream for a specific time ? meino.cramer
2010-10-30 13:33 ` Fatih Tümen
2010-10-30 13:54 ` meino.cramer
2010-10-31 11:38 ` pk
2010-10-31 12:30 ` meino.cramer
2010-11-01 18:19 ` pk
2010-11-01 23:36 ` meino.cramer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101101233600.GA19341@solfire \
--to=meino.cramer@gmx.de \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox