question

AfakSmadi-4656 avatar image
AfakSmadi-4656 asked ·

multi-audio-tracking

Hello

Could you help me solve this?
How can change my transform to rename the multi rename audio tracking with a name I wanted it
for example, I have video have two audio when encoding it with this transform I got this name
Aac_und_2_96035_2_1
Aac_und_2_96017_3_1
.
.
.
...act

my transform is




 {
     "created": "2019-10-06T14:08:43.893426+00:00",
     "description": "Basic Transform using a custom encoding preset",
     "id": "*****",
     "lastModified": "2019-10-29T08:26:21.869117+00:00",
     "name": "*****",
     "outputs": [
         {
             "onError": "StopProcessingJob",
             "preset": {
                 "codecs": [
                     {
                         "bitrate": 96000,
                         "channels": 2,
                         "label": null,
                         "odatatype": "#Microsoft.Media.AacAudio",
                         "profile": "AacLc",
                         "samplingRate": 48000
                     },
                     {
                         "bitrate": 32000,
                         "channels": 2,
                         "label": null,
                         "odatatype": "#Microsoft.Media.AacAudio",
                         "profile": "AacLc",
                         "samplingRate": 24000
                     },
                     {
                         "complexity": "Balanced",
                         "keyFrameInterval": "0:00:02",
                         "label": null,
                         "layers": [
                             {
                                 "adaptiveBframe": true,
                                 "bFrames": 0,
                                 "bitrate": 5000000,
                                 "bufferWindow": "0:00:05",
                                 "entropyMode": "Cabac",
                                 "frameRate": null,
                                 "height": "1080",
                                 "label": "_v1920x1080",
                                 "level": "5.1",
                                 "maxBitrate": 5000000,
                                 "odatatype": "#Microsoft.Media.H264Layer",
                                 "profile": "High",
                                 "referenceFrames": 2,
                                 "slices": 0,
                                 "width": "1920"
                             },
                             {
                                 "adaptiveBframe": true,
                                 "bFrames": 0,
                                 "bitrate": 3400000,
                                 "bufferWindow": "0:00:05",
                                 "entropyMode": "Cabac",
                                 "frameRate": null,
                                 "height": "720",
                                 "label": "_v1280x720",
                                 "level": "3.1",
                                 "maxBitrate": 3400000,
                                 "odatatype": "#Microsoft.Media.H264Layer",
                                 "profile": "Main",
                                 "referenceFrames": 2,
                                 "slices": 0,
                                 "width": "1280"
                             },
                             {
                                 "adaptiveBframe": true,
                                 "bFrames": 0,
                                 "bitrate": 2400000,
                                 "bufferWindow": "0:00:05",
                                 "entropyMode": "Cabac",
                                 "frameRate": null,
                                 "height": "576",
                                 "label": "_v1024x576",
                                 "level": "3.1",
                                 "maxBitrate": 2400000,
                                 "odatatype": "#Microsoft.Media.H264Layer",
                                 "profile": "Main",
                                 "referenceFrames": 2,
                                 "slices": 0,
                                 "width": "1024"
                             },
                             {
                                 "adaptiveBframe": true,
                                 "bFrames": 0,
                                 "bitrate": 1600000,
                                 "bufferWindow": "0:00:05",
                                 "entropyMode": "Cavlc",
                                 "frameRate": null,
                                 "height": "468",
                                 "label": "_v832x468",
                                 "level": "3.0",
                                 "maxBitrate": 1600000,
                                 "odatatype": "#Microsoft.Media.H264Layer",
                                 "profile": "Baseline",
                                 "referenceFrames": 1,
                                 "slices": 0,
                                 "width": "832"
                             },
                             {
                                 "adaptiveBframe": true,
                                 "bFrames": 0,
                                 "bitrate": 1100000,
                                 "bufferWindow": "0:00:05",
                                 "entropyMode": "Cavlc",
                                 "frameRate": null,
                                 "height": "360",
                                 "label": "_v640x360",
                                 "level": "3.0",
                                 "maxBitrate": 1100000,
                                 "odatatype": "#Microsoft.Media.H264Layer",
                                 "profile": "Baseline",
                                 "referenceFrames": 1,
                                 "slices": 0,
                                 "width": "640"
                             },
                             {
                                 "adaptiveBframe": true,
                                 "bFrames": 0,
                                 "bitrate": 720000,
                                 "bufferWindow": "0:00:05",
                                 "entropyMode": "Cavlc",
                                 "frameRate": null,
                                 "height": "288",
                                 "label": "_v512x288",
                                 "level": "3.0",
                                 "maxBitrate": 720000,
                                 "odatatype": "#Microsoft.Media.H264Layer",
                                 "profile": "Baseline",
                                 "referenceFrames": 1,
                                 "slices": 0,
                                 "width": "512"
                             },
                             {
                                 "adaptiveBframe": true,
                                 "bFrames": 0,
                                 "bitrate": 500000,
                                 "bufferWindow": "0:00:05",
                                 "entropyMode": "Cavlc",
                                 "frameRate": null,
                                 "height": "252",
                                 "label": "_v448x252",
                                 "level": "3.0",
                                 "maxBitrate": 500000,
                                 "odatatype": "#Microsoft.Media.H264Layer",
                                 "profile": "Baseline",
                                 "referenceFrames": 1,
                                 "slices": 0,
                                 "width": "448"
                             },
                             {
                                 "adaptiveBframe": true,
                                 "bFrames": 0,
                                 "bitrate": 350000,
                                 "bufferWindow": "0:00:05",
                                 "entropyMode": "Cavlc",
                                 "frameRate": null,
                                 "height": "252",
                                 "label": "_v448x252",
                                 "level": "3.0",
                                 "maxBitrate": 350000,
                                 "odatatype": "#Microsoft.Media.H264Layer",
                                 "profile": "Baseline",
                                 "referenceFrames": 1,
                                 "slices": 0,
                                 "width": "448"
                             },
                             {
                                 "adaptiveBframe": true,
                                 "bFrames": 0,
                                 "bitrate": 220000,
                                 "bufferWindow": "0:00:05",
                                 "entropyMode": "Cavlc",
                                 "frameRate": null,
                                 "height": "144",
                                 "label": "_v256x144",
                                 "level": "3.0",
                                 "maxBitrate": 220000,
                                 "odatatype": "#Microsoft.Media.H264Layer",
                                 "profile": "Baseline",
                                 "referenceFrames": 1,
                                 "slices": 0,
                                 "width": "256"
                             },
                             {
                                 "adaptiveBframe": true,
                                 "bFrames": 0,
                                 "bitrate": 100000,
                                 "bufferWindow": "0:00:05",
                                 "entropyMode": "Cavlc",
                                 "frameRate": null,
                                 "height": "144",
                                 "label": "_v256x144",
                                 "level": "3.0",
                                 "maxBitrate": 100000,
                                 "odatatype": "#Microsoft.Media.H264Layer",
                                 "profile": "Baseline",
                                 "referenceFrames": 1,
                                 "slices": 0,
                                 "width": "256"
                             }
                         ],
                         "odatatype": "#Microsoft.Media.H264Video",
                         "sceneChangeDetection": false,
                         "stretchMode": "AutoSize"
                     }
                 ],
                 "filters": null,
                 "formats": [
                     {
                         "filenamePattern": "{Basename}_{Label}_{Bitrate}{Extension}",
                         "odatatype": "#Microsoft.Media.Mp4Format",
                         "outputFiles": []
                     }
                 ],
                 "odatatype": "#Microsoft.Media.StandardEncoderPreset"
             },
             "relativePriority": "Normal"
         }
     ],
     "resourceGroup": "****",
     "type": "Microsoft.Media/mediaservices/transforms"
 }


azure-media-services
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ryanchill avatar image
ryanchill answered ·

Hi @afaksmadi-4656,

You can update the filename by updating the fileNamePattern. Also take at outputFiles to add any labeling you need.

Let me know if that helps.


Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.