|
avcpp 3.2.1
Wrapper for the FFmpeg that simplify usage from C++ projects.
|
Since FFmpeg 4.0 the recommendation is to destroy and recreate the context instead of closing it: close() does not free the context and leaves it in a half-initialized state.
Start from FFmpeg 4.0 it is recommended to destroy and recreate codec context insted of close
The codec argument is not used by the FFmpeg API. Use addStream() without a codec and attach the configured codec context to the returned stream.
Codec is not used by the FFmpeg API. Use addStream() without codec and point configured codec context after
For FFmpeg 5.0 and newer this returns NO_PTS: take the DTS from the packet instead.