private void cutAds(File inputVideo, File outputVideo,
            IMediator mediator, List<VideoSection> sectionsToCut) {
        try
        {
            long videoDuration = VideoUtils.getVideoDurationInSeconds(inputVideo);
            ProgressReportingAdapter progressReporter
                = new ProgressReportingAdapter(mediator, videoDuration);
            SoundSilencer silencer = new SoundSilencer(sectionsToCut, progressReporter);
            silencer.silence(inputVideo, outputVideo);

            // And done
            mediator.cuttingAdsFinished(outputVideo);
        }
        catch (Exception ex) {
            mediator.reportActionFailed("Failed to cut ads from video file. More info in STDOUT.");
            System.out.println(ex.getMessage());
            ex.printStackTrace();
        }
    }