Add clips to T/L using their timecode.

farss wrote on 3/23/2014, 6:47 AM
I had camera set to timecode = time of day.
Maybe 50 to 100 clips. I want to automate adding these to the timeline such that the clips are placed on the timeline according to the timeline's ruler timecode e.g. if the clip's start timecode is 10:01:38:21 then it will be put at that timecode on the timeline.

I can do this manually, one clip at a time.
Is there anyway to avoid this tedium?

I quickly looked into Timeline Tools and Ppro, no help from either.

TIA

Bob.

Comments

videoITguy wrote on 3/23/2014, 7:38 AM
start by making sure your clips are named after a timecode order, may have to use multi-rename utility to get a sortable file order
videoITguy wrote on 3/23/2014, 8:26 AM
the trick to get timecode work into vegas is to have the timecode external to the video stream and not as embedded metadata.
There are file utilities like dvmpro5 from UK that can take a timecode embedded and apply it externally to the filename which Vegas will grasp.
paul_w wrote on 3/23/2014, 8:40 AM
It appears it can all be done internally.

1) Tools | Multicamera | Lay Out Tracks Using Media Timecode.
2) Tools | Multicamera | Lay Out Tracks Using Media Date/Time Stamp

point 2 in the case of not having external timecode, not accurate but workable.

and another link that may be if interest by Gary Rebholz:
http://www.sonycreativesoftware.com/cutting_with_the_vegas_pro_multi-camera_editing_tools

Paul.
musicvid10 wrote on 3/23/2014, 9:18 AM
Multicam mode does this beautifully -- when it works.
The things that will make it not work are missing, dummy, or zeroed t/c on the first frame(s).

It's probably a more common problem on tape cameras that are t/c slaved over xlr; I once figured out a way to trim a few frames from XHA1 footage shot this way, but it was years back and I can't remember what I used (maybe Vegas smart render?). Otherwise you end up aligning by hand.
NormanPCN wrote on 3/23/2014, 10:03 AM
Vegasaur has a feature that will use the timecode to position/place a number of events. By timecode is one of the options.
farss wrote on 3/23/2014, 3:22 PM
Thanks guys:

1) The clips are sorted by the order they were shot in, the camera (EX1) numbers them that way.

2) Tried using Multicam, epic fail. It puts each clip on it's own track. I suspect Multicam expect timecode to be Record Run. By using TOD I've confused it completely. Not only does each clip end up on its own track but where it's placed on each track has no correlation to the timecode.

I'll try Vegasaur.

Bob.
paul_w wrote on 3/23/2014, 3:46 PM
Bob, the poster on the creative cow link i posted had the same problem with clips being placed on new tracks. He fixed that by renaming files to match each camera as cam1, cam2 etc.. A bit of work but he says it worked.

Paul.
videoITguy wrote on 3/23/2014, 3:47 PM
EX1 sort numbers are what you want to work with if you just want to buttress the ends clip to clip. You are trying way too hard on the timecode bit.

It occurs to me that there are a lot scenarios one can play with. Butting clips is one. But what if you have clips that overlap (which is always how I work with clips in the trimmer)- then you may in fact want to create a pseudo multi-cam project with track one being the select of the odd number (of two choices) and track two being the even number - this is what the first reply by PAUL_W in this thread was intended to cover.
farss wrote on 3/23/2014, 4:45 PM
[I]"EX1 sort numbers are what you want to work with if you just want to buttress the ends clip to clip"[/I]

No, I do NOT want the clips head to tail. I want them on the T/L according to their timecode and there should be significant gaps between them in places as the camera was buttoned off a lot of the time.

As it turns out from some searching Ppro and FCP has been able to do this for ages.
In Ppro it seems all I have to do is select all the clips I want, then R Click them and select Make Sequence From Clips using all the defaults.

Bob.
larry-peter wrote on 3/23/2014, 4:59 PM
I know virtually nothing about scripting, but if the attributes in the Edit Details window can be accessed by scripts, it seems fairly simple. I've never had more than a handful of clips I've needed to arrange by timecode, but I always go into Edit Details and copy the contents of the time code box into the start time box.

Perhaps the script in this thread will do what you want:
http://www.sonycreativesoftware.com/Forums/ShowMessage.asp?Forum=4&MessageID=733675
videoITguy wrote on 3/23/2014, 5:22 PM
Ok, Bob, you have made it very clear what you expected and jetdv script should help you. I copy his comment here as you notice a proviso which is what I was originally concerned about bringing media out of the trimmer.

Subject: RE: Program or script for timecode layout?
Reply by: jetdv Date: 10/26/2010 6:22:57 AM

The script isn't specific for Vegas Pro 10 - it should work fine in 10 but will also work fine in earlier version.

What the script does is look at the actual timecode reported for that clip and move it to that timecode. So if you go back to the original media and look at the timecode reported for that clip, that should be where it ends up on the timeline. Two things it does not take into consideration:

1. The timecode cannot be read
2. the offset if you first trimmed the clip. #####


larry-peter wrote on 3/23/2014, 5:32 PM
Edit: I had to remove my confusing post. I had several scripts from various sources I was testing and got their authors confused. My apologies.

The above mentioned script did maintain the proper time relationship between some TOD coded clips I tested it with, but with an approx. 3 minute offset. Running the "add timecode to clips" script displayed the same timecode as shown in Edit Details, but that wasn't where the clips were placed on the timeline.
rmack350 wrote on 3/23/2014, 10:17 PM
You can copy from and then paste into the edit details window. I don't have media on hand to try this but if the media's timecode In and timecode Out show in edit details then you could copy the whole table, paste it into excel, and then copy those values to the Start and end fields, and then paste the whole thing back into Edit Details.

Rob

<edit>Missed a point there. First drag all of your media onto the timeline so that it's all listed in Edit Details. The you can do to copy/edit/paste thing.</edit>

Rob
Grazie wrote on 3/24/2014, 2:17 AM
What Bob, if I've got this correct, is asking for does Vegas has/have/had an ability to reveal and then USE the Shot Time/Day Timecode, as a way to then automatically "place" the Media along the Timeline. Neither Project Media nor Edit Details View reveal this.

Example:

1] Event1 Starts capture in camera at 11:30:21am and then Stopped at 11:45:00am

2] Event2 Starts capture in camera at 01:20:21pm and then Stopped at 02:05:00pm

Bob wants his Timeline to reflect those 2 Events. The first starting at 11:30:21 on the timeline and ending at 11:45:00. And then the second starting at 01:20:21 on the timeline and ending at 02:05:00.

So: Event1 >>>>GAP>>>>>Event 2

And to have this done automatically.

I recognize this being of use. However, all the suggestions thus far, although admirable, do not appreciate what Bob wants. And again, if I am correct, Vegas fundamentally does NOT have that ability to reveal said Time/Day T/C, in which I can't see a script have been forthcoming.

Rob, the In/Out T/C you refer to is not the Date/Time T/C. It is purely the Start and duration/End. Put that Media on the Timeline and you get a sequential-chain of Events. That's not what Bob is after.

Question: In the days of SD Tape Capture, did I get Date/Time T/C?

Grazie

farss wrote on 3/24/2014, 2:47 AM
Grazie said:

[I]" And again, if I am correct, Vegas fundamentally does NOT have that ability to reveal said Time/Day T/C, in which I can't see a script have been forthcoming."[/I]

Vegas reveals timecode just fine, that's not a problem at all.

I think where you're getting confused is over Record Start metadata which is the full date and time recorded by most cameras, that indeed is not revealed by Vegas and is not what I'm trying to use here.
The XDCAM cameras give three choices for timecode:

Record Run
Free Run
Clock.

The first two have been standard forever, the last is a new feature now appearing in many camera. The timecode the camera records is taken from the camera's real time clock and is a very useful feature.

I'll have a look at the script discussed above, I think I know why it doesn't work correctly. Vegas by default thinks timecode is NTSC. In a script you really need to tell it which variety of TC is to be used.

I'll also do a test of what Ppro is claimed to do, that's a pretty potent feature as Ppro can also render clips with TC preserved. This is probably vital to all their cloud / collaborative editing features.

Bob.

Bob.
Grazie wrote on 3/24/2014, 3:42 AM
Bob: I think where you're getting confused is over Record Start metadata which is the full date and time recorded by most cameras, that indeed is not revealed by Vegas and is not what I'm trying to use here.

Oh? I can only repeat that which I am seeing ( or rather NOT) in Vegas. However, and reading further, I believe the Penny has landed ...

Grazie
musicvid10 wrote on 3/24/2014, 9:42 AM
I didn't know about time-of-day option. Probably too new for Vegas to recognize natively.
paul_w wrote on 3/24/2014, 9:58 AM
Edit
Hm, i posted a script here to help out but i found a problem.. Will post back if i can fix it.

Paul.
altarvic wrote on 3/24/2014, 10:34 AM
> "Vegasaur has a feature that will use the timecode to position/place a number of events. By timecode is one of the options."

Yes. Other options are sync by recorded date/time, file created date and file modified date
paul_w wrote on 3/24/2014, 10:45 AM
Well, just when i was about to re-write my script, i find this:
http://www.sonycreativesoftware.com/Forums/ShowMessage.asp?Forum=4&MessageID=736238

Thanks to RoseBud, it seems this could be the answer.
Just testing the script now with footage from my FS100 using 'free run' and 'run record' modes and its placing the clips in perfect position on the timeline as per timecode.

Paul.
TeetimeNC wrote on 3/24/2014, 11:04 AM
Altarvic, is Vegasaur able to do this even if the timecode is missing in the first few frames? My HMC150 doesn't record timecode until something after the first frame.

/jerry
videoITguy wrote on 3/24/2014, 11:23 AM
So, we do see the importance of handling timecode! And if beta test of upcoming VegasPro2014 had shown this was a developing strategy we could all anticipate its release. alas,

Not only the use of timecode per se, but also the coverage for the many issues, ..selecting the type of TC, the variation of .mov and avchd, the different camera presets....etc.
paul_w wrote on 3/24/2014, 11:38 AM
Just a pity the "Lay Out Tracks Using Media Timecode" tool in vegas does not seem to work properly. If that was fixed to handle zero time start and also position with correct offset instead of starting from zero always, this would be the answer.
But for now, the .cs script above works perfectly here and its easy to use.

Paul.