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-04-11Fix #34956: rendering animation with audio would crash with an older ffmpegBrecht Van Lommel
after recent changes. New ffmpeg versions accept align = 0 as a parameter and will set it to 1 automatically, but older ones need to pass align = 1.
2013-04-03style cleanupCampbell Barton
2013-04-02Fix FFMPEG build error with older versions after planar formats commit.Brecht Van Lommel
2013-04-01FFMPEG: adding support for ffmpeg planar formats also to writeffmpeg.c.Joerg Mueller
2013-03-14use BLI_strncpy_rlen() rather then BLI_snprintf() when no formatting is needed.Campbell Barton
also replace sprintf with strcpy when no formatting is done.
2013-03-13style cleanupCampbell Barton
2013-03-12Patch #34204: [Render Animation] Fails with "Error: Specified sample_fmt is ↵Sergey Sharybin
not supported" with ogg vorbis Patch by Jehan Pages (pardon for mis-typing, emacs-nox works not so good with urf-8 buffers here), with some own modifications. Thanks! From the patch tracker: The problem is because of several versions of ffmpeg, but even more because of the fork situation libav/ffmpeg. So there are some installed versions out there where you *must* use a float sample for some codec; whereas oppositely on some other installations, you *must* use the int sample. So for some people, one works not the other, and reciprocally. As a consequence, you can't just have a switch codec-based, like in current code, which decides on the float or int implementation, you must necessarily have a runtime test because you won't know until then if ogg vorbis will use one or another sample (note: that's true also for AC3 as I fixed the exact same bug in DVDStyler for AC3 encoding a few months ago; and I guess it would be same for AAC). Some notes from self: - New FFmpeg requires using FLTP for AAC, AC3 and Vorbis, it's not supported by audaspace and result in this case would be just wrong. Throw an error in cases FLTP is trying to be used. - Moved strict_std_compliance a bit upper. When we'll support FLTP both FLT and FLTP for AAC would need to be using FF_COMPLIANCE_EXPERIMENTAL. - It is nice to have such check of supported by codec formats anyway.
2013-03-12Patch #34569: Enable PNG Codec for video outputSergey Sharybin
By Gottfried Hofmann, thanks!
2013-03-12Fix compilation error after recent changes to strict gcc flagsSergey Sharybin
Dudes, please try building blender with all default features before doing such a commits. It helps just a lot when bisecting issues later. Also solved const qualifier discard happens in recent monofont commit.
2013-03-11Fix #34511: Invalid Audio/Video codec combination produces hung filehandleSergey Sharybin
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-18Fix #33586: Encoding to mpeg4 makes first frame(s) blockySergey Sharybin
Issue was caused by rc_initial_buffer_occupancy being set for context Commented this option for now -- it's not used in ffmpeg.c. Now encoding seems to be working nice for MPEG4 and other codecs as well. However, if there're some gurus around please check :)
2012-11-21Patch #33242: ffmpeg AAC/AC3 encodingSergey Sharybin
Patch by David M (erwin94), thanks! Also made Vorbis codec using float sample_fmt, otherwise it didn't work with new FFmpeg. Perhaps we can make it more clear by explicitly separating audio_input_buffer for float and integer buffers, but as far as it works i'm not so fussed about this atm.
2012-11-19Improved FFmpeg error reports when audio stream failed to be allocatedSergey Sharybin
Also fixed crash using --debug-ffmpeg caused by BLI_vsnprintf modifies va_list -- need to create copy of list if this list is gonna to be reused.
2012-11-09code cleanup: double promotion warnings, also allow cmake to build SDL ↵Campbell Barton
without audaspace.
2012-10-21A final bunch of UI messages fixes and tweaks, and some ↵Bastien Montagne
BKE_report()<->BKE_reportf() fixes.
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-10-21style cleanup: commentsCampbell Barton
2012-09-27style cleanup: also correct incorrect doxy headingCampbell Barton
2012-09-27incorrect spelling in commentsCampbell Barton
2012-09-15quiet -Wmissing-prototypes warnings, and enable this warning by default for ↵Campbell Barton
C with gcc. helps for finding unused functions and making functions static, also did some minor code cleanup.
2012-09-08style cleanupCampbell Barton
2012-09-06fix [#32475] Enabled audio lets blender crash with autosplit option for ↵Campbell Barton
movie output
2012-08-26Style cleanup: whitespaceSergey Sharybin
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-07-08style cleanupCampbell Barton
2012-06-27style cleanupCampbell Barton
2012-06-18Some options used for "expert" x264 setup were removed from FFmpeg 0.11Sergey Sharybin
Prevent crashes in cases when option can't be found.
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-06-05style cleanupCampbell 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-12style cleanup: whitespaceCampbell Barton
2012-05-09style cleanup: whitespace/operatorsCampbell Barton
2012-05-07Style cleanup: change ffmpeg, avi and frame server api to rna-ish naming styleSergey Sharybin
2012-04-30code cleanup: header cleanupCampbell Barton
2012-04-28style cleanup: changes to brace placement / newlines - for/while/if/switchCampbell Barton
2012-04-22style cleanup: commentsCampbell Barton
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-06style cleanup, brackets in else/if, some indentation.Campbell Barton
2012-02-27style cleanup (mostly whitespace)Campbell Barton
2012-02-24Blender should now compile fine with older FFmpeg libraries used.Sergey Sharybin
2012-02-24Changes in FFV1 codec settingsSergey Sharybin
Since FFmpeg 0.10 release FFV1 codec supports alpha channel which is getting enabled when using PIX_FMT_RGB32 pixel format. This leads to incompatibility of videos rendered in Blender with almost all external players (especially in OSX). Seems that PIX_FMT_BGR0 is recommended to be used to make videos compatible with older players which doesn't support alpha channel in FFV1. Also added an option to switch to RGBA rendering if FFV1 codec is used and if RGBA rendering is used FFV1 will be using PIX_FMT_RGB32 format which supports alpha channel.
2012-02-16ffmpeg: take back 44142, conditional was wrongJens Verwiebe
2012-02-16ffmpeg: only suppress loopfilter for .mov ( compatibility ), but keep for ↵Jens Verwiebe
.avi (quality )
2012-02-14ffmpeg: don't use flags:loop for .h264, this allows to see the video in OSX ↵Jens Verwiebe
quickview and Quicktimeplayer( windows ? )
2012-02-08Fix for wrong pixel format used for qtrleSergey Sharybin
2012-02-07FFmpeg output fixes and small improvementSergey Sharybin
Most part of this commit fixes issues with FFmpeg output with currently supported codecs: - avcodec_encode_video might return zero which doesn't mean error happened, but blender will handle this as error and will stop rendering to video file. - Changing output video codec wouldn't update "expert" options set for video output which leads to some sideeffects like ignored Lossless option for x264 codec. This fixes allowed to add QTRLE codec easily.
2012-01-13Added Lossless Output option for h264 codec.Sergey Sharybin
This will fix #26943: render image to video problem
2012-01-13Fix #29824: Error writing frame if 3D scene starts after first frame of ↵Sergey Sharybin
animation and output is H264 Issue was caused by incorrectly set PTS value frames came form Scene strip renderer. This value used to be calculated from RenderData current and start frame which lead to non-uniformuly counting which totally confuses encoder. Switch append_avi and append_ffmpeg to use current frame from rendering scene (which was already passing to this functions and was used mostly for logging) and start frame of rendering scene (it's new parameter added). This allowed to calculate correct PTS value easily and get rid of global static sframe variable in writeavi.c file.
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.