View Full Version : [Solved] MP4Box muxing to m4v/mp4 - Video track has no data size (-NA- in QT player)
crypto
17th April 2008, 21:22
Due to the missing data size most editing functions of Quicktime Pro cause errors.
Playback and seeking however is ok, as is the duration.
Command used to mux is:
MP4Box-0.4.5-DEV -ipod -brand M4VH:1 -add "BandidasHD-pass2.h264":fps=25 -add "BandidasHD.aac" "BandidasHD.m4v"
AVC-H264 import - frame size 1280 x 528 at 25.000 FPS
Import results: 133287 samples - Slices: 1926 I 61228 P 70133 B - 1 SEI - 1731 IDR
AAC import - sample rate 48000 - MPEG-4 audio - 2 channels
Setting up iTunes/iPod file...
Forcing AVC/H264 SAR to 1:1...
Saving to BandidasHD.m4v: 0.500 secs Interleaving
Any ideas are welcome.
bond
20th April 2008, 17:48
try with .mp4 extension and without ipod thingie
crypto
20th April 2008, 19:44
Thanks bond, for the suggestions. The extension and ipod guid do not change the behavior.
Meanwhile I tried several multiplexers, including mp4creator, mp4creator-qtf, NicMp4box and x264's built-in muxer. All show the data size -NA- phenomenon. (strangle only on the h.264 track, aac audio has a data size)
The only muxer which "knows" how to set the data size for all tracks is Handbrake. It can even mux AC3 in. But the Handbrake team seems not to be willing to give a video pass thru or mux only option.
I don't know, if an atom is needed to show the data size. I am currently browsing the libmp4v2 code, which can do the trick.
SeeMoreDigital
20th April 2008, 20:15
Hi Crypto,
I've been seeing this particular MP4box issue for quite some time. It only seems to happen with AVC encodes containing B-frames.
From what I understand, FFmpeg is able to generate .MP4 muxes that are more QuickTime compliant ;)
I've been meaning to to inform Falco about it...
crypto
20th April 2008, 20:23
Hi SeeMoreDigital,
I forgot about FFmpeg. Thanks for reminding me. I will check it out.
SeeMoreDigital
20th April 2008, 20:28
Please let me know how you get on...
I'd love to have/see a simple GUI for FFmpeg that's able to generate basic .MP4/.MOV muxes.
Cheers
crypto
25th May 2008, 17:38
..I've been seeing this particular MP4box issue for quite some time. It only seems to happen with AVC encodes containing B-frames.
That's exactly the point. I have checked on this and it turns out, that AVC encodes containing B-frames need a edts/elst box combination. I have modified mp4creator accordingly and now QT supports every function on my muxes. (Exporting with and without reencoding, adding/removing tracks, saving as mov,...) If anyone has the same problem with muxing let me know and I provide you with a copy.
SeeMoreDigital
25th May 2008, 18:13
Hi Crypto,
This is great news. Do you have a muxing application with GUI I can try out?
crypto
25th May 2008, 18:24
No, sorry. I've just modded mp4creator. But I can throw some gui together. I will provide a mockup for discussions.
what about submitting a patch to the mpeg4ip source?
crypto
25th May 2008, 19:00
Hi bond, I will. But the patch needs some testing. It is currently a one-liner. LOL. http://pastebin.ca/1029023
SeeMoreDigital
25th May 2008, 19:06
No, sorry. I've just modded mp4creator. But I can throw some gui together. I will provide a mockup for discussions.That would be most useful... Many thanks :)
refulgentis
25th May 2008, 23:25
That's exactly the point. I have checked on this and it turns out, that AVC encodes containing B-frames need a edts/elst box combination. I have modified mp4creator accordingly and now QT supports every function on my muxes. (Exporting with and without reencoding, adding/removing tracks, saving as mov,...) If anyone has the same problem with muxing let me know and I provide you with a copy.
if you could upload the binary (compiled for os x?) that would be great. right now even building mp4creator from patched code used in handbrake takes almost another hour or two of patching various declarations.
macshodan
29th May 2008, 14:22
That was exactly what I was looking for... someone talented to resolve this issue in mp4creator. Would it be possible to upload the compiled binary for OSX!??! That would be awesome! Thanks in advance!
crypto
5th June 2008, 23:21
I started a new thread for the patched mp4creator + GUI here (http://forum.doom9.org/showthread.php?p=1146232#post1146232)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.