Blender video editor, when saving in any format with compression, changes the colors of the original video very much. #103422
Labels
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#103422
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Arch Linux
Graphics card: 3070 Ti
Blender video editor, when saving in any format with compression, changes the colors of the original video very much.
I attach the image: "before" at the top, "after" at the bottom.
Exact steps for others to reproduce the error
Add any video −> Render −> Render Animation.
P.S. If you save one picture, not video, the colors are not distorted.
Added subscriber: @imlegr
Added subscriber: @mano-wii
Changed status from 'Needs Triage' to: 'Needs User Info'
What are these formats with compression?
The colors don't seem to have changed that much in my opinion.
Could it be that this is more a matter of output quality rather than compression?
I have not been able to replicate the problem.
VSE_format_compression_colors__bug.blend
The colors change noticeably. All of them. I've been doing graphics for years and most clients simply refuse to accept work if there are changes they haven't asked for.
The picture becomes less contrasty. Try rendering the animation in this file and see what happens in the output. Exactly the video itself.
Test.blend
Changed status from 'Needs User Info' to: 'Needs Triage'
What details do you need? I sent you the file.
Added subscriber: @EAW
Possibly a duplicate of #60947 (FFMpeg color offset)
No. I think this is another error. If you look in the render window (F11) - everything is displayed there correctly. But after saving it already appears a strong distortion of colors.
There are 2 images in the archive. Open them in any editor and compare.
pic.zip
Added subscriber: @James-Glover
This comment was removed by @James-Glover
Added subscriber: @iss
@imlegr I have rendered video from image you have provided and there is no such color offset. Can you check if this happens when you use video as input and not image? If so can you upload short video that I can use for testing?
Changed status from 'Needs Triage' to: 'Needs User Info'
There are no distortions in the render window, they are when saving. The file I sent you has video.
Ah thanks, did not notice packed video...
On surface this seems to be same issue as #60947. It is important to check result in other player, like VLC.
Input video is encoded in yuv420p(tv, bt709), but sequencer can only work in RGB. At this stage colors are fairly preserved (in preview). Then image has to be converted to YUV again, but here we don't specify any encoding.
I don't quite understand why when same rendered output is viewed in Blender vs ffplay for example, the image is different, since whole encoding/decoding pipeline is pretty much default.
Blender decoding source:
Blender decoding render:
All these cases have in common, that incorrect colorspace is assumed during encoding, even if colorspace is specified (not reflected by ffprobe so this may be done incorrectly). But not sure where this incorrect conversion happens exactly.
@iss What is the status here? So is that actually a confirmed report or a duplicate of #60947? Please update the status accordingly.
It is duplicate, I wanted to do bit deeper dive as I do think there is something incorrect going on there, but haven't got time yet.
Closing as duplicate of #60947.