Kino Video Editor
 
  Kino / dvgrab
Latest News
Download
Features
Requirements
Screen Shots
  Support
User Guide
HOWTOs
FAQ
Mailing Lists
Contributed Code
  Development
Project Vision
Developer Guide
Source Code
Current Developers
Report a Bug
  Community
Success Stories
Discussion
 

I have closed the forums to new postings because there was not enough discussion, I answered nearly all the questions, and I no longer work on Kino. Please use the forums provided by your Linux distribution. Meanwhile, I will leave this open in read-only mode to serve as a knowledge base.


Subject: "a script to start dvgrab" Previous topic | Next topic
Printer-friendly copy
Top Linux Digital Video dvgrab Topic #1066
Show all folders | View messages in linear mode

zimbotWed Mar-04-09 12:17 AM
Member since Mar 04th 2009
3 posts
Click to send email to this author Click to send private message to this author Click to view this author's profile Click to add this author to your buddy list
#1066, "a script to start dvgrab"


          

friends,

I am attempting to write a script .
a linux shell script that would

start dvgrab
capture a qt dv named as the current time
and stop capture if the spacebar ( or something ) is pressed

--------as cap.sh

#!/bin/sh
dvgrab -f qt 'time'


-------------------------

does not work at all

any help would be appreciated.

thanks

  

IP Printer Friendly copy | Reply | Reply with quote | Top

zimbotWed Mar-04-09 01:11 AM
Member since Mar 04th 2009
3 posts
Click to send email to this author Click to send private message to this author Click to view this author's profile Click to add this author to your buddy list
#1067, "RE: a script to start dvgrab"
In response to Reply #0


          

well

I have figured out this much

if I do this in a shell
sudo dvgrab -f qt $(date '+%Y-%m-%d-%T')

i get a file that is a qt w dv codec named
2009-03-03-19:07:37001.mov

now if I can solve the sudo problem
I seem to have to sudo when I call dvgrab

if I can solve that.
and find a way to stop the capture.

well... i am closer

  

IP Printer Friendly copy | Reply | Reply with quote | Top

    
zimbotWed Mar-04-09 02:11 PM
Member since Mar 04th 2009
3 posts
Click to send email to this author Click to send private message to this author Click to view this author's profile Click to add this author to your buddy list
#1068, "RE: a script to start dvgrab"
In response to Reply #1


          

if i do a
sudo dvgrab -f qt $(date '+%Y-%m-%d-%T') --interactive

at the command line - i get

2009-03-04-07:49:41001.mov

Q- why the append of 001 after the 41 sec?

that --interactive is really something!

"c" - i captured , 'ESC' - i stopped

Thanks!

the sudo is still a problem for me -- i suppose that is a sudo user ....something.

My real goal is to have something that a person could
hit a button & REC
hit a button and stop

i think i am realllll close.

and then how to do it in a file.sh....

  

IP Printer Friendly copy | Reply | Reply with quote | Top

        
ddennedyTue Mar-10-09 07:39 AM
Member since Jun 26th 2006
1362 posts
Click to send email to this author Click to send private message to this author Click to view this author's profile Click to add this author to your buddy list
#1069, "RE: a script to start dvgrab"
In response to Reply #2


          

>if i do a
>sudo dvgrab -f qt $(date '+%Y-%m-%d-%T') --interactive
>
>at the command line - i get
>
>2009-03-04-07:49:41001.mov
>
>Q- why the append of 001 after the 41 sec?

dvgrab is designed for multiple file output - that is just the way it works. You can use -timesys instead of your $(date) and you will get a different format, but then it will not add the sequential number.

>that --interactive is really something!
>
>"c" - i captured , 'ESC' - i stopped
>
>Thanks!
>
>the sudo is still a problem for me -- i suppose that is a sudo
>user ....something.

That is because your normal user account does not have read/write permission to /dev/raw1394, which you can change manually or change udev rules to make it permanent.

>My real goal is to have something that a person could
>hit a button & REC
>hit a button and stop

You could also just send a kill -INT to the process.

>i think i am realllll close.
>
>and then how to do it in a file.sh....

+-DRD-+
Lead Kino Developer

  

IP Printer Friendly copy | Reply | Reply with quote | Top

Top Linux Digital Video dvgrab Topic #1066 Previous topic | Next topic
Powered by DCForum+ Version 1.1
Copyright 1997-2002 DCScripts.com