Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-01-19style cleanupCampbell Barton
2013-01-12Patch #33837: ffmpeg1.1 and libav9.1 compatibility updateSergey Sharybin
Patch makes it possible to compile blender with recent ffmpeg and libav libraries, mainly by getting rid of deprecated API. Original patch by Campbell Barton with own modifications to support compilation with older ffmpeg versions. This patch could break compatibility of FFV1 videos playing back in older players, mainly because of alpha support changes. Preserving compatibility with such players became a headache and think it's high time to get rid of workarounds here.
2012-12-02== FFMPEG ==Peter Schlaile
This fixes a memory leak caused by the last packet on stream EOF not freed. (Memory leak occurs on ffmpeg heap managed by av_malloc / av_free, so it is invisible to Blender) Also: clean up the code a little bit (anim->next_packet was never really used, so could be moved into a local variable)
2012-11-09code cleanup: double promotion warnings, also allow cmake to build SDL ↵Campbell Barton
without audaspace.
2012-11-01style cleanupCampbell Barton
2012-10-08add option to build without blenders default avi codec.Campbell Barton
2012-10-04style cleanup: comment blocksCampbell Barton
2012-09-15Color Management, Stage 2: Switch color pipeline to use OpenColorIOSergey Sharybin
Replace old color pipeline which was supporting linear/sRGB color spaces only with OpenColorIO-based pipeline. This introduces two configurable color spaces: - Input color space for images and movie clips. This space is used to convert images/movies from color space in which file is saved to Blender's linear space (for float images, byte images are not internally converted, only input space is stored for such images and used later). This setting could be found in image/clip data block settings. - Display color space which defines space in which particular display is working. This settings could be found in scene's Color Management panel. When render result is being displayed on the screen, apart from converting image to display space, some additional conversions could happen. This conversions are: - View, which defines tone curve applying before display transformation. These are different ways to view the image on the same display device. For example it could be used to emulate film view on sRGB display. - Exposure affects on image exposure before tone map is applied. - Gamma is post-display gamma correction, could be used to match particular display gamma. - RGB curves are user-defined curves which are applying before display transformation, could be used for different purposes. All this settings by default are only applying on render result and does not affect on other images. If some particular image needs to be affected by this transformation, "View as Render" setting of image data block should be set to truth. Movie clips are always affected by all display transformations. This commit also introduces configurable color space in which sequencer is working. This setting could be found in scene's Color Management panel and it should be used if such stuff as grading needs to be done in color space different from sRGB (i.e. when Film view on sRGB display is use, using VD16 space as sequencer's internal space would make grading working in space which is close to the space using for display). Some technical notes: - Image buffer's float buffer is now always in linear space, even if it was created from 16bit byte images. - Space of byte buffer is stored in image buffer's rect_colorspace property. - Profile of image buffer was removed since it's not longer meaningful. - OpenGL and GLSL is supposed to always work in sRGB space. It is possible to support other spaces, but it's quite large project which isn't so much important. - Legacy Color Management option disabled is emulated by using None display. It could have some regressions, but there's no clear way to avoid them. - If OpenColorIO is disabled on build time, it should make blender behaving in the same way as previous release with color management enabled. More details could be found at this page (more details would be added soon): http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.64/Color_Management -- Thanks to Xavier Thomas, Lukas Toene for initial work on OpenColorIO integration and to Brecht van Lommel for some further development and code/ usecase review!
2012-09-08== FFMPEG ==Peter Schlaile
This fixes [#32399] VSE doesn't show last 3 frames of Quicktime movie. Some decoders store frames internally until EOF. So one has to feed the decoding engine with empty packets after EOF until all frames could be extracted properly.
2012-09-04code cleanup: move file string defines into BLI_path_utils.h, ↵Campbell Barton
BKE_utildefines is now unused but keep incase we want to add defines there later.
2012-09-03add endian switch functions to replace macros SWITCH_INT/LONG/SHORT, with ↵Campbell Barton
BLI_endian_switch_int32/int64/float/double...
2012-08-23style cleanup: indentation, also quiet double promotion warnings for ↵Campbell Barton
despeckle node.
2012-08-13code cleanup: includes for imbuf, also remove double promotion.Campbell Barton
2012-07-08style cleanupCampbell Barton
2012-07-01style cleanup: commentsCampbell Barton
2012-06-18Reduce amount of deprecated symbols used from FFmpegSergey Sharybin
This switches some areas of Blender which are related on FFmpeg stuff from deprecated symbols to currently supported one. Pretty straightforward changes based on documentation of FFmpeg's API which symbols should be now used. This should make Blender compatible with recent FFmpeg 0.11. Should be no functional changes.
2012-05-19code cleanup: use TRUE/FALSE rather then 1/0 for better readability, also ↵Campbell Barton
replace do prefix with do_ for bool vars.
2012-05-16style cleanup: imbufCampbell Barton
2012-05-09style cleanup: whitespace/operatorsCampbell Barton
2012-05-01style cleanup: guys - set your editors to tabs!Campbell Barton
2012-04-29style cleanup: function calls & whitespace.Campbell Barton
2012-04-22style cleanup: commentsCampbell Barton
2012-03-24style cleanup: follow style guide for/with/if spacingCampbell Barton
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-20Adds support for utf paths on Windows.Alexander Kuznetsov
Not all file formats/calls are supported yet. It will be expended. Please from now on use BLI_fopen, BLI_* for file manipulations. For non-windows systems BLI_fopen just calls fopen. For Windows, the utf-8 string is translated to utf-16 string in order to call UTF version of the function.
2012-03-11code cleanup: remove unused externs.Campbell Barton
2012-02-29Compilation error fix for recent indicer refactor commit.Sergey Sharybin
2012-02-29Refactor of proxies build operatorsSergey Sharybin
Split proxy build operator into three parts: - Prepare context (IMB_anim_index_rebuild_context) which prepares all needed data and stores it in an anonymous structure used by specific builder lately. - Build proxies/timecodes into temporary files (IMB_anim_index_rebuild) This function will build all selected proxies/timecodes into a temporary files so old proxies will be still available during building. - Finish building proxies (IMB_anim_index_rebuild_finish) which copies temporary files over old proxies filed and releases all resources used by a context. Context creation and finishing building happens in a main thread so it's easy and safe to close all opened handles of proxies files and refresh cache after rebuilding is finished. This should finally fix #30315: Temporary proxy files are not erased and old proxys are not updated if the proxy is built more then once (windows)
2012-02-27style cleanup (mostly whitespace)Campbell Barton
2012-02-23Fix #30315: Temporary proxy files are not erased and old proxys are not ↵Sergey Sharybin
updated if the proxy is built more then once (windows) Two issues are fixed here: - On windows rename() doesn't actually renames file if destination file is already exist. Solved by ulinking previously built proxy/timecode. - IMB_TC_MAX_SLOT was set to incorrect value leading to record run timecode calculating several times.
2012-02-18Wring scaling and precision error in previous commit.Sergey Sharybin
2012-02-18Proxies: FFmpeg proxy builder wasn't taking image quality into account at allSergey Sharybin
which made it using default quality settings which are really bad for camera tracking (and perhaps for CSE too). haven't found Jpeg quality setting for FFmpeg which will behave in the same way as quality setting for image sequence, but seems that mapping image quality from 1..100 UI range to 31..1 range of qmin/qmax gives expected result.
2012-01-12replace fixed sizes with sizeof when passing string length since size wasn't ↵Campbell Barton
always correct.
2011-12-15Free run no gaps time code implementationSergey Sharybin
This commit adds new timecode type which counts frames in gapless mode (counting actually decoded frames instead of using pts to find frame number) which might resolve issues with files which have got broken or incorrect base time value stored in the header. This timecode allows to deal with movies from #29388: Abnormal frame length on MP4 files
2011-11-26replace FILE_MAXDIR + FILE_MAXFILE with FILE_MAXCampbell Barton
2011-11-11correct indentation and some whitespace edits (no functional changes)Campbell Barton
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-20- add BLI_string_utf8.h for unicode functions.Campbell Barton
- move font.c unicode functions into string_utf8.c and rename to fit with other BLI_string funcs.
2011-10-12Compile fix for some platforms (like linux release build environment)Sergey Sharybin
2011-10-12Fixes for #26837: MPEG Preseek does not work for some h264 files.Sergey Sharybin
- Display running job template in all sequencer modes It was displayed only for sequencer mode without preview. - Fixed proxy rebuild progress indicator It was alsways zero because of incorrect rounding. - Fixed timecode saving on windows (and probably some other platforms) It was caused by incorrect opening file for writting -- it should be opened in binary format "wb". This error caused incorrect movie duration detection on windows. - Fixed movie resolution detection for some movies. In file attached to report, Blender detected resolution 1920x1088 instead of 1920x1080. Not sure if this fix is correct or it's issue in FFmpeg, but it's something what mplayer using: store width/height before running avcodec_open(). - Fixed frame number calculation when building timecodes. It was rounding error caused some frames be positioned incorrect in several cases (that each 6th frame rendered as next frame from report).
2011-09-25whitespace cleanupCampbell Barton
2011-09-16use replace 0 with NULL for pointers, set some functions staticCampbell Barton
also fixed own errors in recent static check commit.
2011-08-29clear some warnings with new proxy code.Campbell Barton
2011-08-28== Sequencer / proxies ==Peter Schlaile
fixed crash pointed out by blendervse: 100%-proxy could lead to a segfault under certain conditions.
2011-08-28== Sequencer ==Peter Schlaile
This patch adds: * support for proxy building again (missing feature from Blender 2.49) additionally to the way, Blender 2.49 worked, you can select several strips at once and make Blender build proxies in the background (using the job system) Also a new thing: movie proxies are now build into AVI files, and the proxy system is moved into ImBuf-library, so that other parts of blender can also benefit from it. * Timecode support: to fix seeking issues with files, that have a) varying frame rates b) very large GOP lengths c) are broken inbetween d) use different time code tracks the proxy builder can now also build timecode indices, which are used (optionally) for seeking. For the first time, it is possible, to do frame exact seeking on all file types. * Support for different video-streams in one video file (can be selected in sequencer, other parts of blender can also use it, but UI has to be added accordingly) * IMPORTANT: this patch *requires* ffmpeg 0.7 or newer, since older versions don't support the pkt_pts field, that is essential for building timecode indices. Windows and Mac libs are already updated, Linux-users have to build their own ffmpeg verions until distros keep up.