Log in

View Full Version : mp4muxer releases


Pages : [1] 2 3

JoeBG
11th February 2005, 06:28
Hi,

here is a new mp4muxer for easy processing of everything which has to get muxed into mp4. So he can mux AAC.mp4 (BeSweet, foobar), ASP.mp4 (Recode), AVC.mp4 (Recode), AAC, mp3, AVC.AVI (GordianKnot), Xvid or Divx in AVI (GordianKnot), srt and ttxt. It has 6 inputs where you can add something:

1.) Audio 1
Here you can add Ogg, mp3, aac, mp4 with aac

2.) Audio 2
Here you can add mp3, aac, mp4 with aac (no Ogg)

3 +4.) Sub 1 + 2
srt and ttxt

5.) mp4
The mp4 muxer muxes everything into the mp4 you add here without changing the content of the container (Chapters, menues, all you want) or streams. The basic idea was, to start the encoder and building a chapter.mp4 (graphedit with Nero/new 3ivx muxer) while the encoder is working - but now you can use this option for everything or do not use it, itīs not mandatory.

6) Video
AVC.mp4, AVC.avi, ASP.avi (testetd with Divx and Xvid from Gordian Knot). In the moment no ASP.mp4 (you have to add this in 5.) mp4

When you click configuration you can define an output folder where a file named "CompleteVideo" will get created.

If you want to add a language here (http://mrblaschke.movie2digital.de/mp4mux_localization.zip) is a guide for it.

Hope you all will like it. :)

3 general remarks:
- Audio 1 is mandatory (in the moment), all other inputs are free to use or not
- mp4muxer is a frontend for mpeg4ip and gpac, so you will need both tools. You can get them here ([URL=http://mrblaschke.movie2digital.de/mp4mux_localization.zip)
- You need net 1.1

download: mp4muxer (http://mp4muxer.movie2digital.com)

yaz
11th February 2005, 09:37
Originally posted by JoeBG
Hope you all will like it. sure, i will :-)))
Originally posted by JoeBG
- You need net 1.1 except for this ;-)

many thx
y

SeeMoreDigital
11th February 2005, 14:19
Where does the outputted muxed file end up... I can't find it anywhere?

http://img134.exs.cx/img134/9162/m2dmp4muxer6km.gif


Cheers

Sharktooth
11th February 2005, 15:12
:eek:

JoeBG
11th February 2005, 15:14
You can define a working path under configuration. There will the be a file created named "CompleteVideo.mp4"

JoeBG
11th February 2005, 15:25
Originally posted by Sharktooth
:eek:

Hope this helped you too.

We created this little gui in four days, maybe itīs a little bit "bumpy" :)

yaz
11th February 2005, 15:25
just for sure ... does it handle (& store) he_aac as is ? some muxer has this discrepancy (aac stored as he but played back as lc)
thx
y

JoeBG
11th February 2005, 15:28
Originally posted by yaz
just for sure ... does it handle (& store) he_aac as is ? some muxer has this discrepancy (aac stored as he but played back as lc)
thx
y

Itīs stored as 6_Channel mpeg4 aac. The -sbr is not in commandline because bond said, that every player can handle this.

Sharktooth
11th February 2005, 15:29
well... cool :)
can i suggest you to use xml for language files?

@yaz: this is a frontend for mp4box and mp4creator so...

JoeBG
11th February 2005, 15:34
Originally posted by Sharktooth
well... cool :)
can i suggest you to use xml for language files?


I plan to make a wishlist, some things will be impossible because of the internal muxing-process, but this seems to be possible.

bond
11th February 2005, 15:49
Originally posted by JoeBG
Itīs stored as 6_Channel mpeg4 aac.he-aac has nothing to do with multichannel!

The -sbr is not in commandline because bond said, that every player can handle this.i said every faad2 based player can handle it for sure, the others (hardly anyone existing) should but might b0rk!

so the -sbr switch is indeed useful (only for he-aac stream when imported from raw of course)

SeeMoreDigital
11th February 2005, 16:02
Originally posted by JoeBG
You can define a working path under configuration. There will the be a file created named "CompleteVideo.mp4" I still can't make it work!

My configuration is as follows: -

http://img229.exs.cx/img229/5900/mp4muxerconfig4xw.gif


Cheers

JoeBG
11th February 2005, 17:13
The paths to mpeg4iptools are missing:
- path to mp4creator
- path to avi2raw

JoeBG
11th February 2005, 17:19
Originally posted by bond
he-aac has nothing to do with multichannel!
Thatīs right, but when you set the nero filter to export the aac, itīs recognized as 2_channel mpeg2 when you import it with mp4box. So this only should make clear, that everything else is done correctly :)

Originally posted by bond
i said every faad2 based player can handle it for sure, the others (hardly anyone existing) should but might b0rk![/B]

I never realised a difference with my used players, so normally it is no problem.

JoeBG
11th February 2005, 17:41
@ bond

Originally posted by bond
so the -sbr switch is indeed useful (only for he-aac stream when imported from raw of course)

Should we build it in? Itīs not so easy, but if you think itīs really useful..... Please let me know and we will try.

bond
11th February 2005, 17:56
Originally posted by JoeBG
Thatīs right, but when you set the nero filter to export the aac, itīs recognized as 2_channel mpeg2 when you import it with mp4box. So this only should make clear, that everything else is done correctlyif an aac stream exported by nero is detected as mpeg-2 (nero produces mpeg-4 aac) and 2 channel (even if its multichannel) than there must be a bug from my point of view?

Originally posted by JoeBG
Should we build it in? Itīs not so easy, but if you think itīs really useful..... Please let me know and we will trywell as you said normally its not a problem as most people on doom9 use a faad2 based decoder and these will not have problems detecting he-aac

still if i would need to do it i would definitely mux raw he-aac (.aac, not .mp4) into .mp4 by using the switch, cause why not signalling it when its possible to signal it?

JoeBG
11th February 2005, 18:11
Originally posted by bond
if an aac stream exported by nero is detected as mpeg-2 (nero produces mpeg-4 aac) and 2 channel (even if its multichannel) than there must be a bug from my point of view?


Yes, itīs a well known bug. It also causes stuttering problems for many people (like me) and it seems not to be with foobar (Selur told me) but with Be Sweet. But if you put it in this muxer as Audio 1 or Audio 2 in form of a mp4, everything works fine.

We think about flagging he-aac.

bond
11th February 2005, 18:31
Originally posted by bond
if an aac stream exported by nero is detected as mpeg-2 (nero produces mpeg-4 aac) and 2 channel (even if its multichannel) than there must be a bug from my point of view?ok i now tested this more:

- even if i use he-aac and pns nero signals mpeg-2 aac (encoded in besweet), both options only existing in mpeg-4 aac (a strict mpeg-2 aac decoder cant decode this stream)
- when i mux with both mp4creator and mp4box to .mp4, the stream gets wrongly signalled as mpeg-2 aac of course
- when muxing the stream with the -sbr option in mp4box it gets falsly signalled as (mpeg-4) AAC main and not LC (without the sbr option its LC signalled)

basically this means: its a very bad idea using that raw output option because
1) PNS isnt allowed in MPEG-2 AAC
2) mp4box has a bug signalling SBR on MPEG-2 AAC streams

edit: he-aac is part of mpeg-2, but PNS isnt

Originally posted by JoeBG
Yes, itīs a well known bug. It also causes stuttering problems for many people (like me) and it seems not to be with foobar (Selur told me) but with Be Sweet.hm, can you point me to a thread which describes this more detailed?

did you test encoding with this option in nero burning rom to be sure its not also there in neros own tool?

But if you put it in this muxer as Audio 1 or Audio 2 in form of a mp4, everything works finewhat muxer is used for .aac muxing? mp4box or mp4creator?

SeeMoreDigital
11th February 2005, 18:57
Originally posted by JoeBG
The paths to mpeg4iptools are missing:
- path to mp4creator
- path to avi2raw Jeez!

You need both these as well?

How come MP4box GUI is able to do the same job but only requires MP4box?


Cheers

bond
11th February 2005, 19:15
Originally posted by SeeMoreDigital
How come MP4box GUI is able to do the same job but only requires MP4box?because it doesnt support avc muxing ;)

JoeBG
11th February 2005, 19:16
Originally posted by SeeMoreDigital
Jeez!

You need both these as well?

How come MP4box GUI is able to do the same job but only requires MP4box?


Cheers

Can you add:
- AVC.avi?
- any avi in an existing mp4 container? (mp4 box does it with -convert)
- aac.mp4?
- AVC.mp4 in combination with a chapter.mp4?
- any mp4 where other streams get muxed into without changing of container?
- can you add a nero mp4 into an existing container?
- AVC.mp4

Tell me if Iīm wrong, but mp4box alone canīt do all this. :)

SeeMoreDigital
11th February 2005, 20:01
Originally posted by JoeBG
Tell me if Iīm wrong, but mp4box alone canīt do all this. :) I've not tried AVC files but you can add... any avi in an existing mp4 container? (mp4 box does it with -convert) - Yes (Using 0.11)
aac.mp4? - Yes (Using 0.13)
any mp4 where other streams get muxed into without changing of container? - I'm not sure what you mean!
can you add a nero mp4 into an existing container? - Yes. Both AAC-LC/HE audio and Mpeg4/SP/ASP video streams in MP4
Just as with your tool, MP4box GUI requires tweaking, as there are things that b0rk in one build but not in others (and vice versa)!

Finally having all these (non GraphEdit) MP4 muxers is really great :)


Many thanks and Cheers

JoeBG
11th February 2005, 20:54
Originally posted by SeeMoreDigital
I've not tried AVC files but you can add... any avi in an existing mp4 container? (mp4 box does it with -convert) - Yes (Using 0.11)
aac.mp4? - Yes (Using 0.13)
any mp4 where other streams get muxed into without changing of container? - I'm not sure what you mean!
can you add a nero mp4 into an existing container? - Yes. Both AAC-LC/HE audio and Mpeg4/SP/ASP video streams in MP4
Just as with your tool, MP4box GUI requires tweaking, as there are things that b0rk in one build but not in others (and vice versa)!

Finally having all these (non GraphEdit) MP4 muxers is really great :)


Many thanks and Cheers

Sorry to say that, but you canīt mux all this in an existing container (input 5) and you canīt mux AVC. mp4muxer is a little bit tricky :)

Originally posted by SeeMoreDigital
any mp4 where other streams get muxed into without changing of container? - I'm not sure what you mean!
Teh point is, that you canīt add streams like other mp4īs or avis to an existing mp4 without changing the container. If you have informations in this container like menues or chapters, they get lost with mp4 box because mp4box has to use commands like -convert. But with -convert you create a new container and old informations get lost.

=> mp4muxer is more a kind of One-Click-Muxer.

JoeBG
12th February 2005, 03:17
Here is a new version (http://mp4muxer.movie2digital.com/) , but just some optical changes :)

JoeBG
12th February 2005, 10:46
Originally posted by bond
hm, can you point me to a thread which describes this more detailed?

Not so much detailed, but see the post of pogo stick here (http://forum.doom9.org/showthread.php?s=&threadid=84830&highlight=JoeBGermany)
and see my post from 2004.10.06 URL=http://forum.gleitz.info/showthread.php?t=14426&page=2&pp=10&highlight=JoeB]here[/URL]
I always had these stutters when I donīt extract AAC with mp4creator or mp4ui.

Originally posted by bond
did you test encoding with this option in nero burning rom to be sure its not also there in neros own tool? [/B]

When you add Audio in Neroīs own tool everything works fine

Originally posted by bond
what muxer is used for .aac muxing? mp4box or mp4creator? [/B]

The first Audio is muxed with mp4box and the second one is muxed with mp4creator. The muxing works as follows:

1) Demux every Audio and Video added to raw
2) -add the first Audio with mp4box to input 5: an internal tmp.mp4 is built
3) add all other streams when possible with mp4creator to tmp.mp4
4) add the last stream with mp4box, the final output called "CompleteVideo" is built

=> the content of input 5 was never touched :)

JoeBG
12th February 2005, 19:11
@ sharktooth

Originally posted by Sharktooth
well... cool :)
can i suggest you to use xml for language files?

@yaz: this is a frontend for mp4box and mp4creator so...

MrBlaschke said this will be no problem.
The language files are created in xml, but get compiled afterwards to "ressources".

MrBlaschke needs some time to create a small guide for creating these special language files in xml.

You give them to us with the new language and in the next release they are realised.

Is this ok for you? Hope so :)

SeeMoreDigital
12th February 2005, 21:08
Originally posted by JoeBG
Here is a new version (http://mp4muxer.movie2digital.com/) , but just some optical changes :) How about adding some links on your web site to the newest compiled versions of MP4creator, MP4box and AVI2RAW?


Cheers

JoeBG
12th February 2005, 21:37
Originally posted by SeeMoreDigital
How about adding some links on your web site to the newest compiled versions of MP4creator, MP4box and AVI2RAW?


Cheers

Will be done next, I requested this too. But itīs not my website :) Iīm just a visitor like you ;).

JoeBG
13th February 2005, 09:56
First Bugfix Release:
- Bugfix: When the file extensions were upper case, the muxer didnīt catch and load them
- Bugfix: Not all tempfiles got deleted

Download (soon on the main mirror): http://mrblaschke.movie2digital.de/Debug.zip

Sharktooth
13th February 2005, 13:59
Originally posted by JoeBG
MrBlaschke said this will be no problem.
The language files are created in html, but get compiled afterwards to "ressources".

MrBlaschke needs some time to create a small guide for creating these special language files in xml.

You give them to us with the new language and in the next release they are realised.

Is this ok for you? Hope so :)
Sure :)

JoeBG
15th February 2005, 11:30
New bugfix release:

You can find it here (http://mrblaschke.movie2digital.de/Debug.zip)

-bugfix: no Audio muxing when empty space in filenames (ENGLISCH -16 MS DELAY.MP4)=> Now you can add every MP4 direct from BeSweet.

SeeMoreDigital
15th February 2005, 11:55
As a matter of interest, can anybody provide links to the newest compiled versions of: - MP4creator
MP4box
AVI2RAW
Cheers

Elias
15th February 2005, 12:11
mp4muxer wishlist:

What I'd personally like is some kind of editing, and ISO MPEG-4 tags. For the editing part, like language options so I can choose English or other kind of manual text input (For example, if it's English Director's commentary, so I can write that). ISMA compliance would kick ass. Oh and in future releases, make sure to fix so that the video is always first, then the audio (after number) Like:

Track 1 MPEG-4 Video
Track 2 MPEG-4 5.1 Audio
Track 3 MPEG-4 Stereo Audio

yaz
15th February 2005, 12:58
@elias
why are u asking for that ?
- isma compliancy : which isma u mean (afaik, there's an extended specs on the way)
- stream order : it's quite arbitrary for mp4, no need to keep video on the top. or is it ? (w/these tools u'd get it only if u mux asp. avc is (should be) muxed the vary last)
- tagging: it'd be nice, but, afaik, none of the tools incorporated support it.

@seemoredigital
are u aware of any newer version than that on celtic's site ? they are 1-2 weeks old (fresh, but who can tell it in a hurry like that :) )

the bests
y

Elias
15th February 2005, 13:01
Originally posted by yaz
@elias
why are u asking for that ?
- isma compliancy : which isma u mean (afaik, there's an extended specs on the way)
- stream order : it's quite arbitrary for mp4, no need to keep video on the top. or is it ?
- tagging: it'd be nice, but, afaik, none of the tools incorporated support it.

@seemoredigital
are u aware of any newer version than that on celtic's site ? they are 1-2 weeks old (fresh, but who can tell it in a hurry like that :) )

the bests
y ISMA: Latest version. Don't know which. By the way, with or without ISMA, is mp4 streamable from the get-go?
Stream order: I don't know, I just prefer to have it like that :)
Tagging: it would rule.

SeeMoreDigital
15th February 2005, 13:28
Elias,

I guess what you want is a GUI something like this: -

http://img180.exs.cx/img180/1361/smdguiproposal031wb.png


Cheers

Elias
15th February 2005, 13:32
yeah! Totally kick ass, where can I get it?

SeeMoreDigital
15th February 2005, 17:18
Originally posted by yaz
@seemoredigital
are u aware of any newer version than that on celtic's site ? they are 1-2 weeks old (fresh, but who can tell it in a hurry like that :) ) Thanks Yaz,

I managed to find and download Celtic Druid's a build of MP4Creator, but I'm unable to find a build of AVI2RAW. Can anyone oblige please?

Originally posted by yaz
yeah! Totally kick ass, where can I get it?Maybe somebody could create a working GUI from it... or parts of it. I think the delay correction idea might take a while to implement ;)


Cheers

JoeBG
15th February 2005, 17:33
Originally posted by SeeMoreDigital
I guess what you want is a GUI something like this: -


can you give me commandlines for "Language" and "Extension" for muxing streams (aac, mp3, srt or ttxt) to mp4? If yes, maybe itīs possible for the next mp4muxer, I have to ask MrBlaschke.
If not, we will implement it when itīs possible in gpac or mpeg4ip tools.

You can get all tools you need (mpeg4ip and gpac) here (http://celticdruid.no-ip.com/xvid/) avi2raw is part of mpeg4ip

Elias
15th February 2005, 17:39
Originally posted by JoeBG
can you give me commandlines for "Language" and "Extension" for muxing streams (aac, mp3, srt or ttxt) to mp4? If yes, maybe itīs possible for the next mp4muxer, I have to ask MrBlaschke.
If not, we will implement it when itīs possible in gpac or mpeg4ip tools.

You can get all tools you need (mpeg4ip and gpac) here (http://celticdruid.no-ip.com/xvid/) avi2raw is part of mpeg4ip Would it be too much to ask if you could also make it able to manually write something like for example let's say: "Audio Commentary by Quentin Tarantino?" I mean, the option to choose English/other languages should be there. But a manual writing input would rule. Oh and please make it the track order choosable, that is, with video first. That would make my day! :)

scorpdt
15th February 2005, 18:01
Guys ... sorry for butting in. I just want to relate my experience with the track order in MP4 container.

Track 1 ... Audio
Track 2 ... Video
No problem on PC
But shutter or jerky on XBOX

With
Track 1 ... Video
Track 2 ... Audio
No problem on PC
No problem on XBox

My approach now is to prepare both the Audio (aac) and Video raw i.e. not in any container and use mp4creator to mux them.

Cheers!
Scorpio

bond
15th February 2005, 18:24
some things:

- afaik there is no cmdl tool that is able to set the language of a track (strictly speaking you can also set the language for video tracks in mp4)
- it shouldnt matter what tracknumbers you use for audio/video or whatever. (eg isma compliance requires the first audio to use 101, the first video to use 201. nero always uses for video the number 3, and for audio 1 and 2, aso...) if a mp4 player (eg xbox, which is using mplayer) doesnt handle the streams independently of the tracknumber its a bug in the player and has to be fixed
- mp4creator can tag .mp4 files afaik (or was it an own tagging tool of mpeg4ip?)

Elias
15th February 2005, 18:34
Originally posted by bond
some things:

- afaik there is no cmdl tool that is able to set the language of a track (strictly speaking you can also set the language for video tracks in mp4)
- it shouldnt matter what tracknumbers you use for audio/video or whatever. (eg isma compliance requires the first audio to use 101, the first video to use 201. nero always uses for video the number 3, and for audio 1 and 2, aso...) if a mp4 player (eg xbox, which is using mplayer) doesnt handle the streams independently of the tracknumber its a bug in the player and has to be fixed
- mp4creator can tag .mp4 files afaik (or was it an own tagging tool of mpeg4ip?) "mp4tags - sets iTunes tag information" <--- from MPEG4IP. Anyway, it might be a bug in the player for the Xbox, but I think it's just feels more right that the video track is first... besides, it actually helped for him. Is the iTunes tagging MPEG-4 compliant?

SeeMoreDigital
15th February 2005, 18:40
Originally posted by bond
...afaik there is no cmdl tool that is able to set the language of a track (strictly speaking you can also set the language for video tracks in mp4) What a shame!

Such a tool would have "finished off" an MP4 muxing tool very nicely :)

I got the idea from mpucoder's excellent (Mpeg2/VOB) "MuxMan" tool :D


Cheers

bond
15th February 2005, 18:41
Originally posted by Elias
Is the iTunes tagging MPEG-4 compliant?i am not sure if a tagging standard is already finalized in mpeg-4 or mpeg-7, so itunes tags are propably the only working tagging solution existing for .mp4 and the "defacto standard"

the itunes tags are placed in the udta atom where you can store basically anything you want (eg nero places chapters there), so the tags dont break the mpeg-4 compliancy (any player not knowing the tags will simply ignore them)

bond
15th February 2005, 18:46
Originally posted by SeeMoreDigital
Such a tool would have "finished off" an MP4 muxing tool very nicelyyou can already manually set the language of a stream in .mp4 with the tool dumpster (http://developer.apple.com/quicktime/quicktimeintro/tools/index.html) from apple
open the .mp4 in there, go to the mdhd atom (trak->mdia->mdhd), and replace under "language" the already written value with one of the following:
german: $10b5
english: $15c7
french: $1a41
japanese: $2a0e
portugese: $41f2
russian: $4ab3
spanish: $4e01
italian: $2681
traditional chinese: $690f

alternatively you can also do that with quicktime pro (as elias pointed out), but its payware

SeeMoreDigital
15th February 2005, 19:40
Originally posted by bond
you can already manually set the language of a stream in .mp4 with the tool dumpster (http://developer.apple.com/quicktime/quicktimeintro/tools/index.html) from apple That's a nice little tool... Maybe something like this can be intergrated into MP4Muxer?
Originally posted by bond
alternatively you can also do that with quicktime pro (as elias pointed out), but its payware I actually bought the "Pro" version of QuickTime many years ago and have been experimenting with it to re-mux Mpeg4/SP .MP4 files into the .MOV container!


Cheers

JoeBG
15th February 2005, 19:44
canīt open it in XP. Autexec.NT seems not to work with the tool :(

SeeMoreDigital
15th February 2005, 19:48
Originally posted by JoeBG
canīt open it in XP. Autexec.NT seems not to work with the tool :( Are you talking about Dumpster?

If so, I'm able to make it work on my WinXP SP2 system!

EDIT: I've been able to change the "language" information of streams within the .MP4 and .MOV container.


Cheers

JoeBG
15th February 2005, 20:01
Originally posted by SeeMoreDigital
Are you talking about Dumpster?

If so, I'm able to make it work on my WinXP SP2 system!

EDIT: I've been able to change the "language" information of streams within the .MP4 and .MOV container.


Cheers

Do you have the file "Autexec.NT" in your win 32 folder?