Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
5th April 2005, 09:28 | #1 | Link |
Registered User
Join Date: Dec 2004
Location: Seattle
Posts: 60
|
Import chapters into mp4
Does anyone know of a *standalone* tool that can mux a chapter info file (exported from an IFO file for instance) into a mp4 container? I know Nero Mp4 muxer can do that but it's not command line and one has to manually type in the chapter stops.
Thanks a bunch --h |
5th April 2005, 18:15 | #2 | Link |
Registered User
Join Date: Nov 2001
Posts: 9,770
|
nope it hasnt been reverse engineered till now
but it would be great if someone could do this the nero chapters are placed in the udta atom (user data), which can be used for placing private data in the .mp4
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau) I know, that I know nothing (Socrates) MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide) Ogg Theora | Ogg Vorbis use WM9 today and get Micro$oft controlling the A/V market tomorrow for free |
5th April 2005, 21:18 | #3 | Link |
Registered User
Join Date: Dec 2004
Location: Seattle
Posts: 60
|
Strange ... MPC understands nero chapter stops so I figured it knew how to parse it. Maybe it's metadata returned by the mp4 splitter? The format of the atom looks rather simple though. I wonder why they have timestamps in 1/10 000 000 of a sec...
Thanks, --h |
5th April 2005, 21:22 | #4 | Link | |||
Registered User
Join Date: Nov 2001
Posts: 9,770
|
Quote:
Quote:
Quote:
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau) I know, that I know nothing (Socrates) MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide) Ogg Theora | Ogg Vorbis use WM9 today and get Micro$oft controlling the A/V market tomorrow for free |
|||
6th April 2005, 05:47 | #6 | Link | |
stupid
Join Date: Sep 2004
Location: Cologne
Posts: 638
|
Quote:
__________________
cu Joe ------------------------ freedom is just another word for nothing left to loose |
|
6th April 2005, 17:18 | #9 | Link |
Registered User
Join Date: Nov 2001
Posts: 9,770
|
hhanh00, wow you are quick!
cant wait to test it btw would it be possible for you to also post the sources (and eg release it under gnu public license), so other mp4 tool devs can incorportate this into their tools too?
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau) I know, that I know nothing (Socrates) MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide) Ogg Theora | Ogg Vorbis use WM9 today and get Micro$oft controlling the A/V market tomorrow for free |
6th April 2005, 17:50 | #10 | Link |
stupid
Join Date: Sep 2004
Location: Cologne
Posts: 638
|
Which tools creates the needed Chapter file for your tool? It seems to be really great. Makes things much more easy. Can I create it with Chapter Extraktor?
__________________
cu Joe ------------------------ freedom is just another word for nothing left to loose |
6th April 2005, 18:03 | #11 | Link |
Life's clearer in 4K UHD
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,219
|
Somebody make a GUI please?
Cheers
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
|
6th April 2005, 18:27 | #12 | Link |
Registered User
Join Date: Dec 2004
Location: Seattle
Posts: 60
|
I have attached the source code. There is a big caveat with this tool: the moov atom has to be the last one in the mp4 file. It's quite difficult to make it work with any file because the chapter information goes into the moov atom. By inserting anything in it, you change the offsets of the data that follows it. Unless, you also update a lot of other entries (sample offsets and such), you end up with a corrupted file.
Changing a gpac or mpeg4ip is a more reasonable choice. It has all the infrastructure to deal with mpeg4 atoms. I wonder how they are confortable with modifications to their code though. --h |
6th April 2005, 18:33 | #13 | Link | |
stupid
Join Date: Sep 2004
Location: Cologne
Posts: 638
|
Quote:
__________________
cu Joe ------------------------ freedom is just another word for nothing left to loose |
|
6th April 2005, 18:51 | #15 | Link | ||
Registered User
Join Date: Nov 2001
Posts: 9,770
|
Quote:
still its good to have a first step of reverseengineering this Quote:
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau) I know, that I know nothing (Socrates) MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide) Ogg Theora | Ogg Vorbis use WM9 today and get Micro$oft controlling the A/V market tomorrow for free |
||
6th April 2005, 23:33 | #16 | Link |
Registered User
Join Date: Dec 2004
Location: Seattle
Posts: 60
|
I've made a patch to mp4box (gpac-0.2.4rc4) to support adding chapters.
For instance, if you want to mux a video file (video.avi) and a mp4 file audio file (audio.mp4) with chapter points coming from (movie.chp) into a final movie.mp4 file, run $ mp4box -add audio.mp4 -add video.avi -chpl movie.chp movie.mp4 The zip file contains a release executable compiled with MSVC and the diff file of the changes. The chapter stops are compensated for the drop frame, i.e. they appear 0.1% later than what's indicated in the chp file. It's too big to upload here (~0.5 MB), where can I put it? Thanks, --h |
6th April 2005, 23:38 | #17 | Link |
Registered User
Join Date: Nov 2001
Posts: 9,770
|
wow great stuff
you might want to submit your code to the gpac project so that jeanlf can add it to the official mp4box cvs and therefore all compiles will offer that functionality too you can for example submit patches to the gpac project via the sourceforge interface here or contact jeanlf directly i am sure he would be happy about it
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau) I know, that I know nothing (Socrates) MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide) Ogg Theora | Ogg Vorbis use WM9 today and get Micro$oft controlling the A/V market tomorrow for free |
7th April 2005, 17:25 | #19 | Link |
Registered User
Join Date: Nov 2001
Posts: 9,770
|
great!
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau) I know, that I know nothing (Socrates) MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide) Ogg Theora | Ogg Vorbis use WM9 today and get Micro$oft controlling the A/V market tomorrow for free |
7th April 2005, 20:00 | #20 | Link | |
stupid
Join Date: Sep 2004
Location: Cologne
Posts: 638
|
Quote:
It would be a progress if itīs possible to import chapterfiles from more comfortable tools like Chapter Extractor (Maestro and many other chapterfile formats) or directly the chapterfile from Decrypter (OGG chapterfile). @ bond Itīs really great, but not with scenechap
__________________
cu Joe ------------------------ freedom is just another word for nothing left to loose |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|