- int length = _film->length().get();
- DCPFrameRate const dfr (_film->frames_per_second ());
- if (dfr.skip) {
- length /= 2;
- }
- /* If we are repeating it shouldn't affect transcode time, so don't take it into account */
-
- /* We assume that dcp_length() is valid, if it is set */
- int const left = length - _encoder->video_frames_out();
- return left / fps;