Ardour  9.0-pre0-822-g12e3bc5c20
ExportVideoDialog Class Reference

dialog box and controller for video-file export More...

#include <export_video_dialog.h>

Inheritance diagram for ExportVideoDialog:
[legend]

Public Member Functions

 ExportVideoDialog ()
 
 ~ExportVideoDialog ()
 
std::string get_exported_filename ()
 
void apply_state (TimeSelection &tme, bool range)
 
XMLNodeget_state () const
 
void set_state (const XMLNode &)
 
- Public Member Functions inherited from ArdourDialog
 ArdourDialog (const std::string &title, bool modal=false, bool use_separator=false)
 
 ArdourDialog (Gtk::Window &parent, const std::string &title, bool modal=false, bool use_separator=false)
 
 ~ArdourDialog ()
 
bool on_focus_in_event (GdkEventFocus *)
 
bool on_focus_out_event (GdkEventFocus *)
 
bool on_delete_event (GdkEventAny *)
 
void on_unmap ()
 
void on_show ()
 
virtual void on_response (int)
 
void set_ui_sensitive (bool)
 
void disallow_idle ()
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual void set_session (ARDOUR::Session *)
 
virtual ARDOUR::Sessionsession () const
 
- Public Member Functions inherited from PBD::ScopedConnectionList
 ScopedConnectionList ()
 
 ScopedConnectionList (const ScopedConnectionList &)=delete
 
ScopedConnectionListoperator= (const ScopedConnectionList &)=delete
 
virtual ~ScopedConnectionList ()
 
void add_connection (const UnscopedConnection &c)
 
void drop_connections ()
 

Private Member Functions

void abort_clicked ()
 
void launch_export ()
 
void encode_video ()
 
void finished (int)
 
void set_original_file_information ()
 
void update_progress (ARDOUR::samplecnt_t, ARDOUR::samplecnt_t)
 
gint audio_progress_display ()
 
void open_outfn_dialog ()
 
void open_invid_dialog ()
 

Private Attributes

bool _aborted
 
bool _normalize
 
std::shared_ptr< ARDOUR::ExportStatusstatus
 
TimeSelection _export_range
 
sigc::connection _audio_progress_connection
 
float _previous_progress
 
TranscodeFfmpeg_transcoder
 
std::string _insnd
 
Gtk::Label outfn_path_label
 
Gtk::Entry outfn_path_entry
 
Gtk::Button outfn_browse_button
 
Gtk::Label invid_path_label
 
Gtk::Entry invid_path_entry
 
Gtk::Button invid_browse_button
 
Gtk::ComboBoxText insnd_combo
 
Gtk::Button transcode_button
 
Gtk::VBox * vbox
 
Gtk::Button * cancel_button
 
Gtk::Button abort_button
 
Gtk::VBox * progress_box
 
Gtk::ProgressBar pbar
 
Gtk::ComboBoxText audio_bitrate_combo
 
Gtk::ComboBoxText audio_sample_rate_combo
 
Gtk::CheckButton normalize_checkbox
 
Gtk::CheckButton copy_video_codec_checkbox
 
Gtk::CheckButton meta_checkbox
 
Gtk::CheckButton debug_checkbox
 

Additional Inherited Members

- Protected Member Functions inherited from ArdourDialog
void pop_splash ()
 
void close_self ()
 
- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 
- Protected Attributes inherited from ArdourDialog
bool _sensitive
 
- Protected Attributes inherited from ARDOUR::SessionHandlePtr
ARDOUR::Session_session
 
PBD::ScopedConnectionList _session_connections
 

Detailed Description

dialog box and controller for video-file export

The ExportVideoDialog includes audio export functions, video-encoder presets, progress dialogs and uses TranscodeFfmpeg to communicate with ffmpeg.

Definition at line 44 of file export_video_dialog.h.

Constructor & Destructor Documentation

◆ ExportVideoDialog()

ExportVideoDialog::ExportVideoDialog ( )

◆ ~ExportVideoDialog()

ExportVideoDialog::~ExportVideoDialog ( )

Member Function Documentation

◆ abort_clicked()

void ExportVideoDialog::abort_clicked ( )
private

◆ apply_state()

void ExportVideoDialog::apply_state ( TimeSelection tme,
bool  range 
)

◆ audio_progress_display()

gint ExportVideoDialog::audio_progress_display ( )
private

◆ encode_video()

void ExportVideoDialog::encode_video ( )
private

◆ finished()

void ExportVideoDialog::finished ( int  )
private

◆ get_exported_filename()

std::string ExportVideoDialog::get_exported_filename ( )
inline

Definition at line 50 of file export_video_dialog.h.

◆ get_state()

XMLNode& ExportVideoDialog::get_state ( ) const

◆ launch_export()

void ExportVideoDialog::launch_export ( )
private

◆ open_invid_dialog()

void ExportVideoDialog::open_invid_dialog ( )
private

◆ open_outfn_dialog()

void ExportVideoDialog::open_outfn_dialog ( )
private

◆ set_original_file_information()

void ExportVideoDialog::set_original_file_information ( )
private

◆ set_state()

void ExportVideoDialog::set_state ( const XMLNode )

◆ update_progress()

void ExportVideoDialog::update_progress ( ARDOUR::samplecnt_t  ,
ARDOUR::samplecnt_t   
)
private

Member Data Documentation

◆ _aborted

bool ExportVideoDialog::_aborted
private

Definition at line 74 of file export_video_dialog.h.

◆ _audio_progress_connection

sigc::connection ExportVideoDialog::_audio_progress_connection
private

Definition at line 80 of file export_video_dialog.h.

◆ _export_range

TimeSelection ExportVideoDialog::_export_range
private

Definition at line 79 of file export_video_dialog.h.

◆ _insnd

std::string ExportVideoDialog::_insnd
private

Definition at line 83 of file export_video_dialog.h.

◆ _normalize

bool ExportVideoDialog::_normalize
private

Definition at line 75 of file export_video_dialog.h.

◆ _previous_progress

float ExportVideoDialog::_previous_progress
private

Definition at line 81 of file export_video_dialog.h.

◆ _transcoder

TranscodeFfmpeg* ExportVideoDialog::_transcoder
private

Definition at line 82 of file export_video_dialog.h.

◆ abort_button

Gtk::Button ExportVideoDialog::abort_button
private

Definition at line 96 of file export_video_dialog.h.

◆ audio_bitrate_combo

Gtk::ComboBoxText ExportVideoDialog::audio_bitrate_combo
private

Definition at line 101 of file export_video_dialog.h.

◆ audio_sample_rate_combo

Gtk::ComboBoxText ExportVideoDialog::audio_sample_rate_combo
private

Definition at line 102 of file export_video_dialog.h.

◆ cancel_button

Gtk::Button* ExportVideoDialog::cancel_button
private

Definition at line 95 of file export_video_dialog.h.

◆ copy_video_codec_checkbox

Gtk::CheckButton ExportVideoDialog::copy_video_codec_checkbox
private

Definition at line 105 of file export_video_dialog.h.

◆ debug_checkbox

Gtk::CheckButton ExportVideoDialog::debug_checkbox
private

Definition at line 107 of file export_video_dialog.h.

◆ insnd_combo

Gtk::ComboBoxText ExportVideoDialog::insnd_combo
private

Definition at line 91 of file export_video_dialog.h.

◆ invid_browse_button

Gtk::Button ExportVideoDialog::invid_browse_button
private

Definition at line 90 of file export_video_dialog.h.

◆ invid_path_entry

Gtk::Entry ExportVideoDialog::invid_path_entry
private

Definition at line 89 of file export_video_dialog.h.

◆ invid_path_label

Gtk::Label ExportVideoDialog::invid_path_label
private

Definition at line 88 of file export_video_dialog.h.

◆ meta_checkbox

Gtk::CheckButton ExportVideoDialog::meta_checkbox
private

Definition at line 106 of file export_video_dialog.h.

◆ normalize_checkbox

Gtk::CheckButton ExportVideoDialog::normalize_checkbox
private

Definition at line 104 of file export_video_dialog.h.

◆ outfn_browse_button

Gtk::Button ExportVideoDialog::outfn_browse_button
private

Definition at line 87 of file export_video_dialog.h.

◆ outfn_path_entry

Gtk::Entry ExportVideoDialog::outfn_path_entry
private

Definition at line 86 of file export_video_dialog.h.

◆ outfn_path_label

Gtk::Label ExportVideoDialog::outfn_path_label
private

Definition at line 85 of file export_video_dialog.h.

◆ pbar

Gtk::ProgressBar ExportVideoDialog::pbar
private

Definition at line 99 of file export_video_dialog.h.

◆ progress_box

Gtk::VBox* ExportVideoDialog::progress_box
private

Definition at line 98 of file export_video_dialog.h.

◆ status

std::shared_ptr<ARDOUR::ExportStatus> ExportVideoDialog::status
private

Definition at line 77 of file export_video_dialog.h.

◆ transcode_button

Gtk::Button ExportVideoDialog::transcode_button
private

Definition at line 92 of file export_video_dialog.h.

◆ vbox

Gtk::VBox* ExportVideoDialog::vbox
private

Definition at line 94 of file export_video_dialog.h.


The documentation for this class was generated from the following file: