| 
    AvTranscoder
    0.9.4
    
   C++APIforLibav/FFmpeg 
   | 
 
IOutputfile is the interface to wrap and write medias. It can be overloaded to integrate custom wrapper. More...
#include <IOutputFile.hpp>
Public Member Functions | |
| virtual | ~IOutputFile () | 
| virtual IOutputStream & | addVideoStream (const VideoCodec &videoCodec) | 
| Add a video output stream.  More... | |
| virtual IOutputStream & | addAudioStream (const AudioCodec &audioCodec) | 
| Add an audio output stream.  More... | |
| virtual IOutputStream & | addDataStream (const DataCodec &dataCodec) | 
| Add a data output stream.  More... | |
| virtual bool | beginWrap ()=0 | 
| Write the header of file (if necessary)  More... | |
| virtual  IOutputStream::EWrappingStatus  | wrap (const CodedData &data, const size_t streamIndex)=0 | 
| Wrap a packet of data in the output ressource.  More... | |
| virtual bool | endWrap ()=0 | 
| Write the footer of file (if necessary)  More... | |
| virtual IOutputStream & | getStream (const size_t streamIndex)=0 | 
| Get the output stream.  More... | |
IOutputfile is the interface to wrap and write medias. It can be overloaded to integrate custom wrapper.
Definition at line 22 of file IOutputFile.hpp.
      
  | 
  inlinevirtual | 
Definition at line 25 of file IOutputFile.hpp.
      
  | 
  inlinevirtual | 
Add an audio output stream.
| audioCodec | description of output stream | 
Reimplemented in avtranscoder::OutputFile.
Definition at line 40 of file IOutputFile.hpp.
Referenced by avtranscoder::StreamTranscoder::StreamTranscoder().
      
  | 
  inlinevirtual | 
Add a data output stream.
| dataCodec | description of output stream | 
Reimplemented in avtranscoder::OutputFile.
Definition at line 49 of file IOutputFile.hpp.
Referenced by avtranscoder::StreamTranscoder::StreamTranscoder().
      
  | 
  inlinevirtual | 
Add a video output stream.
| videoCodec | description of output stream | 
Reimplemented in avtranscoder::OutputFile.
Definition at line 31 of file IOutputFile.hpp.
Referenced by avtranscoder::StreamTranscoder::StreamTranscoder().
      
  | 
  pure virtual | 
Write the header of file (if necessary)
Implemented in avtranscoder::OutputFile.
Referenced by avtranscoder::Transcoder::process().
      
  | 
  pure virtual | 
Write the footer of file (if necessary)
Implemented in avtranscoder::OutputFile.
Referenced by avtranscoder::Transcoder::process().
      
  | 
  pure virtual | 
Get the output stream.
| streamIndex | select the output stream | 
Implemented in avtranscoder::OutputFile.
Referenced by avtranscoder::Transcoder::getCurrentOutputDuration().
      
  | 
  pure virtual | 
Wrap a packet of data in the output ressource.
| data | coded packet information for the current stream | 
| streamIndex | refers to the stream in output ressource | 
Implemented in avtranscoder::OutputFile.