ContainerDemux Class Reference
is used for simple demultiplexing of mp4 streams, so adaptors can be easily applied for eg. <short description=""> More...
#include <ContainerDemux.hpp>
Static Public Member Functions | |
ContainerInfo * | demultiplex (ContainerInfo *&info, const char *outputDir, const Adaptor *visualAdaptor=NULL, bool omitHeader=false, bool deleteMP4=false, bool visualizeAdaptation=false) |
takes the info object and demultiplexes every ES into a separate file. | |
void | demultiplexAndUpdateIO (ContainerInfo *&mp4Info, const char *outputDir, const Adaptor *visualAdaptor=NULL, bool omitHeader=false, bool deleteMP4=false, bool visualizeAdaptation=false) |
same as demultiplex(..) but the input descriptors are updated to point to the new input. | |
void | adaptESInfo (ESInfo *es, const char *outputFile, Adaptor *adaptor=NULL, u32 startFrame=0u, u32 endFrame=4294967295u, bool omitHeader=false, bool visualize=false) |
adapts single ESInfo | |
void | adaptESInfo (ESInfo *es, const char *outputFile, Adaptor *adaptor=NULL, double startSecond=0.0, double endSecond=-1.0, bool omitHeader=false, bool visualize=false) |
adapts single ESInfo | |
DataChannel * | createDataChannel (ESInfo *es, const char *outputFile, Adaptor *adaptor=NULL, u32 startFrame=0u, u32 endFrame=4294967295u, bool omitHeader=false, bool visualize=false) |
creates a DataChannel which is ready for immediate use. |
Detailed Description
is used for simple demultiplexing of mp4 streams, so adaptors can be easily applied for eg. <short description="">transcoding
- Author:
- Michael Kropfberger and Peter Schojer
- Version:
- Id
- ContainerDemux.hpp,v 1.9 2005/01/25 14:10:42 mkropfbe Exp
Definition at line 71 of file ContainerDemux.hpp.
Member Function Documentation
|
adapts single ESInfo
References adaptESInfo(), and ESInfo::getFrameNumber().
|
|
adapts single ESInfo
References createDataChannel(), VThread::running(), VThread::start(), and VThread::wait(). Referenced by adaptESInfo().
|
|
creates a DataChannel which is ready for immediate use. A DataSink has been inserted and play was called for this DataSink. Access to the inserted DataSink is via id 0. Just start the returned DataChannel with dc->start(). Will return NULL if
References DataChannel::insert(), DataChannel::play(), DataChannel::setAdaptor(), IO::setEndFrameNumber(), IO::setToClosestIFrame(), and DataChannel::visualizeCaching(). Referenced by adaptESInfo().
|
|
takes the info object and demultiplexes every ES into a separate file. A copy of the info object with updated input descriptors is returned. if outputDir is set to NULL, no output will be generated Only call this method with an .mp4 file as input. If an adaptor is set, each visualstream will be adapted with this adaptorDefinition at line 60 of file ContainerDemux.cpp. References ContainerInfo::clone(), and demultiplexAndUpdateIO().
|
|
same as demultiplex(..) but the input descriptors are updated to point to the new input. Per default the MP4FILE is NOT DELETED! if outputDir is set to NULL, no output will be generated If an adaptor is set, each visualstream will be adapted with this adaptorDefinition at line 75 of file ContainerDemux.cpp. References DataChannel::enableCaching(), IO::getCurrentFrameNumber(), DataChannel::getESInfo(), ContainerInfo::getESList(), DataChannel::getInput(), ContainerInfo::getLocalFile(), ESInfo::getNumberOfMediaSamples(), ESInfo::getVOPTimeIncrement(), VThread::running(), ESInfo::setCompleteState(), ESInfo::setDuration(), Adaptor::setESInfo(), VThread::start(), and VThread::wait(). Referenced by demultiplex(), MP7File::generateMP7Description(), and MP7File::writeVariationSet().
|
The documentation for this class was generated from the following files: