Video Editing (outline on the border) #86861

Open
opened 2021-03-23 21:22:52 +01:00 by Sergey · 12 comments

System Information
Operating system: Windows-10 64 Bits
Graphics card: GeForce GTX 750 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.89

Blender Version
Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-03-22 17:02, hash: 62987a6f98
Worked: (newest version of Blender that worked as expected)

Short description of error
Some images with an alpha channel have grey outline when scaled up and different bicubic or bilinear interpolation is used.

Exact steps for others to reproduce the error
Issue is visible immediately after opening .blend file
#86861.zip

**System Information** Operating system: Windows-10 64 Bits Graphics card: GeForce GTX 750 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.89 **Blender Version** Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-03-22 17:02, hash: `62987a6f98` Worked: (newest version of Blender that worked as expected) **Short description of error** Some images with an alpha channel have grey outline when scaled up and different bicubic or bilinear interpolation is used. **Exact steps for others to reproduce the error** Issue is visible immediately after opening .blend file [#86861.zip](https://archive.blender.org/developer/F9925606/T86861.zip)
Author

Added subscriber: @SergeyA

Added subscriber: @SergeyA

#99485 was marked as duplicate of this issue

#99485 was marked as duplicate of this issue
Member

Added subscribers: @iss, @lichtwerk

Added subscribers: @iss, @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Member

@iss: is this expected behavior?

@iss: is this expected behavior?

Added subscriber: @Sergey

Added subscriber: @Sergey

Problem here is that pixels that are out of white opaque area are transparent and black. You can check RGB channels with color sampler tool.
So when black and white pixels are interpolated during render, they are slightly grey and slightly transparent.
So technically this issue described is not a bug.

The only way to "fix" this would be to provide user control over interpolation so it can be set to none(nearest). Not sure whether this would be good solution (breaks philosophy of "should just work"). I would like to check with @Sergey what he thinks about this first.

The assumption regarding bicubic interpolation, is not correct. With transform effect strip the effect is the similar. Strip untitled.001 produces no image in your sample file. Path to image is incorrect.
During preview no interpolation(nearest) is used on transformed strips and during render bilinear interpolation is used.

Another issue is with text strip. Pixels are output as 8-bit associated alpha and VSE can't blend this format properly. It is definitely possible to improve this instance, but it has been working like this for ages so this isn't regression. But I would be fine with confirming that issue as bug and solving it when there is time to do so

@SergeyA can you please report issue with text strip separately and update this report so it focuses on one issue only?

Problem here is that pixels that are out of white opaque area are transparent and black. You can check RGB channels with color sampler tool. So when black and white pixels are interpolated during render, they are slightly grey and slightly transparent. So technically this issue described is not a bug. The only way to "fix" this would be to provide user control over interpolation so it can be set to none(nearest). Not sure whether this would be good solution (breaks philosophy of "should just work"). I would like to check with @Sergey what he thinks about this first. The assumption regarding bicubic interpolation, is not correct. With transform effect strip the effect is the similar. Strip `untitled.001` produces no image in your sample file. Path to image is incorrect. During preview no interpolation(nearest) is used on transformed strips and during render bilinear interpolation is used. Another issue is with text strip. Pixels are output as 8-bit associated alpha and VSE can't blend this format properly. It is definitely possible to improve this instance, but it has been working like this for ages so this isn't regression. But I would be fine with confirming that issue as bug and solving it when there is time to do so @SergeyA can you please report issue with text strip separately and update this report so it focuses on one issue only?

I have updated description so it describes only one issue and created better example file.

I have updated description so it describes only one issue and created better example file.

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'

Classifying this as known issue as there is no easy solution that could be done as bugfix.

@SergeyA, as workaround you can use Convert to Float option in Color panel on image strip, that will convert image to associated alpha, where this issue doesn't happen. This will reduce performance of the strip however.

Classifying this as known issue as there is no easy solution that could be done as bugfix. @SergeyA, as workaround you can use Convert to Float option in Color panel on image strip, that will convert image to associated alpha, where this issue doesn't happen. This will reduce performance of the strip however.
Author

A separate report has been generated for the problem with the outline around the white text strip https://developer.blender.org/T87337

A separate report has been generated for the problem with the outline around the white text strip https://developer.blender.org/T87337

Added subscribers: @BjornEckhardt, @OmarEmaraDev

Added subscribers: @BjornEckhardt, @OmarEmaraDev
Philipp Oeser removed the
Interest
VFX & Video
label 2023-02-10 09:31:49 +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#86861
No description provided.