-static void
-video_proxy (weak_ptr<Encoder> encoder, shared_ptr<PlayerImage> image, Eyes eyes, ColourConversion conversion, bool same)
+/** Construct a transcoder.
+ * @param f Film that we are transcoding.
+ * @param j Job that this transcoder is being used in.
+ */
+Transcoder::Transcoder (shared_ptr<const Film> film, weak_ptr<Job> j)
+ : _film (film)
+ , _job (j)
+ , _player (new Player (film, film->playlist ()))
+ , _writer (new Writer (film, j))
+ , _encoder (new Encoder (film, _writer))
+ , _finishing (false)
+ , _non_burnt_subtitles (false)