[Live-devel] Streaming .h264 and .aac together

Ross Finlayson finlayson at live555.com
Wed Apr 3 06:40:44 PDT 2013


>      I have query regarding .aac audio file. In testprogs/ directory we have executable file for every type of format(like .mpeg4, .h264, .mpeg1or2 etc) but not for .aac(or we can say ADTS format) , streaming this format is only given through testOndemandRTSPserver .why?

Simply because I never got around to writing a "testAACAudioStreamer" (multicast streaming) application.  But such an application would be easy to write.  (Look at "liveMedia/ADTSAudioFileServerMediaSubsession.cpp" to see how (for unicast streaming) we create a source object (from an ADTS-format file) and sink objects for streaming.)

> I want to stream .H264 (video) and .aac (audio) together,taking them from two different file and then combining them before streaming. right now i have linked them to one servermedia session(sms)
> and tried to read from two files using Bytestreamfilesource.
> is this can be done.

Yes, this will work.  However, you may have trouble getting audio and video (because they come from separate files) in synch.  (I.e., you may have trouble ensuring that each source object's "presentationTime" values are properly synchronized.

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130403/57dac15a/attachment.html>


More information about the live-devel mailing list