Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Audio encoding

Reply
 
Thread Tools Search this Thread Display Modes
Old 11th December 2001, 20:43   #1  |  Link
tanksimpson
Registered User
 
Join Date: Nov 2001
Posts: 49
Divx + AAC: mini-howto

I came across a working solution for muxing Divx and AAC (in sync) at http://mpeg4ip.sourceforge.net but it requires that you have linux installed with the necessary developer tools to complile software. Prepare a video-only AVI encoded with Divx, I'll call it example.avi. Then convert the audio wav to AAC with Psytel's encoder (which can be found at http://www.inf.ufpr.br/~rja00 ), I call it example.aac. Now download the mpeg4ip package to your linux box, unzip and compile it according to the readme. Move the .avi and .aac files over to the linux machine (I used samba to access the shared folder on my Windows box). Mux the audio and video files into an .mp4 with the following commands:

mp4creator example.aac -p=2250 example.mp4

mp4creator example.avi -p=2250 example.mp4

Now you can play the .mp4 on linux with:

gmp4player example.mp4

The downside so far is that the two .mp4 players I have for Windows, Philips Webcine Player and Envivio plug-in for Quicktime can not read this file properly. Everybody and their mother claims to be "ISO compliant" with MPEG-4, but it does not seem to be true yet. I do not know yet whether the problem lies with mpeg4ip's implmentation or with Philips' and Envivio's. Also, I could have muffed it up myself But the fact remains that the .mp4 plays just fine on linux with gmp4player with AAC synced nicely. Advice from any .mp4 gurus out there would be appreciated!

Last edited by tanksimpson; 11th December 2001 at 20:54.
tanksimpson is offline   Reply With Quote
Old 12th December 2001, 20:51   #2  |  Link
ProfDrMorph
fresh brains!
 
ProfDrMorph's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 195

I read something about a bug concerning MPEG4 ISO compliancee that was fixed in XviD ( I read it on the forum of www.videocoding.de ). Since XviD is based on the OpenDivX4 encore2 ( DivX4 is also based on it ) I think that this bug may still be in DivX4 and the other implementations are correct. I also know that MPEG4IP uses OpenDivX code and maybe this is the reason why this file plays fine on your Linux.
ProfDrMorph is offline   Reply With Quote
Old 12th December 2001, 22:45   #3  |  Link
tanksimpson
Registered User
 
Join Date: Nov 2001
Posts: 49
It seems to me that while gmp4player is able to use libdivxdecore on linux rather than the reference(?) iso mpeg-4 decoder, the Windows mp4 players like WebCine are not able to use the Windows equivalent divx 4 .dll or whatever. This could be by design and therefore divx-wrapped-in-mp4 playback on Windows could be hopeless for the time being. My understanding of these issues is hazy I'm afraid. I checked out the videocoding.de website and there is a lot of interesting stuff there.

Last edited by tanksimpson; 12th December 2001 at 22:49.
tanksimpson is offline   Reply With Quote
Old 13th December 2001, 11:33   #4  |  Link
Nic
Moderator
 
Join Date: Oct 2001
Location: England
Posts: 3,285

With Avery Lee's excellent description of how Nandub mux's VBR MP3 on his news page, im going to retry modifying Nandub to Mux AAC correctly this weekend....

-Nic
Nic is offline   Reply With Quote
Old 13th December 2001, 12:05   #5  |  Link
ChristianHJW
Guest
 
Posts: n/a

... wow Nic, sounds great !! I could finally use my AAC sound streams i made from Gladiator these days ...

I read Avery's comments about what Nando did and what the potential problems are, but i was too stupid to understand this could help you for your own AAC muxing project ....
  Reply With Quote
Old 13th December 2001, 12:18   #6  |  Link
BlackSun
CoreCodec
 
BlackSun's Avatar
 
Join Date: Oct 2001
Location: Toulouse
Posts: 726

mp4 will be used very soon, expect some tools for the next month...
__________________
BlackSun
The Concentric Circles of Audio and Video
BlackSun is offline   Reply With Quote
Old 13th December 2001, 12:35   #7  |  Link
Nic
Moderator
 
Join Date: Oct 2001
Location: England
Posts: 3,285

MP4 will be the future, (Christian did you ever read my final post in the --r3mix thread here?

Anywayz the way im going to try and get it to work, is to scan the AAC file first and find the biggest block (in AAC this varies a hell of a lot) & set the blockalign to that in a copy of the VBR Mux code in Nandub & start from there...

-Nic
Nic is offline   Reply With Quote
Old 13th December 2001, 12:48   #8  |  Link
BlackSun
CoreCodec
 
BlackSun's Avatar
 
Join Date: Oct 2001
Location: Toulouse
Posts: 726

Btw Does anyone sucessfully compiled the mp4creator under a Win32 system, mp4 player work fine, but not the mp4creator...
__________________
BlackSun
The Concentric Circles of Audio and Video
BlackSun is offline   Reply With Quote
Old 13th December 2001, 13:11   #9  |  Link
ChristianHJW
Guest
 
Posts: n/a

.. this is starting to be a very intersting thread !!

@BlackSun : why doesnt your very first PowerDivX 4 supporter have any idea about your plans to include mp4 support in your next player ??

@Nic : Really looking forward to what you're trying to do. I will gladly start double blind listening tests between AAC and Ogg Vorbis once last is available in RC3 .... i hope i have my 2nd speaker fixed 'til then, Stereo would be helpful for listening tests i guess
  Reply With Quote
Old 13th December 2001, 13:14   #10  |  Link
BlackSun
CoreCodec
 
BlackSun's Avatar
 
Join Date: Oct 2001
Location: Toulouse
Posts: 726

I am waiting for someone who will release DirectShow Filter
__________________
BlackSun
The Concentric Circles of Audio and Video
BlackSun is offline   Reply With Quote
Old 13th December 2001, 15:39   #11  |  Link
Nic
Moderator
 
Join Date: Oct 2001
Location: England
Posts: 3,285

What directshow filter do you mean BlackSun? My AAC one???

-Nic
Nic is offline   Reply With Quote
Old 13th December 2001, 16:00   #12  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753

@Nic: Oops - now you've promised!
LigH is offline   Reply With Quote
Old 13th December 2001, 16:44   #13  |  Link
Nic
Moderator
 
Join Date: Oct 2001
Location: England
Posts: 3,285

He can have my AAC DShow filter & source now if he wants....

...But perhaps his talking about a MP4 Splitter or DivX Decoder filter that connects to pure MP4 type stream (im just guessing of course)

-Nic
Nic is offline   Reply With Quote
Old 14th December 2001, 09:10   #14  |  Link
BlackSun
CoreCodec
 
BlackSun's Avatar
 
Join Date: Oct 2001
Location: Toulouse
Posts: 726
Re:

Quote:
Originally posted by Nic
He can have my AAC DShow filter & source now if he wants....

...But perhaps his talking about a MP4 Splitter or DivX Decoder filter that connects to pure MP4 type stream (im just guessing of course)

-Nic
I am interested in both filter, your filter can have his place in PowerDivX 4 (see my new forum), but as I know, DivXNetworks is about to release a DirectShow filter for MP4, I dunno if they will need a splitter, I hope they will need one because MP4 should be able to handle MP3...
__________________
BlackSun
The Concentric Circles of Audio and Video
BlackSun is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:37.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.