Can you add chapter markers using vegas to mp4 files? Not to burn as a dvd, but so that when you put the mp4 onto your video ipod, you can skip around. IF you can, how do you do it?
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.
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.
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
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.
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.
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?
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.
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:
Load an existing mp4 File in Vegas to the timeline
set some markers (hotkey "m", and renaming them)
Starting Vegasaur->Timeline->Markers
Tab "Export/Import" as seen in your screenshot
export Mp4 Chapters
checkbox active "Export to selected media files"
select the mp4 file in the timeline
push "Apply" in Vegasaur -> Messagebox "Done"
Export the new File
File -> Render As -> "MainConcept AVC/AAC" - Internet HD 720p
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.
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.