filmstro_ffmpeg
 All Classes Files Functions Friends Macros
Public Member Functions | List of all members
FFmpegVideoListener Class Reference

#include <filmstro_ffmpeg_FFmpegVideoListener.h>

Inheritance diagram for FFmpegVideoListener:
FFmpegVideoComponent FFmpegVideoWriter

Public Member Functions

 FFmpegVideoListener ()
 
virtual ~FFmpegVideoListener ()
 
virtual void presentationTimestampChanged (const double)
 This will notify about advancing the presentation timestamp. More...
 
virtual void videoSizeChanged (const int width, const int height, const AVPixelFormat)
 This is called whenever the size changed, so a framebuffer can be resized. More...
 
virtual void readRawFrame (const AVFrame *)
 This is called when a frame is read from the video stream. More...
 
virtual void displayNewFrame (const AVFrame *)
 This is called when a frame is due to be displayed according to audio's presentation timestamp PTS as raw frame. More...
 
virtual void videoFileChanged (const juce::File &newSource)
 This is called when the video source file has changed. More...
 

Constructor & Destructor Documentation

FFmpegVideoListener::FFmpegVideoListener ( )
inline
virtual FFmpegVideoListener::~FFmpegVideoListener ( )
inlinevirtual

Member Function Documentation

virtual void FFmpegVideoListener::displayNewFrame ( const AVFrame *  )
inlinevirtual

This is called when a frame is due to be displayed according to audio's presentation timestamp PTS as raw frame.

Reimplemented in FFmpegVideoWriter, and FFmpegVideoComponent.

virtual void FFmpegVideoListener::presentationTimestampChanged ( const double  )
inlinevirtual

This will notify about advancing the presentation timestamp.

virtual void FFmpegVideoListener::readRawFrame ( const AVFrame *  )
inlinevirtual

This is called when a frame is read from the video stream.

It will be called in the correct sequence, but not synchronised to the audio stream. You can use that for transcoding a video stream

virtual void FFmpegVideoListener::videoFileChanged ( const juce::File &  newSource)
inlinevirtual

This is called when the video source file has changed.

virtual void FFmpegVideoListener::videoSizeChanged ( const int  width,
const int  height,
const AVPixelFormat   
)
inlinevirtual

This is called whenever the size changed, so a framebuffer can be resized.

Reimplemented in FFmpegVideoWriter, and FFmpegVideoComponent.


The documentation for this class was generated from the following file: