Skip to content

gl_EdgeTransition() is very green #15

@Qriist

Description

@Qriist

Hello again! I've noticed that anytime gl_EdgeTransition() is used it turns out excessively green. I've attached a couple samples to illustrate the issue. I don't have a problem avoiding the transition but I figured this was probably a bug as it doesn't match the example gif at all.

Here's the command I used to generate my sample transition clips, plus all 4 inputs.

ffmpeg-easing.exe -i 1.mp4 -i 2.mp4 -c:v libx264 -profile:v main -pix_fmt yuv420p -crf 20 -filter_complex "xfade=duration=3:offset=5:transition=gl_EdgeTransition()" test1.mp4
ffmpeg-easing.exe -i 3.mp4 -i 4.mp4 -c:v libx264 -profile:v main -pix_fmt yuv420p -crf 20 -filter_complex "xfade=duration=3:offset=5:transition=gl_EdgeTransition()" test2.mp4

input clips
https://github.com/user-attachments/assets/5228fd80-f528-4542-a300-1aee639eedd0
https://github.com/user-attachments/assets/4a1c7225-f3cd-4e8f-b313-ee0aae60a800
https://github.com/user-attachments/assets/ab2a525a-e9fa-4ae5-b9b7-909dce11e06a
https://github.com/user-attachments/assets/0e3a3ee4-52bc-462f-b870-b1742e8263fd

output tests with omega green
https://github.com/user-attachments/assets/989ff936-aad6-4b40-b017-b64f12c9e778
https://github.com/user-attachments/assets/d7575cb2-bac3-43be-abb8-6bf8d44952e0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions