AP4_Mpeg2TsWriter Class Reference
This class is a simple implementation of a converter that can convert MP4 audio and video access units into an MPEG2 transport stream. More...
#include <Ap4Mpeg2Ts.h>
Classes | |
class | SampleStream |
class | Stream |
Public Member Functions | |
AP4_Mpeg2TsWriter () | |
~AP4_Mpeg2TsWriter () | |
Stream * | GetPAT () |
Stream * | GetPMT () |
AP4_Result | WritePAT (AP4_ByteStream &output) |
AP4_Result | WritePMT (AP4_ByteStream &output) |
AP4_Result | SetAudioStream (AP4_UI32 timescale, SampleStream *&stream) |
AP4_Result | SetVideoStream (AP4_UI32 timescale, SampleStream *&stream) |
Detailed Description
This class is a simple implementation of a converter that can convert MP4 audio and video access units into an MPEG2 transport stream.
It currently only supports one audio tracks with MPEG4 AAC LC, and one video track with MPEG4 AVC.
Definition at line 66 of file Ap4Mpeg2Ts.h.
Constructor & Destructor Documentation
AP4_Mpeg2TsWriter::AP4_Mpeg2TsWriter | ( | ) |
AP4_Mpeg2TsWriter::~AP4_Mpeg2TsWriter | ( | ) |
Member Function Documentation
Stream* AP4_Mpeg2TsWriter::GetPAT | ( | ) | [inline] |
Definition at line 116 of file Ap4Mpeg2Ts.h.
Stream* AP4_Mpeg2TsWriter::GetPMT | ( | ) | [inline] |
Definition at line 117 of file Ap4Mpeg2Ts.h.
AP4_Result AP4_Mpeg2TsWriter::SetAudioStream | ( | AP4_UI32 | timescale, | |
SampleStream *& | stream | |||
) |
AP4_Result AP4_Mpeg2TsWriter::SetVideoStream | ( | AP4_UI32 | timescale, | |
SampleStream *& | stream | |||
) |
AP4_Result AP4_Mpeg2TsWriter::WritePAT | ( | AP4_ByteStream & | output | ) |
AP4_Result AP4_Mpeg2TsWriter::WritePMT | ( | AP4_ByteStream & | output | ) |
The documentation for this class was generated from the following file:
Generated on Thu May 13 16:37:24 2010 for Bento4 MP4 SDK by 1.6.3