Method and device for dyeing subtitles corresponding to TTS voice and storage medium
A subtitle and voice technology, applied in the field of TTS voice corresponding subtitle coloring method, device and storage medium, can solve the problems of inability to set the subtitle coloring progress time in advance, unable to color subtitles, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] According to this embodiment, an embodiment of a method for coloring subtitles corresponding to TTS voice is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, Also, although a logical order is shown in the flowcharts, in some cases, steps shown or described may be performed in an order different from that herein.
[0024] The method embodiments provided in this embodiment may be executed in a mobile terminal, a computer terminal, a server, or a similar computing device. figure 1 A hardware structural block diagram of a computing device for a method for coloring subtitles corresponding to TTS speech is shown. like figure 1 As shown, a computing device may include one or more processors (the processors may include, but are not limited to, processing means such as a microprocessor MCU or a programmable logic device FPGA, etc.), memory for s...
Embodiment 2
[0063] Figure 5 An apparatus 500 for coloring subtitles corresponding to TTS speech according to this embodiment is shown, and the apparatus 500 corresponds to the method according to the first aspect of Embodiment 1. refer to Figure 5 As shown, the apparatus 500 includes: a first determining module 510, configured to determine, from the audio file obtained by the text-to-speech technology, the corresponding subtitle of each row of subtitles according to the ratio of the row width of each row of subtitles to the sum of the row widths of all subtitles audio clip; the second determination module 520 is used to determine the audio playback progress of the audio file at the moment of completing the display of each row of subtitles according to the audio position of the audio clip corresponding to each row of subtitles in the audio file; the third determination module 530, for determining the current playback progress of the audio file when the screen image of the current frame ...
Embodiment 3
[0072] Image 6 An apparatus 600 for coloring subtitles corresponding to TTS speech according to this embodiment is shown, and the apparatus 600 corresponds to the method according to the first aspect of Embodiment 1. refer to Image 6 As shown, the apparatus 600 includes: a processor 610; and a memory 620, connected to the processor 610, for providing the processor 610 with instructions for processing the following processing steps: according to the line width of each line of subtitles and the sum of the line widths of all subtitles Determine the audio segment corresponding to each line of subtitles from the audio file obtained via the text-to-speech technology; According to the audio position of the audio segment corresponding to each line of subtitles in the audio file, determine the moment when the display of each line of subtitles is completed The audio playback progress of the lower audio file; in the case of drawing the screen image of the current frame, determine the ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com