Comments

musicvid10 wrote on 5/16/2009, 11:44 AM
Yes you can! Been down this road recently.
Give me until tomorrow to dig out my workflow and write some instructions for you.
steve4president wrote on 5/16/2009, 12:03 PM
that would be awesome! and much appreciated!!!! thank you!~
musicvid10 wrote on 5/16/2009, 5:53 PM
OK, Here's how it works. I had to go back and actually add chapters to an .mp4 so I could remember exactly how to do it. It's really not as time-consuming as it looks once you've done a couple.

-- Download Drax from http://www.arlt.eu/blog/projects/drax/. If you love it, throw the guy a 10 EU donation. He's a student.

IN VEGAS:
1) Render an .mp4 using an AVC codec that will play on your iPod (I assume you've already done this). Rename your .mp4 extension to .m4v (important).
2) Open the Vegas project you used, name your markers the way you want them, and check View->Show Edit Details. Make sure to set your Time Format to "Time" (right-click on the clock).
3) Choose Markers / All Fields.
4) Click the upper left box to select the whole table. Ctrl->C to copy the marker data.
5) Open a new Text file on your desktop. Paste the marker data into the file.
6) Now you need to do a little editing. Remove the top line completely (says Postion <tab> Name) and move the first data line up to the top (delete the line break). Now, for each entry, there is a <tab> between the time and the name. Delete it and replace with a space. The lines will look something like this:
00:00:00.000 Ben

Note: If you have a ton of chapters, you may want to do that last step as a Search / Replace in a text editor like Word.
EDIT: See two posts down for a Word Macro that does this automatically, with thanks to johnmeyer for the idea!

IN DRAX:
1) Open your newly-named .m4v file.
2) Click on the "Chapters" tab at the bottom of the window.
3) Go to File->Import Chapters
4) Click on your newly-created chapters.txt file (you can also edit or add chapters manually if wanted).
5) When the new chapters have imported successfully, click File->Save.


That's it! You'll have to let me know if there are any differences with the newest version of Drax. I'm on 1.3. Also, if you are using Vegas 9 let us know if there is any change in exporting the chapter list. Good luck!

BTW, I made a feature request to do this in Vegas a while back, but never heard a response.
johnmeyer wrote on 5/16/2009, 7:26 PM
Here's another alternative, doing basically the same thing.

After creating the markers in Vegas, copy them to Microsoft Word.

Then, follow the instructions at this site:

HOWTO: Add Chapters to MP4 files

To save yourself the considerable time of editing all the timecodes to get them into the format required by the mp4muxe.exe utility used in this approach, use this Word macro. With one push of the button, it takes the Vegas marker info and turns it into exactly what the utility wants:

Sub MP4_Chapter()
'
' MP4_Chapter Macro
' Macro recorded 4/17/2009 by John H. Meyer
'
Dim iChapterNum As Integer
iChapterNum = 1
Selection.HomeKey Unit:=wdStory
Selection.EndKey Unit:=wdLine, Extend:=wdExtend
Selection.Delete Unit:=wdCharacter, Count:=1
Selection.HomeKey Unit:=wdLine
Selection.TypeText Text:="CHAPTER" & Format(iChapterNum, "00") & "="
Selection.EndKey Unit:=wdLine
Selection.TypeParagraph
Selection.TypeText Text:="CHAPTER" & Format(iChapterNum, "00") & "NAME=Track" & Format(iChapterNum, "00")
iChapterNum = iChapterNum + 1

With Selection.Find
.Text = "^p^#"
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
IsFound = Selection.Find.Execute

While IsFound
Selection.MoveRight Unit:=wdCharacter, Count:=1
Selection.MoveLeft Unit:=wdCharacter, Count:=1
Selection.TypeText Text:="CHAPTER" & Format(iChapterNum, "00") & "="
Selection.EndKey Unit:=wdLine
Selection.TypeParagraph
Selection.TypeText Text:="CHAPTER" & Format(iChapterNum, "00") & "NAME=Track" & Format(iChapterNum, "00")
' Selection.MoveRight Unit:=wdCharacter, Count:=1
ActiveWindow.ActivePane.VerticalPercentScrolled = 0
iChapterNum = iChapterNum + 1
IsFound = Selection.Find.Execute
Wend

End Sub



[edit]

Almost forgot: make sure to right-click on the Vegas timeline and change the time settings to match the "hh:mm:ss.ms" format needed by MP4 muxer. In Vegas, this is the "Time" format, rather than SMPTE or one of the others.

Do this before you copy/paste from the Edit Details -> Marker area.
musicvid10 wrote on 5/16/2009, 7:37 PM
Yes John,
Thank you for the macro.
Drax also accepts chapter import / export in this format.
However, using the macro with Drax, the chapter names are not preserved, but show up as Track01, Track02, etc.

EDIT:
Following your lead,
I figured out how to record a Word macro for MP4BOX, a much simpler format compatible with Drax:
Sub MP4BOX()
'
' MP4BOX Macro
' Macro recorded 5/16/2009 by Mark
'
Selection.HomeKey Unit:=wdStory
Selection.EndKey Unit:=wdLine, Extend:=wdExtend
Selection.Delete Unit:=wdCharacter, Count:=1
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
.Text = "^t"
.Replacement.Text = "^s"
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
End Sub

NOTE: While the utility John uses is an .mp4 muxer / demuxer with chapter editing capabilities, Drax is a very straightforward and intuitive chapter / metadata editor.

Glad to see you back in the loop!
musicvid10 wrote on 5/20/2009, 8:39 AM
Now there is an easier way to do this. The author of Drax has updated his program to work directly with Vegas marker exports, no macros or editing needed. See
http://www.sonycreativesoftware.com/forums/ShowMessage.asp?ForumID=4&MessageID=655182
ringsgeek wrote on 3/13/2018, 9:01 AM

Your link is no longer valid musicvid10, are you able to post it here?

Musicvid wrote on 3/13/2018, 10:38 AM

You can still find Drax here.

https://www.videohelp.com/software/Drax

The "updated" instructions for Vegas are here. Worked in 8.

https://www.vegascreativesoftware.info/us/forum/export-ipod-chapters-from-vegas-mp4-markers--71869/

ringsgeek wrote on 3/13/2018, 12:58 PM

Musicvid: Seems so complicated for something that should be a simple export. Doesn't anyone have a simple script that will just write these suckers into the .sfl file and have DVDA recognize it?

Musicvid wrote on 3/13/2018, 1:09 PM

Wait. You want Vegas markers to Import for DVDA?

Wrong thread entirely. This thread is about exporting Apple chapter markers for mp4 / m4v / mkv, which has zero relevance for your need.

Pointing up once again the advantage in starting your own thread for your own topic. Please do so, and best of luck!

Carlos Werner wrote on 3/15/2018, 9:32 AM
Now there is an easier way to do this. The author of Drax has updated his program to work directly with Vegas marker exports, no macros or editing needed. See
http://www.sonycreativesoftware.com/forums/ShowMessage.asp?ForumID=4&MessageID=655182


musicvid10, can you please check what version number of Drax is this?

Marco. wrote on 3/15/2018, 10:15 AM

Adding chapter markers to MP4 (not for use in DVD-A) also can be done inside of Vegas Pro using Vegasaur.

You can either select a MP4 file from a Windows folder or simply let them attach to the clips according to the Video Events selected in the Vegas timeline.

Musicvid wrote on 3/15/2018, 11:36 AM

Carlos, the latest version I found is in the Videohelp link I gave above.

https://www.videohelp.com/software/Drax

Carlos Werner wrote on 3/15/2018, 12:41 PM

Carlos, the latest version I found is in the Videohelp link I gave above.

https://www.videohelp.com/software/Drax


Ah, ok, just to make sure I have the (supposedly) last one!
Thanks!

Musicvid wrote on 3/15/2018, 1:01 PM

Yes, this is a nine y/o thread....

Peter_P wrote on 3/16/2018, 12:05 PM

Adding chapter markers to MP4 (not for use in DVD-A) also can be done inside of Vegas Pro using Vegasaur.

Hi Marco,

does this include the chapter positions and names ?

Marco. wrote on 3/16/2018, 12:45 PM

Yes.

Peter_P wrote on 3/16/2018, 12:48 PM

Thanks, I'll give it a try. Currenly I'm using drax with my ExportMarkerSFL.

Musicvid wrote on 3/16/2018, 1:02 PM

Marco, are these Apple m4v-style markers that play inside vlc, etc.?

Marco. wrote on 3/16/2018, 1:11 PM

I tested with VLC player and MPC. There the markers worked (including the names of the Vegas timeline markers).

Marco. wrote on 3/17/2018, 5:22 AM

Here is a sample MP4 file, chapter marker added via Vegasaur.

Peter_P wrote on 3/17/2018, 6:15 AM

I think, I'll stay with drax. It allows me to add additional information into the MP4 file, together with the named chapters

Former user wrote on 4/25/2018, 4:05 AM

Adding chapter markers to MP4 (not for use in DVD-A) also can be done inside of Vegas Pro using Vegasaur.

You can either select a MP4 file from a Windows folder or simply let them attach to the clips according to the Video Events selected in the Vegas timeline.

Hey Marco,

I have Vegas Pro 14 and the latest Version of Vegasaur (the trial).

i'm doing something wrong - my exports do not contain Chapters..

This ist what i am doing:

  1. Load an existing mp4 File in Vegas to the timeline
  2. set some markers (hotkey "m", and renaming them)
  3. Starting Vegasaur->Timeline->Markers
    1. Tab "Export/Import" as seen in your screenshot
    2. export Mp4 Chapters
    3. checkbox active "Export to selected media files"
    4. select the mp4 file in the timeline
    5. push "Apply" in Vegasaur -> Messagebox "Done"
  4. Export the new File
    1. File -> Render As -> "MainConcept AVC/AAC" - Internet HD 720p
    2. below activate the checkbox for saving the markers in the new file - I don't know the english text since i'm using the german version. :-)

After the export i have an extreme big file (~600mb for 3 Minutes), but no chapters if i try to play it with VLC-Player.

Marco. wrote on 4/25/2018, 5:30 AM

I think the fault is to render to a new file in the end. Vegasaur makes the chapter marker for the file you had in the timeline, not for the rendered file.