MPEG SDK --> MpegEditor

class GOPAccurateEditor
    extends MpegEditor as public

A GOP-accurate MpegEditor.

Source:
MpegEditor.h:157

Constructors Index

GOPAccurateEditor
[public] Construct a GOPAccurateEditor.
~GOPAccurateEditor
[public]


Methods Index

demux
[public] Static function for demuxing an MPEG file into a video-only MPEG file and an audio-only MPEG file.
pasteCut
[public] Paste both the video and audio of a file to the timeline. The clip starts at the first I frame after in_time and finishes before the first I frame after out_time.
pasteMux
[public] Paste the entire video from one file and the entire audio from another file into the timeline. If the audio is longer than the video, it will be trancated after the video is finished.


Constructors

GOPAccurateEditor

public GOPAccurateEditor ( SystemsFormat format ) ;

Construct a GOPAccurateEditor.

The packetization of the output is specified by format.

GOPAccurateEditor

public virtual ~ GOPAccurateEditor ( ) ;


Methods

pasteCut

public void pasteCut ( const string & file ,
                       const string & in_time ,
                       const string & out_time ) ;

Paste both the video and audio of a file to the timeline. The clip starts at the first I frame after in_time and finishes before the first I frame after out_time.

pasteMux

public void pasteMux ( const string & videofile ,
                       const string & audiofile ) ;

Paste the entire video from one file and the entire audio from another file into the timeline. If the audio is longer than the video, it will be trancated after the video is finished.

demux

public static void demux ( const string & file_in ,
                           const string & file_vout ,
                           const string & file_aout ,
                           CallBack callback = 0 ) ;

Static function for demuxing an MPEG file into a video-only MPEG file and an audio-only MPEG file.


This documentation was generated automatically by the ccdoc tool (version 0.7a).
Click here to submit a bug report or feature request.

Click here to return to the top of the page.