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

Method and device for displaying caption

A display method and technology of a display device, applied in the field of video processing, can solve the problems of chaotic display of subtitles, affecting the quality of viewing, unable to play audio and video synchronously, etc., to achieve the effect of perfect coordination and improved service experience

Inactive Publication Date: 2009-01-28
SHENZHEN COSHIP ELECTRONICS CO LTD
View PDF0 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the user plays back the recorded program, since the situation of real-time playback of the code stream cannot be completely simulated, if the subtitle is still analyzed and displayed in real time, the subtitle display will be confused and cannot be played synchronously with the audio and video, which greatly affects the viewing experience. quality

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
  • Method and device for displaying caption
  • Method and device for displaying caption
  • Method and device for displaying caption

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] Embodiment 1, a subtitle display method, the flow chart is as follows figure 1 shown, including:

[0025] A1, obtain the subtitle segment data block;

[0026] A2, acquiring the broadcast time stamp (Presentation Time Stamp, PTS) value of the subtitle segment data block;

[0027] In the embodiment of the present invention, for each subtitle segment data, the PTS value of the subtitle segment data block can be obtained by parsing the subtitle segment header.

[0028] It can be understood that, the manner of obtaining the PTS value of the subtitle segment data block can also adopt various existing conventional implementation manners, and the specific manner does not constitute a limitation to the present invention.

[0029] A3, judging whether the difference between the PTS value of the subtitle segment data block and the PTS value of the current system is less than a preset threshold; if so, then perform step A4; if not, then continue to step A5;

[0030] In the embodi...

Embodiment 2

[0034] Embodiment 2, a subtitle display method, the flow chart is as follows figure 2 shown, including:

[0035] B1, dividing the subtitle file into multiple data blocks assembled into subtitle fragments;

[0036] B2, analyzing each subtitle segment header to obtain the PTS value of the subtitle segment data block;

[0037] B3, according to the existing order of the time corresponding to the PTS value, save the divided subtitle fragment data blocks in the buffer in the form of a queue;

[0038] It can be understood that, in this embodiment of the present invention, the PTS value corresponding to the subtitle fragment data block in the queue in the buffer may also be saved. The PTS value can be directly used in the subsequent step B6, avoiding the subsequent process of parsing the header of the subtitle segment data again to obtain the PTS value.

[0039] B4. Acquiring a subtitle segment data block; the obtained subtitle segment data block is the first subtitle segment data...

Embodiment 3

[0065] Embodiment 3, a subtitle display device 400, the structure schematic diagram is as follows Figure 4 As shown, it includes: a subtitle segment acquisition unit 410, a PTS value acquisition unit 420, a judging unit 430 and a subtitle display unit 440;

[0066] A subtitle segment acquisition unit 410, configured to acquire subtitle segment data blocks;

[0067] The PTS value obtaining unit 420 is used to obtain the broadcast time identifier PTS value of the subtitle segment data block;

[0068] The judging unit 430 is used to judge whether the difference between the PTS value of the subtitle fragment data block and the PTS value of the current system is less than a preset threshold; The subtitle segment data block is parsed to obtain subtitles and displayed.

[0069] The subtitle display unit 440 is configured to analyze the subtitle segment data blocks acquired by the subtitle segment acquisition unit 410 to obtain subtitles and display them.

[0070] The device descr...

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 invention discloses a method and a device for displaying a caption. In the embodiment of the invention, obtaining caption segmented block data is adopted. The method comprises the following steps of obtaining the playing time of the caption segmented block data to mark a PTS value; determining whether the different between the PTS value of the caption segmented block data and the PTS value of the current system is less than a predetermined threshold; if yes, resolving the caption segmented block data to obtain the caption and to display. The synchronization of the caption display and the video and the audio is realized. The problem in the prior art that the video and the audio are not synchronous due to the advancing or the lagging of the end reaching time of the caption in the caption displaying process is avoided, and at the same time, the synchronization of the caption can be realized when a program is replayed. The service experience of a user is improved, and the matching between the program and the caption is more perfect.

Description

technical field [0001] The invention relates to the technical field of video processing, in particular to a subtitle display method and device. Background technique [0002] At present, in order to increase convenience, various TV and movie programs display subtitles of the audio and video data to the user while playing the audio and video data, which is convenient for the user to understand. [0003] In a digital television system, generally speaking, there are two types of subtitles, namely: text subtitles and picture subtitles, both of which have their own advantages and disadvantages. For picture subtitles, a powerful subtitle system (Subtitle System), used to provide subtitle service in the DVB digital television broadcasting system, the system is based on the bitmap (Bitmap) method, so there is no concept of character encoding, so that information can be easily presented with different fonts and colors; especially For the presentation of special characters, for exampl...

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): H04N7/24H04N5/445
Inventor 宋勇波
Owner SHENZHEN COSHIP ELECTRONICS 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