VSE video output color is different #98280

Closed
opened 2022-05-20 04:30:09 +02:00 by Leroy · 14 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 471.41

Blender Version
Broken: version: 3.2.0 Beta, branch: master, commit date: 2022-05-17 19:22, hash: 35e73aa347
Worked: (newest version of Blender that worked as expected)

Short description of error
When I keep the default settings with VSE, and output as h264 in mp4, the rendered result is somewhat different from the original video color, Color management settings seem to be fine.

Using other transcoding tools such as handbrake does not have this problem.

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]

cm.png
20220520_10.24_501.mp4

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 471.41 **Blender Version** Broken: version: 3.2.0 Beta, branch: master, commit date: 2022-05-17 19:22, hash: `35e73aa347` Worked: (newest version of Blender that worked as expected) **Short description of error** When I keep the default settings with VSE, and output as h264 in mp4, the rendered result is somewhat different from the original video color, Color management settings seem to be fine. Using other transcoding tools such as handbrake does not have this problem. **Exact steps for others to reproduce the error** [Please describe the exact steps needed to reproduce the issue] [Based on the default startup or an attached .blend file (as simple as possible)] ![cm.png](https://archive.blender.org/developer/F13092590/cm.png) [20220520_10.24_501.mp4](https://archive.blender.org/developer/F13092592/20220520_10.24_501.mp4)
Author

Added subscriber: @Leroy-Xie

Added subscriber: @Leroy-Xie

Added subscriber: @badbunny_uk

Added subscriber: @badbunny_uk

Hi,

can you share the original footage rather than the attached video switching between the original/output?

I've been trying to reproduce this issue with stock footage I downloaded from Pexels, and ran into colour space issues I've not encountered before (or possibly not noticed), and not sure how to deal with yet. Note - my knowledge of this subject is not great, I've got somewhat of an understanding of linear/log/srgb etc but not much more.

Essentially the stock footage I downloaded had a ITU-R BT.709 colour space, which looks similar but subtly different when rendered as srgb (reds appear slightly more orange like in your example). I can't figure out how to manage this in blender (yet) to not have this slight colour change (I'd be grateful if anyone has any pointers on this they could message me?!). Is your original footage in this Rec 709 colour space too ?

FINAL EDIT... I've fallen down the rabbit hole here, have spent the last few hours reading about colour spaces. My head hurts and I'm more confused than when I started !

Pete.

Hi, can you share the original footage rather than the attached video switching between the original/output? I've been trying to reproduce this issue with stock footage I downloaded from Pexels, and ran into colour space issues I've not encountered before (or possibly not noticed), and not sure how to deal with yet. Note - my knowledge of this subject is not great, I've got somewhat of an understanding of linear/log/srgb etc but not much more. Essentially the stock footage I downloaded had a ITU-R BT.709 colour space, which looks similar but subtly different when rendered as srgb (reds appear slightly more orange like in your example). I can't figure out how to manage this in blender (yet) to not have this slight colour change (I'd be grateful if anyone has any pointers on this they could message me?!). Is your original footage in this Rec 709 colour space too ? FINAL EDIT... I've fallen down the rabbit hole here, have spent the last few hours reading about colour spaces. My head hurts and I'm more confused than when I started ! Pete.
Author

@badbunny_uk
Hi, thank you very much for viewing. There is no problem with your video(Video by SwissHumanity from Pexels ),

My footage is downloaded from youtube

I have tested it several times. I found that it should be the problem of MPC-HC, there is no difference in Blender compositing editior. strange.

Video info
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.2
Format settings : CABAC / 3 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference fra : 3 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1 min 22 s
Bit rate : 5 597 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 59.940 (60000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.045
Stream size : 54.8 MiB (98%)
Title : ISO Media file produced by Google Inc.
Writing library : x264 core 155 r2901 7d0ff22
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Codec configuration box : avcC

@badbunny_uk Hi, thank you very much for viewing. There is no problem with your video([Video by SwissHumanity from Pexels ](https://www.pexels.com/video/castle-switzerland-valais-switzerland-colline-de-daval-drone-3999672/)), My footage is downloaded from [youtube ](https://www.youtube.com/watch?v=FcEVbVrNIyg&t=3s) I have tested it several times. I found that it should be the problem of MPC-HC, there is no difference in Blender compositing editior. strange. Video info ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4.2 Format settings : CABAC / 3 Ref Frames Format settings, CABAC : Yes Format settings, Reference fra : 3 frames Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 1 min 22 s Bit rate : 5 597 kb/s Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 59.940 (60000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.045 Stream size : 54.8 MiB (98%) Title : ISO Media file produced by Google Inc. Writing library : x264 core 155 r2901 7d0ff22 Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Codec configuration box : avcC
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

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

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

I have tested it several times. I found that it should be the problem of MPC-HC, there is no difference in Blender compositing editior. strange.

If I understand correctly, MPC-HC a video player? Did you try any other video player like MPV or VLC?

> I have tested it several times. I found that it should be the problem of MPC-HC, there is no difference in Blender compositing editior. strange. If I understand correctly, MPC-HC a video player? Did you try any other video player like MPV or VLC?
Author

Hi, Yes, it's a video player, same problem with VLC, it may be related to the video source.

video file:Sony Food Fizzle.7z

Hi, Yes, it's a video player, same problem with VLC, it may be related to the video source. video file:[Sony Food Fizzle.7z](https://archive.blender.org/developer/F13100134/Sony_Food_Fizzle.7z)
Member

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
Member

I can replicate the difference in MPV even with lossless output. But I am not sure if this difference is expected, so tagging the module for more information.

I can replicate the difference in MPV even with lossless output. But I am not sure if this difference is expected, so tagging the module for more information.
Member

Added subscriber: @EAW

Added subscriber: @EAW
Member

This report reminds me of #60947 (FFMpeg color offset). Possible duplicate?

This report reminds me of #60947 (FFMpeg color offset). Possible duplicate?
Member

@EAW Seems very similar indeed, I will merge. Thanks!

@EAW Seems very similar indeed, I will merge. Thanks!
Member

Closed as duplicate of #60947

Closed as duplicate of #60947
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#98280
No description provided.