ardour
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ExportVideoDialog Class Reference

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

#include <export_video_dialog.h>

Inheritance diagram for ExportVideoDialog:
ArdourDialog PBD::ScopedConnectionList ARDOUR::SessionHandlePtr

Public Member Functions

 ExportVideoDialog ()
 
 ~ExportVideoDialog ()
 
std::string get_exported_filename ()
 
void apply_state (TimeSelection &tme, bool range)
 
XMLNodeget_state ()
 
void set_state (const XMLNode &)
 
- Public Member Functions inherited from ArdourDialog
 ArdourDialog (std::string title, bool modal=false, bool use_separator=false)
 
 ArdourDialog (Gtk::Window &parent, 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 ()
 
- Public Member Functions inherited from ARDOUR::SessionHandlePtr
 SessionHandlePtr (ARDOUR::Session *s)
 
 SessionHandlePtr ()
 
virtual ~SessionHandlePtr ()
 
virtual void set_session (ARDOUR::Session *)
 
- Public Member Functions inherited from PBD::ScopedConnectionList
 ScopedConnectionList ()
 
virtual ~ScopedConnectionList ()
 
void add_connection (const UnscopedConnection &c)
 
void drop_connections ()
 

Private Member Functions

void on_show ()
 
void abort_clicked ()
 
void launch_export ()
 
void encode_pass (int)
 
void change_file_extension (std::string)
 
void width_value_changed ()
 
void height_value_changed ()
 
void set_original_file_information ()
 
void open_outfn_dialog ()
 
void open_invid_dialog ()
 
void scale_checkbox_toggled ()
 
void preset_combo_changed ()
 
void video_codec_combo_changed ()
 
void aspect_checkbox_toggled ()
 
void fps_checkbox_toggled ()
 
void finished ()
 
void update_progress (ARDOUR::framecnt_t, ARDOUR::framecnt_t)
 
gint audio_progress_display ()
 

Private Attributes

TimeSelection export_range
 
bool _aborted
 
bool _twopass
 
bool _firstpass
 
bool _normalize
 
boost::shared_ptr
< ARDOUR::ExportStatus
status
 
sigc::connection audio_progress_connection
 
float _previous_progress
 
TranscodeFfmpeg_transcoder
 
std::string _insnd
 
float _video_source_aspect_ratio
 
bool _suspend_signals
 
bool _suspend_dirty
 
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_codec_combo
 
Gtk::ComboBoxText video_codec_combo
 
Gtk::ComboBoxText video_bitrate_combo
 
Gtk::ComboBoxText audio_bitrate_combo
 
Gtk::ComboBoxText audio_samplerate_combo
 
Gtk::ComboBoxText preset_combo
 
Gtk::CheckButton scale_checkbox
 
Gtk::CheckButton scale_aspect
 
Gtk::Adjustment width_adjustment
 
Gtk::SpinButton width_spinner
 
Gtk::Adjustment height_adjustment
 
Gtk::SpinButton height_spinner
 
Gtk::CheckButton aspect_checkbox
 
Gtk::ComboBoxText aspect_combo
 
Gtk::CheckButton normalize_checkbox
 
Gtk::CheckButton twopass_checkbox
 
Gtk::CheckButton optimizations_checkbox
 
Gtk::Label optimizations_label
 
Gtk::CheckButton deinterlace_checkbox
 
Gtk::CheckButton bframes_checkbox
 
Gtk::CheckButton fps_checkbox
 
Gtk::ComboBoxText fps_combo
 
Gtk::CheckButton meta_checkbox
 
Gtk::CheckButton debug_checkbox
 

Additional Inherited Members

- Protected Member Functions inherited from ARDOUR::SessionHandlePtr
virtual void session_going_away ()
 
- 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 41 of file export_video_dialog.h.

Constructor & Destructor Documentation

ExportVideoDialog::ExportVideoDialog ( )

Definition at line 66 of file export_video_dialog.cc.

ExportVideoDialog::~ExportVideoDialog ( )

Definition at line 302 of file export_video_dialog.cc.

Member Function Documentation

void ExportVideoDialog::abort_clicked ( )
private

Definition at line 536 of file export_video_dialog.cc.

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

Definition at line 332 of file export_video_dialog.cc.

void ExportVideoDialog::aspect_checkbox_toggled ( )
private

Definition at line 1080 of file export_video_dialog.cc.

gint ExportVideoDialog::audio_progress_display ( )
private

Definition at line 564 of file export_video_dialog.cc.

void ExportVideoDialog::change_file_extension ( std::string  ext)
private

Definition at line 1019 of file export_video_dialog.cc.

void ExportVideoDialog::encode_pass ( int  pass)
private

Definition at line 775 of file export_video_dialog.cc.

void ExportVideoDialog::finished ( )
private

Definition at line 588 of file export_video_dialog.cc.

void ExportVideoDialog::fps_checkbox_toggled ( )
private

Definition at line 1073 of file export_video_dialog.cc.

std::string ExportVideoDialog::get_exported_filename ( )
inline

Definition at line 47 of file export_video_dialog.h.

XMLNode & ExportVideoDialog::get_state ( void  )

Definition at line 492 of file export_video_dialog.cc.

void ExportVideoDialog::height_value_changed ( )
private

Definition at line 1046 of file export_video_dialog.cc.

void ExportVideoDialog::launch_export ( )
private

Definition at line 612 of file export_video_dialog.cc.

void ExportVideoDialog::on_show ( )
private

Definition at line 530 of file export_video_dialog.cc.

void ExportVideoDialog::open_invid_dialog ( )
private

Definition at line 1265 of file export_video_dialog.cc.

void ExportVideoDialog::open_outfn_dialog ( )
private

Definition at line 1245 of file export_video_dialog.cc.

void ExportVideoDialog::preset_combo_changed ( )
private

Definition at line 1115 of file export_video_dialog.cc.

void ExportVideoDialog::scale_checkbox_toggled ( )
private

Definition at line 1064 of file export_video_dialog.cc.

void ExportVideoDialog::set_original_file_information ( )
private

Definition at line 308 of file export_video_dialog.cc.

void ExportVideoDialog::set_state ( const XMLNode )

Definition at line 525 of file export_video_dialog.cc.

void ExportVideoDialog::update_progress ( ARDOUR::framecnt_t  c,
ARDOUR::framecnt_t  a 
)
private

Definition at line 545 of file export_video_dialog.cc.

void ExportVideoDialog::video_codec_combo_changed ( )
private

Definition at line 1087 of file export_video_dialog.cc.

void ExportVideoDialog::width_value_changed ( )
private

Definition at line 1028 of file export_video_dialog.cc.

Member Data Documentation

bool ExportVideoDialog::_aborted
private

Definition at line 75 of file export_video_dialog.h.

bool ExportVideoDialog::_firstpass
private

Definition at line 77 of file export_video_dialog.h.

std::string ExportVideoDialog::_insnd
private

Definition at line 89 of file export_video_dialog.h.

bool ExportVideoDialog::_normalize
private

Definition at line 78 of file export_video_dialog.h.

float ExportVideoDialog::_previous_progress
private

Definition at line 86 of file export_video_dialog.h.

bool ExportVideoDialog::_suspend_dirty
private

Definition at line 93 of file export_video_dialog.h.

bool ExportVideoDialog::_suspend_signals
private

Definition at line 92 of file export_video_dialog.h.

TranscodeFfmpeg* ExportVideoDialog::_transcoder
private

Definition at line 88 of file export_video_dialog.h.

bool ExportVideoDialog::_twopass
private

Definition at line 76 of file export_video_dialog.h.

float ExportVideoDialog::_video_source_aspect_ratio
private

Definition at line 91 of file export_video_dialog.h.

Gtk::Button ExportVideoDialog::abort_button
private

Definition at line 106 of file export_video_dialog.h.

Gtk::CheckButton ExportVideoDialog::aspect_checkbox
private

Definition at line 124 of file export_video_dialog.h.

Gtk::ComboBoxText ExportVideoDialog::aspect_combo
private

Definition at line 125 of file export_video_dialog.h.

Gtk::ComboBoxText ExportVideoDialog::audio_bitrate_combo
private

Definition at line 114 of file export_video_dialog.h.

Gtk::ComboBoxText ExportVideoDialog::audio_codec_combo
private

Definition at line 111 of file export_video_dialog.h.

sigc::connection ExportVideoDialog::audio_progress_connection
private

Definition at line 84 of file export_video_dialog.h.

Gtk::ComboBoxText ExportVideoDialog::audio_samplerate_combo
private

Definition at line 115 of file export_video_dialog.h.

Gtk::CheckButton ExportVideoDialog::bframes_checkbox
private

Definition at line 131 of file export_video_dialog.h.

Gtk::Button* ExportVideoDialog::cancel_button
private

Definition at line 105 of file export_video_dialog.h.

Gtk::CheckButton ExportVideoDialog::debug_checkbox
private

Definition at line 136 of file export_video_dialog.h.

Gtk::CheckButton ExportVideoDialog::deinterlace_checkbox
private

Definition at line 130 of file export_video_dialog.h.

TimeSelection ExportVideoDialog::export_range
private

Definition at line 55 of file export_video_dialog.h.

Gtk::CheckButton ExportVideoDialog::fps_checkbox
private

Definition at line 132 of file export_video_dialog.h.

Gtk::ComboBoxText ExportVideoDialog::fps_combo
private

Definition at line 133 of file export_video_dialog.h.

Gtk::Adjustment ExportVideoDialog::height_adjustment
private

Definition at line 122 of file export_video_dialog.h.

Gtk::SpinButton ExportVideoDialog::height_spinner
private

Definition at line 123 of file export_video_dialog.h.

Gtk::ComboBoxText ExportVideoDialog::insnd_combo
private

Definition at line 101 of file export_video_dialog.h.

Gtk::Button ExportVideoDialog::invid_browse_button
private

Definition at line 100 of file export_video_dialog.h.

Gtk::Entry ExportVideoDialog::invid_path_entry
private

Definition at line 99 of file export_video_dialog.h.

Gtk::Label ExportVideoDialog::invid_path_label
private

Definition at line 98 of file export_video_dialog.h.

Gtk::CheckButton ExportVideoDialog::meta_checkbox
private

Definition at line 134 of file export_video_dialog.h.

Gtk::CheckButton ExportVideoDialog::normalize_checkbox
private

Definition at line 126 of file export_video_dialog.h.

Gtk::CheckButton ExportVideoDialog::optimizations_checkbox
private

Definition at line 128 of file export_video_dialog.h.

Gtk::Label ExportVideoDialog::optimizations_label
private

Definition at line 129 of file export_video_dialog.h.

Gtk::Button ExportVideoDialog::outfn_browse_button
private

Definition at line 97 of file export_video_dialog.h.

Gtk::Entry ExportVideoDialog::outfn_path_entry
private

Definition at line 96 of file export_video_dialog.h.

Gtk::Label ExportVideoDialog::outfn_path_label
private

Definition at line 95 of file export_video_dialog.h.

Gtk::ProgressBar ExportVideoDialog::pbar
private

Definition at line 109 of file export_video_dialog.h.

Gtk::ComboBoxText ExportVideoDialog::preset_combo
private

Definition at line 116 of file export_video_dialog.h.

Gtk::VBox* ExportVideoDialog::progress_box
private

Definition at line 108 of file export_video_dialog.h.

Gtk::CheckButton ExportVideoDialog::scale_aspect
private

Definition at line 119 of file export_video_dialog.h.

Gtk::CheckButton ExportVideoDialog::scale_checkbox
private

Definition at line 118 of file export_video_dialog.h.

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

Definition at line 83 of file export_video_dialog.h.

Gtk::Button ExportVideoDialog::transcode_button
private

Definition at line 102 of file export_video_dialog.h.

Gtk::CheckButton ExportVideoDialog::twopass_checkbox
private

Definition at line 127 of file export_video_dialog.h.

Gtk::VBox* ExportVideoDialog::vbox
private

Definition at line 104 of file export_video_dialog.h.

Gtk::ComboBoxText ExportVideoDialog::video_bitrate_combo
private

Definition at line 113 of file export_video_dialog.h.

Gtk::ComboBoxText ExportVideoDialog::video_codec_combo
private

Definition at line 112 of file export_video_dialog.h.

Gtk::Adjustment ExportVideoDialog::width_adjustment
private

Definition at line 120 of file export_video_dialog.h.

Gtk::SpinButton ExportVideoDialog::width_spinner
private

Definition at line 121 of file export_video_dialog.h.


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