#include "../FFmpeg.h"
#include "FFmpegFunctions.h"
#include <wx/choice.h>
#include <wx/log.h>
#include <wx/textctrl.h>
#include <wx/listbox.h>
#include <wx/window.h>
#include <wx/spinctrl.h>
#include <wx/combobox.h>
#include "Mix.h"
#include "ProjectRate.h"
#include "ProjectSettings.h"
#include "Tags.h"
#include "Track.h"
#include "AudacityMessageBox.h"
#include "ProgressDialog.h"
#include "wxFileNameWrapper.h"
#include "Export.h"
#include "ExportFFmpegDialogs.h"
#include "SelectFile.h"
Go to the source code of this file.
|
class | ExportFFmpeg |
| Controlling class for FFmpeg exporting. Creates the options dialog of the appropriate type, adds tags and invokes the export function. More...
|
|
◆ FFMPEG_AUTO_RESAMPLE
#define FFMPEG_AUTO_RESAMPLE 1 |
◆ MAX_AUDIO_PACKET_SIZE
#define MAX_AUDIO_PACKET_SIZE (128 * 1024) |
◆ AddStringTagANSI()
void AddStringTagANSI |
( |
char |
field[], |
|
|
int |
size, |
|
|
wxString |
value |
|
) |
| |
◆ AddStringTagUTF8()
void AddStringTagUTF8 |
( |
char |
field[], |
|
|
int |
size, |
|
|
wxString |
value |
|
) |
| |
◆ AdjustFormatIndex()
static int AdjustFormatIndex |
( |
int |
format | ) |
|
|
static |
◆ CheckFFmpegPresence()
static bool CheckFFmpegPresence |
( |
bool |
quiet = false | ) |
|
|
static |
Definition at line 58 of file ExportFFmpeg.cpp.
59{
60 bool result = true;
62
63 if (!ffmpeg)
64 {
65 if (!quiet)
66 {
68"Properly configured FFmpeg is required to proceed.\nYou can configure it at Preferences > Libraries."));
69 }
70 result = false;
71 }
72
73 return result;
74}
int AudacityMessageBox(const TranslatableString &message, const TranslatableString &caption, long style, wxWindow *parent, int x, int y)
static std::shared_ptr< FFmpegFunctions > Load(bool fromUserPathOnly=false)
References AudacityMessageBox(), FFmpegFunctions::Load(), and XO().
Referenced by ExportFFmpeg::CheckFileName(), and ExportFFmpeg::Export().
◆ sRegisteredPlugin
Initial value:{ "FFmpeg",
[]{ return std::make_unique< ExportFFmpeg >(); }
}
Definition at line 1385 of file ExportFFmpeg.cpp.