Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Video subtitle generation method and device

A subtitle and video technology, applied in the field of video subtitle generation, can solve the problems of low flexibility, low flexibility of video subtitles, complex operation, etc.

Active Publication Date: 2017-05-31
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Among them, subtitles are added in a hard-coded way. The video file and the subtitle file are integrated, and the operation is complicated. Once the subtitle is wrong, there is no way to change or remove it, and it cannot be changed in time. It is necessary to re-encode the entire video, load new subtitles, and generate video subtitles. The flexibility is low; the online external subtitle method, the video file and the subtitle file are separated, and the subtitle file must be imported during playback. When the subtitle is wrong, the entire subtitle file must be re-encoded and new subtitles loaded, and it depends on the player and the subtitle File compatibility, resulting in low flexibility for video subtitle generation
[0003] Aiming at the problem of low flexibility of video subtitle generation mentioned above, no effective solution has been proposed yet

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
  • Video subtitle generation method and device
  • Video subtitle generation method and device
  • Video subtitle generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] According to an embodiment of the present invention, an embodiment of a method for generating video subtitles on a server side is provided.

[0036] Optionally, in this embodiment, the method for generating video subtitles described above may be applied to figure 1 In the hardware environment constituted by the server 102 and the terminal 104 as shown. figure 1 It is a schematic diagram of a hardware environment of a method for generating video subtitles according to an embodiment of the present invention. Such as figure 1 As shown, the server 102 is connected to the terminal 104 through a network. The above-mentioned network includes but not limited to: a wide area network, a metropolitan area network or a local area network. The terminal 104 is not limited to a PC, a mobile phone, a tablet computer, and the like. The method for generating video subtitles in the embodiment of the present invention may be executed by the server 102 , may also be executed by the termin...

Embodiment 2

[0155] The technical solutions of the present invention will be described below in conjunction with preferred embodiments.

[0156] The embodiment of the present invention is mainly aimed at the real-time playback and mounting scheme of online video subtitles. The scheme of this embodiment is as follows:

[0157] The first step is to separate the subtitles from the video and encode the video independently. The subtitles are stored in JSON or other formats to the subtitle service that can be accessed in real time. After the subtitles are parsed, they are structured and stored in the background for real-time access to the service according to the content and time information of a single subtitle , and identified as associated video subtitles;

[0158] The second step is to obtain the subtitle storage service according to the playback information during playback, and request the subtitle content that is about to be played for 20 seconds according to the current time, and re-reque...

Embodiment 3

[0164] The application environment of the embodiment of the present invention may refer to, but is not limited to, the application environment in the foregoing embodiments, which will not be described in detail in this embodiment. The embodiment of the present invention provides an optional specific application for implementing the above method for generating video subtitles.

[0165] The embodiment of the present invention is mainly aimed at the playback and display of online video subtitles, and provides a new playback solution that can flexibly control the display style and is easy to correct errors, and realizes simultaneous playback of subtitles and videos. The display effect is similar to the current Internet live broadcast or on-demand barrage form . Such as Figure 12 ,in, Figure 12 It is a schematic diagram of a barrage effect in an embodiment of the present invention. Video barrage can be comment information sent by users in real time according to the content of v...

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 invention discloses a video subtitle generation method and device. The method comprises the following steps: a server acquires a plurality of pieces of subtitle information; the server identifies the pieces of the subtitle information according to playing information of a target video, so that a plurality of pieces of identified subtitle information, which are associated with the target video, are obtained, wherein the playing information is information of the target video during playing; the server determines first subtitle information from the pieces of the identified subtitle information according to first playing information carried by a first request, wherein the first request is sent by a client during playing of the target video, and the playing information comprises the first playing information; and the server sends the first subtitle information to the client, wherein the client displays first subtitle contents in the first subtitle information according to first time information in the first subtitle information. The video subtitle generation method and device provided by the invention has the advantage that the technical problem of low flexibility in video subtitle generation in the relevant art is solved.

Description

technical field [0001] The present invention relates to the video field, in particular to a method and device for generating video subtitles. Background technique [0002] Currently, the subtitles generated during online video playback are generated by hard-coding or external subtitle files. Among them, subtitles are added in a hard-coded way. The video file and the subtitle file are integrated, and the operation is complicated. Once the subtitle is wrong, there is no way to change or remove it, and it cannot be changed in time. It is necessary to re-encode the entire video, load new subtitles, and generate video subtitles. The flexibility is low; the online external subtitle method, the video file and the subtitle file are separated, and the subtitle file must be imported during playback. When the subtitle is wrong, the entire subtitle file must be re-encoded and new subtitles loaded, and it depends on the player and the subtitle File compatibility leads to low flexibility...

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 Applications(China)
IPC IPC(8): H04N5/278H04N21/235H04N21/236H04N21/4722
CPCH04N5/278H04N21/235H04N21/23614H04N21/4722
Inventor 施建雄
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products