I got a video by connecting the video and using the transition, but the second video was out of sync

Clarke
Clarke Member Posts: 2
edited December 2024 in Developer APIs

origin video1

origin video2

connected video

I'm using JS sdk

cl = cloudinary.Cloudinary.new({cloud_name: CLOUD_NAME});
const video = cl.video_url(VIDEO_ID_0,{
  transformation:[
    {duration:"3"},  
    {flags:"splice:transition_(name_pixelize;du_2)", overlay:{resource_type:"video",public_id:VIDEO_ID_1}},
    {duration: "8"},  
    {flag:"layer_apply"}  
  ],  
});

Please help

Answers

  • Wissam
    Wissam Member, Cloudinary Staff Posts: 111

    Hi @Clarke ,

    I have tried to reproduce the issue on my account using the two videos with the following URL: https://res.cloudinary.com/wissamkhalilicloudinary1/video/upload/d_3/fl_splice:transition_(name_pixelize;du_2),l_video:second/d_8/fl_layer_apply/first.mp4.

    Is this the expected behavior?
    Please elaborate more about how the second video was out of sync.

    Best Regards,

    Wissam

  • Clarke
    Clarke Member Posts: 2
    edited December 2024

    It`s not my expected behavior, compared to the origin video2, the sound of the second half of the connected video is earlier than the picture.

  • Wissam
    Wissam Member, Cloudinary Staff Posts: 111

    Hi @Clarke ,

    Thank you for your additional explanation.
    I see the issue now. I will check internally and will keep you posted.

    Best Regards,

    Wissam

  • Wissam
    Wissam Member, Cloudinary Staff Posts: 111

    Hi @Clarke ,

    The issue was identified as a bug on our side.

    Once the issue is fixed, I will update this thread.

    Thanks,
    Wissam