Is there a way to display the actual date and time that HDV footage was shot? I don't see the ability to do that with any of the FX controls. All of the ones associated with time appear to be relative to the clip, not the actual date and time.
Try dropping the timecode effect onto the clips in the project media window instead of on the timeline or tracks. Supposedly that works for DV. It might work for HDV too.
Doing that will only give you timecode, not date & time which is what the OP wants.
Unfortunately, I don't think there's a way to extract that information yet :-(
Actually, in V8, a script can be created to add the time.
There is a field in the Media object that is called RecordedDateTime and it provide the information.
>Actually, in V8, a script can be created to add the time.
>There is a field in the Media object that is called
>RecordedDateTime and it provide the information
I too an interested in extracting this date information, but I have never written a Vegas script in my life. Any pointers on how to create a simple script to access and display this media object would be greatly appreciated.
I was hoping that someone will pick up the task.
Here is a sample script that print the tape name, tc and recording time.
What is needed is to add a text field on an upper track with the text value, maybe changing the text every 1sec.
Udi
import System.Windows.Forms;
import Sony.Vegas;
try {
var trackEnum = new Enumerator(Vegas.Project.Tracks);
while(!trackEnum.atEnd()) {
var track : Track = Track(trackEnum.item());
var eventEnum = new Enumerator(track.Events);
while(!eventEnum.atEnd()) {
var ev : TrackEvent = TrackEvent(eventEnum.item());
if(ev.Selected) {
var take = ev.ActiveTake;
var media = take.Media;
MessageBox.Show( " file : " + take.MediaPath +
"\n Tape : " + media.TapeName +
"\n Tape in :" + media.TimecodeIn +
"\n Tape out:" + media.TimecodeOut +
"\n Recorded at: " + media.RecordedDateTime
);
}
eventEnum.moveNext();
}
trackEnum.moveNext();
}
} catch (e) {
MessageBox.Show(e);
}
"It is about time that someone will right a "scriptable" text plugin."
Amen!
And another thing. Some way to add burnt in tape numbers and clip numbers would be oh so usefull. Doing this by hand when you've got lots of clips is no fun at all. So damn little I added the tape number and didn't think it through carefully. The client's camera was dodgy and he liked to review every clip. So TC restarts at every clip, what a mess. His paper EDL was less than useless.
And yes, I know, I should have fixed this upfront and restriped the TC to a new tape. We live and learn and we get sloppy and we forget and we have to learn all over again.
Well, I would be happy with a way to read (i.e., in dialog box) the DateCode at the current cursor position on the timeline.
The sample script provided by Udi appears to be missing some declarations (recall I am a scripting dummy). I receive the following error when I run the sample script (which I called "Read_Data_Code.js"):
Read_Date_Code.js(4) : Variable 'Track' has not been declared
Read_Date_Code.js(7) : Variable 'TrackEvent' has not been declared
Read_Date_Code.js(11) : Variable 'MessageBox' has not been declared
What do I need to add to the above sample script to address these declaration errors?
Yes, that was it. It saw the word "try" and my eyes thought that as the start of the script.
So that is the good news, the script runs. The bad news it it seem to generate useless date information for HDV content on the timeline. The script indicates a date of "Recorded at: Mon Jan 1 00:00:00"
The script does display the correct record date for DV media on the timeline.
I get the same "Recorded at: Mon Jan 1 00:00:00" when I run the script on AVI content of a capture VHS tape, which I am guessing does not have time/date code information, which makes me wonder whether HDV captures include time/date code information?