Vegas markers to mkv chapters? at DVinfo.net

Go Back   DV Info Net > Windows / PC Post Production Solutions > What Happens in Vegas...

What Happens in Vegas...
...stays in Vegas! This PC-based editing app is a safe bet with these tips.


Reply
 
Thread Tools Search this Thread
Old January 4th, 2012, 11:09 PM   #1
New Boot
 
Join Date: Dec 2011
Location: North Salt Lake, Utah
Posts: 5
Vegas markers to mkv chapters?

I have decided to to encode my home videos to avc and mux them into mkv files to play on our pc's instead of making DVD's and Blu rays. I have had great results with the Sony AVC renderer. I would like to include chapters for easy scene finding, is the any way to convert the markers to a mkv xml chapter file?
Mark Kossin is offline   Reply With Quote
Old January 5th, 2012, 07:33 AM   #2
Sponsor: JET DV
 
Join Date: Dec 2001
Location: Southern Illinois
Posts: 7,873
Re: Vegas markers to mkv chapters?

Depends on what the MKV XML file looks like. You might be able to write a script that would export the markers to the XML file.
__________________
Edward Troxel [SCVU]
JETDV Scripts/Excalibur/Newsletters
Edward Troxel is offline   Reply With Quote
Old January 5th, 2012, 04:48 PM   #3
New Boot
 
Join Date: Dec 2011
Location: North Salt Lake, Utah
Posts: 5
Re: Vegas markers to mkv chapters?

The format is very simple it can be a simple txt as follows.

CHAPTER01=00:00:00.000
CHAPTER01NAME=Chapter 01
CHAPTER02=00:05:00.000
CHAPTER02NAME=Chapter 02
CHAPTER03=00:10:00.000
CHAPTER03NAME=Chapter 03
CHAPTER04=00:15:00.000
CHAPTER04NAME=Chapter 04
CHAPTER05=00:20:00.000
CHAPTER05NAME=Chapter 05

Where can I learn about vegas scripts?
Mark Kossin is offline   Reply With Quote
Old January 6th, 2012, 10:09 AM   #4
Sponsor: JET DV
 
Join Date: Dec 2001
Location: Southern Illinois
Posts: 7,873
Re: Vegas markers to mkv chapters?

Here's the basics for doing this (this is from a .js script - slight changes are necessary for a .cs script):

Code:
import System;
import System.IO;
import System.Windows.Forms;
import Sony.Vegas;


try {
  var markers = Vegas.Project.Markers;
  for (var i=0; i < Vegas.Project.Markers.Count; i++) 
  {


   //Open the output file here and then output the necessary info
   //Output info for markers[i]
   //Position timecode would be: markers[i].Position
   //If you want to use the label as the chapter name, it is: markers[i].Label





  }

} catch (e) {
    MessageBox.Show(e);
}
__________________
Edward Troxel [SCVU]
JETDV Scripts/Excalibur/Newsletters
Edward Troxel is offline   Reply With Quote
Old January 6th, 2012, 12:41 PM   #5
Inner Circle
 
Join Date: Sep 2003
Location: Portland, Oregon
Posts: 3,259
Re: Vegas markers to mkv chapters?

Quote:
Originally Posted by Mark Kossin View Post
...Where can I learn about vegas scripts?
Sony Creative Software - Vegas video - ACID & Sound Forge audio editing - it has an sdk for scripting

Also, a forum devoted to scripting.

Edward Troxel is rather accomplished with scripting, there's a forum at his site, link in his signature above.

Open up your favorite scripts in a text editor...
__________________
30 years of pro media production. Vegas user since 1.0. Webcaster since 1997. Freelancer since 2000. College instructor since 2001.
Seth Bloombaum is offline   Reply
Reply

DV Info Net refers all where-to-buy and where-to-rent questions exclusively to these trusted full line dealers and rental houses...

Professional Video
(800) 833-4801
Portland, OR

B&H Photo Video
(866) 521-7381
New York, NY

Z.G.C.
(973) 335-4460
Mountain Lakes, NJ

Abel Cine Tech
(888) 700-4416
N.Y. NY & L.A. CA

Precision Camera
(800) 677-1023
Austin, TX

DV Info Net also encourages you to support local businesses and buy from an authorized dealer in your neighborhood.
  You are here: DV Info Net > Windows / PC Post Production Solutions > What Happens in Vegas...

Thread Tools Search this Thread
Search this Thread:

Advanced Search

 



Google
 

All times are GMT -6. The time now is 03:01 AM.


DV Info Net -- Real Names, Real People, Real Info!
1998-2017 The Digital Video Information Network