MantisBT - ParaView
View Issue Details
0009281ParaViewFeaturepublic2009-07-17 09:272009-12-14 16:24
Michael Wild 
 
normalfeaturealways
closedopen 
Development 
 
0009281: Add Ogg/Theora animation export to ParaView
The vtkFFMPEGWriter has lately (http://www.vtk.org/Bug/view.php?id=8925 [^]) been changed to write MJPEG movies. This has the advantage of resolving licensing issues, as MPEG4 is patented. Further, FFMPEG can't be included in the ParaView source code because it contains GPL'ed code.

This is why it would be beneficial for ParaView to offer export to Ogg/Theora. Both, the Ogg container format and the Theora video codec are free of any known patent and the reference implementations are BSD-style licensed. This format is now also integrated into the latest versions of the Firefox and Opera web browsers, and QuickTime and DirectShow components are available.
Attached are three patches implementing Ogg/Theora animation export in ParaView-CVS:

0001-ENH-Added-vtkoggtheora-library-Ogg-Theora-to-VTK.patch: Adds libogg and libtheora as a single vtkoggtheora library to VTK. libtheora has been stripped of some unused sources (decoder).

0002-ENH-Added-vtkOggTheoraWriter-to-VTK.patch: Adds the vtkOggTheoraWriter class to VTK (based upon vtkFFMPEGWriter).

0003-ENH-Integrated-vtkOggTheoraWriter-into-ParaView.patch: Integrates the vtkOggTheoraWriter into ParaView.
No tags attached.
patch 0001-ENH-Added-vtkoggtheora-library-Ogg-Theora-to-VTK.patch (1,228,427) 2009-07-17 09:27
https://www.vtk.org/Bug/file/7367/0001-ENH-Added-vtkoggtheora-library-Ogg-Theora-to-VTK.patch
patch 0002-ENH-Added-vtkOggTheoraWriter-to-VTK.patch (25,790) 2009-07-17 09:27
https://www.vtk.org/Bug/file/7368/0002-ENH-Added-vtkOggTheoraWriter-to-VTK.patch
patch 0003-ENH-Integrated-vtkOggTheoraWriter-into-ParaView.patch (6,003) 2009-07-17 09:27
https://www.vtk.org/Bug/file/7369/0003-ENH-Integrated-vtkOggTheoraWriter-into-ParaView.patch
patch 0001-ENH-Added-vtkoggtheora-library-Ogg-Theora-to-VTK_updated.patch (1,446,625) 2009-08-13 10:41
https://www.vtk.org/Bug/file/7406/0001-ENH-Added-vtkoggtheora-library-Ogg-Theora-to-VTK_updated.patch
patch 0002-ENH-Added-vtkOggTheoraWriter-to-VTK_updated.patch (27,274) 2009-08-13 10:41
https://www.vtk.org/Bug/file/7407/0002-ENH-Added-vtkOggTheoraWriter-to-VTK_updated.patch
patch 0003-ENH-Integrated-vtkOggTheoraWriter-into-ParaView_updated.patch (8,380) 2009-08-13 10:41
https://www.vtk.org/Bug/file/7408/0003-ENH-Integrated-vtkOggTheoraWriter-into-ParaView_updated.patch
patch 0001-ENH-Added-vtkoggtheora-library-Ogg-Theora-to-VTK_v3.patch (1,446,497) 2009-10-11 14:48
https://www.vtk.org/Bug/file/7547/0001-ENH-Added-vtkoggtheora-library-Ogg-Theora-to-VTK_v3.patch
patch 0002-ENH-Added-vtkOggTheoraWriter-to-VTK_v3.patch (27,276) 2009-10-11 14:49
https://www.vtk.org/Bug/file/7548/0002-ENH-Added-vtkOggTheoraWriter-to-VTK_v3.patch
patch 0003-ENH-Integrated-vtkOggTheoraWriter-into-ParaView_v3.patch (8,472) 2009-10-11 14:49
https://www.vtk.org/Bug/file/7549/0003-ENH-Integrated-vtkOggTheoraWriter-into-ParaView_v3.patch
Issue History
2009-07-17 09:27Michael WildNew Issue
2009-07-17 09:27Michael WildFile Added: 0001-ENH-Added-vtkoggtheora-library-Ogg-Theora-to-VTK.patch
2009-07-17 09:27Michael WildFile Added: 0002-ENH-Added-vtkOggTheoraWriter-to-VTK.patch
2009-07-17 09:27Michael WildFile Added: 0003-ENH-Integrated-vtkOggTheoraWriter-into-ParaView.patch
2009-08-13 10:41Michael WildFile Added: 0001-ENH-Added-vtkoggtheora-library-Ogg-Theora-to-VTK_updated.patch
2009-08-13 10:41Michael WildFile Added: 0002-ENH-Added-vtkOggTheoraWriter-to-VTK_updated.patch
2009-08-13 10:41Michael WildFile Added: 0003-ENH-Integrated-vtkOggTheoraWriter-into-ParaView_updated.patch
2009-08-13 10:47Michael WildNote Added: 0017117
2009-10-11 14:49Michael WildFile Added: 0001-ENH-Added-vtkoggtheora-library-Ogg-Theora-to-VTK_v3.patch
2009-10-11 14:49Michael WildFile Added: 0002-ENH-Added-vtkOggTheoraWriter-to-VTK_v3.patch
2009-10-11 14:49Michael WildFile Added: 0003-ENH-Integrated-vtkOggTheoraWriter-into-ParaView_v3.patch
2009-10-11 14:51Michael WildNote Added: 0018055
2009-11-06 02:37Michael WildNote Added: 0018357
2009-12-14 16:22Dave DeMarleNote Added: 0018879
2009-12-14 16:24Dave DeMarleStatusbacklog => closed
2011-06-16 13:10Zack GalbreathCategoryFeature Request => Feature

Notes
(0017117)
Michael Wild   
2009-08-13 10:47   
Attached an updated set of patches (suffixed with '_updated' to disambiguate them from the old ones). The first three patches attached to this report are obsolete and should not be used except for reference.

libtheora has been updated to version 1.1beta2, now supporting 4:4:4 subsampling (i.e. "no" subsampling at all).

vtkOggTheoraWriter now has a property 'Subsampling': if it is enabled, 4:2:0 subsampling will be used, otherwise 4:4:4 will be used. The default is 4:4:4.

The same property has been added to vtkSMAnimationSceneImageWriter. However, as for the Quality setting, there is not GUI control.
(0018055)
Michael Wild   
2009-10-11 14:51   
Updated the first patch to use the newly released libtheora-1.1.1 instead of 1.1beta2. Also updated the patches to work against current ParaView-CVS. The new version are suffixed by _v3.
(0018357)
Michael Wild   
2009-11-06 02:37   
Instead of attaching new files every time I update the patches (which gets to be very confusing), I will maintain them in my GIT repository:

http://github.com/themiwi/ParaView/commits/patches/OggTheoraWriter [^]
(0018879)
Dave DeMarle   
2009-12-14 16:22   
The patch is in. Thanks for the contribution!