Ardour  9.0-pre0-822-g12e3bc5c20
TranscodeVideoDialog Class Reference

dialog-box and controller for importing video-files More...

#include <transcode_video_dialog.h>

Inheritance diagram for TranscodeVideoDialog:
[legend]

Public Member Functions

 TranscodeVideoDialog (ARDOUR::Session *, std::string)
 
 ~TranscodeVideoDialog ()
 
VtlTranscodeOption import_option ()
 
std::string get_filename ()
 
std::string get_audiofile ()
 
bool detect_ltc ()
 
void on_response (int response_id)
 
- 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 ()
 
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 on_show ()
 
void open_browse_dialog ()
 
void abort_clicked ()
 
void scale_combo_changed ()
 
void audio_combo_changed ()
 
void video_combo_changed ()
 
void aspect_checkbox_toggled ()
 
void bitrate_checkbox_toggled ()
 
void update_bitrate ()
 
void launch_audioonly ()
 
void launch_transcode ()
 
void launch_extract ()
 
void dialog_progress_mode ()
 
void finished (int)
 
void update_progress (ARDOUR::samplecnt_t, ARDOUR::samplecnt_t)
 

Private Attributes

bool aborted
 
bool pending_audio_extract
 
std::string audiofile
 
std::string infn
 
double m_aspect
 
PBD::Signal< void()> StartNextStage
 
TranscodeFfmpegtranscoder
 
Gtk::Label path_label
 
Gtk::Entry path_entry
 
Gtk::Button browse_button
 
Gtk::Button transcode_button
 
Gtk::VBox * vbox
 
Gtk::Button * cancel_button
 
Gtk::Button abort_button
 
Gtk::VBox * progress_box
 
Gtk::Label progress_label
 
Gtk::ProgressBar pbar
 
Gtk::ComboBoxText video_combo
 
Gtk::ComboBoxText scale_combo
 
Gtk::CheckButton aspect_checkbox
 
Gtk::Adjustment height_adjustment
 
Gtk::SpinButton height_spinner
 
Gtk::ComboBoxText audio_combo
 
Gtk::CheckButton ltc_detect
 
Gtk::CheckButton bitrate_checkbox
 
Gtk::Adjustment bitrate_adjustment
 
Gtk::SpinButton bitrate_spinner
 
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 importing video-files

Definition at line 47 of file transcode_video_dialog.h.

Constructor & Destructor Documentation

◆ TranscodeVideoDialog()

TranscodeVideoDialog::TranscodeVideoDialog ( ARDOUR::Session ,
std::string   
)

◆ ~TranscodeVideoDialog()

TranscodeVideoDialog::~TranscodeVideoDialog ( )

Member Function Documentation

◆ abort_clicked()

void TranscodeVideoDialog::abort_clicked ( )
private

◆ aspect_checkbox_toggled()

void TranscodeVideoDialog::aspect_checkbox_toggled ( )
private

◆ audio_combo_changed()

void TranscodeVideoDialog::audio_combo_changed ( )
private

◆ bitrate_checkbox_toggled()

void TranscodeVideoDialog::bitrate_checkbox_toggled ( )
private

◆ detect_ltc()

bool TranscodeVideoDialog::detect_ltc ( )
inline

Definition at line 65 of file transcode_video_dialog.h.

◆ dialog_progress_mode()

void TranscodeVideoDialog::dialog_progress_mode ( )
private

◆ finished()

void TranscodeVideoDialog::finished ( int  )
private

◆ get_audiofile()

std::string TranscodeVideoDialog::get_audiofile ( )
inline

Definition at line 60 of file transcode_video_dialog.h.

◆ get_filename()

std::string TranscodeVideoDialog::get_filename ( )
inline

Definition at line 55 of file transcode_video_dialog.h.

◆ import_option()

VtlTranscodeOption TranscodeVideoDialog::import_option ( )

◆ launch_audioonly()

void TranscodeVideoDialog::launch_audioonly ( )
private

◆ launch_extract()

void TranscodeVideoDialog::launch_extract ( )
private

◆ launch_transcode()

void TranscodeVideoDialog::launch_transcode ( )
private

◆ on_response()

void TranscodeVideoDialog::on_response ( int  response_id)
inlinevirtual

Reimplemented from ArdourDialog.

Definition at line 70 of file transcode_video_dialog.h.

◆ on_show()

void TranscodeVideoDialog::on_show ( )
private

◆ open_browse_dialog()

void TranscodeVideoDialog::open_browse_dialog ( )
private

◆ scale_combo_changed()

void TranscodeVideoDialog::scale_combo_changed ( )
private

◆ update_bitrate()

void TranscodeVideoDialog::update_bitrate ( )
private

◆ update_progress()

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

◆ video_combo_changed()

void TranscodeVideoDialog::video_combo_changed ( )
private

Member Data Documentation

◆ abort_button

Gtk::Button TranscodeVideoDialog::abort_button
private

Definition at line 109 of file transcode_video_dialog.h.

◆ aborted

bool TranscodeVideoDialog::aborted
private

Definition at line 92 of file transcode_video_dialog.h.

◆ aspect_checkbox

Gtk::CheckButton TranscodeVideoDialog::aspect_checkbox
private

Definition at line 117 of file transcode_video_dialog.h.

◆ audio_combo

Gtk::ComboBoxText TranscodeVideoDialog::audio_combo
private

Definition at line 120 of file transcode_video_dialog.h.

◆ audiofile

std::string TranscodeVideoDialog::audiofile
private

Definition at line 94 of file transcode_video_dialog.h.

◆ bitrate_adjustment

Gtk::Adjustment TranscodeVideoDialog::bitrate_adjustment
private

Definition at line 123 of file transcode_video_dialog.h.

◆ bitrate_checkbox

Gtk::CheckButton TranscodeVideoDialog::bitrate_checkbox
private

Definition at line 122 of file transcode_video_dialog.h.

◆ bitrate_spinner

Gtk::SpinButton TranscodeVideoDialog::bitrate_spinner
private

Definition at line 124 of file transcode_video_dialog.h.

◆ browse_button

Gtk::Button TranscodeVideoDialog::browse_button
private

Definition at line 104 of file transcode_video_dialog.h.

◆ cancel_button

Gtk::Button* TranscodeVideoDialog::cancel_button
private

Definition at line 108 of file transcode_video_dialog.h.

◆ debug_checkbox

Gtk::CheckButton TranscodeVideoDialog::debug_checkbox
private

Definition at line 125 of file transcode_video_dialog.h.

◆ height_adjustment

Gtk::Adjustment TranscodeVideoDialog::height_adjustment
private

Definition at line 118 of file transcode_video_dialog.h.

◆ height_spinner

Gtk::SpinButton TranscodeVideoDialog::height_spinner
private

Definition at line 119 of file transcode_video_dialog.h.

◆ infn

std::string TranscodeVideoDialog::infn
private

Definition at line 95 of file transcode_video_dialog.h.

◆ ltc_detect

Gtk::CheckButton TranscodeVideoDialog::ltc_detect
private

Definition at line 121 of file transcode_video_dialog.h.

◆ m_aspect

double TranscodeVideoDialog::m_aspect
private

Definition at line 96 of file transcode_video_dialog.h.

◆ path_entry

Gtk::Entry TranscodeVideoDialog::path_entry
private

Definition at line 103 of file transcode_video_dialog.h.

◆ path_label

Gtk::Label TranscodeVideoDialog::path_label
private

Definition at line 102 of file transcode_video_dialog.h.

◆ pbar

Gtk::ProgressBar TranscodeVideoDialog::pbar
private

Definition at line 113 of file transcode_video_dialog.h.

◆ pending_audio_extract

bool TranscodeVideoDialog::pending_audio_extract
private

Definition at line 93 of file transcode_video_dialog.h.

◆ progress_box

Gtk::VBox* TranscodeVideoDialog::progress_box
private

Definition at line 111 of file transcode_video_dialog.h.

◆ progress_label

Gtk::Label TranscodeVideoDialog::progress_label
private

Definition at line 112 of file transcode_video_dialog.h.

◆ scale_combo

Gtk::ComboBoxText TranscodeVideoDialog::scale_combo
private

Definition at line 116 of file transcode_video_dialog.h.

◆ StartNextStage

PBD::Signal<void()> TranscodeVideoDialog::StartNextStage
private

Definition at line 98 of file transcode_video_dialog.h.

◆ transcode_button

Gtk::Button TranscodeVideoDialog::transcode_button
private

Definition at line 105 of file transcode_video_dialog.h.

◆ transcoder

TranscodeFfmpeg* TranscodeVideoDialog::transcoder
private

Definition at line 100 of file transcode_video_dialog.h.

◆ vbox

Gtk::VBox* TranscodeVideoDialog::vbox
private

Definition at line 107 of file transcode_video_dialog.h.

◆ video_combo

Gtk::ComboBoxText TranscodeVideoDialog::video_combo
private

Definition at line 115 of file transcode_video_dialog.h.


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