Transparent doesn't work with transition

Here is the json:

{
  "timeline": {
    "fonts": [],
    "background": "#ffffff",
    "tracks": [
      {
        "clips": [
          {
            "asset": {
              "type": "html",
              "html": "<p></p>",
              "css": "p { display: none; }",
              "width": 0,
              "height": 0
            },
            "start": 0,
            "length": 10
          },
          {
            "asset": {
              "type": "image",
              "src": "https://surreal.oss-accelerate.aliyuncs.com/pacific/resource/image/5f38c1d76ab0425fb00b446149faf8ff/f3f223fa106a40eb8eff22fe115e815d_q50.jpg?OSSAccessKeyId=LTAI4FhUZsa1YYumWbTWusLN&Expires=1657182848&Signature=cp5qN1nk%2Fao0Gc58kNSVpvefe78%3D",
              "crop": {}
            },
            "position": "center",
            "start": 0,
            "length": 10,
            "offset": {
              "x": 0,
              "y": 0
            },
            "scale": 0.47058823529411764,
            "opacity": 0.37,
            "transform": {
              "rotate": {
                "angle": 0
              }
            },
            "transition": {
              "in": "slideRight"
            }
          }
        ]
      }
    ]
  },
  "output": {
    "format": "mp4",
    "resolution": "sd"
  }
}

But the video transparent not work.

Thanks,
Lane

I’m able to reproduce this. We’ll take a look at why the opacity property is functioning the way it is.

Looked into this and it has to do with the transition used. There are a few transitions that “appropriate” the opacity setting, including slideRight it’s counterparts and the fade transition.

These transitions change the opacity of the clip but are set to a default 1. This means that even if you set the opacity to a different value it will continue to use the value dictated by the transition.

We’ve added a task to understand whether its feasible to transition the clip from 0 to the opacity set in the clip.

For now I would suggest not allowing the use of opacity for the slide and fade transitions.