class final
#include <readerffmpeg.hpp>
v_1_0_0::DescriptorFFmpeg Reader for lossless audio formats, implemented with ffmpeg.
Since checksumming makes only sense for losslessly encoded files, the FFmpegAudioReaderImpl uses a whitelist to verify whether the codec of the input data is supported. It is nonetheless possible to check whether the actual codec supports only lossless compression. (Excluding codecs that allow lossy compression would exclude wavpack, where on the other hand ffmpeg does not seem to have access to the lossless flag in the actual file. It may therefore be sensible to exclude wavpack from being read by FFmpegAudioReaderImpl for now.)
The FFmpegAudioReaderImpl can also read FLAC encoded data in either container format. As by configuration, the native FLAC reader will always take precedence for reading .flac files, while FLAC/OGG files can not be read with the original FLAC reader.
This implementation uses the decoding API introduced by ffmpeg release 3.1 with libavcodec version 57.48.101 in 2016-06-27 (the libavcodec version that introduced the new API was 57.37.100 on 2016-04-21). It can not be compiled with ffmpeg versions prior to 3.1 (at least with libavcodec prior to 57.37.100).
Base classes
- class v_1_0_0::FileReaderDescriptor
- Abstract base class for the properties of a FileReader.
Constructors, destructors, conversion operators
- ~DescriptorFFmpeg() final noexcept
- Default destructor.
Private functions
- auto do_name() const -> std::string final
- Returns "FFmpeg".
Function documentation
std::string arcsdec:: v_1_0_0:: DescriptorFFmpeg:: do_name() const final private
Returns "FFmpeg".
Returns | "FFmpeg" |
---|