/*
- Copyright (C) 2017 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2017-2018 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
*/
#include "table_dialog.h"
-#include "lib/ffmpeg_transcoder.h"
+#include "lib/ffmpeg_encoder.h"
#include <wx/wx.h>
#include <boost/filesystem.hpp>
class ExportDialog : public TableDialog
{
public:
- ExportDialog (wxWindow* parent);
+ explicit ExportDialog (wxWindow* parent);
boost::filesystem::path path () const;
- FFmpegTranscoder::Format format () const;
+ FFmpegEncoder::Format format () const;
+ bool mixdown_to_stereo () const;
+ int x264_crf () const;
private:
void format_changed ();
+ void file_changed ();
wxChoice* _format;
+ wxCheckBox* _mixdown;
+ wxSlider* _x264_crf;
+ wxStaticText* _x264_crf_label[2];
FilePickerCtrl* _file;
};