Video Translation is failing, both in API and on Speech Studio

Paul Rony 0 Reputation points
2025-04-11T06:29:22.2333333+00:00

Video translation worked last month, but seems to have died. Seems like an Azure problem as the issue can be duplicated on Speech Studio, thereby ruling out my code (was previously worked).

The translation record shows success, but the iteration record show failure.

Translation

{

    "input": {

        "sourceLocale": "en-US",

        "targetLocale": "ja-JP",

        "voiceKind": "PlatformVoice",

        "speakerCount": null,

        "subtitleMaxCharCountPerSegment": null,

        "exportSubtitleInVideo": null,

        "videoFileUrl": "https://cvoiceprodeus.blob.core.windows.net/bestor-c6e3ae79-1b48-41bf-92ff-940bea3e5c2d/VoiceGeneralTaskVideoTranslationUploadVideoFile/aa62c191-6363-471b-986d-84e00a2612ea.mp4?skoid=85130dbe-2390-4897-a9e9-5c88bb59daff&sktid=33e01921-4d64-4f8c-a055-5bdaffd5e33d&skt=2025-04-10T17%3A11%3A12Z&ske=2025-04-16T17%3A16%3A12Z&sks=b&skv=2023-11-03&sv=2024-08-04&st=2025-04-10T17%3A11%3A12Z&se=2025-04-11T05%3A16%3A12Z&sr=b&sp=r&sig=1teunzN%2BeNfPNZryCSLpA1n49sf6u06W74mGJepCCPI%3D"

    },

    "latestIteration": {

        "input": {

            "speakerCount": null,

            "subtitleMaxCharCountPerSegment": null,

            "exportSubtitleInVideo": null,

            "webvttFile": null

        },

        "result": null,

        "failureReason": null,

        "error": null,

        "status": "Failed",

        "lastActionDateTime": "2025-04-10T16:56:42.55Z",

        "self": null,

        "id": "96E28CAC-C62C-4B85-BF16-237B9B84B06D",

        "displayName": null,

        "description": null,

        "createdDateTime": "2025-04-10T16:51:47.677Z"

    },

    "latestSucceededIteration": null,

    "failureReason": null,

    "error": null,

    "status": "Succeeded",

    "lastActionDateTime": "2025-04-10T16:51:47.703Z",

    "self": null,

    "id": "2A50D994-C631-453A-8829-31C0AF2F6449",

    "displayName": "2A50D994-C631-453A-8829-31C0AF2F6449",

    "description": "2A50D994-C631-453A-8829-31C0AF2F6449",

    "createdDateTime": "2025-04-10T16:51:31.927Z"

}

 

Iteration

{

    "input": {

        "speakerCount": null,

        "subtitleMaxCharCountPerSegment": null,

        "exportSubtitleInVideo": null,

        "webvttFile": null

    },

    "result": {

        "translatedVideoFileUrl": null,

        "sourceLocaleSubtitleWebvttFileUrl": null,

        "targetLocaleSubtitleWebvttFileUrl": null,

        "metadataJsonWebvttFileUrl": null

    },

    "failureReason": null,

    "error": null,

    "status": "Failed",

    "lastActionDateTime": "2025-04-10T16:56:42.55Z",

    "self": null,

    "id": "96E28CAC-C62C-4B85-BF16-237B9B84B06D",

    "displayName": null,

    "description": null,

    "createdDateTime": "2025-04-10T16:51:47.677Z"

}

 

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,976 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JAYA SHANKAR G S 2,025 Reputation points Microsoft External Staff
    2025-04-15T10:04:52.4266667+00:00

    Hello @Paul Rony ,

    I am able to reproduce your issue, the reason you are getting this error is audio codec encoding.

    By default, it will be acc while converting in WMV to MP4 | CloudConvert.

    So, i tried with setting audio codec before converting, click on settings button and change it to opus.

    enter image description here

    and

    enter image description here

    Know try the output mp4 file in speech translation studio.

    Output:

    enter image description here

    If above solution works, please do accept the solution and give feedback by clicking on yes, and let me know if you have any further query.

    Thank you


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.