Skip to content

Issue about using BDSup2Sub #5

@MonoS

Description

@MonoS

Hi quietvoid, i want to inform you that in the past i had quite some problem using BDSup2Sub resulting in cropped output, wrong colors/shade and missing subpic, that is one of the reason why i developed SupMover.
I was also thinking about if it could be a good idea to change the luminance/color value at a palette level instead at the image level so that the functionality of your tool would be a less lossy transformation, from what i can read from your code (i'm not experienced in rust) it seems you lower the color of all the RGB channel by the specified percentage, or with a fixed color, and save it, am i right?
Just for information PGS/Sup subtitle use a YCbCrA palette (from SubtitleEdit's code it seems that the matrix is determined from the video) in tv level (16-235/240) so do you think we could achieve the same effect multiplying the value from the Y channel in every paletted color with a percentage and then clamping to 16-235 range? Do you think we should take into account the Alpha value?

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