Log in

View Full Version : MP4Muxer - A MP4 Multiplexer w/ Quicktime support - Version 0.9.3 released


Pages : 1 2 [3]

KyleG
6th January 2009, 21:59
Hello, trying to make just a simple small clip using AC-3 audio.

I left all the settings as their defaults when muxing.

It plays in VLC fine of course, when I try to open it in QuickTime, it tells me..


Error -2041: an invalid sample description was found in the movie (defaultSettings.mp4)


Is this just from Quicktime's lack of AC-3 support? or from me being a retard?

Also I read you said for AC3 for Itunes/quicktime we need something like perian, that seems to be only for MacOS, andyone know something similar for Windows?

Thanks, and great work so far on the mp4Muxer

crypto
6th January 2009, 22:29
To run the muxed file in Quicktime, the extension must be renamed to .m4v (the same is true for using chapters). Sorry that the GUI doesn't suggest that for now.

About AC-3 in Quicktime (Windows), there is a codec needed, but I also aren't aware of one. Any suggestions are welcome.

lordreign
17th January 2009, 13:50
Error -2041: an invalid sample description was found in the movie (defaultSettings.mp4)



I get this same error also from Quicktime, but only after adding Chapters. If I create an mp4 with only H264 and AC3 audio (no chapters) it plays fine after renaming to m4v. Mac does the same thing.

b66pak
17th January 2009, 19:42
for chapters on QT use this:

http://forum.doom9.org/showthread.php?p=1058021#post1058021
_

lordreign
18th January 2009, 00:40
for chapters on QT use this:

http://forum.doom9.org/showthread.php?p=1058021#post1058021
_
Thanks for the suggestion, that actually works perfectly. If I use mp4muxer to create the m4v of H264 and AC3 (because the one you linked doesn't have the AC3 patch applied) then use the version you linked for the chapters it works great. Cheers.

crypto
18th January 2009, 10:43
@lordreign
mp4muxer contains the patch from tuber66, so it should add chapters. What steps did you take, that led to the error message?

bond
18th January 2009, 12:28
hi crypto

Are you in any way affiliated or joining forces with this project:
http://code.google.com/p/mp4v2/

maybe this might make sense...

crypto
18th January 2009, 12:48
Yeah, that's the base now for handbrake and I am also planning to build upon it.

chaynik
20th January 2009, 23:58
Thanks chaynik,

for the detailed description. I have implemented a change for the compressor name (like Quicktime does when remuxing). As I cannot test it on Mac (currently), I made this a prerelease. ***If you say it is ok, i'll release it.***

You can download it from SourceForge.net by following this link:
https://sourceforge.net/project/showfiles.php?group_id=232803&release_id=650741
or browse Release Notes and ChangeLog by visiting this link:
https://sourceforge.net/project/shownotes.php?release_id=650741
Thanks crypto, that fixed it!

However, as I started using your tool more now, I've run into another issue. It seems non mod16 resolutions muxed with it are being padded to mod16 in OS X's QuickTime Player (my 640x360 encodes appear as 640x368) and a green band appears on the bottom. The Windows version of QT does not have this issue.

Any idea what could be causing this?

Thanks again!

systemloc
21st January 2009, 14:28
I haven't had much luck adding chapters to some h264/AAC. MP4Muxer muxes the A/V into an MP4 which QT can play just fine, but when I attempt to add Chapters, QT plays the A/V, but doesn't display chapters. I've got the chapters in an OGG style list in a file with a .chap extention. I add them by importing them in the chapters tab, which indicates that they've been imported appropriately. I've also tried playing the resultant file with MPC, and it does not detect the chapters either.

Is MP4 Muxer supposed to be able to create chapters that QT can use? If so, is there some sort of trick to make it work? I've been able to add chapters using QT Pro 7 just fine, but it's a pain to use!

Everything I do is on a Win XP SP3 machine
QT 7.5.5
MP4Muxer 0.9.3

b66pak
21st January 2009, 19:56
for chapters on QT use this:

http://forum.doom9.org/showthread.ph...21#post1058021
_

crypto
22nd January 2009, 17:20
I haven't had much luck adding chapters to some h264/AAC. MP4Muxer muxes the A/V into an MP4 which QT can play just fine, but when I attempt to add Chapters, QT plays the A/V, but doesn't display chapters. I've got the chapters in an OGG style list in a file with a .chap extention. I add them by importing them in the chapters tab, which indicates that they've been imported appropriately. I've also tried playing the resultant file with MPC, and it does not detect the chapters either.

Is MP4 Muxer supposed to be able to create chapters that QT can use? If so, is there some sort of trick to make it work?

Yes MP4Muxer can create chapters that QT can use. The way you did it is exactly right. Do you know, that the extension needs to be renamed to .m4v?

crypto
22nd January 2009, 17:23
@chaynik
Great that the codec display works now on mac. I'll prepare a fixed release version.

Warrex
24th January 2009, 17:12
:thanks: for this great app!

MP4Muxer seems to create files which are more likely to be compatible with the the PSP compared to MP4box. Muxing a h264 stream and an aac stream with MeGUIs MP4Muxer GUI got me an incompatible file (PSP: "incompatible data") altough I used MeGUIs PSP profile and 2ch. aac-lc with 96kbit/s. MP4Muxers output worked flawlessly!

chaynik
28th January 2009, 00:48
@chaynik
Great that the codec display works now on mac. I'll prepare a fixed release version.

Thank you, crypto. What about the weird non-mod16 issue?

crypto
29th January 2009, 23:59
Thank you, crypto. What about the weird non-mod16 issue?

The only problem I can think of is, that the container signals different dimensions than the stream. Can you check that?

With h.264 cropping is done at the stream level, not at the container level. Not all decoders respect the cropping settings. So to be safe use mod16 dimensions.

jayman
2nd April 2009, 22:57
I've used mp4muxer to convert mkv files to an mp4 format. Using a streaming program called streambaby one can stream over mp4's without them being transcoded to the tivo. However, every time I use it, when watching at about the 4gb point of the movie, the screen turns black and I get chopped up audio. Does any one know what could be causing this? Is it a 64 bit addressing problem? Is there something I could try with mp4muxer, a setting, that may help fix it? thanks.

jayman
3rd April 2009, 21:04
It's all fixed now. Was a coding issue with streambaby. thanks. this program rocks.

b66pak
9th January 2010, 19:53
@crypto i have noticed that the last version of mp4creator is in PRE mode for about a year...(mp4creator-win32-1.6.1e-pre.zip)...something new?...how can i get it to show the progress of muxing (in CLI mode)? your GUI do that!
_

crypto
12th January 2010, 08:05
@crypto i have noticed that the last version of mp4creator is in PRE mode for about a year...(mp4creator-win32-1.6.1e-pre.zip)...something new?...how can i get it to show the progress of muxing (in CLI mode)? your GUI do that!
_

I have fixes in the queue for iTunes 9 but didn' t find the time to build a bin package. They are in the repo though.

The progress display is soley implemented in the GUI (via an observer thread). The CLI pogram has no info about that.

b66pak
12th January 2010, 20:16
muxing .ac3 and optimizing cause atom corruption (and stream corruption?)...tested with mp4creator-win32-1.6.1d and mp4creator-win32-1.6.1e-pre...
_

b66pak
12th January 2010, 20:45
The actual implementation of "-optimize" in GUI (after each muxing operation) lead to a lot of time wasted. I suggest to be done as a separate and final job!

Here is an example:

GUI Mode:


mp4creator video.h264 -rate=25 -use64bits -optimize final.mp4 < 600sec (mux) + 600sec (optimize)

mp4creator surround.aac -interleave -optimize final.mp4 < 60sec (mux) + 660 (optimize)

mp4creator stereo.aac -interleave -optimize final.mp4 < 20sec (mux) + 680 (optimize)

mp4creator headphones.aac -interleave -optimize final.mp4 < 20sec (mux) + 700 (optimize)


TOTAL = 700sec (mux) + 700sec (optimize) + 1940sec (optimize)!!!



CLI Mode:


mp4creator video.h264 -rate=25 -use64bits final.mp4 < 600sec (mux)

mp4creator surround.aac -interleave final.mp4 < 60sec (mux)

mp4creator stereo.aac -interleave final.mp4 < 20sec (mux)

mp4creator headphones.aac -interleave final.mp4 < 20sec (mux)

mp4creator -optimize final.mp4 < 700sec (optimize)


TOTAL = 700sec (mux) + 700sec (optimize)
_

kypec
13th January 2010, 06:46
Though I don't know nor use MP4Creator I can only agree with you, b66pak. Optimization (I assume some kind of internal re-organization of all tracks & streams inside MP4 container) should be definitely done just once when ALL tracks & streams are present in the container file.

b66pak
17th January 2010, 19:50
any plans in adding support for muxing .dts?

http://www.mp4ra.org/codecs.html
_

SeeMoreDigital
27th January 2010, 10:51
any plans in adding support for muxing .dts?

http://www.mp4ra.org/codecs.html
_As far as I'm aware "DTS" is not officially supported within the MPEG-4 specification... Unlike "AC3" audio.

Drachir
28th January 2010, 21:30
As far as I'm aware "DTS" is not officially supported within the MPEG-4 specification... Unlike "AC3" audio.

How did you come to this conclusion? Did you take a look at the link provided by b66pak?

http://www.mp4ra.org is the officially registration authority for file formats based at ISO/IEC 14496-12(ISO Base Media File Format).

There is listed "AC-3 audio" and also "DTS Coherent Acoustics audio". So why should "AC-3 audio" be supported and "DTS Coherent Acoustics audio" not?

An other question is, is there any player out there that would support DTS in "ISO Base Media File Format" alike files?

One comment about the 4CC "Code" point and the "ObjectType". What is used, depend on the currently used file format. There are some file formats, which are based at the ISO Base Media File Format. There are for example the 3GPP file format(*.3gp), the format used by apple (*.m4v) and the MP4 file format (*.mp4).
Lets take AC-3 audio for example. If you have a file, which claims to be correctly presented, if the format rules by apple are respected -> main ftyp = "M4V " the 4CC code point "ac-3" is used.
If you have a MP4 file (MPEG-4 systems context) ->main ftyp = "mp42" the ObjectType 0xA5 should be used.
But there are more player around that support the apple format, so it makes no sense to use the ObjectType 0xA5. Consistently you should set the main ftyp to "M4V " and also use the file extension *.m4v. This make a lot more sense if also iTunes tags and chapters are used.

b66pak
1st February 2010, 19:07
I have fixes in the queue for iTunes 9 but didn' t find the time to build a bin package.

any news?
_

b66pak
18th February 2010, 20:37
today i updated QT to v7.6.5 and i found that mp4muxer is no longer QT friendly...

a 60 sec .mp4 clip (h264+aac-lc) muxed with mp4muxer is displayer, played and saved (as .mov) as 120 sec video + 60 sec audio!

so an updated mp4creator is needed...

how to reproduce: open in QT a clip muxed with mp4muxer go to window/show movies properties and you will see that the size of the video is double...

_

b66pak
25th February 2010, 19:21
@crypto can we consider that mp4muxer/mp4creator is no longer developed?
_

b66pak
23rd July 2011, 19:56
please, can somebody make a windows static build for mp4creator with the last svn repository (video length display fixed)?

http://mp4creator.svn.sourceforge.net/viewvc/mp4creator/

thanks a lot...
_

SeeMoreDigital
23rd July 2011, 19:59
please, can somebody make a windows build for mp4creator with the last svn repository (video length display fixed)?

http://mp4creator.svn.sourceforge.net/viewvc/mp4creator/

thanks a lot...

Agreed... I use MP4muxer all the time...

b66pak
31st July 2011, 18:34
please, can somebody make a windows static build for mp4creator with the last svn repository (video length display fixed)?

http://mp4creator.svn.sourceforge.net/viewvc/mp4creator/

thanks a lot...
_

nobody can help?
_

b66pak
4th August 2011, 19:54
pretty please...
_

Kurtnoise
4th August 2011, 21:25
http://www.mediafire.com/?odsc0ivb1c71xkr

SeeMoreDigital
4th August 2011, 21:42
Hi Kurtnoise,

Many thanks for doing this :)

b66pak
5th August 2011, 03:33
thanks a lot...
_

stinman
15th March 2012, 23:16
I thank you to1 I can't find mp4 box unless I download other things that have it included, yamb don't even have it included.

SeeMoreDigital
20th March 2013, 10:31
Out of interest...

Has there been any new builds of mp4creator that will work with MP4Multiplexer?