Initial backend support for external export encoder

This adds an experimental pipe to ffmpeg to encode mp3. Currently
quality is hardcoded and various aspects remain to be implemented.
However, it is sufficient for initial testing.
This commit is contained in:
Robin Gareus 2018-11-19 05:21:17 +01:00
parent e4cbd5115e
commit df72e1ba4f
8 changed files with 144 additions and 4 deletions

View file

@ -954,6 +954,8 @@ ExportProfileManager::check_format (ExportFormatSpecPtr format, uint32_t channel
switch (format->type()) {
case ExportFormatBase::T_Sndfile:
return check_sndfile_format (format, channels);
case ExportFormatBase::T_FFMPEG:
return true;
default:
throw ExportFailed (X_("Invalid format given for ExportFileFactory::check!"));