move video export info to online-manual, allow to open it.
This commit is contained in:
parent
b407b753f7
commit
e6e5aab812
@ -36,6 +36,7 @@
|
||||
#include "export_video_infobox.h"
|
||||
#include "interthread_progress_window.h"
|
||||
|
||||
#include "pbd/openuri.h"
|
||||
#include "i18n.h"
|
||||
|
||||
using namespace std;
|
||||
@ -125,10 +126,17 @@ Editor::export_video ()
|
||||
{
|
||||
if (ARDOUR::Config->get_show_video_export_info()) {
|
||||
ExportVideoInfobox infobox (_session);
|
||||
infobox.run();
|
||||
Gtk::ResponseType rv = (Gtk::ResponseType) infobox.run();
|
||||
if (infobox.show_again()) {
|
||||
ARDOUR::Config->set_show_video_export_info(false);
|
||||
}
|
||||
switch (rv) {
|
||||
case GTK_RESPONSE_YES:
|
||||
PBD::open_uri (ARDOUR::Config->get_reference_manual_url() + "/video-timeline/operations/#export");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
ExportVideoDialog dialog (*this, _session);
|
||||
Gtk::ResponseType r = (Gtk::ResponseType) dialog.run();
|
||||
|
@ -43,7 +43,11 @@ ExportVideoInfobox::ExportVideoInfobox (Session* s)
|
||||
l = manage (new Label (_("<b>Video Export Info</b>"), Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER, false));
|
||||
l->set_use_markup ();
|
||||
vbox->pack_start (*l, false, true);
|
||||
l = manage (new Label (_("Ardour video export is not recommended for mastering!\nWhile 'ffmpeg' (which is used by ardour) can produce high-quality files, this export lacks the possibility to tweak many settings. We recommend to use 'winff', 'devede' or 'dvdauthor' to mux & master. Nevertheless this video-export comes in handy to do quick snapshots, intermediates, dailies or online videos.\n\nThe soundtrack is created from the master-bus of the current Ardour session.\n\nThe video soure defaults to the file used in the video timeline, which may not the best quality to start with, you should the original video file.\n\nIf the export-range is longer than the original video, black video frames are prefixed and/or appended. This process may fail with non-standard pixel-aspect-ratios.\n\nThe file-format is determined by the extension that you choose for the output file (.avi, .mov, .flv, .ogv,...)\nNote: not all combinations of format+codec+settings produce files which are according so spec. e.g. flv files require sample-rates of 22.1kHz or 44.1kHz, mpeg containers can not be used with ac3 audio-codec, etc. If in doubt, use one of the built-in presets."), Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER, false));
|
||||
l = manage (new Label (
|
||||
string_compose(
|
||||
_("Video encoding is a non-trivial task with many details.\n\nPlease see the manual at %1/video-timeline/operations/#export.\n\nOpen Manual in Browser? "),
|
||||
Config->get_reference_manual_url()
|
||||
), Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER, false));
|
||||
l->set_size_request(700,-1);
|
||||
l->set_line_wrap();
|
||||
vbox->pack_start (*l, false, true,4);
|
||||
@ -56,7 +60,8 @@ ExportVideoInfobox::ExportVideoInfobox (Session* s)
|
||||
|
||||
showagain_checkbox.set_active(false);
|
||||
show_all_children ();
|
||||
add_button (Stock::OK, RESPONSE_ACCEPT);
|
||||
add_button (Stock::YES, RESPONSE_YES);
|
||||
add_button (Stock::NO, RESPONSE_NO);
|
||||
}
|
||||
|
||||
ExportVideoInfobox::~ExportVideoInfobox ()
|
||||
|
@ -38,7 +38,6 @@ class ExportVideoInfobox : public ArdourDialog
|
||||
bool show_again () { return showagain_checkbox.get_active(); }
|
||||
|
||||
private:
|
||||
//void on_show ();
|
||||
Gtk::CheckButton showagain_checkbox;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user