class ffmpegVideoFile

This class is designed to read/write video files using the FFmpeg library

Inheritance:


Public Methods

[more] constructors
[more]virtual ~ffmpegVideoFile()
[more]virtual bool open(char* filename_, const char* open_flags_ = "r")
open the video file filename
[more]virtual bool read()
read the current image from the file and fill pixmap
[more]virtual bool write(unsigned char* pixmap_)
write pixmap_ into a file
[more]virtual bool rewindmovie()
restart the video file at the beginning
[more]virtual int seekmovie(int h, int m, int s, int f)
seek in the video file
[more]virtual bool close()
close the video file


Inherited from VideoFile:

Public Fields

ounsigned char* pixmap

Public Methods

ovirtual bool initVideoSource()
ovirtual bool openVideoSource()
ovirtual VirtualPixmap* getframe()
ovirtual bool closeVideoSource()
ounsigned int getwidth()
ounsigned int getheight()
oreal getframerate()
oreal getbitrate()
oint getnframes(bool force = false)
ochar* getcodec()

Protected Fields

ochar* codec_name
oFrameVideoFile* frame
oint nframes
oreal frate
oreal brate
oint cframe
ochar* filename
ochar* open_flags


Inherited from VideoSource:

Public Fields

obool verbose
oint width
oint height

Public Methods

ovirtual bool releaseframe(VirtualPixmap* )
obool isOk()

Protected Fields

oshort status


Documentation

This class is designed to read/write video files using the FFmpeg library

o constructors

o ffmpegVideoFile()

o ffmpegVideoFile(char* filename_, const char* open_flags_ = "r")

ovirtual ~ffmpegVideoFile()

ovirtual bool open(char* filename_, const char* open_flags_ = "r")
open the video file filename

ovirtual bool read()
read the current image from the file and fill pixmap

ovirtual bool write(unsigned char* pixmap_)
write pixmap_ into a file

ovirtual bool rewindmovie()
restart the video file at the beginning

ovirtual int seekmovie(int h, int m, int s, int f)
seek in the video file

ovirtual bool close()
close the video file


This class has no child classes.
Author:
Sebastien Marcel (marcel@idiap.ch) Julien Tiphaigne
Version:
2.0 Wed 28 Jun 2006 05:19:41 PM CEST
Since:
1.0

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.