VSE Image Strip transform jitters under extreme scaling, unlike the smooth transform strip and compositor transform node. #101211

Closed
opened 2022-09-20 08:24:57 +02:00 by ahoyue · 11 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: AMD Radeon 6600M and 6700M Series ATI Technologies Inc. 4.5.13399 Core Profile Context 15.201.1151.1008

Blender Version
Broken: version: 3.2.1, branch: master, commit date: 2022-07-05 , hash: a2d59b2dac
Worked: (newest version of Blender that worked as expected)

Short description of error
VSE Image Strip transform jitters under extreme scaling, unlike the smooth transform strip and compositor transform node.
2022-11-15 18-24-31.mp4

Exact steps for others to reproduce the error
Untitled.png
untitled.blend

  • Open blend file
  • Increase image scale
**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: AMD Radeon 6600M and 6700M Series ATI Technologies Inc. 4.5.13399 Core Profile Context 15.201.1151.1008 **Blender Version** Broken: version: 3.2.1, branch: master, commit date: 2022-07-05 , hash: `a2d59b2dac` Worked: (newest version of Blender that worked as expected) **Short description of error** VSE Image Strip transform jitters under extreme scaling, unlike the smooth transform strip and compositor transform node. [2022-11-15 18-24-31.mp4](https://archive.blender.org/developer/F13918433/2022-11-15_18-24-31.mp4) **Exact steps for others to reproduce the error** ![Untitled.png](https://archive.blender.org/developer/F13918420/Untitled.png) [untitled.blend](https://archive.blender.org/developer/F13918429/untitled.blend) - Open blend file - Increase image scale
Author

Added subscriber: @ahoyue

Added subscriber: @ahoyue
Member

Added subscriber: @EAW

Added subscriber: @EAW
Member

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

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

I can confirm. I seem to recall a similar report, so this might be a duplicate. I will have to check.

0001-0200.mp4
My first thought was that this might be a floating point rounding issue that might not have a widely applicable solution.
However, using the Transform node in the compositor, I am able to smoothly scale from 1.00 to 600 without any "jumping".

0001-0200.mp4
Both videos are scale:1-600 in 200 frames at 60fps.
@ahoyue I suggest using the compositor transform node as a workaround.


Tested using 3.3 release and
3.4.0 Alpha, branch: master, commit date: 2022-09-19 04:52, hash: 6b8b2c8e7f

I can confirm. I seem to recall a similar report, so this might be a duplicate. I will have to check. [0001-0200.mp4](https://archive.blender.org/developer/F13525585/0001-0200.mp4) My first thought was that this might be a floating point rounding issue that might not have a widely applicable solution. However, using the Transform node in the compositor, I am able to smoothly scale from 1.00 to 600 without any "jumping". [0001-0200.mp4](https://archive.blender.org/developer/F13525403/0001-0200.mp4) Both videos are scale:1-600 in 200 frames at 60fps. @ahoyue I suggest using the compositor transform node as a workaround. --- Tested using 3.3 release and 3.4.0 Alpha, branch: master, commit date: 2022-09-19 04:52, hash: 6b8b2c8e7f63
Member

The VSE's transform Strip is smooth as well, so the jittering is only when using the Image Strip's built in scaling.
0001-0200.mp4

The VSE's transform Strip is smooth as well, so the jittering is only when using the Image Strip's built in scaling. [0001-0200.mp4](https://archive.blender.org/developer/F13525747/0001-0200.mp4)
Evan Wilson changed title from (video editor) Image scaling result is wrong to VSE Image Strip transform jitters under extreme scaling, unlike the smooth transform strip and compositor transform node. 2022-09-20 09:47:09 +02:00

Added subscriber: @iss

Added subscriber: @iss

Makes me think of #90785. I need to update the patch and will check this report as well.

Makes me think of #90785. I need to update the patch and will check this report as well.

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker

Turns out I was not correct at all, the issue is float precision mainly in add_v2_v2(uv, user_data->add_x); in ScanlineProcessor::process(). There is Y "wobble" as well. I guess that double type could be used internally, but that just moves the issue further away. Also performance is in question. Will check fixes performance wise and discuss with @Jeroen-Bakker

Turns out I was not correct at all, the issue is `float` precision mainly in `add_v2_v2(uv, user_data->add_x);` in `ScanlineProcessor::process()`. There is Y "wobble" as well. I guess that `double` type could be used internally, but that just moves the issue further away. Also performance is in question. Will check fixes performance wise and discuss with @Jeroen-Bakker

This issue was referenced by 3a65d2f591

This issue was referenced by 3a65d2f5911cef65590c208fb8bccd5e10a4b29a

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Richard Antalik self-assigned this 2022-11-27 21:42:34 +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
4 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#101211
No description provided.