13 :
IReader(filename, videoStreamIndex)
14 , _videoStreamProperties(NULL)
17 , _outputPixelProperties(
"rgb24")
23 :
IReader(inputFile, videoStreamIndex)
24 , _videoStreamProperties(NULL)
27 , _outputPixelProperties(
"rgb24")
Description to create a video frame.
This class describes decoded video data.
const VideoProperties * _videoStreamProperties
Properties of the source video stream read (no ownership, has link)
PixelProperties _outputPixelProperties
Based class to read a stream.
VideoReader(const std::string &filename, const size_t videoStreamIndex=0)
const avtranscoder::StreamProperties & getStreamPropertiesWithIndex(const size_t streamIndex) const
virtual void setupDecoder(const ProfileLoader::Profile &profile=ProfileLoader::Profile())
Setup the decoder.
AVPixelFormat getOutputPixelFormat() const
const StreamProperties * _streamProperties
VideoFrameDesc getVideoFrameDesc() const
void updateOutput(const size_t width, const size_t height, const std::string &pixelFormat)
Update width, height and pixelFormat of the output.
IDecoder * _currentDecoder
Link to _inputDecoder or _generator.
Implementation of IProgress, to manage cases when we need an IProgress but don't care of a progress b...