OpenSceneGraph/CMakeModules
Robert Osfield 29eb65c77d From David Longest, "I have updated the FFmpeg plugin to support the 1.0 release version of FFmpeg. The files attached were modified in order to facilitate the update. Below are the details for all changes made.
Header update

FindFFmpeg.cmake has been changed in order to support the new header include format for FFmpeg. In the 1.0 release, a new file had been added with the name “time.h” in the avutil library. The previous method of adding includes caused conflicts with the ANSI C “time.h” file. Now the include directive will only use the main include folder. All files using the old include format have been updated to reflect the change.



Added __STDC_CONSTANT_MACROS define to CMakeLists.txt

Since there is no guarantee that FFmpegHeaders.hpp will be included before stdint.h is included, the define has been moved from FFmpegHeaders.hpp to be part of the CMakeLists.txt for the FFmpeg plugin. This will allow the define to work on all compilers regardless of include order.



Replaced AVFormatParameters with AVDictionary

AVFormatParameters is no longer supported in FFmpeg and has been replaced with a key/value map of strings for each setting. FFmpegParameters and FFmpegDecoder has been updated to reflect this.



Replaced av_open_input_file with avformat_open_input

FFmpeg now opens files using avformat_open_input. Since the av_open_input_file method is deprecated, the FFmpegDecoder class has been updated to reflect this change.



Added custom AVIOContext field to options

Since some formats and inputs may not be supported by FFmpeg, I have added a new parameter that allows a user to allocate their own AVIOContext. This class will allow for creating a read, seek, and write callback if they desire.



Checking for start_time validity

It is possible for some file formats to not provide a start_time to FFmpeg. This would cause stuttering in the video since the clocks class would be incorrect.



Removed findVideoStream and findAudioStream

The new FFmpeg release already has a function that will find the best audio and video stream. The code has been replaced with this function.



Updated error reporting

Some functions would not log an error when opening a file or modifying a file failed. New logs have been added as well as a function to convert error numbers to their string descriptions.



decode_video has been replaced

The old decode_video function would remove extra data that some decoders use in order to properly decode a packet. Now av_codec_decode_video2 has replaced that function.



Picture format changed from RGBA32 to RGB24

Since most video will not contain an alpha channel, using a 24 bit texture will use less memory."
2013-02-06 12:46:03 +00:00
..
CheckAtomicOps.cmake Added OPENTHREADS_ATOMIC_USE_MUTEX Cmake options that allows you to override the default detection 2011-03-31 14:57:18 +00:00
clean_directories Added utilty script for cleaning up build files/directories. 2008-03-14 15:33:47 +00:00
cmake_uninstall.cmake.in From Rafa Gaitan, "Attached the fix to remove the symlinks created with make install." 2011-03-10 10:56:12 +00:00
Find3rdPartyDependencies.cmake From Torben Dannhauer, "originally I posted the addendum of 'freetype244MT', but that was wrong. 2011-06-21 13:01:23 +00:00
FindAndroidNDK.cmake From Jorge Ciges, "Update to FindAndroidNDK to make it use the latest Ndk (r5c) automatically. 2011-06-14 18:10:27 +00:00
FindAsio.cmake From Stephan Huber, RestHttpDevice plugin for support of remote application control via Rest http. 2012-10-30 12:31:27 +00:00
FindAVFoundation.cmake From Stephan Huber, "* imageio: removed ReaderWriterImageIO_IOS.cpp, refactored ReaderWriterImageIO to work on OS X and IOS 2012-12-05 17:15:53 +00:00
FindCOLLADA.cmake From Nico Kruithof, "I found that Collada wasn't found correctly with visual studio 2010." 2012-02-07 11:43:42 +00:00
FindCoreMedia.cmake From Stephan Huber, OSX and iOS Video support via a QTKit plugin from OSX 10.7 and before, and an AVFoundation plugin for iOS and OSX10.8 and later. 2012-10-02 14:07:12 +00:00
FindCoreVideo.cmake From Eric Wing, QTKit plugin for reading movies under OSX using QTKit + CoreVideo 2010-09-24 12:59:37 +00:00
FindDirectInput.cmake From Wang Rui, "I implemented a customized viewer event traversal here to read state 2010-12-13 11:34:33 +00:00
FindDirectShow.cmake From Cedric Pinson, "Here an update of the directshow plugin. It fixes issues with 2009-11-20 10:48:51 +00:00
FindFBX.cmake From Wang Rui, "This fixes a small problem in the FindFBX file. In CMake scripts, 2011-07-21 08:52:02 +00:00
FindFFmpeg.cmake From David Longest, "I have updated the FFmpeg plugin to support the 1.0 release version of FFmpeg. The files attached were modified in order to facilitate the update. Below are the details for all changes made. 2013-02-06 12:46:03 +00:00
FindFLTK.cmake Moved finding of RSVG, Poppler-glib and GtkGl out into their own Find*.cmake modules to enable easier specialization. 2010-11-11 16:51:46 +00:00
FindFOX.cmake From Philip Lowman, removed inappropriate references to OSG_ in 3rd party libs searches 2009-05-18 10:17:57 +00:00
FindFreeType.cmake From Colin McDonald, build fixes for Solaris. 2008-01-08 18:13:06 +00:00
FindGDAL.cmake From Peter Bear, "Attached is a fix for the detection of GDAL 1.7.0. The previous CMake file only supported up to 1.6, this fix supports 1.7." 2010-11-05 11:21:55 +00:00
FindGIFLIB.cmake From Philip Lowman, removed inappropriate references to OSG_ in 3rd party libs searches 2009-05-18 10:17:57 +00:00
FindGTA.cmake From Martin Lambers, "It adds a new ReaderWriter plugin for the GTA file format 2012-02-17 16:45:49 +00:00
FindGtkGl.cmake Moved finding of RSVG, Poppler-glib and GtkGl out into their own Find*.cmake modules to enable easier specialization. 2010-11-11 16:51:46 +00:00
FindInventor.cmake From Jan Peciva, improvements to Inventor find operation 2010-01-31 18:23:35 +00:00
FindJasper.cmake From Sukender, "Here is an minor update for Jasper finder. It adds debug cache value for Windows/MSVC builds, and adds search paths." 2011-02-14 15:43:41 +00:00
FindLibVNCServer.cmake From Philip Lowman, removed inappropriate references to OSG_ in 3rd party libs searches 2009-05-18 10:17:57 +00:00
FindNVTT.cmake Added ImageProcessor interface class and plugin mechnanism for ImageProcessor implementations to osgDB::Registry. 2011-01-13 14:59:29 +00:00
FindOpenEXR.cmake From Simon Julier, "I ran across linking errors with osgdb_exr. Specifically, I found it was necessary to link against libImlIlf, libImlThread, libHalf, libIex and libzip. 2011-01-19 10:57:58 +00:00
FindOpenThreads.cmake From Eric Wing, "Attached are a few Find modules with updates. Among other things, they 2008-01-04 20:00:18 +00:00
FindOpenVRML.cmake From Jan Ciger, "I am attaching the updated VRML plugin, as promised. This version works 2009-05-26 14:22:56 +00:00
FindOSG.cmake From Kristofer Tingdahl, Added missing core OSG libraries. 2012-01-27 09:49:06 +00:00
FindOurDCMTK.cmake From Jean-Christophe Lombardo, "On Fedora 14, dcmtk libs are under /usr/lib/dcmtk. I've added a PATH_SUFFIX to take that into account" 2011-06-16 08:46:30 +00:00
FindPerformer.cmake From Philip Lowman, removed inappropriate references to OSG_ in 3rd party libs searches 2009-05-18 10:17:57 +00:00
FindPoppler-glib.cmake Moved finding of RSVG, Poppler-glib and GtkGl out into their own Find*.cmake modules to enable easier specialization. 2010-11-11 16:51:46 +00:00
FindQTKit.cmake From Stephan Huber, "attached you'll find some tweaks for the FindQuicktime and 2011-06-14 09:01:54 +00:00
FindQuartzCore.cmake From Stephan Huber, OSX and iOS Video support via a QTKit plugin from OSX 10.7 and before, and an AVFoundation plugin for iOS and OSX10.8 and later. 2012-10-02 14:07:12 +00:00
FindQuickTime.cmake From Stephan Huber, "* imageio: removed ReaderWriterImageIO_IOS.cpp, refactored ReaderWriterImageIO to work on OS X and IOS 2012-12-05 17:15:53 +00:00
FindRSVG.cmake Moved finding of RSVG, Poppler-glib and GtkGl out into their own Find*.cmake modules to enable easier specialization. 2010-11-11 16:51:46 +00:00
FindXine.cmake From Philip Lowman, removed inappropriate references to OSG_ in 3rd party libs searches 2009-05-18 10:17:57 +00:00
FindZeroConf.cmake From Stephan Huber, "* imageio: removed ReaderWriterImageIO_IOS.cpp, refactored ReaderWriterImageIO to work on OS X and IOS 2012-12-05 17:15:53 +00:00
FindZLIB.cmake From Philip Lowman, removed inappropriate references to OSG_ in 3rd party libs searches 2009-05-18 10:17:57 +00:00
ListHandle.cmake Fixed tabbing 2007-04-27 09:49:28 +00:00
ModuleInstall.cmake From Mourad Boufarguine, 2011-03-11 10:24:12 +00:00
OsgAndroidMacroUtils.cmake From Jorge Izquierdo Ciges, "Mostly small changes to add more compile options, and shared linking (still testing that capability, but this enables on a compile basis if the user wants). Robert, when you give the Ok I'll update/rewrite the Android section in the old/new wiki you'll say where is better. Mostly to be clear for the future users what options can configure and what are their purpose." 2012-04-19 09:50:10 +00:00
OsgCPack.cmake From Jean-Sebastien Guay, "I like the recent addition that adds folders in the solution tree to better organize the numerous examples, libraries, plugins etc. 2011-05-27 09:08:48 +00:00
OsgCPackConfig.cmake.in From Alan Dickinson, "I modified the CPack and CMake files to utilze the CMAKE_INSTALL_PREFIX when building RPM packages. 2011-03-11 10:18:43 +00:00
OsgDetermineCompiler.cmake From Philip Lowman, clean up of CMake files 2009-04-09 09:23:45 +00:00
OsgMacroUtils.cmake From Mattias Helsing, "Fixes installation of the osgViewer headers that got broken with rev 2011-04-21 17:16:27 +00:00
UtilityMacros.cmake From Philip Lowman, clean up of CMake files 2009-04-09 09:23:45 +00:00