Method and device for generating subtitle
A technology of subtitles and corresponding positions, which is applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of slow generation, time and energy, and manual translation of subtitles, so as to simplify the process and improve The effect of translation precision
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] This embodiment provides a method for generating subtitles, which is used in video files to generate subtitles in other languages for the language in the video, which is convenient for users to enjoy videos. The method can be used in players of mobile phones, computers and other devices. The flow chart of the method is as follows figure 1 shown, including the following steps:
[0026] S1. Extract audio information.
[0027] First, extract the audio information from the video. The audio information can be extracted directly from the video signal, or can be recorded by other recording software to form a separate audio file. The audio file includes some voice information of background music, noise and dialogue, and this solution is for processing the voice information.
[0028] S2. Identify the first language in the audio information, and generate text information in the first language.
[0029] In this step, the language information in the audio information is obtain...
Embodiment 2
[0049] In this embodiment, a subtitle generation device is provided, and the structural block diagram is as follows figure 2 As shown, the device can be used in players of mobile phones, computers and other devices to generate subtitles in other languages for the language in the video, so that users can enjoy the video, including:
[0050] Audio extraction unit 01, for extracting audio information;
[0051] The first language identification unit 02 is configured to identify the first language in the audio information and generate text information in the first language;
[0052] A second language conversion unit 03, configured to convert the text information in the first language into text information in a second language;
[0053] The subtitle generation unit 04 is configured to load the text information in the second language into a corresponding position corresponding to the audio information.
[0054] In the subtitle generation device in this embodiment, the audio info...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 