- /** perform a single pass at our content */
- virtual bool do_pass () = 0;
- virtual PixelFormat pixel_format () const = 0;
- virtual int time_base_numerator () const = 0;
- virtual int time_base_denominator () const = 0;
- virtual int sample_aspect_ratio_numerator () const = 0;
- virtual int sample_aspect_ratio_denominator () const = 0;
- virtual void overlay (boost::shared_ptr<Image> image) const {}
-
- void process_video (AVFrame *);
- void process_audio (uint8_t *, int);
-
- /** our FilmState */
- boost::shared_ptr<const FilmState> _fs;
- /** our options */
- boost::shared_ptr<const Options> _opt;
- /** associated Job, or 0 */
- Job* _job;
- /** log that we can write to */
- Log* _log;
-
- /** true to do the bare minimum of work; just run through the content. Useful for acquiring
- * accurate frame counts as quickly as possible. This generates no video or audio output.
- */
- bool _minimal;
-
- /** ignore_length Ignore the content's claimed length when computing progress */
- bool _ignore_length;