+
+ class FileEncoderSet
+ {
+ public:
+ FileEncoderSet (
+ dcp::Size video_frame_size,
+ int video_frame_rate,
+ int audio_frame_rate,
+ int channels,
+ ExportFormat,
+ bool audio_stream_per_channel,
+ int x264_crf,
+ bool three_d,
+ boost::filesystem::path output,
+ std::string extension
+ );
+
+ std::shared_ptr<FFmpegFileEncoder> get (Eyes eyes) const;
+ void flush ();
+ void audio (std::shared_ptr<AudioBuffers>);
+
+ private:
+ std::map<Eyes, std::shared_ptr<FFmpegFileEncoder>> _encoders;
+ };
+
+ AudioMapping stereo_map() const;
+ AudioMapping many_channel_map() const;
+