Scene clip in VSE affecting the image strip above it #38344

Closed
opened 2014-01-24 00:04:12 +01:00 by Garrett · 5 comments

System Information
OS: Ubuntu 13.10
Linux kernel: 3.11.0-15-generic

Graphics:
VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
3D controller: NVIDIA Corporation GK107M [GeForce GT 750M] (rev a1)

Blender Version
Broken: 2.69-linux-glibc211-x86_64 (r60991) and 2.69-c700103-linux-glibc211-x86_64

Short description of error
In the Video Sequence Editor, I have a scene clip and above it, an .jpg image strip, set to Alpha Over with Opacity: 100. Since the opactiy is 100, the scene clip underneath it should have no effect on it, but it causes it to be more dim.

I was unable to reproduce the error from a new file, but the attached file demonstrates the bug.

Exact steps for others to reproduce the error
Here is a folder with the .blend file and the .jpg image used in the VSE: problem_with_alphaOver.tar.gz

To see the error:

  • open the file, make sure it's at frame 21, then hit F12 to render.
  • now go to frame 22 and hit F12 to render

Notice the difference - frame 21 is more dim than frame 22. (I've included .pngs of these frames). If you do not immediately see the difference, then open the resultant rendered .png images in Gimp and go to pixel (664, 34). In frame21.png, it has RGB value (22,22,22), while in frame22.png, it has RGB value (111,111,111).

**System Information** OS: Ubuntu 13.10 Linux kernel: 3.11.0-15-generic Graphics: VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06) 3D controller: NVIDIA Corporation GK107M [GeForce GT 750M] (rev a1) **Blender Version** Broken: 2.69-linux-glibc211-x86_64 (r60991) and 2.69-c700103-linux-glibc211-x86_64 **Short description of error** In the Video Sequence Editor, I have a scene clip and above it, an .jpg image strip, set to Alpha Over with Opacity: 100. Since the opactiy is 100, the scene clip underneath it should have no effect on it, but it causes it to be more dim. I was unable to reproduce the error from a new file, but the attached file demonstrates the bug. **Exact steps for others to reproduce the error** Here is a folder with the .blend file and the .jpg image used in the VSE: [problem_with_alphaOver.tar.gz](https://archive.blender.org/developer/F74615/problem_with_alphaOver.tar.gz) To see the error: - open the file, make sure it's at frame 21, then hit F12 to render. - now go to frame 22 and hit F12 to render Notice the difference - frame 21 is more dim than frame 22. (I've included .pngs of these frames). If you do not immediately see the difference, then open the resultant rendered .png images in Gimp and go to pixel (664, 34). In frame21.png, it has RGB value (22,22,22), while in frame22.png, it has RGB value (111,111,111).
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @Garrett-8

Added subscriber: @Garrett-8
Sergey Sharybin self-assigned this 2014-01-24 08:51:20 +01:00

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

This isn't actually a bug, rather a specific of render pipeline with color management disabled (Display = None disables color management).

It leads to displaying image buffers as as on the display. And what's happening is:

  • Sequencer Preview sends image which is always in sequencer space (which is sRGB regardless to whether it's float or byte image) to display without color management. This makes it looking properly on your sRGB display.
  • On the frame 21 there's a scene strip under the jpeg strip. Scene is being rendered to linear float buffer and hence implies conversion of byte jpeg image to float buffer as well. Then sequencer applies Alpha Over (which basically does nothing because of opacity). And sequencer outputs float buffer back to render pipeline. Render pipeline converts this float buffer to linear space to match the rest of pipeline. Image editor displays this image as-is, and viewing linear buffer on sRGB screen will make image darker.
  • On the frame 22 there's nothing under the image strip and it's being output as-is to the render pipeline as byte buffer in sRGB space. Render pipeline does nothing in this case with render result (because it's a final point actually and linearizing byte buffer is lossy). This makes it so image editor displays sRGB byte buffer displayed on sRGB space which makes it look as it's expected.

This might sound complicated, but disabled color management is confused on it's own and it's only left there for compatibility issues. You're not actually supposed to use such a pipeline in modern environments.

Thanks for the report, but it's just a specific of color management in blender..

This isn't actually a bug, rather a specific of render pipeline with color management disabled (Display = None disables color management). It leads to displaying image buffers as as on the display. And what's happening is: * Sequencer Preview sends image which is always in sequencer space (which is sRGB regardless to whether it's float or byte image) to display without color management. This makes it looking properly on your sRGB display. * On the frame 21 there's a scene strip under the jpeg strip. Scene is being rendered to linear float buffer and hence implies conversion of byte jpeg image to float buffer as well. Then sequencer applies Alpha Over (which basically does nothing because of opacity). And sequencer outputs float buffer back to render pipeline. Render pipeline converts this float buffer to linear space to match the rest of pipeline. Image editor displays this image as-is, and viewing linear buffer on sRGB screen will make image darker. * On the frame 22 there's nothing under the image strip and it's being output as-is to the render pipeline as byte buffer in sRGB space. Render pipeline does nothing in this case with render result (because it's a final point actually and linearizing byte buffer is lossy). This makes it so image editor displays sRGB byte buffer displayed on sRGB space which makes it look as it's expected. This might sound complicated, but disabled color management is confused on it's own and it's only left there for compatibility issues. You're not actually supposed to use such a pipeline in modern environments. Thanks for the report, but it's just a specific of color management in blender..
Author

Thank you for explaining that and I apologize for the false bug report.

I have explained your solution on Blender Stack Exchange.

Thank you for explaining that and I apologize for the false bug report. I have [explained your solution ](http://blender.stackexchange.com/questions/6578/scene-clip-in-video-editor-affects-the-image-strip-above-it) on Blender Stack Exchange.
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
2 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#38344
No description provided.