[Mp4-tech] multiplexing 2 audio file + video file
Michelle Y Kim
mykim us.ibm.com
Wed Oct 1 17:10:32 EDT 2003
Sabriana,
Perhaps you haven't seen the answer to this question posted on the IBM
alphaWorks forum. You can use the XmtBatch tool which is part of the IBM
Toolkit for MPEG-4 to multiplex multiple audios and videos in a single
.mp4 file. It uses the SMIL-like XMT syntax which can then be compiled
to produce an mp4 format. A simple example given by you can be
represented as:
<par>
<audio begin="0s" dur="10s" src="audio1.aac"/>
<audio begin="5s" dur="5s" src="audio2.aac"/>
<video begin="0s" dur="10s" src="video1.cmp"/>
</par>
in this example, audio1 starts at time "0s" along with video1, and at
time "5s", audio2 starts. At time "10s" both audios and the video will
stop. You can use "begin" and "dur" attributes to indicate the offset
of the start time and duration for each element. The three elements in
this example are enclosed in a <par> ("par" for parallel) container, and
the begin time is relative to the begin time of the "par" container. BTW,
the XMT also supports the <seq> (for sequential) container, whose
semantics you can easily infer. A very short example would be:
<seq>
<video dur="10s" src="video1.cmp"/>
<video dur="10s" src="video2.cmp"/>
</seq>
As you might have guessed, in this example video1 starts when the seq
container starts, plays for 10s, after which video2 starts, etc.
Regards,
Michelle
Dr. Michelle Y. Kim, IBM T. J. Watson Research Center
Manager, Composite Media Technologies Group
mykim us.ibm.com (e-mail)
(914) 784-7709 (voice)
(914) 784-7455 (fax)
sabrina <pina_sabrina yahoo.fr>
Sent by: mp4-tech-bounces lists.mpegif.org
09/29/2003 04:51 AM
To: Technotes lists.m4if.org
cc:
Subject: [Mp4-tech] multiplexing 2 audio file + video
file
thinks for yours response
I created an .mp4 file by multiplexing the .cmp and .aac file
for this i used the ibm tools, it is simple and it work correctly
the only problem is that i can 't multiplex 2 audio file with an video
file
i would to know what tools i can use to do this multiplex ?
@ +
sabrina
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Testez le nouveau Yahoo! Mail
_______________________________________________
Mp4-tech mailing list
Mp4-tech lists.mpegif.org
http://lists.mpegif.org/mailman/listinfo/mp4-tech
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/mp4-tech/attachments/20031001/23fab2ab/attachment.html
More information about the Mp4-tech
mailing list