MP7File Class Reference
<class description="" goes="" here=""> <short description=""> More...
#include <MP7File.hpp>
Static Public Member Functions | |
char * | generateMP7Description (ContainerInfo *mp4Info, char *mp7File, bool showVisualResult=false) |
generates an MPEG-7 description for a locally stored ContainerInfo object. | |
bool | setAdaptors (ContainerInfo *mp4Info, char *mp7File) |
sets the MetaItems (incl. | |
bool | convertMetaInfoToMP7 (const ContainerInfo *mp4Info, char *mp7File) |
convert the Meta-Info stored in the mp4Info object to an MPEG-7 description. | |
FILE * | openMP7File (const char *mp7File) |
opens a FILE and writes an MPEG-7 header to the file. | |
bool | closeMP7File (FILE *fp) |
closes an mpeg-7 file, writes the closing header, returns false if fp is NULL | |
bool | writeVariationSet (FILE *fp, Adaptor **adaptor, int numAdaptors, ContainerInfo *mp4Info, bool showVisualResult=false) |
writes a variationset entry to a file, applies all Adaptors specified in | |
Static Protected Attributes | |
const char *const | NL = "\r\n" |
const char *const | content = "Content" |
const char *const | name = "Name" |
const char *const | fileFormat = "FileFormat" |
const char *const | variationSet = "VariationSet" |
const char *const | fileSize = "FileSize" |
const char *const | mediaProfile = "MediaProfile" |
const char *const | componentMediaProfile = "ComponentMediaProfile" |
const char *const | bitRate = "BitRate" |
const char *const | mediaLocator = "MediaLocator" |
const char *const | preHeader |
const char *const | closeHeader = "\t</Description>%s</Mpeg7>%s" |
Detailed Description
<class description="" goes="" here=""> <short description="">
- Author:
- Michael Kropfberger and Peter Schojer
- Version:
- Id
- MP7File.hpp,v 1.5 2004/03/25 13:38:17 mkropfbe Exp
Definition at line 72 of file MP7File.hpp.
Member Function Documentation
|
convert the Meta-Info stored in the mp4Info object to an MPEG-7 description. Already applied adaptors will be exclude form the MPEG-7 description.Definition at line 259 of file MP7File.cpp.
|
|
generates an MPEG-7 description for a locally stored ContainerInfo object. This method will apply different Adaptors to the video and use this information to generate the mp7file. Note: this method can take very long. In case of an error NULL is returned, otherwise the name of the generated MPEG-7 fileDefinition at line 88 of file MP7File.cpp. References ContainerInfo::clone(), closeMP7File(), ContainerDemux::demultiplexAndUpdateIO(), ContainerInfo::getFirstVisualES(), openMP7File(), and writeVariationSet().
|
|
opens a FILE and writes an MPEG-7 header to the file. In case of an error NULL is returne, otherwise the file pointerDefinition at line 132 of file MP7File.cpp. Referenced by generateMP7Description().
|
|
sets the MetaItems (incl. Adaptors) in the QualityInfo object of the ContainerInfo object by parsing the mp7File. The .mp7 file must be in ASCII format, BIM is not supported. If sth. went wrong false is returned, otherwise true.Definition at line 250 of file MP7File.cpp.
|
|
writes a variationset entry to a file, applies all Adaptors specified in
References ContainerDemux::demultiplexAndUpdateIO(). Referenced by generateMP7Description().
|
Member Data Documentation
|
Initial value: Definition at line 77 of file MP7File.cpp. |
The documentation for this class was generated from the following files: