Unlock instant, AI-driven research and patent intelligence for your innovation.

Subtitle generation method and device

A subtitle and font size technology, applied in the field of subtitle generation methods and devices, can solve problems such as reduced subtitle definition and the like

Active Publication Date: 2021-05-25
广州方硅信息技术有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, when dragging and enlarging a subtitle image with a small font size, the clarity of the subtitle will decrease

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Subtitle generation method and device
  • Subtitle generation method and device
  • Subtitle generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0055] Optionally, see Figure 5 , in a specific embodiment of the present application, an implementation of step S202 includes:

[0056] S501. According to the size of the subtitle area of ​​the display interface adjusted by the user and the size of the off-screen subtitle picture, calculate and obtain the picture scaling ratio.

[0057] Specifically, the electronic device calculates the ratio of the size of the subtitle area of ​​the user-adjusted display interface to the size of the off-screen subtitle picture, or The ratio of the size of the off-screen subtitle picture to the size of the subtitle area of ​​the display interface adjusted by the user is determined as the picture scaling ratio. It should be noted that the order in which the size of the subtitle area of ​​the display interface adjusted by the user is obtained and the size of the off-screen subtitle picture is acquired does not affect the implementation of the embodiment of the present application.

[0058] O...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present application discloses a subtitle generation method and device, including: generating an off-screen subtitle picture according to text input by a user; wherein, the off-screen subtitle picture is a subtitle picture stored in memory and not displayed on a display interface; The font size of the on-screen subtitle is set according to the resolution of the display interface, and the font size of the off-screen subtitle is not less than the font size threshold; the size of the off-screen subtitle picture is reduced to the size of the subtitle area of ​​the display interface adjusted by the user to obtain the final subtitle Image; displays the final subtitle image in the user-adjusted subtitle area. When the subtitle picture is reduced, the clarity of the subtitle will not be reduced. In this application, the font size of the off-screen subtitle is set according to the resolution of the display interface, and the font size of the off-screen subtitle is not smaller than the font size threshold. Therefore, when the off-screen subtitle image is reduced to the size of the subtitle area of ​​the current display interface, the off-screen subtitle The clarity will not be reduced.

Description

technical field [0001] The invention relates to the field of multimedia, in particular to a subtitle generation method and device. Background technique [0002] With the continuous development of multimedia-related technologies, many multimedia software such as live broadcast platforms and video production platforms have the function of adding and adjusting subtitles on the display interface. For example, on some live broadcast platforms, the anchor can add subtitles to explain the content of the current live broadcast to enhance the interactive effect with the audience. At the same time, the anchor can also adjust the size of the added subtitles to facilitate viewing by the audience. [0003] In the prior art, when the user adjusts the size of the added subtitle, he usually adopts a manner of dragging and dragging the subtitle area on the display interface to adjust. The size of the subtitle in the subtitle area will change accordingly with the size of the subtitle area. ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06T11/60G06F3/0486
CPCG06F3/0486G06T11/60
Inventor 王云
Owner 广州方硅信息技术有限公司