summaryrefslogtreecommitdiff
path: root/libs/ardour/export_handler.cc
AgeCommit message (Collapse)Author
2018-07-25Add an API to reset export-handler configs.Robin Gareus
config_map.erase() is only called in ExportHandler::finish_timespan(). When an export fails (throw) or is aborted, the export-handler's config remains as is and the next export will run it again. The export-handler is global, per session and ExportHandler::add_export_config() only ever inserts or ignores insert. This is in preparation to fix: 1) export to invalid path -> fail, error is thrown 2) correct path -> new config is inserted in the map 3) try to export again, first runs the not-completed export from (1) -> constant errors.
2017-09-29Properly aligned export (Stem + Session)Robin Gareus
Delay ports being exported by their playback latency.
2017-09-18globally change all use of "frame" to refer to audio into "sample".Paul Davis
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode and video in order to keep the legible
2017-03-18Oh boy!Robin Gareus
2016-10-25Desperate hack to align master-bus on export.Robin Gareus
Another 90% solution which hopefully gives us another year :( see comments Session::start_audio_export() for explanation.
2016-10-17fast region export -- don't call process()Robin Gareus
2016-07-18Normalize API rename part 2Robin Gareus
2016-07-18No-Op: rename Normalizer to IntermediateRobin Gareus
post-processing is no longer just Normalization. RealtimeExport does Encoding - faster than realtime - using the same infrastructure.
2016-07-16libardour support for timespan realtime exportRobin Gareus
2016-07-16Refactor TmpFile into an abstract base classRobin Gareus
This allows a TmpFile pointer to be either a Sync or Async (Threaded) writer. As result we must be able to handle both RT and non RT processing. Still, post-processing (normalization and encoding) should always happen faster than realtime (freewheeling). Since jack does not allow a client to change to freewheeling from within the process-callback, the async-writer disk-thread FileFlushed is used to initiate post-processing.
2016-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-07-13fix CUE/TOC file creation with non ISO-8859-1 chars in source text ↵Paul Davis
(substitute underscores)
2016-06-12more meta-data placeholders for post-export commandRobin Gareus
2016-06-07add meta-data placeholders for post-export commandRobin Gareus
needs testing on windows with UTF8
2016-03-19the return of the Session::Exported signalRobin Gareus
2016-03-12cleaner version of ac3da53Robin Gareus
2016-03-12reset export status when not normalizing - fixes #6816Robin Gareus
2016-02-22Spelling correction patch from DebianAdrian Knoth
Patch taken (and forward-ported to HEAD) from <https://anonscm.debian.org/cgit/pkg-multimedia/ardour.git/plain/debian/patches/0100-fix-typos.patch>
2016-02-13amend d814acb - SystemExec/Export debuggingRobin Gareus
2016-02-12add some debugging capability for users of SystemExec. Needs review.Ben Loftis
2016-02-11Prepare for optional timespan name during export.Robin Gareus
2016-02-10Post-export AnalysisRobin Gareus
2016-02-09Fix crash when aborting export.Robin Gareus
The "Stop" button results in ExportHandlerPtr being destroyed. This must not happen while it's in use -- in particular during ExportHandler::start_timespan() and ExportHandler::finish_timespan()
2016-02-09detailed export state, prepare resolution for #6512Robin Gareus
(Post-processing step should announce itself during an export)
2015-10-13remove last ofstreamRobin Gareus
2015-10-05use quotes for in-tree pbd/glib wrapper includeRobin Gareus
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-09-17use pbd's gstdio compatibility wrapperRobin Gareus
2015-07-30fix file metadata tagging on windows.Robin Gareus
This allows TagLib to open the file and create a Tag object (see 2a0365c) Tagging still fails later (taglib seek/SetFilePointer fails when writing)
2015-06-29no-op: indentation and whitespace fixesPaul Davis
2015-06-29[Summary] Added export cleanupGZharun
[Reviewed by] Andriy Mishyn
2015-06-21Remove "" around CATALOG number in .cue fileColin Fletcher
cue2ddp definitely wants the bar code number *not* enclosed in quotes in .cue files. Leave the quotes in .toc files: cdrdao definitely does need these.
2015-06-08Enclose bar code number in ""s in TOC & CUE exportColin Fletcher
cdrdao seems to want the CATALOG field to be enclosed in double-quotes.
2015-06-08Remove doubled quotes in TOC export PERFORMER fieldColin Fletcher
toc_escape_text() already encloses its result in ""s, and if album_artist is empty, the resulting PERFORMER """" line makes cdrdao upset. Just remove the extra quotes.
2015-04-21Remove filename extension for chapter mark fileJohannes Mueller
The tool mp4chaps by the following command $ mp4chaps -i test.mp4 looks for the file "test.chapters.txt" to read the chapter marks from. So removing the original file name extension (e.g. wav or flac) makes it slightly more convenient for the user.
2015-04-21Put an Intro chapter at position 00:00:00.000Johannes Mueller
Players like vlc seem to stumble, if there es no chapter at the zero position. As Ardour wouldn't let us put a track mark at the zero position we can just use our header_func to put some kind of dummy intro chapter. If a future version of Ardour allows track marks at zero, we need to do a bit more work.
2015-04-21Added support for exporting mp4 chapter marksJohannes Mueller
The mp4 file format supports chapter marks using the so called mp4chaps format to enable chapter wise navigation in an mp4 file. The format is like hh:mm:ss.sss Chapter Title This commit adds the ability to export those kind of chapter marks along with TOC and CUE marks. The filename extension for the chapter mark file is "chapters.txt". The format specification description is "MP4ch".
2015-03-28Add CD Metadata "PERFORMER" & "TITLE" fields to .toc & .cue exportColin Fletcher
Add "PERFORMER" to the exported .toc & .cue files based on the value of the "album_artist" metadata field, and also use the value of the "album" field for the TITLE if is set, falling back to the session or range name if it is blank.
2015-03-28Export EAN barcode number to 'CATALOG' field in .cue & .toc filesColin Fletcher
2014-11-18Remove unused variable and redundant arithmetic.David Robillard
2014-10-02Text tweaks and typo fixesColin Fletcher
2014-07-05Report an error when post-export hook fails.Colin Fletcher
2014-06-12Export dialog: tidy code, & remove some superfluous debug outputColin Fletcher
Remove some debug output, tidy up a few whitespace inconsistencies, use DEBUG::Soundcloud in one more place, and zap a couple of unused variables.
2014-06-12Post-export hook tweaksColin Fletcher
Remove the Soundcloud username & password from the parameter substitutions passed to the post-export hook: having thought about this now, I can't actually think of a case where these are of any use at all. In compensation, add %s and %n parameters that expand to the session directory and name - maybe people will think of uses for these.
2014-05-23Add and use a DEBUG flag for Soundcloud uploads.Colin Fletcher
Replace output to stdout/stderr from Soundcloud upload functions with DEBUG_TRACE (DEBUG::Soundcloud, ...).
2014-05-23Show URI of file uploaded to Soundcloud in log window.Colin Fletcher
2014-05-23Visual tweaks to Soundcloud panelColin Fletcher
Re-arrange the items in the Soundcloud panel into a more sensible order & arrangement, and add a (not-yet functional) tick-box to set the uploaded files to be downloadable.
2014-05-23Better names for Soundcloud-related members of ExportHandlerColin Fletcher
Rename the Soundcloud-related members of ExportHandler to all begin with soundcloud_, and rename a couple of members of SoundcloudExportSelector too for consistency.
2014-05-23Make Soundcloud upload applicable to any export format.Colin Fletcher
Add soundcloud_upload property back into ExportFormatSpecification, but instead of making it settable in the export format specification dialog, add a tick-box in each tab of ExportFileNotebook to allow setting it.