View Full Version : horray! chapters possible in mp4!!! but how to??


Phobos
28th January 2004, 04:11
i was reading the 3ivX 2.5.1 changelog (http://www.3ivx.com/support/tbd_451.html) when i found something which made me jump like a joyful kid ;) :

3ivx DirectShow Media Splitter
* IChapterInfo support allows MP4 chapter lists to be used with many popular players.
* ChapterMarker support allows MP4 chapter lists to be used with other popular players.


omg, i almost crapped my pants!!! now does anybody know how to put chapters in an mp4 file??? i already have some mp4 files and a txt made by chapter extractor, id love to try this ASAP :D

bond
28th January 2004, 12:03
if i saw it right 3ivx currently only supports reading out the chapter info which is written by nero recode2

so to enjoy chapters this way you will have to use the recode2 tool (with the nero digital a/v codecs)

i hope 3ivx also plans to add writing chapterinfo this way!
edit: yes they do :D

Phobos
28th January 2004, 21:14
Originally posted by bond
i hope 3ivx also plans to add writing chapterinfo this way!
edit: yes they do :D

what do you mean?? to set chapters muxing with 3ivX filters in a newer release? or use any other kind of program to set the chapters and 3ivX will just mux them??? all this in mp4 container right?? id like to believe thats not too far from now... right?

bond
28th January 2004, 22:31
check stux' answer here: http://forum.doom9.org/showthread.php?s=&threadid=69683

robUx4
29th January 2004, 10:45
I'm glad a company decides to use a DShow interface that was designed by the Open Source community, and in particular the Matroska devs (Toff, Gabest and myself). After all all our efforts to have some player support the Matroska chapters are worth something :)

shitowax
29th January 2004, 11:25
Yeah well... To be honest, I didn't really understand why you guys decided to reinvent the wheel and not use the M$ interface to get chapters from windows media. Anyway, the 3ivx splitter supports both, that way, mp4 chapters work in ALL players even wmp64.

Phobos
30th January 2004, 20:59
Originally posted by bond
check stux' answer here: http://forum.doom9.org/showthread.php?s=&threadid=69683

thnx a lot, right now chapters in mp4 are nerodigital exclusivity ... ill wait for a muxer revamp

robUx4
30th January 2004, 21:12
Originally posted by shitowax
Yeah well... To be honest, I didn't really understand why you guys decided to reinvent the wheel and not use the M$ interface to get chapters from windows media. Anyway, the 3ivx splitter supports both, that way, mp4 chapters work in ALL players even wmp64.

Mmm, I just don't know the MS interface. And apparently I was told it was not good enough :) BTW we are going to support chapter editions soon. And I hope you saw that we added a new "disabled" flag in the interface too (content that will not be render if you are in between the start and end timecodes).

shitowax
3rd February 2004, 10:04
Actually, I prefer the M$ one. It's fairly interresting and gives a bit more than chapters and it's supported by wmp64 ;).
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/htm/imediaseekinginterface.asp

You want to support chapter edition in your splitter ?!?

Originally posted by robUx4
Mmm, I just don't know the MS interface. And apparently I was told it was not good enough :) BTW we are going to support chapter editions soon. And I hope you saw that we added a new "disabled" flag in the interface too (content that will not be render if you are in between the start and end timecodes).

robUx4
3rd February 2004, 14:02
OK, I'll investigate the MS side.
Yes the editions are in the splitter, as everything that comes from Matroska (except the data for the codec).

[Toff]
4th February 2004, 15:22
Originally posted by shitowax
Actually, I prefer the M$ one. It's fairly interresting and gives a bit more than chapters and it's supported by wmp64 ;).
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/htm/imediaseekinginterface.asp
You want to support chapter edition in your splitter ?!?
You probably mean the IAMExtendedSeeking (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directX/htm/iamextendedseekinginterface.asp) interface.
It's already supported since some time now.
But it's pretty limited, no nested chapters, no language support.

shitowax
4th February 2004, 15:52
Originally posted by [Toff]
You probably mean the IAMExtendedSeeking (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directX/htm/iamextendedseekinginterface.asp) interface.
It's already supported since some time now.
But it's pretty limited, no nested chapters, no language support.

Yeah, sorry for the bad URL, Exploder got me ;)
IAMExtendedSeeking maybe limited, but it's working fine for what we asked it to do ...

SeeMoreDigital
5th February 2004, 18:53
As an Xcard/JovePlayer user I'm able to create chapter marks for all my encodes by making a bookmark file!

Could such a file be slipped into an .avi or .mp4 container.

I guess all the software players would have to be altered to suit!

Cheers

pogo stick
8th June 2004, 06:32
Has anyone tried to use DirectShow Nero Muxer in GraphEdit for creating chapters? Muxer accepts mp4 from Nero Parser and there are options for chapters in it. It works and resulted mp4 really have chapters during playback with 3ivx splitter and any player I tried. But the problem is I can not set chapter after 214 seconds. Muxer is not accepting numbers higher then 214 and tuning them into very big numbers.
Maybe muxer was meant to act that way in GraphEdit to prevent using it outside Recode2. But maybe it's a bug on my side.
Can anyone check this?

bond
8th June 2004, 09:20
i also tried this, but couldnt get it to work :(

pogo stick
9th June 2004, 14:28
Muxer from latest NeroVision Express (nve21212) can create chapters right.
But there is another problem. :(
Nero muxer accept mp4 (video + audio HE-AAC) only from Nero parser.
Maybe there is something else, but I can connect only Nero parser.
Resulting mp4 is strange: audio plays normal and video very slow (not even close).
I tried different muxer's settings: synchronize, 64 bit mdat atom, create hint tracks, interleaving (by the way, can anyone explain them?).
Didn't help. There is also 'split file every () MB' and 'split now'. I didn't touch them yet.
But there is working solution. :)
Instead of taking audio from parser, take it from Nero Digital Audio Encoder (it will accept wav).
Resulting mp4 will be working video (in my case XviD) + audio (AAC) + chapters. :)
There is also 'Nero Format Convertor'. What is it?

bond
9th June 2004, 14:48
Originally posted by pogo stick
Nero muxer accept mp4 (video + audio HE-AAC) only from Nero parser.
Maybe there is something else, but I can connect only Nero parser.yes, ahead limits their filters to only work together with themselves (also on the decoding side), except when using the avi muxer (but this combination also creates not 100% correct files!)

Resulting mp4 is strange: audio plays normal and video very slow (not even close).thats really strange, maybe a bug

I tried different muxer's settings: synchronize, 64 bit mdat atom, create hint tracks, interleaving (by the way, can anyone explain them?).hm hint tracks are for streaming, 64bit is a specific way to write the atoms afaik (can be 32bit too, which is normally used by mp4 creators), synchronize maybe helps synchronizing the streams when the source ac3 from the dvd has a delay to the video

Didn't help. There is also 'split file every () MB' and 'split now'. I didn't touch them yet.hm, so (theoretically) the nero mp4 muxer is able to split mp4 files itself ^^

Resulting mp4 will be working video (in my case XviD) + audio (AAC) + chapters.hm, last time i tried the chapter creating it didnt really work, i mean i could input the seconds and the chapters were also created, but i couldnt input seconds values which made any sense (they were always changed in the muxer itself)

does this work correctly now?

There is also 'Nero Format Convertor'.no clue, maybe it converts the image formats, like from yuy2 to yv12, or is a resampler for the audio encoder, dunno...

SeeMoreDigital
9th June 2004, 14:52
I think the Nero parser in NVE v2.1.2.12 has changed quite a bit!

The other day I installed a new DVD burner in one of my PC's which came with a nice new copy of Nero6.

The hard drive was formatted and everything started 'fresh'. After having installed all the WinXP updates including Win Media Player 9. I then installed Nero6.

I tested the install by playing back some 'known working' Mpeg4 .avi, Mpeg4 .mp4 and AAC in .mp4 files. Everything worked fine with both Nero's ShowTime player and WMP9 (even anamorphic encodes).

I then decided to update NeroVision Express and after re-booting I noticed that Mpeg4 .avi encodes crashed (or would display the video for a few seconds before disappearing) and AAC in .mp4 encodes just froze!

All the errors were reported as being due to Nero's "NDParser.ax" :devil:

Surely after installing Nero's products (only) they should integrate properly with Micro$ofts?

Bummer!

pogo stick
9th June 2004, 22:46
Originally posted by bond
hm, so (theoretically) the nero mp4 muxer is able to split mp4 files itself ^^
I think, theoretically yes, but right now it is much easier to demux, cut and mux again, then to work with nero stuff in GraphEdit. I killed half of my rest-day connecting pins. And it's always crashing. :(
All my hopes on 3ivx guys!
Originally posted by bond
hm, last time i tried the chapter creating it didnt really work, i mean i could input the seconds and the chapters were also created, but i couldnt input seconds values which made any sense (they were always changed in the muxer itself)
does this work correctly now?
Yes, new muxer does it. :)

Good news everyone!
Adding audio and optimizing with mp4UI doesn't destroy chapter information!
So mp4UI can output mp4 with chapters if input had chapters!
:)

SeeMoreDigital
9th June 2004, 23:08
Originally posted by pogo stick
Good news everyone!
Adding audio and optimizing with mp4UI doesn't destroy chapter information!
So mp4UI can output mp4 with chapters if input had chapters!
:) So do you mean it's possible to say, generate an Nero Recode2 encode complete with Mpeg4 video, AAC audio and chapters. And then using mp4UI, swap Recode2's mediocre video stream and replace it with XviD's?


Cheers

pogo stick
9th June 2004, 23:34
I don't know. Maybe. I didn't mean that.
I meant that it is possible to:

1) create MPEG4 (XviD, DivX...) video,
2) mux avi to mp4 with favourite muxer,
3) remux mp4 and create chapters with GraphEdit: Nero Digital Parser -> Nero Digital Muxer -> Nero Digital File Writer (maybe other File Writer will fit too),
4) add audio to mp4 with mp4UI,
5) enjoy mp4 with chapters using 3viX Media Splitter and favourite DirectShow Player. :)

Also maybe some other things, that my brain isn't capable of, are possible.

SeeMoreDigital
9th June 2004, 23:40
Oh well, I suppose I'll have to do some short tests of my own to find out.

Also, as I've never generated encodes with subtitles I wonder how well mp4UI would cope with them!


Cheers

bond
10th June 2004, 08:18
holy shit, it really works! (with the default file writer (did not test the nero one)) :D
i tested nve2120
and yes, the nd muxer accepts only .mp4 files (passed via the nd parser only) and it seems to also remove previous chaptermarks stored in the mp4

but a big downside imo is that you cant define the milliseconds! which means that you cant define the chapters frameaccurately in a constant framerate mp4 file :(

btw the 3ivx splitter already handles passing the chapter info! so no need for messing around with nero showtime when using the chapters :)

Originally posted by pogo stick
Adding audio and optimizing with mp4UI doesn't destroy chapter information!
So mp4UI can output mp4 with chapters if input had chapters!yep, afaik mp4ui only rewrites the changed parts and does not only remux audio and video to a new .mp4, so the udta atom (where the chapters, and also the tags are stored in, is not changed)

Originally posted by SeeMoreDigital
Also, as I've never generated encodes with subtitles I wonder how well mp4UI would cope with them!the same goes for the subtitles!
mp4ui can already detect the subtitles stored by nero recode2 in the .mp4, and if you restore a mp4 with subs, the subs stay in too

so yes, if nothing is buggy, it should be possible to create a quick .mp4 in recode2 (with subs, chapters and aac audio) and a video stream
open up the .mp4 in mp4ui, replace the video stream with a xvid (or any other mpeg-4 stream) one (beaware to not use packed bitstream!), save it, and still have audio, subs and chapters in the mp4
of course this will also work with changing the audio streams (using another aac encoder or mp3)


still thats workintensive,
but maybe its also possible to mux the subtitles directly in graphedit with the nero muxer too?

SeeMoreDigital
10th June 2004, 18:02
Originally posted by bond
the same goes for the subtitles!
mp4ui can already detect the subtitles stored by nero recode2 in the .mp4, and if you restore a mp4 with subs, the subs stay in too
It works pretty well too. Here's an sample (http://82.2.167.24/Uploaded_Files/Doom9_Forum_files/XviD+AAC+Subs_in_mp4.zip) I made earlier today :)


Cheers

EDIT: Just noticed the audio is out of sync :(

bond
10th June 2004, 18:11
Originally posted by SeeMoreDigital
EDIT: Just noticed the audio is out of synchm, how exactly did you create the file?

bond
10th June 2004, 20:24
did someone already try to mux a whole 2 hours audio+video+chapters file? did it work correctly?

SeeMoreDigital
10th June 2004, 20:41
Originally posted by bond
hm, how exactly did you create the file? It was my own fault as I used the wrong section of video as a starting point?

Anyway, I've replaced it now with a better PAL example. Just use the same link as before.


Cheers

pogo stick
10th June 2004, 21:19
Originally posted by bond
did someone already try to mux a whole 2 hours audio+video+chapters file? did it work correctly?
I tried 21 minutes XviD+HE-AAC+chapters the way I wrote above.
Works fine, except decoder thinks that HE is LC. :(
Is there a way to mux HE-AAC in mp4 correct besides 3ivx?

bond
10th June 2004, 21:27
Originally posted by pogo stick
I tried 21 minutes XviD+HE-AAC+chapters the way I wrote above.
Works fine, except decoder thinks that HE is LC. :(
Is there a way to mux HE-AAC in mp4 correct besides 3ivx? hm thats bad, did you try to feed the muxer with the nero audio encoder (encoding to he-aac)?

SeeMoreDigital
10th June 2004, 21:44
pogo stick,

Have you tried playing your encode using Nero's ShowTime player to see if it flags-up 'AAC h'?


Cheers

EDIT: I forgot to ask. Where about's is the data stored that provides information about the individual streams. ie: English for the 'subtitles' and English for the 'audio stream'?

pogo stick
10th June 2004, 23:04
Originally posted by bond
hm thats bad, did you try to feed the muxer with the nero audio encoder (encoding to he-aac)?
I think it should work for stereo.
Encoder is acting strange.
Mono sound is becoming stereo.
Multichannel is not in the right channel order.
Preview pin of encoder sounds right, but encoded file is not.
I will look at it again later.

And there is something wrong with Nero Parser or Muxer and audio.
I tried to pass mp4 (with HE-AAC only) to muxer to create chapters and to add avi in mp4UI.
Result is hard to describe.
File size of output audio mp4 is almost the same as of input.
But time is double short. CoreAAC decoder plays it fine, but time counter is slower. :confused:
I think that's why video and audio was not in synch.
Foobar2000 plays it double fast.
So, I assume, parser and muxer not suppose to work together with audio.
And that's why Ahead didn't disabled it. Or maybe not?

Originally posted by SeeMoreDigital
Have you tried playing your encode using Nero's ShowTime player to see if it flags-up 'AAC h'?
It shows AAC (without 'h'). :(
Originally posted by SeeMoreDigital
EDIT: I forgot to ask. Where about's is the data stored that provides information about the individual streams. ie: English for the 'subtitles' and English for the 'audio stream'?
I have no idea, sorry.

SeeMoreDigital
10th June 2004, 23:52
Eeek, pogo stick

After all those problems I'll think I'll stick to my method of generating a very quick 1pass encode with Recode2 and then swapping the video stream with XviD's.

I'll try and generate a Recode2 encode tomorrow with chapters (I've never done one before so if there's anything to look out for please let me know) and subs.

And report my findings.


Cheers

bond
11th June 2004, 16:47
Originally posted by pogo stick
And there is something wrong with Nero Parser or Muxer and audio.
I tried to pass mp4 (with HE-AAC only) to muxer to create chapters and to add avi in mp4UI.
Result is hard to describe.
File size of output audio mp4 is almost the same as of input.
But time is double short.yes i noticed the same:
i encoded an audio-only he-aac file with nero via besweet (no problems with this), after remuxing via the nero filters (+ setting of chapters (also works for audio-only files btw)) i get
1) filesize ~ the same as the input mp4 (but not exactly)
2) the length is only ~ the half of the input stream. winamp also only displays the half length for example and the playback simply stops after the end is reached

CoreAAC decoder plays it fineyep, i also noticed that coreaac (next to the faad winamp plugin) also handles it as he-aac ("aac+sbr") correctly
only the 3ivx aac decoder seems to have problems detecting an playing the sbr part (also with the original nero encoded file)

So, I assume, parser and muxer not suppose to work together with audio.
And that's why Ahead didn't disabled it. Or maybe not?i assume the audio muxing is buggy
maybe ahead never checked this and only tested it to work correctly from inside nero recode2...

SeeMoreDigital
11th June 2004, 17:32
I'm now back to using one of the older Nero parsers and decoder and everything appears to be ok again.

But it would seem anybody installing Nero only products, to play Mpeg4 video in either .avi or .mp4 and/or AAC audio in .mp4 are going to have problems when they decide to update/upgrade.

I've got another PC that requires formatting and re-installing with WinXP etc. I guess I could check the above again to be 100% sure!

Or is this a known fact?


Cheers

pogo stick
11th June 2004, 22:22
Originally posted by SeeMoreDigital
After all those problems I'll think I'll stick to my method of generating a very quick 1pass encode with Recode2 and then swapping the video stream with XviD's.
I'll try and generate a Recode2 encode tomorrow with chapters (I've never done one before so if there's anything to look out for please let me know) and subs.
Now if I got it right, Recode2 takes chapters from DVD and set it in mp4 automatically. There is no option to disable or change it. I tried making fast ND encode. All fast settings, 16x16 resolution (psychedelic blurs are very nice and looking good :) ) and one pass. 21 minutes of Futurama took about 6 minutes of encoding (including audio). And then changed video to 640x480 XviD with mp4UI. Decoder recognizes HE-AAC and chapters are all right. First way to combine these 2 things. There are disadvantages: audio preprocessing (if any?) is done automatically by Recode2 (but I like BeSweet), chapters are not customizable at all and only one audio stream.
Originally posted by bond
hm thats bad, did you try to feed the muxer with the nero audio encoder (encoding to he-aac)?
Second way to combine HE-AAC and chapters is to use Nero encoder before muxer. Only good for stereo, but preprocessing can be done and chapters can be set manually.

And 5-step way I wrote above is good for none HE-AAC audio supported by mp4UI.
Originally posted by bond
the same goes for the subtitles!
mp4ui can already detect the subtitles stored by nero recode2 in the .mp4, and if you restore a mp4 with subs, the subs stay in too
Originally posted by SeeMoreDigital
It works pretty well too. Here's an sample (http://82.2.167.24/Uploaded_Files/Doom9_Forum_files/XviD+AAC+Subs_in_mp4.zip) I made earlier today :)
But 3ivx splitter can not handle subtitles in mp4, can it?
Only Nero ShowTime can, but it didn't like XviD.
So I prefer VSFilter.

After all that '....' , I will be impatiently waiting for 3ivx release and I really hope that it will not be limited to their codec, no matter how good it will be. And if Ahead really want to be ahead, they should think about 3ivx future release. I hope that both of them will surprise us even more. Why do I feel so optimistic? :)

bond
12th June 2004, 09:27
Originally posted by pogo stick
Decoder recognizes HE-AAC and chapters are all right.did you do this with the latest official recode2 or did you go back to an older version as smd proposed?

There are disadvantages: audio preprocessing (if any?) is done automatically by Recode2 (but I like BeSweet), chapters are not customizable at all and only one audio stream.of course you can also replace the audio stream via mp4ui (and of course you can also add more than 1 audio stream in mp4ui)

But 3ivx splitter can not handle subtitles in mp4, can it?
Only Nero ShowTime can, but it didn't like XviD.
So I prefer VSFilter.not at the moment, but they are working on supporting it

SeeMoreDigital
12th June 2004, 10:46
Originally posted by pogo stick
But 3ivx splitter can not handle subtitles in mp4, can it?
Only Nero ShowTime can, but it didn't like XviD.
So I prefer VSFilter. What was the problem with ShowTime and XviD?


Cheers

pogo stick
12th June 2004, 11:42
Originally posted by bond
did you do this with the latest official recode2 or did you go back to an older version as smd proposed?
Latest one: 2.0.0.18 from NVE 2.1.2.12
Originally posted by bond
of course you can also replace the audio stream via mp4ui (and of course you can also add more than 1 audio stream in mp4ui)
But if audio is HE-AAC then decoders will think it's LC.
Originally posted by SeeMoreDigital
What was the problem with ShowTime and XviD?
I checked it again and it seems to work with XviD, but don't like high postprocessing levels. Or my CPU don't handle it, but that would be very stange.

SeeMoreDigital
12th June 2004, 11:53
Originally posted by pogo stick
I checked it again and it seems to work with XviD, but don't like high postprocessing levels. Or my CPU don't handle it, but that would be very stange. You can adjust ShowTime's PP or turn it off altogether, which is what I do!

That said I only use the player to make sure the streams are all working/flagging properly and general tests.

When it comes to watching full movie encodes I "do it in hardware" :D and have to create chapter positions quite differently!


EDIT: If you do upgrade to a newer verion of Nero, remember to save a copy of your exising parser, so you can swap them over

bond
12th June 2004, 12:11
Originally posted by pogo stick
But if audio is HE-AAC then decoders will think it's LC.if you mux a .aac he-aac file to a .mp4 via mp4ui than the sbr flag will not be there of course (as there is non in .aac)
BUT afaik the coreaac decoder should be able to detect he-aac during playback anyways

I checked it again and it seems to work with XviDwell it shouldnt matter at all what encoder was used to produce the mpeg-4 stream, as long as the stream is spec compliant

pogo stick
12th June 2004, 21:15
Originally posted by bond
BUT afaik the coreaac decoder should be able to detect he-aac during playback anyways
But CoreAAC version 1.0b9 show AAC LC and 44100 -> 44100 Hz.

bond
12th June 2004, 21:43
are you sure its he-aac? :D
maybe the nero dshow encoder defaults back to lc-aac automatically or so...
is the quality really grap? also try to decode in winamp and with the 3ivx dshow decoder and report what they say

pogo stick
12th June 2004, 23:02
Yes!
And if you will ask me: Is it a fact?
My answer will be: No, it's not! It's how it actually is! It's HE-AAC! :D

Nero dshow encoder can produce HE.
But we were talking about mp4UI and aac import. aac was made with Nero Wave Editor.
.aac(HE) -> mp4UI -> .mp4(HE?)
CoreAAC and foobar2000 are telling it's LC, 44100 Hz.
WinAmp doesn't tell anything about profile, but shows 22050 Hz.
ShowTime tells it's AAC (without 'h').
And 3ivx audio part is expired.

bond
13th June 2004, 09:41
Originally posted by pogo stick
WinAmp doesn't tell anything about profile, but shows 22050 Hz.oki, this means that it is indeed he-aac :D

But we were talking about mp4UI and aac import. aac was made with Nero Wave Editor.
.aac(HE) -> mp4UI -> .mp4(HE?)
CoreAAC and foobar2000 are telling it's LC, 44100 Hz.
ShowTime tells it's AAC (without 'h').
And 3ivx audio part is expired.ok, than everything is as it should be!

he-aac in .aac indicates nowhere that the stream is he-aac, if you now mux to .mp4 it will also nowhere indicate that it is he-aac
still coreaac should be able to detect that its he-aac, by decoding the first frame or so, and should decode it fine, but still display the wrong profile

SeeMoreDigital
13th June 2004, 11:10
Using mp4UI as an AAC stream muxer an de-muxer is quite handy. But it's a shame that when you use it to de-mux 'known' AAC-HE streams the bit of code that identifies it as being 'HE' is lost.

Does any know where this 'HE' info is stored.

If I remember rightly, AVI container fans can select an 'SBR' option in Alexander Noé's AVI-mux. It would be useful to have something like this for us MP4 fans.


Cheers

bond
13th June 2004, 11:17
Originally posted by SeeMoreDigital
Does any know where this 'HE' info is stored.the adts header format (used in .aac files) was specified before anyone even thought about using he-aac, therefore it also doesnt have a flag somewhere for storing this information

this information is only stored on the container level in the mp4 container itself
now the problem is that currently none of the mp4 muxer is offering an option to mark an aac stream as he-aac when muxing from .aac, but if such a tool would exist all these problems would be gone :)

i tried to convince bill may (the dev of mpeg4ip (on which mp4ui is based on) to add such an option to his mp4creator tool, but he wasnt really willing to do it
but maybe if more people bug him he might add it. try your luck with posting in this thread (http://sourceforge.net/forum/forum.php?thread_id=1003525&forum_id=59136) :D

SeeMoreDigital
13th June 2004, 11:43
Wow, you made these posts way back in January this year!

Since then, AAC-HE has become much more popular with the help of Nero.

Maybe we could change his mind now?


Cheers

bond
13th June 2004, 17:32
Originally posted by SeeMoreDigital
Maybe we could change his mind now?well if you post there and ask him to support flagging he-aac in mp4creator ;)

SeeMoreDigital
13th June 2004, 18:10
Originally posted by bond
well if you post there and ask him to support flagging he-aac in mp4creator ;) Job done!

I wonder if any other forum members could do the same :D


Cheers

pogo stick
13th June 2004, 22:18
Just registered at SourceForge. Waiting for confirmation email. :)

bond
14th June 2004, 09:32
oki doki guys, now that we are at it, it would be also great if there would be some preasure on this issue: http://sourceforge.net/tracker/index.php?func=detail&aid=892359&group_id=99262&atid=623648 :D

its a request for using the avi import code from mp4box and not the one from mpeg4ip, as the mpeg4ip one doesnt handle importing packed bitstreams right, which is causing a lot of incompatible mp4 files with 90% of the divx5/xvid encodes
the one from mp4box was buggy on long files and vbr mp3 till now, but the recent code on the cvs seems to have fixed all these issues

pogo stick
14th June 2004, 22:08
Originally posted by bond
but maybe if more people bug him he might add it. try your luck with posting in this thread (http://sourceforge.net/forum/forum.php?thread_id=1003525&forum_id=59136) :D
Looks like this will not work.
Anyway, I'm still waiting for confirmation email. :(

SeeMoreDigital
14th June 2004, 22:47
Hi pogo stick,

I go my confirmation email immediately!


Cheers

JasonFly
9th July 2004, 17:34
Originally posted by SeeMoreDigital
It works pretty well too. Here's an sample (http://82.2.167.24/Uploaded_Files/Doom9_Forum_files/XviD+AAC+Subs_in_mp4.zip) I made earlier today :)


Your sample qorks pretty well on my system. I used The Core Media player for playing with 3ivx splitter, ffdshow video decoder and CoreAAC audio decoder.
Of course, subs were not displayed because of 3ivx but the result was perfect anyway.

Did you use "pogostick" procedure to create your .mp4 ou did you use Nero recode to create the initial .mp4 wooith chapters and subs?

BTW, CoreAAC report AAC stream as HE-AAC. That worked for an old 1.0b8 of november and for the latest 1.0b9. Seems that we 're close to have a perfect .mp4 :).

bond
9th July 2004, 17:40
its now possible to place chaptermarks in .mp4 files when muxing with the nero dshow mp4 muxer!
nero parser (input .mp4) -> nero muxer (set chapters) -> (nero) filter writer (output .mp4)

some people reported problems with the audio/video sync tough :mad:

SeeMoreDigital
9th July 2004, 18:03
Originally posted by JasonFly
Did you use "pogostick" procedure to create your .mp4 ou did you use Nero recode to create the initial .mp4 wooith chapters and subs? I encoded everything using Recode2 but swapped the video stream with XviD's using mp4UI

Originally posted by JasonFly
BTW, CoreAAC report AAC stream as HE-AAC. That worked for an old 1.0b8 of november and for the latest 1.0b9. Seems that we 're close to have a perfect .mp4 :). Yes, I think we are close now. If you play the file using the newest version of ShowTime player (which comes with NeroVision Express) you get perfect playback with easy access to the subs.

Originally posted by bond
its now possible to place chaptermarks in .mp4 files when muxing with the nero dshow mp4 muxer!
nero parser (input .mp4) -> nero muxer (set chapters) -> (nero) filter writer (output .mp4) Can you upload a test file so we can all try in the ShowTime player please?


Cheers

Phobos
9th July 2004, 21:29
omg these are extraordinary news...

i downloaded the sample and played with old wmp, it detected one chapter, could you make the next sample with various chapters (can be random, i dont want a bigger file necesarily hehe)?

also im trying to sume up a fast way to achieve this...

I wanted to see vsfilter type subtitles in mp4 because they are so much smaller, but what do you guys think of it?? maybe they will never get hardware support, so im planning just use the recode2 method and substitute both audio and video with mp4ui. Or is there a "manual" way to mux the sub files directly from the dvd with the new muxer?



I also think the mpeg4ip dude ignoring he-aac is a bit ackward, he-aac is part of mpeg4 spec so he should support it, but same as subtitles i have no intentions on waiting for his (null) support (same as mpc audio in hardware , lol jk mpc fans).

All in all i describe the perfect (with perfect i mean very but not 100% possible to have full featured hardware support) mp4 as follows:

-Xvid Video with B-frames and GMC (i dont give a damn about qpel)
-He-AAC+PS audio (ps if needed)
-subs from dvd (the same sub files ripped from the dvd, for hardware support)
-current mp4 chapter handling is fine.

So yes i believe we are very close.

I hope 3ivx realizes a way to mux the subs from the dvd (i dont give a damn about srts any more, might never get hardware support) and set chapters with ms or fps precision. fully playable with any ds player via 3ivx, thats what i would call a perfect mp4. And i'd start to rip my 'perfect' mp4s right away for all my dvds... only to wait for standalone support-... :/ (phillips dvp642 is close to that..)

please, i exhort you (not optional, but not demanding hehee) to comment on my conclusions

bond
10th July 2004, 13:55
Originally posted by SeeMoreDigital
Can you upload a test file so we can all try in the ShowTime player please?grap it here (http://8ung.at/bond/nero_chapters.mp4)
it has chaptermarks placed at
00:00:07.000 (bone)
00:00:21.000 (denzel washington)
00:00:23.000 (flash)

it seems that the nero muxer isnt able to set the milliseconds, which means that frameaccurate chapters are not possible with it

also in this sample you will see that i didnt get audio/video sync issues, other people reported

Originally posted by Phobos
I wanted to see vsfilter type subtitles in mp4 because they are so much smaller, but what do you guys think of it??with vsfilter subs you mean .srt? if yes than i wouldnt use them in .mp4 as the mpeg-4 standard defines its own official subtitle text format (small size), which some muxer supporting it are in preparation already

Or is there a "manual" way to mux the sub files directly from the dvd with the new muxer?as recode2 is basically a gui for the nero dshow filter, there is surely a way to mux the vobsubs into .mp4 with the nero filters, but this has to be tested

I also think the mpeg4ip dude ignoring he-aac is a bit ackward, he-aac is part of mpeg4 spec so he should support it, but same as subtitles i have no intentions on waiting for his (null) support (same as mpc audio in hardware , lol jk mpc fans).hm the mpeg4ip devs (mainly bill may) are not ignoring it, but he simply doesnt really work on it anymore, meaning he doesnt write new code, only does bug fixes and commits code contributions from other devs to the source
so if some would write a batch to set the he-aac flag in mp4creator of mpeg4ip they will surely add this

I hope 3ivx realizes a way to mux the subs from the dvd (i dont give a damn about srts any more, might never get hardware support) and set chapters with ms or fps precision. fully playable with any ds player via 3ivx, thats what i would call a perfect mp4.well i think they will hear your wishes :)

Phobos
10th July 2004, 14:24
Originally posted by bond
with vsfilter subs you mean .srt? if yes than i wouldnt use them in .mp4 as the mpeg-4 standard defines its own official subtitle text format (small size), which some muxer supporting it are in preparation already

3ivX possibly? that would be sweet for video filesize and overall quality, but im afraid we would need to wait a lot more to get the tools to convert srt to this mp4 subtitle format, am i wrong?

i also downloaded your new encode and it worked well in old wmp, but had no luck in crappy wm9 (didnt find where to switch chapters). bsplayer worked fine. we are really close m8s

SeeMoreDigital
10th July 2004, 14:27
Originally posted by bond
grap it here (http://8ung.at/bond/nero_chapters.mp4)
it has chaptermarks placed at
00:00:07.000 (bone)
00:00:21.000 (denzel washington)
00:00:23.000 (flash)

it seems that the nero muxer isnt able to set the milliseconds, which means that frameaccurate chapters are not possible with it

also in this sample you will see that i didnt get audio/video sync issues, other people reported I can't get the encode to work with Nero's ShowTime player at all... I just hangs in the player!

I am able to access the chapters: -

http://img43.exs.cx/img43/2946/SMD_Recode2_Chapters.gif

And the ShowTime identiies the audio stream as being AAC. But nothing else :(

bond
10th July 2004, 14:38
Originally posted by Phobos
3ivX possibly? ... but im afraid we would need to wait a lot more to get the tools to convert srt to this mp4 subtitle format, am i wrong?who knows ;)

i also downloaded your new encode and it worked well in old wmp, but had no luck in crappy wm9 (didnt find where to switch chapters). bsplayer worked fine.afaik wmp9 doesnt offer the interface for chapters (altough their old 6.4 player does :D )
it also worked here in bsplayer

Originally posted by SeeMoreDigital
I can't get the encode to work with Nero's ShowTime player at all... I just hangs in the player!
I am able to access the chapters: -
And the ShowTime identiies the audio stream as being AAC. But nothing elsehm strange, what if you remux with another mp4 muxer, like 3ivx
does it than still hang (maybe the stream itself is borky)

SeeMoreDigital
10th July 2004, 15:44
Originally posted by bond
...hm strange, what if you remux with another mp4 muxer, like 3ivx does it than still hang (maybe the stream itself is borky) Like you say it works a treat in the "oldie but goodie" version of Windows Media Player 6.4. It also works in MPC via the 'Navigate' tab and 'Jump To...' option....

http://img49.exs.cx/img49/8683/SMD_MPC_Navigation.gif

Via hardware playback, the MP4 encode stops and starts and is very jittery. But when de-muxed to AVI it plays fine.

I like it though and it's great that it works so well in MPC (shame it does not work in hardware)!

I wonder... Do you have to do anything special in Recode2 to make it work?


Cheers

bond
10th July 2004, 15:54
Originally posted by SeeMoreDigital
[B]Like you say it works a treat in the "oldie but goodie" version of Windows Media Player 6.4. It also works in MPC via the 'Navigate' tab and 'Jump To...' option....

Via hardware playback, the MP4 encode stops and starts and is very jittery. But when de-muxed to AVI it plays fine.hm does it work if you remux with 3ivx for example?

Do you have to do anything special in Recode2 to make it work?what do you mean? i didnt use recode to crwate the file. i muxed in graphedit with the nero muxer filter

SeeMoreDigital
10th July 2004, 16:08
Originally posted by bond
hm does it work if you remux with 3ivx for example? I've not tried any re-muxing tools in GraphEdit only mp4UI. But I'm interested to know how/where the chapter points are stored!

Originally posted by bond
what do you mean? i didnt use recode to crwate the file. i muxed in graphedit with the nero muxer filter Arhh yes, I forgot about this... but still I wonder how Recode2 will do it. And if there's any special trick to it?

It's great fun though!


Cheers

SeeMoreDigital
10th July 2004, 16:56
Originally posted by SeeMoreDigital
Arhh yes, I forgot about this... but still I wonder how Recode2 will do it. And if there's any special trick to it? Success!

Just tried an 3 chapter music DVD (Bjork - All Is Full Of Love) with Recode2 and the chapters work perfectly.

In fact the chapter navigation works better in MPC than it does in ShowTime... I even dug out a 6 month old Recode2 encode I did of 'The Red Planet' and the chapter points are there too. I didn't realize they had always been there...

You live and learn!


Cheers

Phobos
10th July 2004, 22:21
so using recode2 is perfectly compliant with your card, while the manual graphedit method is b0rked, right?

SeeMoreDigital
10th July 2004, 22:48
Originally posted by Phobos
so using recode2 is perfectly compliant with your card, while the manual graphedit method is b0rked, right? Yes!

I can't select the individual chapters with the Xcard but I'm sure this can and will be implemented soon.


Cheers

Phobos
11th July 2004, 05:23
im curious, does your card support the supposed mp4 official subtitle format??? i guess newer sigma chips should...

SeeMoreDigital
11th July 2004, 10:41
Originally posted by Phobos
im curious, does your card support the supposed mp4 official subtitle format??? i guess newer sigma chips should... Unfortunately, not yet!

But hopes are high because with Sigma and Nero producing chip-sets and software for the new (soon to be released) Kiss Mpeg4 in .MP4 stand-alone players. Hope are high that us Xcard users will have these implementations soon.


Cheers

bond
11th July 2004, 10:51
Originally posted by SeeMoreDigital
I've not tried any re-muxing tools in GraphEdit only mp4UI.can you plz try remuxing my chaptersample with 3ivx and report whether it still borks
the chaptermarks will get lost with this i think, but i would be interested in knowing whether the streams are borky or only the nero muxer

But I'm interested to know how/where the chapter points are stored!the chaptermarks are stored in the udta atom, just like the tags (but are not tags of course)

Originally posted by SeeMoreDigital
I can't select the individual chapters with the Xcard but I'm sure this can and will be implemented soon.i also think that the firmware will support the chapters/subs as sigma already announced support for it for their mpeg-4 decoding chips

SeeMoreDigital
11th July 2004, 13:10
Originally posted by bond
can you plz try remuxing my chaptersample with 3ivx and report whether it still borks
the chaptermarks will get lost with this i think, but i would be interested in knowing whether the streams are borky or only the nero muxer I'm having problems using GraphEdit to de-mux the MP4 to AVI.

I'm using this graph (which is the one we discussed 14 April): -
[A/V MP4]-->[3ivx splitter]-->[avi/ogm/mkv muxer]-->[file writer]

but for some reason when ever I try to connect the 3ivx splitter to AVI Mux, 3ivx D4 video decoder pops up. And the resulting AVI ends up being 594MB!!!

I've also tried using mp4UI to de-mux and create an AVI stream (which incidentally plays fine in hardware). However, when I use GraphEdit and 3ivx to mux the AVI stream back into the MP4 container it's still b0rked.

I've tried using GraphEdit to mux other AVI sources and the resulting MP4's work perfectly.


Sorry mate

bond
11th July 2004, 13:49
Originally posted by SeeMoreDigital
but for some reason when ever I try to connect the 3ivx splitter to AVI Mux, 3ivx D4 video decoder pops up. And the resulting AVI ends up being 594MB!!!i think thats because you forget to tick the "allow unsupported decoders" option in the 3ivx splitter (if its not ticked only the 3ivx decoder can connect to it)

SeeMoreDigital
11th July 2004, 14:12
Originally posted by bond
i think thats because you forget to tick the "allow unsupported decoders" option in the 3ivx splitter (if its not ticked only the 3ivx decoder can connect to it) Thanks bond, that's indeed sorted out the connection problem!

Unfortunately, even after re-muxing the AVI stream with 3ivx to MP4 it's still borked in hardware... strange eh?


Cheers

bond
11th July 2004, 15:24
hm i guess this means that the audio/video stream itself of my chaptertesting sample is borky

SiXXGuNNZ
13th July 2004, 02:48
so, how do you split files with nero digital? or at least tell the program what size to split at?

bond
13th July 2004, 16:45
Originally posted by SiXXGuNNZ
so, how do you split files with nero digital? or at least tell the program what size to split at? create a muxing graph using nero filters only (nero parser, nero muxer, nero file writer) in graphedit. open the options for the nero muxer, choose your desired filesize for the first file (ie 700mb), push play

cheerow
13th July 2004, 18:02
Originally posted by bond
create a muxing graph using nero filters only (nero parser, nero muxer, nero file writer) in graphedit. open the options for the nero muxer, choose your desired filesize for the first file (ie 700mb), push play

I did this and it split the video as supposed BUT the files played at ~10 fps (normal cpu load for a 25 fps vid with he-aac audio is around 30% on my pc so this is not the problem). Video was XviD with BVOPs, audio 5.1 HE-AAC.

Anyone else having this problem?

bond
13th July 2004, 18:31
hm maybe he-aac causes this speed drop (because of the lower samplerate)?
can you plz try it with lc-aac too (for me it worked)

SiXXGuNNZ
14th July 2004, 00:33
Originally posted by bond
create a muxing graph using nero filters only (nero parser, nero muxer, nero file writer) in graphedit. open the options for the nero muxer, choose your desired filesize for the first file (ie 700mb), push play

wow, that was very easy :o

thanks mate! :D

SiXXGuNNZ
17th July 2004, 00:25
Originally posted by cheerow
I did this and it split the video as supposed BUT the files played at ~10 fps (normal cpu load for a 25 fps vid with he-aac audio is around 30% on my pc so this is not the problem). Video was XviD with BVOPs, audio 5.1 HE-AAC.

Anyone else having this problem?

same thing here, I will try it with lc

edit: yep, seems to work fine with the lc profile

bond
23rd July 2004, 17:25
Originally posted by SiXXGuNNZ
yep, seems to work fine with the lc profileinteresting, so the muxer works fine with normal aac :)

so to sum it up;
1) individual creation of mp4 files with chapters
2) cutting of mpeg-4 asp files
is possible now :)

the only problem was reported by smd, trying to play my sample in nero showtime and on his xcard
smd, did you already try it, splitting and chapter setting via the nero muxer in graphedit, with a file created by your own?

SeeMoreDigital
23rd July 2004, 18:45
Originally posted by bond
...the only problem was reported by smd, trying to play my sample in nero showtime and on his xcard
smd, did you already try it, splitting and chapter setting via the nero muxer in graphedit, with a file created by your own? Yes I did make my own chapter test file with 10No chapter points. It seems works ok via MPC and WMP6.4... and you can even set-up your 6 channel speakers system with it!

It also plays with the Xcard but because the audio stream has 6No discrete channels (instead of 2No) they are not correctly mapped.

Now this is what I call useful (http://homepage.ntlworld.com/seemoredigital/Recode2_Chapter_Test.zip)


Cheers

bond
23rd July 2004, 20:02
cool, so it seems its save to use the nero muxer (when not using he-aac) :)

bond
24th July 2004, 00:19
Originally posted by SeeMoreDigital
[B]Yes I did make my own chapter test file with 10No chapter points. It seems works ok via MPC and WMP6.4... and you can even set-up your 6 channel speakers system with it!

It also plays with the Xcard but because the audio stream has 6No discrete channels (instead of 2No) they are not correctly mapped.

Now this is what I call useful (http://homepage.ntlworld.com/seemoredigital/Recode2_Chapter_Test.zip)hm somehow this file doesnt really work well here...

the audio is only noise (latest coreaac) and ffdshow shows that the playback freezes at some frames (for example #44)

the chapters seems to work

SeeMoreDigital
24th July 2004, 09:48
Yes, this is what the encode is designed to do.

The original Mpeg2 source only contained 177 PAL frames but ran for 77 seconds. So I had to convert it to 25fps.

It was a bit of a ball-ache to do but the 25fps version work better than the 2.302fps version - which I still have if you're interested...


Cheers

bond
24th July 2004, 10:45
Originally posted by SeeMoreDigital
The original Mpeg2 source only contained 177 PAL frames but ran for 77 seconds. So I had to convert it to 25fps.hm how did you do that?

It was a bit of a ball-ache to do but the 25fps version work better than the 2.302fps version - which I still have if you're interested...yes plz :)

SeeMoreDigital
24th July 2004, 11:41
Originally posted by bond
hm how did you do that?I re-authored the required VOB files using Recode2's "Remake a DVD" option. It works quite well except for the obligatory quality loss when you re-encode

Originally posted by bond
yes plz :) Well, here (http://homepage.ntlworld.com/seemoredigital/Recode2_Chapter_Test_Original.zip) it is!

Don't expect too much from it though, as the audio soon becomes out of sync with the video!

Can you confirm where the chapter information is stored with 'Recode2' encodes. Is it logged somewhere in the container. Or is it in the stream itself?


Cheers

SiXXGuNNZ
24th July 2004, 18:49
if I create a crap encode w/ recode, 16x16 quant 31 and set the audio to he-aac 256 cbr 48khz, then rip the crap video out with mp4ui and add the xvid video in, I can then load the file into the nero muxer and split it just fine, so it seems that when I use besweet to create the audio with same settings above, it slows the frame rate down during remuxing/splitting in the nero muxer.

I also emailed nero about this, and they told me how to split mpeg files in nero vision :p I guess they missed the part I was asking about mp4 splitting ;)