View Full Version : MP4Muxer - A MP4 Multiplexer w/ Quicktime support - Version 0.9.3 released
crypto
5th June 2008, 23:12
MP4Muxer (mp4creatorGUI) is a new muxer tool for MPEG-4 based on mp4creator. It combines H264 video tracks and AAC/AC-3 audio tracks. Muxes are compatible with Quicktime, Apple TV, XBox and many others.
New in Version 0.9.3
The newest version 0.9.3 contains bug fixes and AC-3 audio track support.
New in Version 0.9.2
The newest version 0.9.2 contains bug fixes and a streamlined layout.
Use "Check for Updates..." from the Help menu.
New in Version 0.9.1
Version 0.9.1 is almost feature complete and adds features like chapter support, anamorphic resize, track deletion, drag-and-drop support and an update manager.
Features (mostly from mp4creator):
- create mpeg4 files from elementary streams (mp3, aac, mp4v, h263, h264 and .mpg files)
- hint mpeg1/2/4, h264, h264 video, mp3 audio (rfc 2250 and 3119), AMR and aac audio
- extract elementary streams from mp4 files (adding headers, if needed)
- create and/or encrypt files to the ISMA 1.0 specifiation
- create 3GPP files from H.263 and/or AMR files
- supports QT including edts/elst boxes (no more missing data size in video track)
- progress display
- anamorphic resize support - new
- chapter support including chapter editor - new
- drag-&-drop support - new
- includes GUI and CLI interfaces
- no installation required, just unpack zip
Enjoy!
http://www.dvbportal.de/images/screencap.png
Download Version 0.9.3 here (http://dvbportal.dyn1.de/download.php?file=mp4muxer-0.9.3.zip)
Project page: http://www.dvbportal.de/projects/mp4muxer (includes streaming samples: iPhone, desktop, Highdef, Apple TV)
SeeMoreDigital
6th June 2008, 01:01
Nice....... I'll start testing tomorrow....
Schrade
7th June 2008, 18:19
Can you add the chapter abilities into your GUI? Note: They require that the files use the extension .m4v to show up in Quicktime/on an iPhone or iPod Touch.
Oh, when loading a .mp4 file in to Demultiplex the button in the file dialog says "Save" instead of "Open"
crypto
7th June 2008, 18:56
Schrade:
Thanks for your test results. This is an early version. If users like it, I will add chapters and later, AC3 support. But these additions require extensions to the underlying mp4creator. There must be a certain user base for the tool to justify the effort.
Schrade
7th June 2008, 19:03
Schrade:
Thanks for your test results. This is an early version. If users like it, I will add chapters and later, AC3 support. But these additions require extensions to the underlying mp4creator. There must be a certain user base for the tool to justify the effort.
Uh, what? mp4creator already supports chapters... that's why I requested it.
crypto
7th June 2008, 19:09
Cool. What version? I did built it from the trunk and couldn't find any options for chapters.
Schrade
8th June 2008, 06:59
Cool. What version? I did built it from the trunk and couldn't find any options for chapters.
Thread is here: http://forum.doom9.org/showthread.php?t=131095
crypto
8th June 2008, 09:09
Ahh thanks, that patch is already in the queue for anamorphic support. Too bad, that there is no maintainer for mpeg4ip anymore. There is also a patch at sourceforge (http://sourceforge.net/forum/forum.php?thread_id=1837284&forum_id=59136) that seems interesting. I hope, I am getting it all together.
crypto, is your tool a gui or did you also make modifications to the mp4creator source
if the later, which ones, and is there any chance to get them into the official mp4creator sources to avoid forks?
Ritsuka
8th June 2008, 13:58
The transformation matrix it's not the best thing to use for anamorphic in quicktime, as it will broke if/when quicktime player will start reading par from the video stream (iTunes already does it on Mac OS X, but don't know about the windows version).
refulgentis
13th June 2008, 22:09
Any chance you can get this for Mac? I know its probably an insane pipe dream...but just in case...:-D
crypto
14th June 2008, 16:50
Sorry. I have currently no Mac development machine. The CLI part however should compile on Mac.
Ranguvar
16th June 2008, 03:50
If you could update mp4creator to the latest CVS (also found in HandBrake 0.9.2's source), which allows input of AC3 audio (so that the 360 and PS3 can play MP4's with compatible audio and then an AC3 track; gdsmux.exe doesn't work properly), you would be the king. :p
refulgentis
16th June 2008, 06:18
If you could update mp4creator to the latest CVS (also found in HandBrake 0.9.2's source), which allows input of AC3 audio (so that the 360 and PS3 can play MP4's with compatible audio and then an AC3 track; gdsmux.exe doesn't work properly), you would be the king. :p
I don't think its quite that easy, Handbrake actually modifies libmp4v2 or whatever mp4creator's library is called, not MP4Creator itself
crypto
16th June 2008, 07:20
I don't think its quite that easy, Handbrake actually modifies libmp4v2 or whatever mp4creator's library is called, not MP4Creator itself
Exactly, and they use an older branch as base. But hey, I am planning to bring all the features to MP4Muxer/mp4creator (sooner or later):
- Chapters
- AC3 tracks
- Anamorphic transformation at container level
Ranguvar
16th June 2008, 11:23
Excellent. But the HandBrake people told me the changes were backported?
bond
18th June 2008, 20:02
official specs for ac3 in mp4 are coming this summer. please no private hacks
crypto
18th June 2008, 21:53
Very interesting. I will wait for that.
crypto
3rd July 2008, 22:20
Version 0.9.1 has been released. See the first post for details.
CruNcher
7th July 2008, 06:24
Perfect, finaly someone who takes the full Power of Mp4Creator into one simple Gui :) (much more interoperable then this bad Mp4box) with many Devices especialy when you want todo real interoperable stuff like playing back via web and the same time be able to playback with correct AR on the PSP for example. And i dont even wan't to talk about how much better it uses resources on Win32 compared to Mp4Box :P
Thx Crypto
Btw is Mp4Creator still developed?? i thought the Cisco guys stoped development, where to find the current in develop source (still on sourceforge mpeg4ip ?)
crypto
25th July 2008, 08:20
..Btw is Mp4Creator still developed?? i thought the Cisco guys stoped development, where to find the current in develop source (still on sourceforge mpeg4ip ?)
MP4Creator is still being developed and has a new home at sourceforge (http://mp4creator.sourceforge.net).
gwaitsi
25th July 2008, 20:30
subtitle support?
ogg chapter support?
crypto
26th July 2008, 09:02
> subtitle support?
I didn't think about that. Do you have a sample? Which players can display subtitles?
> ogg chapter support?
as an import format for chapters? Should be possible. Do you have a sample?
musicman2311
28th July 2008, 21:35
Dear Crypto,
congratulations to this great tool which I just started to use.
What I tend to do is generate h264 for AppleTV with MeGui,
mux it with your tool to *.mp4 and then import to quicktime to mux that one with the ac3 stream to generate a *.mov for AppleTV with 5.1 sound.
I usually code video at 4.2 Mbit/sec and leave audio AC3 at 640kbit/sec. with a 2.5h movie that results into a file of over 4 Gbyte (video only).
my observation is, that once I import that file to quicktime, quicktime does not recognize the file size. hence i cannot export or store the movie from there.
I had converted a file resulting in a 5.5 Gbyte *.mov with another method and quicktime worked well.
Can it be that there is a file size limitation for MP4 Multiplexer?
thanks
Here's an ogg chapter sample:
CHAPTER01=00:00:00.000
CHAPTER01NAME=Chapter 1
CHAPTER02=00:06:49.500
CHAPTER02NAME=Chapter 2
CHAPTER03=00:10:58.500
CHAPTER03NAME=Chapter 3
CHAPTER04=00:13:23.833
CHAPTER04NAME=Chapter 4
CHAPTER05=00:17:51.333
CHAPTER05NAME=Chapter 5
CHAPTER06=00:21:01.500
CHAPTER06NAME=Chapter 6
CHAPTER07=00:23:20.000
CHAPTER07NAME=Chapter 7
CHAPTER08=00:29:47.500
CHAPTER08NAME=Chapter 8
SeeMoreDigital
29th July 2008, 15:44
With OGG style chapters, it's also possible to create chapter names, like this: -
CHAPTER01=00:00:00.000
CHAPTER01NAME=The Beginning
CHAPTER02=00:00:05.640
CHAPTER02NAME=Four Wise Men
CHAPTER03=00:00:09.040
CHAPTER03NAME=Obi-Wan and Anakin 01
CHAPTER04=00:00:12.880
CHAPTER04NAME=Yoda 01
CHAPTER05=00:00:14.440
CHAPTER05NAME=Obi-Wan and Anakin 02
CHAPTER06=00:00:17.360
CHAPTER06NAME=Mace Windu 01
CHAPTER07=00:00:18.400
CHAPTER07NAME=Anakin 01
CHAPTER08=00:00:20.960
CHAPTER08NAME=Mace Windu 02
CHAPTER09=00:00:26.640
CHAPTER09NAME=Anakin 02
CHAPTER10=00:00:31.920
CHAPTER10NAME=Mace Windu 03
CHAPTER11=00:00:34.600
CHAPTER11NAME=Yoda 02
CHAPTER12=00:00:41.040
CHAPTER12NAME=Obi-Wan and Anakin 03
> subtitle support?
I didn't think about that. Do you have a sample? Which players can display subtitles?As far as I'm aware, only few software players support the official MPEG-4 specification subtitle format (ie: TTXT). With hardware players, TTXT support is non existent.
DVD style VOBsubs can also be placed within the .MP4 container. Which are supported by NeroDigital certified devices...
Cheers
crypto
29th July 2008, 22:26
...
I usually code video at 4.2 Mbit/sec and leave audio AC3 at 640kbit/sec. with a 2.5h movie that results into a file of over 4 Gbyte (video only).
my observation is, that once I import that file to quicktime, quicktime does not recognize the file size. hence i cannot export or store the movie from there.
I thought there is a 4 GB limit. But Apple is removing limits with every new version. So this 4 GB limit may not exist anymore with Quicktime 7.7.
I would try the 64 Bit Addressing checkbox to do the mux.
BTW. How do you load the AC3 track in QT? This is one of the open points of the current mp4muxer. Have you installed an additional AC3 codec for QuickTime, or do you go the lossless wav method?
Edit: I just checked it. The AC3 Track muxes perfect, even when QT complains about a missing codec. When playing on AppleTV, the AC3 track is selected and plays perfectly.
crypto
29th July 2008, 22:32
Here's an ogg chapter sample:
CHAPTER01=00:00:00.000
CHAPTER01NAME=Chapter 1
CHAPTER02=00:06:49.500
CHAPTER02NAME=Chapter 2
CHAPTER03=00:10:58.500
CHAPTER03NAME=Chapter 3
CHAPTER04=00:13:23.833
CHAPTER04NAME=Chapter 4
CHAPTER05=00:17:51.333
CHAPTER05NAME=Chapter 5
CHAPTER06=00:21:01.500
CHAPTER06NAME=Chapter 6
CHAPTER07=00:23:20.000
CHAPTER07NAME=Chapter 7
CHAPTER08=00:29:47.500
CHAPTER08NAME=Chapter 8
Ah, that's exactly the format mp4muxer is using. The chapter file should be stored with the extension *.chap. Click on the Chapters tab, then import, and then select the chapter file. Then click Multiplex.
So some
crypto
29th July 2008, 22:37
With OGG style chapters, it's also possible to create chapter names, like this: -
SeeMoreDigital, your sample works too.
As far as I'm aware, only few software players support the official MPEG-4 specification subtitle format (ie: TTXT). With hardware players, TTXT support is non existent.
DVD style VOBsubs can also be placed within the .MP4 container. Which are supported by NeroDigital certified devices...
Cheers
That's what I thought. But maybe there are new developments. MP4 is currently getting a lot of attention.
Sharktooth
30th July 2008, 02:53
the only major thing it lacks is TTXT subtitles support. even if it is not officially supported by hardware players it's in the specs.
if you want samples, get the very latest subrip and create as many TTXT subtitles you want.
or just get this small sample: http://www.webalice.it/f.corriga/temp/VTS_01_1.Italian_forced.ttxt
this is the equivalent srt: http://www.webalice.it/f.corriga/temp/VTS_01_1.Italian_forced.srt
the ttxt was manually cleaned from the "skipped items", i hope i didnt make a mess.
Ranguvar
30th July 2008, 03:26
I'm getting lots of errors telling me that values over 100 (increasing each time I say OK) are not allowed. By looking at the info, it appears that MP4Muxer is giving a value of over 100 to the progress bar.
Also, MediaInfo reports variable framerate from 23.974 to 23.981fps, which is worrisome. Variable framerate is not selected. This does not happen with MP4Box-muxed files.
My only feature requests are importing attachments, and importing audio and video streams already in MP4s without first demuxing them, but I suppose those would better be directed at mp4creator.
Thanks for the great work!
crypto
30th July 2008, 23:22
the only major thing it lacks is TTXT subtitles support. even if it is not officially supported by hardware players it's in the specs.
if you want samples, get the very latest subrip and create as many TTXT subtitles you want...
Thanks for the samples.
crypto
30th July 2008, 23:24
I'm getting lots of errors telling me that values over 100 (increasing each time I say OK) are not allowed. By looking at the info, it appears that MP4Muxer is giving a value of over 100 to the progress bar.
Ok, I will look at that. But that means that the elementary stream is larger as the final mux. Very strange.
Also, MediaInfo reports variable framerate from 23.974 to 23.981fps, which is worrisome. Variable framerate is not selected. This does not happen with MP4Box-muxed files. I have no idea about that. Do the mp4s play ok?
My only feature requests are importing attachments, and importing audio and video streams already in MP4s without first demuxing them, but I suppose those would better be directed at mp4creator.
Thanks for the great work!
Attachment support won't happen too soon.
Demuxing before muxing could also be handled by the frontend, but that would not save time.
Ranguvar
31st July 2008, 00:59
I have no idea about that. Do the mp4s play ok? They do play fine, as far as I can tell without doing extensive testing, but it's still worrying :p
refulgentis
31st July 2008, 05:04
With OGG style chapters, it's also possible to create chapter names, like this: -
CHAPTER01=00:00:00.000
CHAPTER01NAME=The Beginning
CHAPTER02=00:00:05.640
CHAPTER02NAME=Four Wise Men
CHAPTER03=00:00:09.040
CHAPTER03NAME=Obi-Wan and Anakin 01
CHAPTER04=00:00:12.880
CHAPTER04NAME=Yoda 01
CHAPTER05=00:00:14.440
CHAPTER05NAME=Obi-Wan and Anakin 02
CHAPTER06=00:00:17.360
CHAPTER06NAME=Mace Windu 01
CHAPTER07=00:00:18.400
CHAPTER07NAME=Anakin 01
CHAPTER08=00:00:20.960
CHAPTER08NAME=Mace Windu 02
CHAPTER09=00:00:26.640
CHAPTER09NAME=Anakin 02
CHAPTER10=00:00:31.920
CHAPTER10NAME=Mace Windu 03
CHAPTER11=00:00:34.600
CHAPTER11NAME=Yoda 02
CHAPTER12=00:00:41.040
CHAPTER12NAME=Obi-Wan and Anakin 03
As far as I'm aware, only few software players support the official MPEG-4 specification subtitle format (ie: TTXT). With hardware players, TTXT support is non existent.
DVD style VOBsubs can also be placed within the .MP4 container. Which are supported by NeroDigital certified devices...
Cheers
in a backwards way, iPhone/iPods do support ttxt (as does Quicktime and iTunes)
http://forum.handbrake.fr/viewtopic.php?f=14&t=5520&p=31252#p31252
"soft subtitles" can be enabled this way. very simple process in actuality.
NorthPole
31st July 2008, 23:39
@crypto
Thanks for the excellent work on a mp4 muxer that uses mp4creator. I had one feature request...
I already have muxed mp4s that play with the correct aspect ratio with mpc but not with quicktime/ipod.
Is there anyway to have your program accept a mp4 as input and remux it with the correct quicktime/ipod display info.
Thanks.
Sagekilla
1st August 2008, 11:12
Hi, I tried using your tool to mux a file and it ended up crashing on me. If it helps any, the movie I was muxing was roughly ~220k frames long (Superbad) and it slowed down on the muxing as it approached the EOF (1.6 GB of 1.8 GB muxed and it came to a grinding halt.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentOutOfRangeException: Value of '101' is not valid for 'Value'. 'Value' should be between 'minimum' and 'maximum'.
Parameter name: Value
at System.Windows.Forms.ProgressBar.set_Value(Int32 value)
at System.Windows.Forms.ToolStripProgressBar.set_Value(Int32 value)
at mp4muxer.frmMain.timer1_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///D:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
mp4muxer
Assembly Version: 0.9.1.0
Win32 Version: 0.9.1.0
CodeBase: file:///G:/Movies/300_HD/mp4muxer.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
BucksSaddler
1st August 2008, 11:30
BTW. How do you load the AC3 track in QT? This is one of the open points of the current mp4muxer. Have you installed an additional AC3 codec for QuickTime, or do you go the lossless wav method?
Edit: I just checked it. The AC3 Track muxes perfect, even when QT complains about a missing codec. When playing on AppleTV, the AC3 track is selected and plays perfectly.
Hi,
Been using your great app for a while. Can you tell me how you got the AC3 track to play through your Apple TV? I've muxed an 264 stream with the app, then tried adding the AC3 track via Quicktime and saving as a Mov, but no joy. I've even tried the specific Quicktime format required by Apple to play AC3 in a file (AAC first track enabled, AC3 second track disabled) but still no luck.
Thanks
refulgentis
1st August 2008, 14:35
Hi,
Been using your great app for a while. Can you tell me how you got the AC3 track to play through your Apple TV? I've muxed an 264 stream with the app, then tried adding the AC3 track via Quicktime and saving as a Mov, but no joy. I've even tried the specific Quicktime format required by Apple to play AC3 in a file (AAC first track enabled, AC3 second track disabled) but still no luck.
Thanks
That's really strange, the AC3 track is definitely there right? And your Apple TV is connected to a receiver via optical?
Oleg Rode
1st August 2008, 20:26
Hello to all and sorry for my English
I got a problem with this program. So, what we have:
1. I got a mp4 videofile, which contains x264 High@5.1 variable framerate videostream and aac audiostream. The videostream in the first part got framerate 29.97, then 23.976
2. I need to force High@4.1 profile for this videostream (yep, PlayStation 3 fix)
3. I demux this videostream and change extension from *.t1 to *.264. So, I got a videostream.
4. I demux audiostream and change extension from *.t2 to *.aac. So, I got an audiostream
5. I need to mux videostream to mp4 container. I press "Add" button and select my videostream.
6. So I check "variable framerate" option, set "h264 Profile" option to 41 and leave "Framerate" untouched (default is 25)
7. I press Multiplex button and here we go...
8. The mp4 file have been created, but... The profile of videostream is still High@5.1 and no playback on PS3... There is a string in the "advanced" tag: Error decoding sei message
9. OK. Lets leave it for now. I mux an audiostream to mp4 file (add audiostream and press Multiplex again)
10. So, I got a mp4 file, but let's play it... Well, the video goes slow and not syncronized to audio...
11. OK. Let's set "Framerate" option to 29.97 (see step #6) and do it again... Bad luck - video is syncronised in the begining (part with 29.97 framerate), but NOT syncronized after a while (23.976 part)...
So, there are questions:
- How to force High@4.1 profile?
- How to work with variable framerate streams?
- Is it possible to force High@4.1 profile in videostream without demuxing it from mp4 container?
crypto
2nd August 2008, 22:40
Hi, I tried using your tool to mux a file and it ended up crashing on me. If it helps any, the movie I was muxing was roughly ~220k frames long (Superbad) and it slowed down on the muxing as it approached the EOF (1.6 GB of 1.8 GB muxed and it came to a grinding halt...
Yes, that needs a fix. Ranguvar has also expierienced that problem.
crypto
2nd August 2008, 23:06
Hello to all and sorry for my English
I got a problem with this program. So, what we have:
1. I got a mp4 videofile, which contains x264 High@5.1 variable framerate videostream and aac audiostream. The videostream in the first part got framerate 29.97, then 23.976
2. I need to force High@4.1 profile for this videostream (yep, PlayStation 3 fix)
3. I demux this videostream and change extension from *.t1 to *.264. So, I got a videostream.
4. I demux audiostream and change extension from *.t2 to *.aac. So, I got an audiostream
5. I need to mux videostream to mp4 container. I press "Add" button and select my videostream.
6. So I check "variable framerate" option, set "h264 Profile" option to 41 and leave "Framerate" untouched (default is 25)
7. I press Multiplex button and here we go...
8. The mp4 file have been created, but... The profile of videostream is still High@5.1 and no playback on PS3... There is a string in the "advanced" tag: Error decoding sei message
9. OK. Lets leave it for now. I mux an audiostream to mp4 file (add audiostream and press Multiplex again)
10. So, I got a mp4 file, but let's play it... Well, the video goes slow and not syncronized to audio...
11. OK. Let's set "Framerate" option to 29.97 (see step #6) and do it again... Bad luck - video is syncronised in the begining (part with 29.97 framerate), but NOT syncronized after a while (23.976 part)...
So, there are questions:
- How to force High@4.1 profile?
- How to work with variable framerate streams?
- Is it possible to force High@4.1 profile in videostream without demuxing it from mp4 container?
VFR)
I think in your case you need to tell which frames use what frame rate. I haven't tried, but create a timecode file and look for a util called tcmp4, the call: tc2mp4 -i myCFRvid.mp4 -t timecode.txt -o myVFRvid.mp4
L5.1)
There are level indications on container an stream level. Maybe PS3 is only using the stream indication. Maybe mp4info can help
Error decoding sei message)
That error can be ignored. SEI messages are not required by the decoding process.
SeeMoreDigital
3rd August 2008, 11:09
Hi Crypto,
Is there any particular reason why you placed the "File Destination" box at the top of the GUI and not at the bottom?
Here's a cheeky suggestion: -
http://i38.tinypic.com/1s1d07.png
Cheers
Oleg Rode
3rd August 2008, 20:23
VFR)
I think in your case you need to tell which frames use what frame rate. I haven't tried, but create a timecode file and look for a util called tcmp4, the call: tc2mp4 -i myCFRvid.mp4 -t timecode.txt -o myVFRvid.mp4
OK. But how can I extract timecode data from mp4? I only found this thread about timecode.
http://forum.doom9.org/showthread.php?t=112199&
But it looks like another "MPEG 2 to AVC encoding with VFR"
There are level indications on container an stream level. Maybe PS3 is only using the stream indication. Maybe mp4info can help
mp4info can only print mp4 container data, not change. I tried to fix it with a HexEditor, but PS3 doesn't want to play this file anyway. So, I need to fix a stream
SeeMoreDigital
3rd August 2008, 20:46
Hi Oleg,
TSmuxerGUI allows you to import elementary .h264 streams and alter their profile prior to muxing into the .TS or .M2TS container.
You can then use TSmuxerGUI again to de-mux the "altered" .h264 stream.
Oleg Rode
3rd August 2008, 21:00
Hi Oleg,
TSmuxerGUI allows you to import elementary .h264 streams and alter their profile prior to muxing into the .TS or .M2TS container.
You can then use TSmuxerGUI again to de-mux the "altered" .h264 stream.
Yes, but tsMuxer + tsMuxer GUI does NOT support VFR. :(
So, I will receive a CFR stream.
Anyway it is a good idea to use h264info. But how can I mux a VFR stream back to container?
crypto
4th August 2008, 19:56
Hi SeeMoreDigital,
thanks for the suggestions. In the original design the mp4 file entry is on top as for some workflows it is the starting point, i.e. adding a track. But I see your point. I think about it. Also thanks for your label corrections.
NorthPole
4th August 2008, 20:33
@crypto
I noticed that after I set the quicktime aspect ratios using mp4muxer, my mp4s play with the correct aspect ratio in quicktime but not in itunes. They all play correctly on my iPod nano and with mpc.
The mp4 was originally generated with handbrake\x264. I demuxed them with your tool and remuxed using 853 x 480 for wide (16:9) and 640 x 480 for ntsc (tv, 4:3) as aspect ratios.
here is a stitched together screen shot of the file info from itunes.
http://img513.imageshack.us/img513/412/itunesinfotj6.th.jpg (http://img513.imageshack.us/my.php?image=itunesinfotj6.jpg)
Sorry about the crappy image hosting!
Also here is the avinaptic info for the files
************MP4MUXER TEST WIDE SCREEN************
[ About file ]
Name: MP4muxer test wide screen.mp4
Date: 4/08/2008 13:31:54
Size: 61,914,468 bytes (59.046 MB)
[ Video track ]
Codec: avc1
Resolution: 704 x 480
Frame aspect ratio: 22:15 = 1.466666
Pixel aspect ratio: 1:1 = 1
Display aspect ratio: 22:15 = 1.466666
Framerate: 23.976000 fps
Number of frames: 7247
Bitrate: 1476.126893 kbps
[ About H.264 encoding ]
SPS id: 0
Profile: Baseline@L3
Num ref frames: 1
Aspect ratio: Custom pixel shape (853:704 = 1.211647)
Chroma format idc: YUV 4:2:0
PPS id: 0 (SPS: 0)
Entropy coding type: CAVLC
Weighted prediction: No
Weighted bipred idc: No
8x8dct: No
************HANDBRAKE TEST WIDE SCREEN************
[ About file ]
Name: Handbrake test wide screen.mp4
Date: 2/08/2008 00:21:55
Size: 61,886,984 bytes (59.02 MB)
[ Video track ]
Codec: avc1
Resolution: 704 x 480
Frame aspect ratio: 22:15 = 1.466666
Pixel aspect ratio: 853:704 = 1.211647
Display aspect ratio: 853:480 = 1.777083 (~16:9)
Framerate: 23.976025 fps
Number of frames: 7247
Bitrate: 1476.142632 kbps
[ About H.264 encoding ]
SPS id: 0
Profile: Baseline@L3
Num ref frames: 1
Aspect ratio: Custom pixel shape (853:704 = 1.211647)
Chroma format idc: YUV 4:2:0
PPS id: 0 (SPS: 0)
Entropy coding type: CAVLC
Weighted prediction: No
Weighted bipred idc: No
8x8dct: No
************MP4MUXER TEST NTSC SCREEN************
[ About file ]
Name: MP4muxer test ntsc screen.mp4
Date: 4/08/2008 13:31:12
Size: 11,073,578 bytes (10.561 MB)
[ Video track ]
Codec: avc1
Resolution: 704 x 480
Frame aspect ratio: 22:15 = 1.466666
Pixel aspect ratio: 1:1 = 1
Display aspect ratio: 22:15 = 1.466666
Framerate: 23.976000 fps
Number of frames: 1279
Bitrate: 1497.886275 kbps
[ About H.264 encoding ]
SPS id: 0
Profile: Baseline@L3
Num ref frames: 1
Aspect ratio: 10:11 (4:3 NTSC pixel shape)
Chroma format idc: YUV 4:2:0
PPS id: 0 (SPS: 0)
Entropy coding type: CAVLC
Weighted prediction: No
Weighted bipred idc: No
8x8dct: No
************HANDBRAKE TEST WIDE SCREEN************
[ About file ]
Name: Handbrake test ntsc screen.mp4
Date: 2/08/2008 00:08:26
Size: 11,069,620 bytes (10.557 MB)
[ Video track ]
Codec: avc1
Resolution: 704 x 480
Frame aspect ratio: 22:15 = 1.466666
Pixel aspect ratio: 10:11 = 0.909090
Display aspect ratio: 4:3 = 1.333333
Framerate: 23.976033 fps
Number of frames: 1279
Bitrate: 1497.968724 kbps
[ About H.264 encoding ]
SPS id: 0
Profile: Baseline@L3
Num ref frames: 1
Aspect ratio: 10:11 (4:3 NTSC pixel shape)
Chroma format idc: YUV 4:2:0
PPS id: 0 (SPS: 0)
Entropy coding type: CAVLC
Weighted prediction: No
Weighted bipred idc: No
8x8dct: No
Looks like maybe mpc and my ipod only looks at the pixel shape and frame size info of the h264 stream to determine the playback size.
Also, it looks like maybe itunes looks at the h264 stream info plus the container info plus the newly added quicktime aspect atom to determine the playback size.
And finally, quicktime does something different then all the rest to determine the playback size.
crypto
9th August 2008, 23:36
Version 0.9.2 is out. All reported bugs should be fixed. I also applied most suggestions from SeeMoreDigital.
Use "Check for Updates..." from the Help menu or see the first post for an updated link.
SeeMoreDigital
10th August 2008, 10:53
Hi Crypto,
Just found a couple of typo's: -
http://i33.tinypic.com/2zdqauo.png
Adjusting the video size (the equivalent of QT7's "scaled size" transformation setting) is working very well ;)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.