Videos with multiple audio tracks / multi-track audio

Comments

6 comments

  • Avatar
    Francis Tagbo

    Hi Ravi,

    Currently, we don't support such options.

    If you could share the video and elaborate more on the use-case, we can check if we can have a workaround.

    Thanks,

    Francis

    0
    Comment actions Permalink
  • Avatar
    Ravi Ramphal

    Hey Francis,

    Unfortunately, I can't really share the video itself publicly, I can share some example metadata:

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'multi-track-example.mov':
      Metadata:
        major_brand : qt
        minor_version : 0
        compatible_brands: qt
        creation_time : 2020-07-31T20:46:42.000000Z
      Duration: 00:00:05.00, start: 0.000000, bitrate: 12013 kb/s
        Stream #0:0(und): Video: hevc (Main) (hvc1 / 0x31637668), yuvj420p(pc, bt709/bt709/iec61966-2-1), 750x1334, 10028 kb/s, 28.26 fps, 30 tbr, 600 tbn, 600 tbc (default)
        Metadata:
          rotate : 270
          creation_time : 2020-07-31T20:46:43.000000Z
          handler_name : Core Media Video
          encoder : HEVC
        Side data:
          displaymatrix: rotation of 90.00 degrees
        Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 248 kb/s (default)
          Metadata:
            creation_time : 2020-07-31T20:46:43.000000Z
            handler_name : Core Media Audio
        Stream #0:2(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 248 kb/s (default)
          Metadata:
            creation_time : 2020-07-31T20:46:43.000000Z
            handler_name : Core Media Audio

    The use case is basically this: we are uploading videos with a video stream and two audio streams. We would like to be able to use Cloudinary to transcode the videos such that the two audio streams are combined/overlapped/flattened into a single one.

    Does that make sense?

    0
    Comment actions Permalink
  • Avatar
    Francis Tagbo

    Hi Ravi,

    For multiple audio tracks, we are picking up the first one.

    Currently, we don't support such options.

    You can open a support ticket and share with us your video to see if we can have a workaround.

     

    Thanks,

    Francis

     

    0
    Comment actions Permalink
  • Avatar
    Ravi Ramphal

    Hi Francis,

    I think we'll just flatten the audio tracks on our end for now.

    Thank you!

    Ravi

    0
    Comment actions Permalink
  • Avatar
    Francis Tagbo

    Hi Ravi,

    Thanks for the update!

    Please don't hesitate to reach us if you have any questions or issues encountered.

     

    Regards,

    Francis

    0
    Comment actions Permalink
  • Avatar
    Tamara Yulevich

    You can create the manifest file with multiple audio tracks. Custom manifest files creation: https://cloudinary.com/documentation/adaptive_bitrate_streaming#manually_creating_representations_and_master_files

    Here is a blog that mentions the structure of such a file: https://tech47.in/blog/react-hls-vod-with-page-localisation

    0
    Comment actions Permalink

Please sign in to leave a comment.