Log in

View Full Version : multiplex aac and mp4..


hk
30th August 2002, 01:24
Hi,
I got a aac file (~18MB) and a mp4 file (~175MB, created with DivX5proīs Mp4 creator).
So I tried to multiplex both files using the command
mp4creator60 -rate=25 -I -c=audio.aac video.mp4

and got the message:
MP4 error: Mp4 Array :: (): Result too large

but there is plenty of hd space!!
Any ideas? Your help is appreciated,
HKA

tanksimpson
30th August 2002, 03:18
Don't bother using DivX 5 Pro's mp4 maker, it stinks, use the same tool you are using for the audio (mp4creator60) to convert the avi into the mp4, then you can add the audio using mp4creator60 again. Example:

mp4creator60 video.avi example.mp4
mp4creator60 -I audio.aac example.mp4

The "-I" tells mp4creator to interleave the audio. If you want to stream your mp4, remember to use "-H" in both cases. The "-O" flag for optimizing hasn't really been necessary, Darwin Streaming Server doesn't need it (at least according to Apple's docs).

Make sure you are using a recent version of mp4creator, like 0.9.5.1, for best results.

hk
30th August 2002, 11:14
Hi T-S,
thanks for the reply > the multiplexing did work. So far so good, but
playback with the wm4player 0951 did not work. Message:
WMP4CLIENT causes an error because of a incorrect page in Modul MSVCRT.DLL at 015f:78011b09.
Register:
EAX=01a3ffbc CS=015f EIP=78011b09 EFLGS=00210206
EBX=0040b543 SS=0167 ESP=01a3fdac EBP=01a3fdb4
ECX=0068ffef DS=0167 ESI=00000000 FS=4d47
EDX=00000000 ES=0167 EDI=00000000 GS=0000
Bytes at CS:EIP:
f3 a5 ff 24 95 18 3a 00 78 83 e0 03 03 c8 ff 24
Compiler / Stapelwerte:
007e1310 007e2cd8 01a3fde4 00410250 00000000 00000000 01a3ffbc 007e1310 007e1dd0 0040b543 00000000 00000000 bff741fb 00000000
(I translated the german part,HK)

So any ideas regarding this matter? There should be a new player (0952-Version) but where? Greetings,
HKA

tanksimpson
31st August 2002, 00:27
The wmp4player is buggy, and fixing it is not a priority right now for the mpeg4ip guys. Try the EnvivioTV mp4 plugin from http://www.envivio.com - it works quite well with RealONE and Windows Media player. It does not support b-frames or 5.1 audio.

hk
31st August 2002, 12:13
Hi tanksompson,
thanks for the tipp reg. envivio. It works, except that sound and video
are asynchronous.
I set the audiodelay in AACmachine accordingly the value DVD2avi gave me first when extracting the AC3. But when I muxed the AAC and the mp4, I did not had the option to set the delay (like itīs possible in NanDub when interleaving MP3 and DivXavi). So I guess thats why itīs asynchron. Do you know a way out of this?
Regards, HKA

zulu
31st August 2002, 17:26
[deleted]

zulu
31st August 2002, 17:28
I set the audiodelay in AACmachine accordingly the value DVD2avi gave me first when extracting the AC3. But when I muxed the AAC and the mp4, I did not had the option to set the delay (like itīs possible in NanDub when interleaving MP3 and DivXavi). So I guess thats why itīs asynchron. Do you know a way out of this?
Regards, HKA



Try to use besweets OTA feature to delay the transcoded audio file itself.
e.g. if audio is 80ms delayed use -ota( -d 80 )

but maybe AACmachine set the delay properly and envivo has sync problems..

hk
31st August 2002, 18:59
Hi Zulu,
i tried it again today (with setting AACmachines delay option) and this time it worked. So all is nice and shiny...
at least so far.
Regards, HK