multi-audio-tracking

Afak Smadi 1 Reputation point
2020-06-10T09:56:19.91+00:00

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
Azure Media Services
A group of Azure services that includes encoding, format conversion, on-demand streaming, content protection, and live streaming services.
314 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 26,951 Reputation points Microsoft Employee
    2020-06-16T13:50:21.543+00:00

    Hi @Afak Smadi ,

    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.

    0 comments No comments