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
2012-08-26Some FFmpeg changesSergey Sharybin
- 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/
2012-08-13code cleanup: includes for imbuf, also remove double promotion.Campbell Barton
2012-08-02improve not very helpful error message.Campbell Barton
2012-07-08style cleanupCampbell Barton
2012-07-02code cleanup: minor editsCampbell Barton
2012-06-24style cleanypCampbell 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-28style cleanup: defines with bracesCampbell Barton
2012-05-27style cleanupCampbell Barton
2012-05-26code cleanup: dutch -> english (comments)Campbell Barton
2012-05-20code cleanup:Campbell Barton
- style - multi-line ifs move braces onto new lines. - iterators - convert some to macros, other split up and move brace.
2012-05-18style cleanup: function definitionsCampbell Barton
2012-05-16style cleanup: imbufCampbell Barton
2012-05-09style cleanup: whitespace/operatorsCampbell Barton
2012-04-29style cleanup: function calls & whitespace.Campbell Barton
2012-04-29style cleanup: whitespace / commasCampbell Barton
2012-04-28style cleanup: changes to brace placement / newlines - for/while/if/switchCampbell Barton
2012-04-21style cleanup: multi-line if statements.Campbell Barton
2012-04-02code cleanup:Campbell Barton
always use if (...) even if the macros dont require it (confuses parsers) define macros without the ';'s included.
2012-03-26Fix for segfault when building proxies in Sequencer.Bastien Montagne
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-09style cleanup: comment blocksCampbell Barton
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-01-11use BLI_strncpy and BLI_snprintf when the size of the string is known.Campbell Barton
fix for sequencer unique naming which was missed with string length update.
2012-01-04Fix #29671: Issues with .mts video filesSergey Sharybin
Video frame decoding used to leave packet reading cycle before frame is fully decoded in cases frame is encoded by several packets.
2011-12-17Code cleanup: fix a few warnings (>= 0 and == -1 tests on unsigned types).Brecht Van Lommel
2011-12-17style edit only - move parenthesis onto second line of function definition ↵Campbell Barton
(in keeping with most of blenders code) also split some long lines in own code.
2011-11-20Fix #29295: Problem with Alpha Channel video in Sequencer and texturesSergey Sharybin
Bug was caused by workaround for old versions of FFmpeg which aren't supported anymore due to pts stuff. Removing workarounds for alpha channels.
2011-11-20== Sequencer / FFMPEG ==Peter Schlaile
This fixed two issues: * RAW DV-seeking has to be done using DTS. Sounds silly, but ffmpeg tracks internal state in RAW DV format decoder and runs mad, if we seek by byte. Don't know, why I haven't noticed that, when I added it. * real fix(tm) for #29295 problem was: we did AVFrame read ahead, and the pattern read_frame -> decode -> read_frame -> do color conversion of first frame works everywhere but RAW RGB-files which do some pointer shuffling within ffmpeg to save a memcpy... I removed read ahead completely, since it didn't work like originally intented. Might come back later, but the original purpose (making resyncing easier if we are completely lost in stream) it never fullfilled.
2011-11-19Fix #29321: Video does not display, gets frozen or flickersSergey Sharybin
Unfortunately, error was caused by own attempt to deal with some kind of broken videos when was investigating crashes in sequencer. Issue discovered that time was related on values stored in timecode index and using them as signed data type later. Trying to use unsigned value here leads to signed/unsigned check failures. Prefer just to pre-process that kind of videos i've been trying to deal with rather than making more global changes during BCON3.
2011-11-15Fix #29202: Crash - VSE Cross strip probably leads to thisSergey Sharybin
Crash was caused by several conditions: - Frame which failed to decode tried to be converted to RGB colorspace and some filters like deinterlacing used to be applied as well (it's avscale stuff sws_scale where crash happened). - In some cases it happened reading of freed memory when calling sws_scale function. Looks like it happened because of freeing packet on which decoding of frame finished and reading next packet. Solved this two issues by making YUV->RGB conversion as soon as frame was decoded in ffmpeg_decode_video_frame (such postprocessing used to happen in callee of this function ffmpeg_fetchibuf), so now sws_scale would be called before freeing packet on which decoding of frame finished and it wouldn't be called in cases when decoding of frame failed. If decoding of frame failed, it'll be black ibuf returned to the sequencer.
2011-11-11correct indentation and some whitespace edits (no functional changes)Campbell Barton
2011-11-08- Fixed typo in KLT description tooltipSergey Sharybin
- Fixed inconsistent data type used for pts number in ffmpeg_fetchibuf and stored in timecode structure. Not really issue for "correct" movie files, but probably can help for "broken" one
2011-10-27pass image description to image loading functions for more useful error than ↵Campbell Barton
'Unknown fileformat'.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-20strcpy() --> BLI_strncpy(), where source strings are not fixed and target ↵Campbell Barton
size is known.
2011-10-13Revert part of recent fix for movie resolution.Sergey Sharybin
It helped to make things works better for some movies but it didn't help proxies to work properly. Correct fix seems a bit larger and better not be made atm, so to keep behavior of proxies and original movie consistent keep resolution behaves like it was before recent changes,
2011-10-13quiet compiler warnings for string formatting in ffmpeg loggingCampbell Barton
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-28Commented and tagged some unused vars, added some var init (gcc warnings...)Bastien Montagne
2011-09-21remove support for irixCampbell Barton
2011-09-01spaces -> tabs (configure you're editors right!)Campbell Barton
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.
2011-08-14fix for bug where changing movie filepaths would reset the strip length.Campbell Barton
also fixed possible & unlikely buffer overflow.
2011-05-28== FFMPEG ==Peter Schlaile
Added central compatibility header file, which enables blender to compile against very old ffmpeg versions as well as very new versions using the *NEW* API. (Old API functions are simulated using macros and inline functions) Added a whole lot of additional checks, tested against 6 different versions down the timeline, hopefully, now finally all is well.
2011-05-27== FFMPEG ==Peter Schlaile
Fixed and added additional ffmpeg cruft checking. Oh dear.
2011-05-27== FFMPEG ==Peter Schlaile
* removed a lot of old cruft code for ancient ffmpeg versions * made it compile again against latest ffmpeg / libav GIT (also shouldn't break distro ffmpegs, since those API changes have been introduced over a year ago. If it nevertheless breaks, please send me an email)
2011-04-21whitespace only, no functional change mixed tabs/spaces --> tabs.v2.57aCampbell Barton
2011-03-03replace 0 with NULL when used as a pointerCampbell Barton
2011-02-27doxygen: blender/imbuf tagged.Nathan Letwory