[UWP] UWP中的视频文本叠加

问题描述:

     我需要录制以下视频,

     I need to record a video with following,


-            在屏幕上添加
a文本框和一个提交按钮(可以在录制视频时单击)。

-          Add a text box on the screen and a submit button (that can be clicked while the video is being recorded).


-          ;   an> 使用
此文本为显示在屏幕上

-          Use this text to be displayed on the screen


-            使用
此文本使其成为一个文本到语音并让应用程序说出这么大声


-            保存
本地视频,这两个视频都连接到同一视频


 需要尽快解决。

谢谢,

Bhaskar.R

Bhaskar.R

嗨Bhaskar Ramaiah,

Hi Bhaskar Ramaiah,

>>"使用此文字显示在屏幕上"

>>" Use this text to be displayed on the screen"

如果要为视频添加叠加层,可以阅读此文档
为合成添加叠加层

If you want to add an overlay to a video, you could read this document Add an overlay to a composition

以下是供您参考的代码示例:
https:/ /github.com/Microsoft/Windows-universal-samples/tree/6370138b150ca8a34ff86de376ab6408c5587f5d/Samples/MediaEditing

Here’s a code sample for your reference: https://github.com/Microsoft/Windows-universal-samples/tree/6370138b150ca8a34ff86de376ab6408c5587f5d/Samples/MediaEditing

>>"使用此文本把它作为文本o演讲并让应用程序大声说"

>>" Use this text to make it a text to speech and make the app say this loud"

你可以参考
文本到语音
用于获取目标的API。

You could refer to the text to speech APIs to get your target.

这里也是一个代码示例您的参考:
https://github.com/Microsoft/Windows-universal -samples / tree / master / Samples / SpeechRecognitionAndSynthesis

Here’s also a code sample for your reference: https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/SpeechRecognitionAndSynthesis

>>"将本地视频保存在同一视频中"

>>" Save the video locally that has this both interfaced into the same video"

您可以查看
MediaCapture
API。您还可以查看
基本相机应用示例
。它显示了如何录制视频。

You could check the MediaCapture APIs. You could also check the Basic camera app sample. It shows how to record a video.

最好的问候,

Xavier Eoro

Xavier Eoro