Concatenate Audio Files?

shancloudinary
shancloudinary Member Posts: 3
edited August 3 in Developer APIs

Regarding Concatenating Media — https://cloudinary.com/documentation/video_trimming_and_concatenating#concatenating_media

Can audio files be concatenated? I know you can overlay multiple audio files, but the concatenation page only mentions video.

Tagged:

Answers

  • Wissam
    Wissam Member, Cloudinary Staff Posts: 13

    Hi there,

    To concatenate audio files using Cloudinary, use the same transformation parameter as video concatenation. For example : https://res.cloudinary.com/<CLOUD_NAME>/video/upload/fl_splice,l_video:<audio1>/fl_layer_apply/<audio2>.mp3

    You need to set your `cloud name`. This example is concatenating an audio file called `audio1` to the end of `audio2`.

    I hope it makes.

    Please let me know if you have additional questions.

    Regards,

    Wissam

  • shancloudinary
    shancloudinary Member Posts: 3

    In this example, is the /video/upload the path to the folder both files reside in? Do both audio files have to be in same folder?

  • Wissam
    Wissam Member, Cloudinary Staff Posts: 13

    Hi there,

    /video/upload is not the path of the audio files.

    It is part of the delivery URL that Cloudinary creates when you upload video/audio files.

    For images, you will get /image/upload.

    Try to upload a file to your Cloudinary account and check the URL that you are getting.

    I hope it makes sense.

    Please let me know if you have additional questions.

    Regards,

    Wissam

  • shancloudinary
    shancloudinary Member Posts: 3

    Thank you!