VSE 2.0: Proxy system #85469

Open
opened 2021-02-08 14:17:13 +01:00 by Richard Antalik · 8 comments

In order to improve performance it is useful to enable building proxies for added movie and image strips by default.
Even with highly optimized ffmpeg implementation, some video files are not encoded for good scrubbing performance.

UI can be simplified to use fractional sizes only (from 25% to 100%) with option to use proxies globally
Proxies will be built for current preview size. When preview size is changed, proxies will be built to new size.

Proxy building is very slow and doesn't use all available CPU resources. This should be optimized.

Movies are expected to have alpha channel, but images are often used for compositing. Here it would be better to use disk cache instead of proxy system. This is also necessary to preserve colorspace of the source.

TODO:

  • Simplify UI for using proxies

  • Automatic proxy building for added strips

  • Automatic building when changing preview size

  • Optimize proxy building speed
    Here we may need to use more complicated workflow than just enable multithreading as there may be other limitations on ffmpeg side. Goal is to use as much system resources as possible to do transcoding. So this is more related to proxy task than ffmpeg task.

  • Add job for building disk cache

  • Use Disk cache for image strips instead of proxies

  • Use faster compression method for disk cache, gzip is not multithreaded

  • Make sure disk cache has similar performance as proxies

In order to improve performance it is useful to enable building proxies for added movie and image strips by default. Even with highly optimized ffmpeg implementation, some video files are not encoded for good scrubbing performance. UI can be simplified to use fractional sizes only (from 25% to 100%) with option to use proxies globally Proxies will be built for current preview size. When preview size is changed, proxies will be built to new size. Proxy building is very slow and doesn't use all available CPU resources. This should be optimized. Movies are expected to have alpha channel, but images are often used for compositing. Here it would be better to use disk cache instead of proxy system. This is also necessary to preserve colorspace of the source. TODO: - [x] Simplify UI for using proxies - [x] Automatic proxy building for added strips - [x] Automatic building when changing preview size - [x] Optimize proxy building speed Here we may need to use more complicated workflow than just enable multithreading as there may be other limitations on ffmpeg side. Goal is to use as much system resources as possible to do transcoding. So this is more related to proxy task than ffmpeg task. - [ ] Add job for building disk cache - [ ] Use Disk cache for image strips instead of proxies - [ ] Use faster compression method for disk cache, gzip is not multithreaded - [ ] Make sure disk cache has similar performance as proxies
Author
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Author
Member
Added subscribers: @iss, @RedMser, @Pipeliner, @solarlune, @Giumo, @HUSCH, @AndyCuccaro, @davidmcsween, @AndreaMonzini, @clayhands, @christian-clavet, @pistolario, @2046411367, @tintwotin, @domingo, @dfelinto, @fsiddi, @Sergey
Member

Added subscriber: @EAW

Added subscriber: @EAW

Added subscriber: @alexeygrigoriev

Added subscriber: @alexeygrigoriev

This issue was referenced by 91561629cd

This issue was referenced by 91561629cd0bd622c9d1722701ab88c9e77be660

This issue was referenced by e4f3477833

This issue was referenced by e4f347783320d83e43bc650020013e19b2f22c7f

This issue was referenced by 04e1feb830

This issue was referenced by 04e1feb83051f75317309ec3659b9263a99dbd7e

Added subscriber: @Russ1642

Added subscriber: @Russ1642
Philipp Oeser removed the
Interest
VFX & Video
label 2023-02-10 09:31:50 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#85469
No description provided.