Commit Graph

9 Commits

Author SHA1 Message Date
trav90 c864fb268e Don't assume AVFrame has a constant size
An AVFrame has a different size between FFmpeg 0.10 and LibAV 0.8 though both have the same version number.
2018-07-25 06:24:25 +08:00
trav90 1258bc5bfe Add support for libavcodec 57
At this point only the original FFmpeg project is supported.
2018-07-25 06:24:04 +08:00
trav90 2d6373247d Remove unneeded AVFormat functions
Additionally, do not attempt to resolve unused symbols.
2018-07-25 06:23:58 +08:00
trav90 4291ecc27c Provide finer granularity on which FFmpeg symbols are to be loaded 2018-07-25 06:23:56 +08:00
trav90 9d1938950d Don't rely on library name to determine version of libavcodec
Also use portable way to dynamically open libraries.
2018-07-25 06:22:35 +08:00
trav90 eb5ceada68 Parse raw data to identify single frames before decoding
A VP9 or VP9 packet may contains alternate frames. They need to be fed separately to the FFmpeg decoder.
2018-07-25 06:21:40 +08:00
trav90 6b219443fd Remove dependency on libavformat
When searching for ffmpeg or libav we currently look for libavformat and search for a specific version. We have no use for the libavformat library as we only use libavcodec and (indirectly) libavutil. The version numbering in libavformat is also completely irrelevant for our use.

With this commit, we will look for libavcodec instead.
2018-07-25 06:20:04 +08:00
trav90 f5157f3254 Add method to determine which version of libavcodec is available 2018-07-25 01:31:38 +08:00
trav90 538539f5c3 Move PlatformDecoderModule outside fmp4 2018-07-25 01:29:11 +08:00