Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text overlay shifts levels slightly #1517

Open
Sharc99 opened this issue Feb 18, 2024 · 2 comments
Open

Text overlay shifts levels slightly #1517

Sharc99 opened this issue Feb 18, 2024 · 2 comments
Labels

Comments

@Sharc99
Copy link

Sharc99 commented Feb 18, 2024

Shotcut 24.01.28
The fading out of the title in the attached sample makes the luma shift by 1 or 2 steps down, see the waveform monitor.
Or better: the addition of the title shifts the luma 1 or 2 steps up. Changing opacity and/or the RGB value of the text (254,254,254) doesn't have an effect. Am I missing something?
The text is added on a separate video track.

Edit: It looks like the appearance/disappearance of the text would trigger a change between limited range<->full range.
(The video is limited range).

Level.shift.mp4
@ddennedy
Copy link
Member

ddennedy commented Oct 8, 2024

I have not reproduced this. I am using version 24.09. I place a limited color range video on V1. I added Speed: Forward Only with keyframes set to 0 speed in order to have a still frame to be able to more easily compare before and after a text clip on V2. The Video Zoom scope is locked onto the same pixel outside of the text filter.

Before
image

After
image

Selecting a pixel within the region of the Text: Simple filter does not make a difference. I also did an export and compared the frame before the text and the first frame with text.

@Sharc99
Copy link
Author

Sharc99 commented Oct 9, 2024

Thanks for taking a look.
Interesting, I can reproduce your test.
I did similar with 2 clips as per the attached file: The first clip is rock stable (as in your test), but the second clip gets the shift when the text appears, and reverts back to the former colors when the text disappears. Strange......
Clip 1 is a .png source. Clip 2 is .mp4 source, colorspace BT.709. Shotcut video mode is SD PAL.
Edit: It seems the colors are correct when the text is ON ..... (tested with various colorbars, for 601 and 709 ....). Anyway, the differences are subtle (2...4 steps in 8bit RGB), but the Text on track 2 seems to trigger something when the track 1 video is 709 colorspace ......
I understand that there can be minor losses (e.g. by rounding) when converting 709<->601 and YUV<->RGB, just wondering why the appearance of the Text on track 2 has an influence on the colors of the video on track 1.

Shotcut.shift.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants