diff options
| author | Comment <tim@gray.(none)> | 2013-09-20 15:30:57 +0100 |
|---|---|---|
| committer | Comment <tim@gray.(none)> | 2013-09-20 15:30:57 +0100 |
| commit | 47a4f30fc852f4d49df6df7b4974c7c4751107f3 (patch) | |
| tree | b7c64f304707d5e187d9ac696f5e38dc0b672179 /rotord/src/rotor.h | |
| parent | a740d4167e6dbd95dbd82e5d217761af8ef12b6f (diff) | |
making video top and tail
Diffstat (limited to 'rotord/src/rotor.h')
| -rw-r--r-- | rotord/src/rotor.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h index d7480c2..6ab6bce 100644 --- a/rotord/src/rotor.h +++ b/rotord/src/rotor.h @@ -243,7 +243,7 @@ namespace Rotor { void create_image_input(const string &_title,const string &_desc,Node* _connect=nullptr) { image_inputs.push_back(new Image_input(_desc,_title,_connect)); }; - Image *get_output(const Frame_spec &frame) { + Image *get_image_output(const Frame_spec &frame) { image.setup(frame.w,frame.h); update((Time_spec)frame); return output(frame); @@ -943,9 +943,12 @@ namespace Rotor { int lastframe; }; class Video_output: public Image_node { + //Video_output 'presents' the output movie. Aspect ratio, bars, fadein/fadeout would happen here public: Video_output(){ create_image_input("image to output","Image input"); + create_attribute("begin_mode","mode to begin movie","Begin mode","cut",{"cut","blank silence","fade peak"}); + create_attribute("end_mode","mode to end movie","End mode","cut",{"cut","blank silence","fade peak"}); title="Video output"; description="Output to video"; }; @@ -953,6 +956,9 @@ namespace Rotor { base_settings(settings); }; ~Video_output(){ }; + void create_envelope(const vector<float> &audiodata){ + + } Image *output(const Frame_spec &frame){ Image *in=image_inputs[0]->get(frame); if (in){ |
