avcpp
2.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
|
Go to the documentation of this file.
43 [[deprecated(
"For FFmpeg 5.0+ return NO_PTS")]]
76 std::weak_ptr<
char> m_parentMonitor;
Rational frameRate() const
Definition: stream.cpp:30
Definition: rational.h:24
bool isAttachment() const
Definition: stream.cpp:100
bool isValid() const
Definition: stream.cpp:15
Timestamp currentDts() const
Definition: stream.cpp:60
bool isVideo() const
Definition: stream.cpp:85
Direction direction() const
Definition: stream.h:53
void setSampleAspectRatio(const Rational &aspectRatio)
Definition: stream.cpp:115
bool isData() const
Definition: stream.cpp:90
Timestamp duration() const
Definition: stream.cpp:55
Rational timeBase() const
Definition: stream.cpp:35
The CodecParametersView class.
Definition: codecparameters.h:20
void setCodecParameters(CodecParametersView codecpar, OptionalErrorCode ec=throws())
Definition: stream.cpp:130
Rational sampleAspectRatio() const
Definition: stream.cpp:40
CodecParametersView codecParameters() const
Definition: stream.cpp:125
int index() const
Definition: stream.cpp:20
void setupEncodingParameters(const class VideoEncoderContext &ctx, OptionalErrorCode ec=throws())
Definition: stream.cpp:158
bool isAudio() const
Definition: stream.cpp:80
Definition: codeccontext.h:442
AVMediaType mediaType() const
Definition: stream.cpp:69
bool isSubtitle() const
Definition: stream.cpp:95
void setFrameRate(const Rational &frameRate)
Definition: stream.cpp:110
Definition: audioresampler.cpp:8
Definition: averror.h:228
int id() const
Definition: stream.cpp:25
Timestamp startTime() const
Definition: stream.cpp:50
Rational averageFrameRate() const
Definition: stream.cpp:45
Direction
Definition: stream.h:14
Definition: formatcontext.h:53
The Timestamp class represents timestamp value and it timebase.
Definition: timestamp.h:13
OptionalErrorCode throws()
Helper to construct null OptionalErrorCode object.
Definition: averror.h:179
void setAverageFrameRate(const Rational &frameRate)
Definition: stream.cpp:120
int eventFlags() const noexcept
Flags to the user to detect events happening on the stream.
Definition: stream.cpp:137
void eventFlagsClear(int flags) noexcept
Definition: stream.cpp:151
void setTimeBase(const Rational &timeBase)
Definition: stream.cpp:105