summaryrefslogtreecommitdiff
path: root/rotord/src/graph.h
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2014-01-30 18:13:45 +0000
committerTim Redfern <tim@eclectronics.org>2014-01-30 18:13:45 +0000
commitc2b62131b0e6984f8fea7f44e364ae5c886c211a (patch)
tree0e6e1502d95a8c9e99fea979f92d2ee12518ecbe /rotord/src/graph.h
parent5858a7f89d844e3577f6400681bdd47a7bdd8e2c (diff)
making fragmenting exporter
Diffstat (limited to 'rotord/src/graph.h')
-rw-r--r--rotord/src/graph.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/rotord/src/graph.h b/rotord/src/graph.h
index bb8f83f..bfd175b 100644
--- a/rotord/src/graph.h
+++ b/rotord/src/graph.h
@@ -25,7 +25,19 @@ copy nodes `
namespace Rotor {
class Graph{
public:
- Graph(){duration=20.0;loaded = false;audio_loaded=false;bitRate=0;outW=640;outH=360;audio_thumb=new Audio_thumbnailer();use_fragmentation=false;analysis_seed=0;Log_name="";};
+ Graph(){
+ duration=20.0;
+ loaded = false;
+ audio_loaded=false;
+ bitRate=0;
+ outW=640;
+ outH=360;
+ audio_thumb=new Audio_thumbnailer();
+ use_fragmentation=false;
+ analysis_seed=0;
+ Log_name="";
+ mpd_chunk_length=2.0;
+ };
Graph(const string& _uid,const string& _desc){
Graph();
init(_uid,_desc);
@@ -53,6 +65,7 @@ namespace Rotor {
Node* find_node(const string &type);
bool signal_render(xmlIO &XML,const string &node,const double framerate);
bool video_render(const string &output_filename,const double framerate,int start, int end);
+ bool video_render2(const string &output_filename,const double framerate,int start, int end);
bool load(string data,string media_path);
bool loadFile(string &filename,string media_path);
bool parseXml(string media_path);
@@ -102,6 +115,8 @@ namespace Rotor {
int analysis_seed;
string Log_name;
+ double mpd_chunk_length;
+
};
class Thumbnailer{
public: