June 30, 2021, 15:10 (GMT) |
June 30, 2021, 13:15 (GMT) |
Merge branch 'master' into soc-2021-uv-editor-improvements |
June 30, 2021, 12:55 (GMT) |
adaptive_cloth: MeshIO: FileType to IOType |
June 30, 2021, 10:41 (GMT) |
Knife: Removed 'E' knife cancel functionality and moved 'M' modal to 'D' It is dangerous to have 'E' be able to cancel a user's entire cut as it is a key many could accidentally hit and there is no way to retrieve a lost cut. Removing it leaves 'Esc' as the key for cancelling a cut. On many keyboards 'M' is far away from the other modal keys for the knife tool. 'D' allows for a better workflow by being closer. |
June 30, 2021, 09:43 (GMT) |
Fix path error |
June 30, 2021, 09:06 (GMT) |
Handle all files, directories and executables. |
June 30, 2021, 07:45 (GMT) |
Cleanup: remove compilation warning in previous commit. |
June 30, 2021, 07:43 (GMT) |
UI: Hide collection tab when scene master collection is active CollectionLineart does not care about the configurations in master collection. Other options are not applicaple for master collection as well. Hence hiding it. Reviewed by Dalai Felinto (dfelinto) Differential Revision: https://developer.blender.org/D11702 |
June 30, 2021, 07:41 (GMT) |
Fix: VSE seeking with proxy strips would fail on certain frames If the last decoded frame had the same timestamp as the GOP current packet, then we would skip over this frame when fast forwarding and we would seek until the end of the file. This would could only be triggered reliably in single threaded mode. Reviewed By: Richard Antalik Differential Revision: https://developer.blender.org/D11601 |
June 30, 2021, 07:41 (GMT) |
Fix: VSE search in mpegts files would fail ffmpeg_generic_seek_workaround did work properly and our start pts calculation was wrong. Reviewed By: Richard Antalik Differential Revision: https://developer.blender.org/D11562 |
June 30, 2021, 07:40 (GMT) |
Fix: VSE indexer seeking not working correctly Because of the added sanity checks in rB14508ef100c9 (D11492), seeking in proxies would not work correctly any more. This is because it wasn't working as intended before, but in most cases this wouldn't be noticeable. However now when the sanity checks are tripped it is very noticeable that something is wrong The indexer tried to use dts values for time stamps when we used pts in our decode functions to get the time positions. This would make it start in the wrong GOP frames when searching. Now that we enforce no crossing of GOP frames when decoding after seek, this would lead to issues. Now we correctly use pts (or dts if pts is not available) and thus we don't have any seeking issues because of time stamp format missmatch. Reviewed By: Richard Antalik Differential Revision: https://developer.blender.org/D11561 |
June 30, 2021, 07:39 (GMT) |
Fix: VSE timecodes being used even when turned off. Reviewed By: Richard Antalik Differential Revision: https://developer.blender.org/D11567 |
June 30, 2021, 07:38 (GMT) |
Fix: Prevent small memory leak in VSE indexer We need to unref the packet to tell ffmpeg it is ok to free it after use. |
June 30, 2021, 07:37 (GMT) |
Fix: Wrong logic for checking if we can reuse decoded frame We should only check if the new pts value lies inside the duration of the current frame. |
June 30, 2021, 07:37 (GMT) |
FFmpeg: Fix seeking not returning the correct frame when not using TC index Fixed the logic for seeking in ffmpeg video files. The main fix is that we now apply a small offset in ffmpeg_get_seek_pos to make sure we don't get the frame in front of the seek position when seeking backward. The rest of the changes is general cleanup and untangling code. Reviewed By: Richard Antalik Differential Revision: https://developer.blender.org/D11492 |
June 30, 2021, 07:34 (GMT) |
Fix T57397: Movies are blurred after sws_scale Images with 4:2:2 and 4:4:4 chroma subsampling were blurred when `SWS_FAST_BILINEAR` interpolation is set for `anim->img_convert_ctx`. Use `SWS_BILINEAR` interpolation for all movies, as performance is not impacted by this change. Reviewed By: sergey Differential Revision: https://developer.blender.org/D11457 |
June 30, 2021, 07:34 (GMT) |
FFmpeg: Update proxy settings Changes in rBce649c73446e, affected established proxy codec preset. Presets were not working and all presets were similar to `veryfast`. Tunes are now working too, so `fastdecode` tune can be used. I have measured little improvement, but I tested this only on 2 machines and I have been informed that `fastdecode` tune does influence decoding performance for some users. Change preset from `slow` to `veryfast` and add tune `fastdecode` Reviewed By: sergey Differential Revision: https://developer.blender.org/D11454 |
June 30, 2021, 07:33 (GMT) |
Fix T88623, T87044: Make encoded videos play correctly in VLC The issue was two fold. We didn't properly: 1. Initialize the codec default values which would lead to VLC complaining because of garbage/wrong codec settings. 2.Calculate the time base for the video. FFmpeg would happily accept this but VLC seems to assume the time base value is at least somewhat correct and couldn't properly display the frames as the internal time base was huge. We are talking about 90k ticks (tbn) for one second of video! This patch initializes all codecs to use their default values and fixes the time base calculation so it follows the guidelines from ffmpeg. Reviewed By: Sergey, Richard Antalik Differential Revision: https://developer.blender.org/D11426 |
June 30, 2021, 07:33 (GMT) |
Make encoded video fps correct with ffmpeg < 4.4 Before the FFmpeg commit: github.com/FFmpeg/FFmpeg/commit/1c0885334dda9ee8652e60c586fa2e3674056586 FFmpeg would use deprecated variables to calculate the video fps. We don't use these deprecated variables anymore, so ensure that the duration is correct in ffmpeg versions without this fix. Reviewed By: Sergey, Richard Antalik Differential Revision: https://developer.blender.org/D11417 |
June 30, 2021, 07:32 (GMT) |
Fix T87932: Failure to build movie strip proxy We didn't initialize the scaled proxy frame properly. This would lead to issues in ffmpeg 4.4 as they are more strict that the API is properly used. Now we initialize the size and format of the frame. |
|