Alexander Drozdov
Alexander Drozdov
Most people's can only consume goodies. And produce only shit. It is reality of the world. Tolerance is a mother of this problem. Be intolerant to stupid people and just...
Hi, All magic located here: ``` vdec = VideoDecoderContext(vst); ``` Just look into `CodecContext2::CodecContext2(const Stream &st, const Codec &codec, Direction direction, AVMediaType type)` To simplify research, `CodecContext2()` called like: ```...
Ah! `Codec()` provides Null Codec :-) And sorry for the long delay :-)
I am not a Meson guru, but current layout work well for CMake projects as subproject as well. CMake is prioritized build system for me, so, I don't want to...
I recreate gh-pages branch, make it with clean history.
`sample-transcode`, `sample-view` and `test-basic` keeps only for historical reason. Refer to `api2-samples`. And main issue, that you tries to build only with AvCpp as dependency. But FFmpeg one also needed....
Seems that ``codecpar`` using required new way for creation streams and codec contexts :-\ In current way ``codecpar`` keeps uninitialized, as result - media_type is UNKNOWN and exception is thrown.
Heh, currently I have no time for correct fix. Quick WA is replace line: ``` #define USE_CODECPAR (LIBAVFORMAT_VERSION_MAJOR >= 58) ``` to ``` #define USE_CODECPAR (0) ``` at the https://github.com/h4tr3d/avcpp/blob/master/src/avutils.h
WA was committed: https://github.com/h4tr3d/avcpp/commit/20b296b7c6d7bded8dd222f6e7efa838fe0c3eb4