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

Filter "affine" Transition "luma" Out of the wrong picture, bug #1056

Open
xiaoxixiaoxi opened this issue Dec 4, 2024 · 0 comments
Open

Comments

@xiaoxixiaoxi
Copy link

Here's my case code C

。。。
  Producer* producer1 = new Producer(profile,"avformat", "/Users/linximing/Movies/55_1726454285_raw.mp4");
 producer1->set_in_and_out(400, 440);
        {
            Mlt::Filter f =  Mlt::Filter(profile,"affine");
            f.set("transition.rect", "0/0:50%x50% 1");
            f.set("transition.valign", "m");
            f.set("transition.halign", "c");
            f.set("transition.distort", 0);
            f.set("transition.fill", 1);
            producer1->attach(f);
        }
 Producer producer3 = Producer(profile,"color", "#995000");
    producer3.set_in_and_out(0, 20);
    Mlt::Playlist playlist(profile);
      playlist.append(producer3);  
  playlist.append(*producer1); 

  Mlt::Transition transition2(profile, "luma");
    int targetIndex = 0;
    playlist.mix(targetIndex, 10);
    playlist.mix_add(targetIndex   1, &transition2);
。。。

A red error message appears at the place of transition, and the effect of zooming out does not take effect. Can anyone tell me where this bug is?

testout2

@xiaoxixiaoxi xiaoxixiaoxi changed the title Filter "affine" Transition "luma" Out of the wrong picture, where my bug appeared Filter "affine" Transition "luma" Out of the wrong picture, bug Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant