lucoiso / UEAzSpeech

This plugin integrates Azure Speech Cognitive Services in Unreal Engine.
https://forums.unrealengine.com/t/free-azspeech-plugin-async-text-to-voice-and-voice-to-text-with-microsoft-azure/495394
MIT License
199 stars 47 forks source link

sometimes it was work ok,sometime not work #232

Open LuckCJC opened 1 year ago

LuckCJC commented 1 year ago

sometimes it was work normal but sometimes it was not work.And if started the task it will need long time to end when stop the gme from the UE5 Editor(need about 10-30 seconds),and often work well in the morning,not work in afternoon.this is the log with it not work:LogWorld: Bringing World /Game/Maps/UEDPIE_0_Launch.Launch up for play (max tick rate 0) at 2023.09.21-15.39.53 LogWorld: Bringing up level for play took: 0.000552 LogOnline: OSS: Created online subsystem instance for: :Context_3 LogViewport: Display: Viewport MouseLockMode Changed, LockOnCapture -> DoNotLock LogViewport: Display: Viewport HideCursorDuringCapture Changed, False -> True LogViewport: Display: Viewport MouseCaptureMode Changed, CapturePermanently_IncludingInitialMouseDown -> CaptureDuringMouseDown LogAzSpeech: Display: Task: SpeechToText (99126); Function: Activate; Message: Activating task LogAzSpeech_Internal: Display: Task: SpeechToText (99126); Function: StartAzureTaskWork; Message: Starting Azure SDK task LogAzSpeech_Internal: Display: Task: SpeechToText (99126); Function: StartAzureTaskWork; Message: Using audio input device: Default LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_99126; Function: Init; Message: Initializing runnable thread LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_99126; Function: CanInitializeTask; Message: Checking if can initialize task in current context LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_99126; Function: Run; Message: Running runnable thread work LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_99126; Function: InitializeAzureObject; Message: Initializing Azure Object LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_99126; Function: InitializeAzureObject; Message: Creating recognizer object LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_99126; Function: CreateSpeechConfig; Message: Creating Azure SDK speech config LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_99126; Function: ApplySDKSettings; Message: Applying Azure SDK Settings LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_99126; Function: EnableLogInConfiguration; Message: Enabling Azure SDK log LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_99126; Function: InsertProfanityFilterProperty; Message: Adding profanity filter property LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_99126; Function: ApplySDKSettings; Message: Using language: zh-CN LogElectraPlayer: [00000A4AF8EA3000] FElectraPlayer() created. LogElectraPlayerPlugin: [00000A4B171C3C60] IMediaPlayer::Open: Options@00000A4B027FEBB0 LogElectraPlayer: [00000A4AF8EA3000][00000A4B141DBC50] IMediaPlayer::Open(file://E:/UE5Projects/SmartCommunitys/Content/Movies/Launch.mp4) PIE: 登陆的服务器 PIE: PIE总开始时间:0.087秒。 LogElectraPlayer: [00000A4AF8EA3000][00000A4B141DBC50] Opening stream at "file://E:/UE5Projects/SmartCommunitys/Content/Movies/Launch.mp4" LogElectraPlayer: [00000A4AF8EA3000][00000A4B141DBC50] Received master playlist from "file://E:/UE5Projects/SmartCommunitys/Content/Movies/Launch.mp4" LogElectraPlayer: [00000A4AF8EA3000][00000A4B141DBC50] Received initial stream playlists LogElectraPlayer: [00000A4AF8EA3000][00000A4B141DBC50] Found 1920 * 1080 video stream at bitrate 7428505 LogElectraPlayerPlugin: [00000A4B171C3C60] IMediaControls::SetRate(1.000000) LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_99126; Function: Run; Message: Starting recognition LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_99126; Function: Run; Message: Recognition started. LogElectraPlayer: [00000A4AF8EA3000][00000A4B141DBC50] Initial buffering starts LogElectraPlayer: [00000A4AF8EA3000][00000A4B141DBC50] Player switched video quality to 7428505 bps from 0 bps. 0 upswitches, 0 downswitches (0 drastic ones) LogElectraPlayer: [00000A4AF8EA3000][00000A4B141DBC50] Initial buffering ended after 0.000s LogElectraPlayer: [00000A4AF8EA3000][00000A4B141DBC50] Player starts prerolling to warm decoders and renderers LogElectraPlayer: [00000A4AF8EA3000][00000A4B141DBC50] Player prerolling complete LogElectraPlayer: [00000A4AF8EA3000][00000A4B141DBC50] Playback started at play position 0.233 LogElectraPlayer: [00000A4AF8EA3000][00000A4B141DBC50] Playback resumed at play position 0.233 LogAzSpeech: Display: Task: SpeechToText (99126); Function: PrePIEEnded; Message: Trying to finish task due to PIE end LogAzSpeech: Display: Task: SpeechToText (99126); Function: StopAzSpeechTask; Message: Stopping task LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_99126; Function: StopAzSpeechRunnableTask; Message: Setting runnable work as pending stop LogAzSpeech: Display: Task: SpeechToText (99126); Function: SetReadyToDestroy; Message: Setting task as Ready to Destroy LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_99126; Function: StopAzSpeechRunnableTask; Message: Setting runnable work as pending stop LogElectraPlayer: [00000A4AF8EA3000][00000A4B141DBC50] IMediaPlayer::Close() LogElectraPlayer: [00000A4AF8EA3000][00000A4B141DBC50] Playback stopped. Last play position 1.657 LogAzSpeech_Internal: Display: Thread: AzSpeech_SpeechToText_99126; Function: Stop; Message: Stopping runnable thread work

Please reply as soon as you have time. I have been troubled by this issue for over a week. thanks