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-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.
2011-12-24Bugfix for [#29684] Output video presets messed upThomas Dinges
* This was caused ny the ImageType refactor. * Problem persisted with Quicktime too, could not test that, but should fix presets there too.
2011-11-22rename image type defines to be less ambiguous, also set BMP as not ↵Campbell Barton
supporting alpha (it reads but cant write)
2011-11-15Fixed compilation error in writeffmpg.c (caused by recent IDProp changes).Bastien Montagne
2011-11-11correct indentation and some whitespace edits (no functional changes)Campbell Barton
2011-11-05use (const char*) rather than (char*) where possible.Campbell Barton
also removed some unused function definitons.
2011-10-25cmake macro to set less strict flags per file - ↵Campbell Barton
remove_strict_flags_file(file, file...) this way we can avoid removing strict flags for all files in blenkernel.
2011-10-24Fix #28949: can't render video to FlashSergey Sharybin
Several issues were discovered when was looking into this bug: - MPEG file format didn't set needed codec settings such as frame rate and so, Was caused by not very correct fix fix #21351. - "Expert" codec settings stored in idprops was affected on formats which don't actually need them causing some conflicts in codec settings. - Flash codec doesn't support b-frames. Now C presets shouldn't affect on each other and flash coded wouldn't use b-frames even when using h264 format. Should work fine for files created from scratch. If existing files fails to render, try to switch file format to something else and then back to needed value.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-21misc cleanupCampbell Barton
- remove redundant casts - replace strcmp's with "" to just check first char. - added WM_event_print(), debug mode only to print events since the structs values are not that meaningful. - added warnings if locale/font dirs cant be found.
2011-10-10header cleanup (no functional changes)Campbell Barton
2011-10-04Correction for own recent commit -- didn't know it's unsupported inSergey Sharybin
MSVC to do such things.
2011-10-04Partial fix #27978: Problem exporting OGG Theora-Vorbis video (and other ↵Sergey Sharybin
audio codecs) Ogg format does support only vorbis, theora, speex and flac audio codecs. Added check for result of av_write_header() and show info in header about error while initializing streams. This commit also fixed crash when using vorbis audio format. It used to be floating point exception. SOlved by initializing audio_stream->codec->time_base with proper rational value as it's done in FFmpeg sources.
2011-10-03patch [#27887] LOSSLESS RENDERING: HuffYUV and FFV1 both fail to render ↵Campbell Barton
losslessly from Troy Sobotka (sobotka)
2011-09-28whitespace edits, make formatting for functions consustent at least within ↵Campbell Barton
the file.
2011-08-30Fixes for snprintf usage:Brecht Van Lommel
* replace by BLI_snprintf in various places, note _snprintf on windows does not properly null terminate the string. * fix overflow in sequencer proxy code due to buffer being smaller than specified size. * fix some usage of snprintf as strcpy, this is will go wrong if the string contains % characters. * remove BLI_dynstr_printf function in gpu module, use BLI_dynstr_appendf
2011-08-11svn merge -r39145:39286 https://svn.blender.org/svnroot/bf-blender/trunk/blenderCampbell Barton
2011-08-10fix for [#28201] blender crashes when "mpeg" selectedCampbell Barton
2 changes - When writing OGG only allow Theora encoding, this fixes the crash. - When setting the MPEG preset, dont allow the 'Codec' to be left as Theora, this is just confusing. * note that this is highly confusing for users and devs - there are 4 places to set the codec/format, with both python and C presets :S.
2011-06-23Merge with trunk r37757.Joerg Mueller
2011-06-23allow building with ffmpeg but not audCampbell Barton
2011-06-23cmake option to build without an audio library.Campbell Barton
2011-06-233D Audio GSoC:Joerg Mueller
- Fixes for MSVC compiling. - Fix for ffmpeg audio export with timebase, which fixes vorbis encoding (the only codec using this).
2011-06-223D Audio GSoC:Joerg Mueller
- Sequencer dynamics: Now it's possible to change the output channels and the resampling quality also increased (previously maximum quality was 44,1 kHz) - Changed two buffers to use ffmpeg allocation, not sure if that helps somehow.
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.