one thing you might consider would be using dd, there you can specify a 
number of bytes to copy. As these cards deliver constant bitrate, you 
can calculate the number of bytes needed to be read.
The commandline should be similiar to this:

dd if=/dev/video0 of=myvideo.mpg bs=1k count=100000

Trev Jackson wrote:
> Hi Kyrre,
>
> I must admit I'm no expert, but a few times when I've wanted to record a late 
> program I've started it using cat /dev/video0 > myvideo.mpg
>
> I then used ps -aux to list all jobs and wrote down the job number.
>
> I then used crontab and the kill command to stop that job a bit after the 
> film 
> finished, then I could go to bed and leave it going.
>
> Best Regards
>
> Trev
>
> On Friday 14 Apr 2006 19:16, Kyrre Ness Sjobak wrote:
>   
>> Hello!
>>
>> How can i time when a "cat" recording is about to start, and how long it
>> should continue - without killing and starting it manually?
>>
>> Is there any bash command that could kill it for me after a set time, or
>> some built-in tool in ivtv that does this (ivtv-encoder? What does this
>> do?)
>>
>> --- Kyrre
>>
>>
>> _______________________________________________
>> ivtv-users mailing list
>> [email protected]
>> http://ivtvdriver.org/mailman/listinfo/ivtv-users
>>     
>
> _______________________________________________
> ivtv-users mailing list
> [email protected]
> http://ivtvdriver.org/mailman/listinfo/ivtv-users
>   

_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to