mltframework / mltframework/mlt

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

Open
#1,056 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
1.9k
Forks
387
Avg merge
17h 28m
Merged PRs (30d)
8

Description

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", "#990000");
    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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository file or test; start by reproducing the supplied C++ case with the affine filter, color producer, playlist mix, and luma transition. Trace how the filter and transition are applied to playlist items, and consider the issue done when the transition affects the intended picture and the affine zoom remains visible.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.