[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-datatype-cvs
Subject: [Datatype-cvs] mp4/payload/pub mp4gpyld.h,1.5,1.5.138.1
From: ckarusala () helixcommunity ! org
Date: 2011-01-29 1:31:06
Message-ID: 201101290131.p0T1V54B012890 () mailer ! progressive-comp ! com
[Download RAW message or body]
Update of /cvsroot/datatype/mp4/payload/pub
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv17522/pub
Modified Files:
Tag: SERVER_14_2
mp4gpyld.h
Log Message:
Synopsis
========
This CR adds support for MPEG2-TS conversion and segmentation for
streams containing mpeg4-generic audio.
Branch : SERVER_14_2_RN, HEAD
Suggested Reviewer : Shantha, Jamie
Description:
==========
For iPhone, we currently support AAC audio only if its packetized
using the standard RTP packetization (mp4a-latm). But few customers
are using QuickTime Broadcaster which uses "mpeg4-generic"
packetization by default. So this CR adds support for this.
1. We have a de-packetizer in the common code called
"MP4GPayloadFormat" which can handle depacketizing "mpeg4-generic"
audio streams. Updated it to create IHXPacket data structures for
outgoing samples since it currently uses CMediaPacket client side
data structure. Also, made few updates to stream number, rule number
and setting the sample rate etc that are needed for server. Most of
these changes are added under the server specific define MP4_DEPACK_IHXPACKET.
2. Updated AACPESPayload packetizer to handle FMTPConfig coming as a
ULONG32 in stream headers instead of a C-string like the "mp4a-latm" case.
3. Updated the MPEG2 TS stream handler to handle the new MimeType and
create the right "MP4GPayloadFormat" de-packetizer.
4. Finally, to support on-demand content, updated the MP4 packetizer
factory to consider "audio/X-RN-QT-RAWAU" also while creating PES
packetizers for audio.
Files Modified
==========
datatype_rn/mp4/fileformat/qtpluspacketizerfct.cpp
datatype_rn/mpeg2/payload/aacpespyld.cpp
server_rn/datatype/mpeg2ts/streamhandler.cpp
server_rn/datatype/mpeg2ts/pub/streamhandler.h
datatype/mp4/payload/Umakefil
datatype/mp4/payload/mp4gpyld.cpp
datatype/mp4/payload/pub/mp4gpyld.h
Testing Performed
=================
Unit Tests:
- Verified with RTP live streams with mpeg4-generic audio from
Envivio 4caster and Quicktime Broadcaster. Segments are created as
expected and playback on iPhone is good.
- Verified with OD content created by Quicktime Broadcaster with
mpeg4-generic audio.
Integration Tests:
- None.
Leak Tests:
- None.
Performance Tests:
- None
Platforms Tested: win-x86_64-vc10
Build Verified: win-x86_64-vc10
Thanks,
Chytanya
Index: mp4gpyld.h
===================================================================
RCS file: /cvsroot/datatype/mp4/payload/pub/mp4gpyld.h,v
retrieving revision 1.5
retrieving revision 1.5.138.1
diff -u -d -r1.5 -r1.5.138.1
--- mp4gpyld.h 18 Jul 2005 15:51:36 -0000 1.5
+++ mp4gpyld.h 29 Jan 2011 01:31:03 -0000 1.5.138.1
@@ -291,6 +291,9 @@
CFormatConfig m_Config;
CTSConverter m_TSConverter;
+
+ UINT16 m_usStreamNumber;
+ UINT16 m_usBaseRule;
};
_______________________________________________
Datatype-cvs mailing list
Datatype-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/datatype-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic