Bad alpha value in VSE #76437

Closed
opened 2020-05-05 07:39:24 +02:00 by laurent renaud · 10 comments

System Information
Operating system: Linux-5.3.0-51-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce GTX 670/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 435.21

Blender Version
Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-03-12 05:06, hash: 375c7dc4ca
Worked: (optional)

Short description of error
PNG pictures with alpha are wrongly composited in VSE. Same pictures are doing well in Gimp or Blender compositor.
image.png
VSE-alpha-problem-files.zip
Exact steps for others to reproduce the error
I can't obtain a "normal" result while compositing png with alpha in VSE. "Normal" is the result obtained with Gimp or blender compositor. VSE look like it makes alpha harder. Can't be solve by any tweaking. I have tried to switch
Alpha source setting to Premultiplied, change color spaces, but still not ok.

I have packed the entire process files.

  • image-generator.blend : generate the png pictures
  • Gimp-ok.xcf : png composited ok in Gimp
  • compositor-ok.blend : png composited ok in Blender compositor
  • VSE-problem : png wrongly composited in Blender VSE (on the upper left, the good result imported for reference)

Same problem on 2.79/2.81/2.82a/2.83 alpha

Discover that at the end of a project I had to redo my entire VSE editing in Blender compositor to obtain the normal result. Litterally no way out.

Thanks a lot if you can fix it!

**System Information** Operating system: Linux-5.3.0-51-generic-x86_64-with-debian-buster-sid 64 Bits Graphics card: GeForce GTX 670/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 435.21 **Blender Version** Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-03-12 05:06, hash: `375c7dc4ca` Worked: (optional) **Short description of error** PNG pictures with alpha are wrongly composited in VSE. Same pictures are doing well in Gimp or Blender compositor. ![image.png](https://archive.blender.org/developer/F8513380/image.png) [VSE-alpha-problem-files.zip](https://archive.blender.org/developer/F8513384/VSE-alpha-problem-files.zip) **Exact steps for others to reproduce the error** I can't obtain a "normal" result while compositing png with alpha in VSE. "Normal" is the result obtained with Gimp or blender compositor. VSE look like it makes alpha harder. Can't be solve by any tweaking. I have tried to switch Alpha source setting to Premultiplied, change color spaces, but still not ok. I have packed the entire process files. - image-generator.blend : generate the png pictures - Gimp-ok.xcf : png composited ok in Gimp - compositor-ok.blend : png composited ok in Blender compositor - VSE-problem : png wrongly composited in Blender VSE (on the upper left, the good result imported for reference) Same problem on 2.79/2.81/2.82a/2.83 alpha Discover that at the end of a project I had to redo my entire VSE editing in Blender compositor to obtain the normal result. Litterally no way out. Thanks a lot if you can fix it!
Author

Added subscriber: @LaurentRenaud

Added subscriber: @LaurentRenaud

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

This report is missing:

  • Last version that worked.
  • Exact steps to redo the error.
  • A blend file (unless the steps start from the default startup).
This report is missing: - Last version that worked. - Exact steps to redo the error. - A blend file (unless the steps start from the default startup).
Author

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Author

In #76437#924449, @ideasman42 wrote:
This report is missing:

  • Last version that worked.
  • Exact steps to redo the error.
  • A blend file (unless the steps start from the default startup).

Sorry, I thought it have to be done on the next page...

> In #76437#924449, @ideasman42 wrote: > This report is missing: > > - Last version that worked. > - Exact steps to redo the error. > - A blend file (unless the steps start from the default startup). Sorry, I thought it have to be done on the next page...

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

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

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Member

In the provided files the VSE colorspace is set to sRGB. Compositor uses Linear color space. In the color management panel you can select which colorspace to use for the VSE.
There is still a difference, that is related to the view transform that have been set in the image-generator.blend. The compositing does alpha compositing before the view transform. The vse test does the view transform before saving the image and after the vse.

See here for a better comparison.

#76437.blend

In the provided files the VSE colorspace is set to sRGB. Compositor uses Linear color space. In the color management panel you can select which colorspace to use for the VSE. There is still a difference, that is related to the view transform that have been set in the `image-generator.blend`. The compositing does alpha compositing before the view transform. The vse test does the view transform before saving the image and after the vse. See here for a better comparison. [#76437.blend](https://archive.blender.org/developer/F8542746/T76437.blend)
Member

Changed status from 'Confirmed' to: 'Archived'

Changed status from 'Confirmed' to: 'Archived'
Jeroen Bakker self-assigned this 2020-05-19 11:16:45 +02: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#76437
No description provided.