Page MenuHomePhabricator

Generating videos via 'Simple Example' view does not work
Closed, ResolvedPublic

Description

Steps to reproduce:

  • Open view 'Simple Example'
  • Load an image
  • Click button 'Generate Movie'

--> No visual feedback.

Event Timeline

The instance of mitk::MovieGenerator requested in QmitkSimpleExampleView::GenerateMovie() is null.

There's not suitable object factory registered.

Stack trace:

  • QmitkSimpleExampleView::GenerateMovie()
  • mitk::MovieGenerator::New()
  • itk::ObjectFactory<MovieGenerator>::Create()

This issue only occurs on Linux.

We tried to replace the MovieGenerator by MovieGeneratorOpenCV. That works under Linux, but we should investigate if that changes the behavior for Windows.

An alternative solution would be using the newer QmitkFFmpegWriter. But since it's located in the MovieMaker plug-in we don't want to make the Simple Example view dependent on that.

The next step is to investigate if it makes sense to move the QmitkFFmpegWriter to an own module to increase reusability.