Azure-Samples / cognitive-services-speech-sdk

Sample code for the Microsoft Cognitive Services Speech SDK
MIT License
2.95k stars 1.86k forks source link

gesture not work when use the batch avatar synthesis API #2574

Open JohnnieFucker opened 2 months ago

JohnnieFucker commented 2 months ago

when use gesture bookmark in SSML,there's no gesture in the video.such as <bookmark mark='gesture.the-front'/> or other gesture.

payload = {
        "synthesisConfig": {
            "voice": "zh-CN-XiaoxiaoMultilingualNeural",
        },
        "inputKind": "SSML",  
        "inputs": [
            {
               "content": f'<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis" xml:lang="en-US"><voice name="zh-CN-XiaoxiaoMultilingualNeural"> <bookmark mark="gesture.the-front"/> We are all the time expecting to co-create value and share the value together with you. Thank you for listening and have a nice day.</voice></speak>'
            }
        ],
        "avatarConfig": {
            "customized": False,  
            "talkingAvatarCharacter": "Meg",  
            "talkingAvatarStyle": "business", 
            "videoFormat": "webm", 
            "videoCodec": "vp9", 
            "subtitleType": "none",
            "backgroundColor": "transparent",
        },
    }

test.webm

github-actions[bot] commented 1 month ago

This item has been open without activity for 19 days. Provide a comment on status and remove "update needed" label.