Blender Git Loki
Git Commits -> Revision 1b487e9
Revision 1b487e9 by Sergey Sharybin (master) August 26, 2012, 11:01 (GMT) |
Some FFmpeg changes - Make FFmpeg initialization called from creator, not from functions which requires FFmpeg. Makes it easier to follow when initialization should happen. - Enable DNxHD codec. It was commented a while ago due to some strange behavior on some platforms. Re-tested it on Linux and Windows and it seemd to be working quite nice. Would let it be tested further, if it wouldn't be stable enough, easy to comment it again. - Make non-error messages from writeffmpeg.c printed only if ffmpeg debug argument was passed to blender. Reduces console pollution with messages which are not useful for general troubleshooting. Error messages would still be printed to the console. - Show FFmpeg error message when video stream failed to allocate. makes it easier to understand what exactly is wrong from Blender interface, no need to restart blender with FFmpeg debug flag and check for console messages. Used custom log callback for this which stores last error message in static variable. This is not thread safe, but with current design FFmpeg routines could not be called form several threads anyway, so think it's fine solution/ |
Commit Details:
Full Hash: 1b487e994850c0acb647aaa9a36464d613f89f51
SVN Revision: 50215
Parent Commit: aa17fc3
Lines Changed: +100, -66
9 Modified Paths:
/source/blender/blenkernel/intern/writeffmpeg.c (+37, -35) (Diff)
/source/blender/blenlib/BLI_string.h (+7, -0) (Diff)
/source/blender/blenlib/intern/string.c (+14, -5) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+4, -0) (Diff)
/source/blender/imbuf/intern/anim_movie.c (+0, -4) (Diff)
/source/blender/imbuf/intern/util.c (+36, -15) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+1, -1) (Diff)
/source/creator/creator.c (+1, -0) (Diff)
/source/gameengine/VideoTexture/VideoFFmpeg.cpp (+0, -6) (Diff)
/source/blender/blenlib/BLI_string.h (+7, -0) (Diff)
/source/blender/blenlib/intern/string.c (+14, -5) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+4, -0) (Diff)
/source/blender/imbuf/intern/anim_movie.c (+0, -4) (Diff)
/source/blender/imbuf/intern/util.c (+36, -15) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+1, -1) (Diff)
/source/creator/creator.c (+1, -0) (Diff)
/source/gameengine/VideoTexture/VideoFFmpeg.cpp (+0, -6) (Diff)