Maniphest T98280

VSE video output color is different
Closed, Duplicate

Assigned To
None
Authored By
Leroy (Leroy)
May 20 2022, 4:30 AM
Tags
  • BF Blender
  • Video Sequencer
  • VFX & Video
Subscribers
Evan Wilson (EAW)
Leroy (Leroy)
Omar Emara (OmarSquircleArt)
Peter Goodman (badbunny)

Description

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: rB35e73aa3472a
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)]


Related Objects

Event Timeline

Leroy (Leroy) created this task.May 20 2022, 4:30 AM
Leroy (Leroy) updated the task description.
Peter Goodman (badbunny) added a subscriber: Peter Goodman (badbunny).EditedMay 20 2022, 10:36 PM

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.

Leroy (Leroy) added a comment.May 21 2022, 8:33 AM

@Peter Goodman (badbunny)
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

Omar Emara (OmarSquircleArt) changed the task status from Needs Triage to Needs Information from User.May 23 2022, 11:22 AM
Omar Emara (OmarSquircleArt) added a subscriber: Omar Emara (OmarSquircleArt).

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?

Leroy (Leroy) added a comment.May 23 2022, 12:02 PM

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

video file:

Omar Emara (OmarSquircleArt) changed the task status from Needs Information from User to Needs Information from Developers.May 23 2022, 1:02 PM
Omar Emara (OmarSquircleArt) added projects: Video Sequencer, VFX & Video.

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.

Evan Wilson (EAW) added a subscriber: Evan Wilson (EAW).May 23 2022, 5:04 PM

This report reminds me of T60947: FFMpeg color offset. Possible duplicate?

Omar Emara (OmarSquircleArt) added a comment.May 23 2022, 5:13 PM

@Evan Wilson (EAW) Seems very similar indeed, I will merge. Thanks!

Omar Emara (OmarSquircleArt) closed this task as a duplicate of T60947: FFMpeg color offset.May 23 2022, 5:13 PM