-
script to add image files in media bin to a track
Posted by Apostleofzion on July 19, 2007 at 12:44 pmhi ,
How to go about adding a image file from the mediabin or media pool to a video track using scripting ?I would like to add set of image files to the Track .I was able to add a mediabin. How should add a list of files from a folder to that bin ?
Thanks
John Frey replied 18 years, 10 months ago 5 Members · 8 Replies -
8 Replies
-
Edward Troxel
July 19, 2007 at 1:15 pm -
Apostleofzion
July 20, 2007 at 5:21 amhi edward ,
i actually need a script to show folder dialog box and when a user chooses one folder should import the files into newly created mediabin .
and from the media bin should place the files to a track in correct numbering.regarding numbering in vegas media tab. i have a numbered sequence of 50 pngs named img1.png to img50.png. but in the media tab after the img1.png i have img10.png instead of img2.png. can we arrange the media files by name or size etc .
-
Gary Kleiner
July 20, 2007 at 6:03 am[apostleofzion] “can we arrange the media files by name or size etc .”
Sure, just change the Project Media view to Detailed, then click on the column headers to sort.
Gary Kleiner
Learn Vegas and DVD Architect
http://www.VegasTrainingAndTools.com
-
Mike Kujbida
July 20, 2007 at 10:27 ami have a numbered sequence of 50 pngs named img1.png to img50.png….
Get into the habit of using as many trailing digits as you have images.
In this case, name your images img01.png, img02.png, etc. and you won’t have any issues.
With animation sequences of 1,000 images or more, it’s imperative that this be done. -
Edward Troxel
July 20, 2007 at 1:50 pmI agree with Mike. Sounds like you’re misnumbering your images. You definitely need the leading zeros. img001, img002, img003
Otherwise, Img10 DOES follow Img1.
Are these an image sequence? If yes, load them as an image sequence and you’ll only have a single entry in the media pool. If these are a bunch of individual pictures, that’s a different story.
-
Apostleofzion
July 21, 2007 at 5:41 amthanks for the info .
so the leading zeroes shld be added. OK after adding the leading zeroes it becomes a numbered seqeunce of images ? i’m just creating a image for each text line in Textfile. so on average i will have 60 imgs. so is this a image sequence ?
If the above is not image seqeuence , what should be the code to add 100 different images to a specifed track using script?
-
Edward Troxel
July 21, 2007 at 3:06 pm -
John Frey
July 23, 2007 at 6:50 pmACDSee is a great viewing/sorting/organizing/image-editing program offering a quick way to rename/renumber images. Our studios work with very large numbers of still images, often from client files that have meaningless order designations. Check it out.
John D. Frey
25 Year owner/operator of two California-based production studios.Digital West Video Productions of San Luis Obispo and Inland Images of Lake Elsinore
Reply to this Discussion! Login or Sign Up

