GSoC/GCI Archive
Google Code-in 2013 KDE

Basic implementation of Capture Movie in Marble: Create a single movie file

completed by: Illya Kovalevskyy

mentors: Torsten Rahn, René Küttner, Utku Aydın, Dennis Nienhüser

In http://www.google-melange.com/gci/task/view/google/gci2013/5805119807422464 the basics for recording a movie using Marble were laid and the feature saved multiple bitmaps into the home directory. In this task the class will be extended to save a single movie file if the required tools are either found at runtime or build time.

There should be a check that is done the first time startRecording() is executed: 

  • We could either check for availabiltiy of the popular ffmpeg bin command line tool (which is also available as part of libav-tools).
  • In addition we could allow for linking against opencv
  • If ffmpeg is found or opencv has been found during build time use it to pump the images into a stream and save/convert it into a single file (e.g. mp4) in the home directory.
  • Check which approach delivers the best results. Adjust the framerate.

The next task will be about providing recording/conversion options and specifying the target directory or file name.