[nylug-talk] command line setting of capture

Henning Follmann hfollmann at itcfollmann.com
Wed Dec 13 12:22:49 EST 2006


On Dec 13, 2006, at 12:07 PM, ksdfkw9 wrote:

>
> -----Original Message-----
>> From: Henning Follmann <hfollmann at itcfollmann.com>
>> Sent: Dec 13, 2006 7:16 AM
>> To: NYLUG Technical Discussion <nylug-talk at nylug.org>
>> Subject: Re: [nylug-talk] command line setting of capture
>>
>>
>> On Dec 13, 2006, at 6:43 AM, ksdfkw9 wrote:
>>
>>> Does anybody know how to toggle capture on in a script to make sure
>>> that a scheduled recording actually records?
>>> This is in case something toggles it off between the time of
>>> scheduling and the time of recording.
>>>
>>
>> If you want to record a stream, why don't you use streamripper?
>> The right tool for the right job.
> This isn't just for streams.  In fact I rarely record streams.  It  
> is primarily for other kinds of unattended pre-scheduled recording  
> from the actual environment.
>
> But I have even found myself record things "by hand" thinking I had  
> all the settings right
> only to find out something had toggled the capture off.
>
> I do all my ordinary recording from scripts anyway -- unless of a  
> higher level using audacity.
> What is being recorded is reflected in the script name and it is  
> automatically directed to the right directory (no matter where I  
> am), chooses the appropriate codec for that kind of recording,  
> labels the file according to the nature of the recording and  
> timestamps it.
> Even for this kind of recording I would like to preface it with a  
> command to make sure capture
> was toggled on every time I used it.
>
> Nothing nefarious  -- nothing even disapproved of by the evil MPAA.

Still you should use the right tool.
Usually cron and x applications don't mix very well. Take a command  
line tool for that (even if X is running almost all the time).
Or look into one of the schedulers running in an x session. See, if I  
want to record something at a certain time I would just take /dev/ 
sound (or whatever your in line is hooked up to) and write that to a  
file. Or if you want to make it smaller run it thru mp3lame and write  
that to a file. But I definitely would not use xmms.


Henning

-- 
Henning Follmann      | hfollmann at itcfollmann.com
it consultant         | http://www.itcfollmann.com




More information about the nylug-talk mailing list