mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
vtl: update video-export
* range: pre/postfix with black video-frames * fix A/V offset - decode and skip source until offset is reached * use spinning progress-bar during decode&skip * use video-stream index in stream-map * fix audio-export abort; stop freewheeling * re-indent code
This commit is contained in:
parent
922ef41995
commit
1d48fb011e
3 changed files with 135 additions and 79 deletions
|
|
@ -119,7 +119,9 @@ class TranscodeFfmpeg : public sigc::trackable
|
|||
*/
|
||||
void set_duration(ARDOUR::framecnt_t d) { m_duration = d; }
|
||||
|
||||
/* offset, lead-in/out are in seconds */
|
||||
void set_avoffset(double av_offset) { m_avoffset = av_offset; }
|
||||
void set_leadinout(double lead_in, double lead_out) { m_lead_in = lead_in; m_lead_out = lead_out; }
|
||||
|
||||
|
||||
#if 1 /* tentative debug mode */
|
||||
|
|
@ -138,7 +140,10 @@ class TranscodeFfmpeg : public sigc::trackable
|
|||
int m_height;
|
||||
std::string m_codec;
|
||||
|
||||
int m_videoidx;
|
||||
double m_avoffset;
|
||||
double m_lead_in;
|
||||
double m_lead_out;
|
||||
bool ffexecok;
|
||||
bool probeok;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue