- _frames->SetLabel (std_to_wx (lexical_cast<string> (_film->video_length())));
- FrameRateConversion frc (_film->video_frame_rate(), _film->dcp_frame_rate());
- int const dcp_length = _film->video_length() * frc.factor();
- double const disk = ((double) _film->j2k_bandwidth() / 8) * dcp_length / (_film->dcp_frame_rate() * 1073741824.0f);
+ _frames->SetLabel (std_to_wx (lexical_cast<string> (_film->length().frames (_film->video_frame_rate ()))));
+ double const disk = double (_film->required_disk_space()) / 1073741824.0f;