Can dvgrab '-rewind' work without a capture to rewind tape after successful dvgrab?
david <[email protected]> Mon, 26 Sep 2011 11:14:36 -0500
| Newsgroups | gmane.comp.video.kino.devel |
|---|---|
| Message-ID | <[email protected]> |
Guys,
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 dvgrab
starting to download from the tape again using default capture values? I was
thinking something like:
while :; do
[[ ${answer:0:1} == n ]] || break
if dvgrab -rewind -timestamp -autosplit=3600 -format raw ${VLOC}/${FNAME}; then
## Can I Rewind Here without another capture starting??
-> dvgrab -rewind (looks like this will restart capture with defaults)
## prompt for next or exit
echo -ne " Press: 'n' to process another tape, any other key to quit: "
read answer
echo ""
fi
done
Currently, I find the -rewind option that says
"-rewind completely rewind the tape prior to capture"
What I want is something like:
"-rewind_done completely rewind the tape AFTER successful capture"
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 include this
functionality? Looks like it would need to be an addition of 'm_isRewindLast'
called from stopCapture() or cleanup() in dvgrab.cc, but I would appreciate any
help in figuring out how to implement it.
Thanks for any help you can give and I apologize of this has been previously
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