summary refs log tree commit diff stats
path: root/director.h
blob: f00f2ee6c56c190d262bf25968f7ddf2dcc67d24 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef DIRECTOR_H_9DFD929C
#define DIRECTOR_H_9DFD929C

#include <stdexcept>
#include <string>
#include <vector>
#include <Magick++.h>
#include <random>

class ffmpeg_error : public std::runtime_error {
public:

  ffmpeg_error(std::string msg) : std::runtime_error(msg)
  {
  }
};

class director {
public:

  director(std::string videosPath);

  Magick::Image generate(std::mt19937& rng) const;

private:

  std::string videosPath_;
  std::vector<std::string> videos_;
};

#endif /* end of include guard: DIRECTOR_H_9DFD929C */