Description
Drax is a MPEG-4 Meta Editor for Windows that can edit tags in M4V files. The tool focuses on the handling of chapter tracks. It is possible to add, edit or remove chapter markers, e.g. created by Handbrake. The utility uses the MP4v2 Library to manage the heavy lifting on the chapter writing. Drax is Donationware and supports English and German.
Download










Any idea why my iPad’s built-in Movies application doesn’t show the chapter titles I edited using Drax? iTunes on my PC shows the chapter titles correctly. The iPad just shows “Chapter 1″, “Chapter 2″, etc.
Hi Scott,
Hmm, sounds strange. Have you really re-synced your iPad after editing the movie? I will pursue that issue when my iPad has been delivered.
– Stephan
Ya, I resynced the content and added a new (chaptered) movie. Neither the resynced movie nor the new one show the chapter titles.
I am using Itunes to load my iPod Touch 64.
can you add “Itunes media type” to your drax program? I have updated the other fields using drax in CLI, and it works great.
Now if I can make the updated m4v files show up in tvshows and not movies that would be awesome
Awesome little utility
Glen
Yep, will come soon in the next release.
– Stephan
Absolutely outstanding tool. Have searched for something like this for I dont know how long and like many others, simply stumbled across it today.
So I am using the command line, and have created a chapter text file to insert a chapter every 30 seconds. One of the frustrating things about ipods/iphones is the difficulty in ‘dragging’ the bar to the part of the video you want. Its way to sensitve.
This way I can jump back and forth using chapters when needed. Ideal when skipping 30-90 seconds of credits when watching a tv show on the device.
The template chapter file I created is 90 mins long, every 30 seconds. And drax handles the excess chapters well (in that it truncates to only those needed. Something other tools dont, they just fail).
A minor enhanacement suggestion that would make the tool even better (if I may) would be to add a command line option to ignore the error that drax throws in this scenario (about the chapters exceeding the movie lenth). Being able to override this error would remove the last manual step.
Great work!
Hi Ken,
Many thanks! I’m currently working on a new version of Drax which separates the command line and the GUI features. In that case the error message you mentioned won’t appear anymore.
– Stephan
Fantastic – at last a way to add chapters to m4v or mp4 video files.
Are there any plans to incorporate more tags? for example ones specifically for video? (Kind of file, Copyright, Release date, Sorting, Rating, Episode ID, Season ID etc, etc)
Also any plans to get the chapters to include a frame image – similar to movies from iTunes.
Once again, superb job.
Thanks.
Hi Eon,
Thanks for the compliment! More tags (e.g. for videos) are planned for the next release. Concerning the frame image in chapters I’m not quite sure if it’s supported by mp4v2.
– Stephan
Hi Stephen,
Thanks for you fantastic program. I also would love the abiblity to have chapters include a frame image.
If it helps Suble (http://code.google.com/p/subler/) is an open source program that has this feature, it a Mac OS X only program.
Thanks again
Grant
Hi Grant,
Thanks for the link! I’ll check out how subler handles frame images.
– Stephan
Release Notes of Version 1.6: Now Drax includes the latest libmp4v2 (trunk-r355). Furthermore two command line parameters have been changed:
drax.exe /file:"C:\Temp\Movie.m4v" /composer:"My Composer" # former "writer" /encoding_tool:"My Encoding Tool" # former "tool"Is there a way to import chapters from the command line?
Thanks!
Yep! Here you go.
WOW. many thanks. this app saved me a whole heckuva lot of time. I totally screwed up the chapter names on import, and was up against a deadline. Thanks for taking the time to put this together for us windows users. Cheers.
I have spent hours upon hours looking for a windows-based cli chapter tool to compliment AtomicParsley in my tagging process. I had given up and stumbled on your page by accident while working on somthing else … I know it’s crazy, but it’s true
… thanks for this piece of gold! Will you offer a ‘bare’ download any time in the future?
Sean
Thank you, Sean!
Um, do you mean:
No. On the other hand, Drax is no mystery, ’cause it simply uses the functions of mp4v2.
Let’ see. The point is that the MSI package installs depending libraries needed by Drax.
– Stephan
Hi Stephan.
I’ve incorporated Drax into my normal routine and I noticed that whenever i use Drax on an iTunes file that uses the –rDNSatom tags (iTunEXTC and iTunMOVI) Drax is wiping the keys. The data is still there but the tags read as —- [] instead of —- [iTunMOVI], so the data doesn’t show up in iTunes or the AppleTV. Any ideas?
Thanks!
Sean
Hi Sean,
Thanks a lot for describing that issue! Maybe that’s because Drax uses a stable but slightly outdated version of the mp4v2 library. I’ll try to fix it within the next few days.
– Stephan
Awesome, thanks Stephan!
Hi,
Awesome tool here – It filled my need for the chapters.
You got any plans for future releases?
Possibly image previews of chapters and I am looking for a way to add extra audio options to a track, but don’t if you can help with that.
Cheers
Thank you, Jeffrey!
Actually, I’ve got many ideas to improve Drax: Platform Independence (Mac, Linux etc.), Video Previews, Audio Track Editing etc. Unfortunately I can’t promise a roadmap for future releases yet.
– Stephan
Just wanted to thank you for this program. Works exceptionally well with Ripbot.264 for adding in the chapters into mp4’s.
Hello,
I downloaded the latest version and even though the download size is 10mb, what get’s installed is just one file drax.exe ?
And if I try to open a m4v file, it’s says it cannot edit m4v files..am I missing something here ?
The exact error is “cannot read or modify m4v file”.
No, the MSI package installs the Drax executable AND all depending libraries (or rather the C++ Redistributable Package).
Um, where does the M4V file come from? Is it an output of Handbrake?
Btw: If the file is DRMed there’s is no way to open it with Drax.
I love the chapter import command line support. Can tags be added using command line too?
Now Drax provides advanced command line support:
Edit tags:
drax.exe /file:"C:\Temp\Movie.m4v" /album:"My Album" /album_artist:"My Album Artist" /artist:"My Artist" /comment:"My Comment" /compilation:1 # 1 = is compilation, 0 = no compilation /disk:1 # disk, e.g. 1 /total_disks:2 # total disks, e.g. 2 /genre:"My Genre" /grouping:"My Grouping" /name:"My Name" /part_of_gapless_album:1 # 1 = is gapless, 0 = not gapless /tempo:120 # tempo e.g. 120 /tool:"My Tool" /track:1 # track, e.g. 1 /total_tracks:2 # total tracks, e.g. 2 /writer:"My Writer"Hope this helps!
Thank you for the command line support!
Just a thought, would it be possible to add a bit of script to be looser with Vegas marker files? It would involve ignoring the top (title) line and replacing tab characters in the data with a space. Here’s an example of what Vegas exports: http://shell.dim.com/~musicvid/chapters.zip
Hi Mark,
I’ve got some good news for you: In version 1.5.1 I improved the import feature in the following way: If the 1st line in a chapter file contains “Position” and “Name” the entire line will be skipped. That means that Drax interprets the 2nd line as the 1st chapter, 3rd line = 2nd chapter etc. I think from now on it should be possible to import the Vegas export directly.
All the best!
Stephan
It works! Thanks so much, I have posted the news on the the Vegas forums.
http://www.sonycreativesoftware.com/forums/ShowMessage.asp?MessageID=655182&Replies=0
I’m sure there are some people who will be very pleased that there is now an easy way to convert Vegas markers to .m4v chapters!
I finally got around to posting directions for using Drax with .mp4/.m4v movies created in Vegas. Hope it helps someone else.
http://www.sonycreativesoftware.com/forums/ShowMessage.asp?ForumID=4&MessageID=654294
Hi again

Just updating my early comment; Fortunately Drax works perfect, and that issue I noticed before (chapters in the wrong spot), wasn’t from Drax; The problem is in the iPod Touch itself, because if I click to forward from one chapter to another using my ipod, there is a little delay that makes the chapter begins before the chapter-mark I put using Drax. I figured out that the delay comes from the need for the ipod to find that spot quickly while playing the movie, because sometimes it begins well and sometimes it doesn’t.
Thanks a lot for making things easy for all of us
Have a nice day
Hi Herbey,
Thank you for your remarks! I’m really happy that you like Drax.
All the best!
Stephan
Hi there.
I tried Drax to add chapters to an mp4 file and I’m really impressed how simple it is, but I don’t know why I’m getting some (not all) chapters in the wrong spots. I optimized the file to m4v, synced with my ipod touch, and the chapters are there, but as I said before, some of them are in the wrong spots. Am I doing something wrong?
Thanks a lot
Now Drax supports a new import/export format (Thanks to Enoch):
CHAPTERxx=h:m:s.ms
CHAPTERxxNAME=name
e.g.
CHAPTER01=00:00:00.000
CHAPTER01NAME=Chapter 1
Any hope for command line/batch mode support?
Now Drax provides basic command line support:
Import Chapters:
drax.exe /import:"C:\Temp\Chapters.txt" /file:"C:\Temp\Movie.m4v"Export Chapters:
drax.exe /export:"C:\Temp\Chapters.txt" /file:"C:\Temp\Movie.m4v"The tool uses the GPAC MP4BOX Time Code Format (one chapter per line): h:m:s.ms name e.g. 01:30:15.123 My Chapter
Hope this helps!
Just have tried to use the tool. Uploaded a simple .mp4 video and tried to add video chapters (Chapters tab). Then saved the video, but can’t find chapters in the output file. Have verified in Handbrake – no chapters. Could you please clarify it for me?
Thanks in advance!
Please rename your file from .mp4 to .m4v and check it using VLC or QuickTime. Hope this helps!
– Stephan
Stephan, you are my hero! I’ve been trying to add chapters to video for about 3 days already. Thanks!!!
Maksim.
You’re welcome!
Hi, any way to get this to work on adding chapter marks on audio only files (m4a)?
Yes! The latest release of Drax (Version 1.3) can handle it.
And pictures
Yeah! Chapter markers for pictures are scheduled for the upcoming release.
I was looking for a way to add titled chapter points to AVC files created in Vegas, and you provided the perfect solution! (I tried MetaX for Windows, but it put all the chapters in the wrong spots.)
One little request, with all respect for your efforts, how difficult would it be to recognize markers already in a rendered .mp4 and write them out as chapters with your utility? I could send you a sample clip with markers if you have a chance to look at it at some point.
Again, thanks for a simple, nice working utility!
Thank you! I’m really happy that you like Drax.
What do you mean with “to recognize markers already in a rendered .mp4″? I suppose that, if you just rename the file from .mp4 to .m4v, Drax will detect the existing chapter markers. But I’m not absolutely sure about that. And yes, of course, you can send me a sample clip. I’ll go over that issue soon!
Yes, the markers are in the rendered file metadata, but they must be slightly different because when I rename the file to .m4v, they don’t show up as chapters in Drax, or in Quicktime or VLC players.
I was able to export the markers, alter slightly, and reimport as a text file in Drax which works. Thanks for that Feature!
I will send you a short clip with some markers rendered in Vegas as .mp4, maybe you can determine what is different about them. I’m not a metadata expert, but I sure like the versatility of your program.
Thank you for your donation!!
Vegas stores chapter markers not in the usual way: Typically chapter markers are mapped in a seperate text track beside the video and the audio track(s). So VLC and Quicktime (and iTunes, iPod, etc.) can detect and display these markers.
Chapter Markers that have been set by Vegas are mapped in a so-called “custom uuid atom” within a .mp4 file. This “atom” allows user-defined extensions or, in other words, user-defined meta tags, most likely to hide DRM information or any other en-/decryption stuff.
On the one hand it’s possible to read out the atom. On the other hand it seems that there’s no direct way to interpret the extracted user-defined atom, because it’s only known by the author. The problem is that it’s really hard to find a generic approach / an algorithm that can reliably read out the chapters even if the file size, chapter count and so on has been changed. There are so many “unknown bytes” within the entire atom that have to be reverse engineered. I know it sounds pretty technical. I hope you can see that I can’t deliver these modifications to Drax – so far.
That’s OK and it makes sense, knowing Sony’s approach over the years.
What I can do is export the markers in Vegas, alter them a bit, and save as a .txt file that Drax will read in as chapters. Not a lot of extra work, really.
Thanks again, I will look forward to future releases. It does just what I need now (yes, images would be cool) ;?)
Great Tool!! Thanks!
When I use this to add chapter names, I can see the names in both QuickTime and iTunes, but on my iPod is still says “Chapter 1″, “Chapter 2″, etc.. Any thoughts? Also, are you planning on making the source available?
Thank You!
You can see the chapter names both in QuickTime and iTunes because iTunes uses QuickTime for all playback purposes. However, I’m really wondering why your iPod displays “Chapter 1″ etc.!? In fact, Drax completely replaces the initial (and probably Handbrake-created) chapter names by your own chapter names. So, have you really synchronized the entire movie? Well, a stupid question
. And does your iPod have chapter support? What’s your iPod model?
I have the 160GB iPod Classic, so yes it supports chapter names. So I deleted the movie from iTunes and did a sync. I then added it back to iTunes and did a sync. Same problem… I then enabled disk mode and searched for the movie on my iPod (found it by size). I opened the file directly off of the iPod in QuickTime and sure enough the chapter names were there… So then I re-formated my iPod (did a restore). Now the chapter names are there. Strange…
First of all, thank you for your donation!!
Actually it’s a bit strange: If I modify the chapter names in a movie that is already managed by iTunes, the movie will be detected as “changed” and automatically “re-synchronized” with my iPhone. Then, the new chapter names are immediately available. Maybe there are probably some differences in how movies are internally handled on a iPod classic and on the iPhone…!?
I had ripped a few DVDs using handbrake (lots of overnight runs) not realising that my ipod touch was able to use chapters. I Searched everywhere for a tool to rename the default “Chapter 1″ etc and was so happy when I hit upon this nice little tool. Thank you
p.s. What does File Optimization do?
Thank you! I was also looking for a tool, but I haven’t found any. That’s why I decided to develop Drax.
Btw. File Optimization means an improvement of the file’s layout. In other words, the entire file content is written to a brand-new file: http://linux.die.net/man/3/mp4optimize
I was wondering if it would be possible to add an import and export function for chapter markers? This way chapters markers could be placed inside a text file and then imported insteda of entering each one manually.
Thanks
Moe
Sounds like a good idea! Version 1.2 now has an import and export function (see file menu). It uses the GPAC MP4BOX Time Code Format: h:m:s.ms name e.g. 01:30:15.123 My Chapter
Hey mate!
Thanks for this great tool. The possibility to have multiple audio and (selectable) subtitle streams with chapter working on the iPhone is great, but right now I go through hell to make it happen. This is what I do:
- encode movie and audio to a video.h264 and audio.aac file
- use mp4box to add subs (srt) to a subs.m4v file
- edit the subs.m4v file in Ultra-Edit and change the text atom to ’sbtl’
- open Quicktime and import video.h264, audio.aac, chapters.ttxt, subs.m4v
- set movie properties (languages, alternate streams, chapters) for the streams
- save the file to movie.mov
This works and plays fine on my iPhone (selectable audio and subs, incl working chapters)
Would it be possible to enable Drax to:
- change stream info (language) so the iPhone recognizes it correctly
- change atom type (from text to sbtl for example)
- add multiple audio and subtitle streams (srt) that are selectable
Please contact me if you need more info.
Regards,
Thomas.
Wow, that reads really well! I absolutely agree with you to have multiple audio and subtitles streams working on the iPhone. Maybe it works even on Apple TV, too!?
I will try to figure out whether libmp4v2 can modify stream info and/or atom types. So please stay tuned!
I ran this program on my Mac under Parallels 4. It’s great!
Any chance of compiling an installer to run natively on the Mac?
Thanks
That’s really difficult, because it’s a pure Windows program based on the Microsoft Foundation Classes (MFC). Do you know MetaX? It runs natively on Mac and supports chapter handling as well!
i open it and it says “the application failed to start because its side-by-side configuration is incorrect. please see the application event log for more detail.
Just download and install the prerequisites above and it should work. An installer is coming soon.
Would be VERY nice if it can add chapter markers to large m4v files to accommodate High Def movies. Perhaps a bigger buffer? Typical HD movies range from 3 to 8 Gb depending on movie length & bitrates.
Great work here!
Useful tool for adding & naming the chapters.
Large File Support, File Optimization and an Installer is coming soon.
Update: These features are now available (see version 1.1).
What version of mp4v2?
The latest version used in the Handbrake project (including all patches).