Re: Can dvgrab '-rewind' work without a capture to rewind tape after successful dvgrab?
Dan Dennedy <[email protected]> Mon, 26 Sep 2011 09:56:37 -0700
| Newsgroups | gmane.comp.video.kino.devel |
|---|---|
| Message-ID | <CABBVo1=TU-wZUhsxk7oCHSGLP2+-7y=oyD3sUJ4bz6QC70aeEA@mail.gmail.com> |
On Mon, Sep 26, 2011 at 9:14 AM, david <[email protected]> wrote: > Guys, > > =A0 First post - simple dvgrab question. (sorry if you get 2 copies, the = first > was rejected by kino-dev-owner?) I have many digital 8 tapes to download.= I am > writing a short script that will loop prompting for tape insert at the at= the > end of each successful dvgrab. What I would like to do "rewind" the tape = "after" > each dvgrab so the tape is left fully rewound. Is this possible without d= vgrab > starting to download from the tape again using default capture values? = =A0I was > thinking something like: Use dvcont > while :; do > > =A0 [[ ${answer:0:1} =3D=3D n ]] || break > > =A0 if dvgrab -rewind -timestamp -autosplit=3D3600 -format raw ${VLOC}/${= FNAME}; then > > =A0 =A0 ## Can I Rewind Here without another capture starting?? > -> =A0dvgrab -rewind =A0(looks like this will restart capture with defaul= ts) > > =A0 =A0 ## prompt for next or exit > =A0 =A0 echo -ne " =A0Press: 'n' to process another tape, any other key t= o quit: " > =A0 =A0 read answer > =A0 =A0 echo "" > > =A0 fi > > done > > =A0 Currently, I find the -rewind option that says > > "-rewind =A0 =A0 =A0 =A0 =A0 =A0 =A0completely rewind the tape prior to c= apture" > > =A0 What I want is something like: > > "-rewind_done =A0 =A0 =A0 =A0 completely rewind the tape AFTER successful= capture" > > =A0 Anything like that exist or would that be a new addition to the code?= If it > would be new, where in the code would be the best place to look to includ= e this > functionality? =A0Looks like it would need to be an addition of 'm_isRewi= ndLast' > called from stopCapture() or cleanup() in dvgrab.cc, but I would apprecia= te any > help in figuring out how to implement it. > > =A0 Thanks for any help you can give and I apologize of this has been pre= viously > answered somewhere. > > -- > David C. Rankin, J.D., P.E. > > -------------------------------------------------------------------------= ----- > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Kino-dev mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/kino-dev > -- = +-DRD-+ ---------------------------------------------------------------------------= --- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1