CN1867048A - Caption displaying method and system in video program - Google Patents

Caption displaying method and system in video program Download PDF

Info

Publication number
CN1867048A
CN1867048A CNA2006100598307A CN200610059830A CN1867048A CN 1867048 A CN1867048 A CN 1867048A CN A2006100598307 A CNA2006100598307 A CN A2006100598307A CN 200610059830 A CN200610059830 A CN 200610059830A CN 1867048 A CN1867048 A CN 1867048A
Authority
CN
China
Prior art keywords
captions
caption
information
words direction
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2006100598307A
Other languages
Chinese (zh)
Other versions
CN100411431C (en
Inventor
马伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2006100598307A priority Critical patent/CN100411431C/en
Publication of CN1867048A publication Critical patent/CN1867048A/en
Application granted granted Critical
Publication of CN100411431C publication Critical patent/CN100411431C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Television Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention relates to a display method of caption in video program and relative system, belonging to the flow media technique. Wherein, said method comprises: first, the server adds the letter direction information into the caption code format; based on said letter direction information, coding and transmitting the caption data to the terminal; the terminal, based on the caption letter direction information, decodes to obtain the image of each letter and to be composed into the caption image according to the direction of letter, to be combined with video image to be displayed on the display. The invention, via adding letter direction information bits in the caption code format, can display the caption in different letter directions.

Description

The display packing of captions and system in a kind of video frequency program
Technical field
The present invention relates to the stream media technology field, relate in particular to the display packing and the system of captions in a kind of video frequency program.
Background technology
Captions are piths of video frequency program, are the character property explanations to language of characters, scene description and other information in the video frequency program; It is important supplement to video content.
It is to store and send in the mode of image that caption technology in the existing coding techniques mainly contains dual mode a kind of, and another kind is to store and send in character-coded mode.Need carry out under the efficient compression of program and the situation that low bandwidth transmits at IPTV (Web TV) etc. at present, mainly be to adopt the mode of character to store and send caption data.
The caption technology standard definition of DVB (digital video broadcasting) in DTV (Digital Television), adopt captions coding techniques under the situation of MPEG-2 coding and captions according to the coded message technique for displaying.Relate generally to the attribute of several keys in the DVB caption technology, one is SERVICE, this attribute description be different captions, refer generally to the captions of different language in the same program.His next stage attribute is PAGE, has described demonstration captions space, and a plurality of captions viewing area Region is contained in the inside, has defined the spatial relationship of Region in the information of PAGE.Region is the viewing area of caption object, has defined the position of caption object in Region therein, and background colour, foreground etc.
The display mode of captions all is that mode with level shows that though the viewing area difference of captions, the arrangement mode of the captions among them is identical in the DVB caption technology.Though defined the detailed attribute of many captions in the DVB caption technology, not definition of display mode arranged in the character of captions.Whatsoever program is that mode with level shows all the time when showing.
HTML (Hypertext Markup Language) utilizes and the write-mode attribute of the text style STYLE of CSS (CSS is single) realizes that the different literals direction of text object shows.Grammer writing-mode:lr-tb, tb-rl parameter: lr-tb from left to right, from top to bottom; Tb-rl: from top to bottom, from right to left.
Utilize this mode can realize the different arrangement modes of text.At first will be when captions show based on understanding to fields such as style and write-mode, and then field parameter made explanations, be applied in the demonstration this support that will depend on browser to the understanding of field and property value.
The method that this application just provides a kind of different directions text to arrange for SGML can't use in the captions of video stream media.Understanding and judgement to this field attribute in based on the caption decoding of subtitle decoder hardware are difficult to realize.
Summary of the invention
The object of the present invention is to provide a kind of method and system that can in video frequency program, show captions with different words directions.
The objective of the invention is to be achieved through the following technical solutions:
The display system of captions in a kind of video frequency program comprises server end and terminal, and described server end comprises at least:
The captions coding module of described band words direction is used for increasing the words direction field information in the captions coded format, and for there to be the captions of words direction to encode;
Described terminal comprises at least: the caption decoding module of band words direction, be used for caption data is decoded, and obtain the view data of character, synthesize acquisition captions image according to the direction of literal;
Image synthesis unit is used for synthesizing acquisition captions image according to the direction of literal, and captions image and video image is synthetic.
Described server end also comprises:
The caption data memory module of band directional information is used to store the caption data of the band words direction information that the captions coding module of described band words direction transmits.
The information of described band words direction comprises reserved field, is used for expanded application.
Described terminal also comprises: input equipment, captions transmit control module and display device;
The selection information that input equipment receives the user sends the captions transmit control module to, the captions transmit control module sends the captions directional information that the user selects to the caption decoding module, the words direction in the decode procedure of the caption decoding module of control band words direction.
Described system is applicable to MPEG-2, the MPEF-4 of digital video broadcasting and Web TV and the caption technology of 3G (Third Generation) Moblie collaborative program 3GPP.
The display packing of captions in a kind of video frequency program comprises:
A, server end increase words direction information in the captions coded format;
B, be transferred to terminal after according to described words direction information caption data being encoded;
C, terminal are decoded according to the caption character directional information, obtain the view data of character, synthesize according to the direction of literal to obtain the captions image;
D, captions image and video image are exported to display device after synthetic show.
Described steps A further comprises:
When increasing the words direction information of same, server end increases reserved field, so that subsequent expansion is used.
Transmission course specifically comprises among the described step B:
Caption data behind the described coding is encapsulated in the Streaming Media host-host protocol sends to terminal.
Described step C specifically comprises:
Terminal decodes caption information according to the wrapper of the synchronous caption information of programme information acquisition, and these caption informations that comprise words direction are decoded, and obtains the captions with audio video synchronization.
When the user need control the captions direction, described step C further comprised:
C1, input equipment receive user's selection information;
C2, user's selection information is converted into corresponding captions coding, more described coded message is transferred to the caption decoding module of band words direction;
The caption decoding module of C3, described band words direction is decoded to the caption data that receives according to described coded message, is transferred to display device after the decoding.
As seen from the above technical solution provided by the invention, the present invention is by increasing the words direction information field in the captions coded format, and when making video playback, captions can show the display format of captions when having enriched video playback with different words directions.
Description of drawings
Fig. 1 is a kind of example structure schematic diagram of system of the present invention;
Fig. 2 is a kind of embodiment operational flowchart of the method for the invention;
Fig. 3 is a kind of embodiment server end of the method for the invention encoding operation flow chart;
Fig. 4 is a kind of embodiment decoding terminals of the method for the invention operating process;
Fig. 5 is a kind of embodiment Play Control of the method for the invention flow process;
Fig. 6 increases the display format 1 of words direction captions for the method for the invention;
Fig. 7 increases the display format 2 of words direction captions for the method for the invention;
Fig. 8 increases the display format 3 of words direction captions for the method for the invention;
Fig. 9 increases the display format 4 of words direction captions for the method for the invention.
Embodiment
Core concept of the present invention provides the display packing and the system of captions in a kind of video frequency program, by in the captions coded format, increasing the words direction information field, realization is controlled the orientation of character in the captions, thereby realizes the different directions display format of captions in video frequency program.
The invention provides the display system of captions in a kind of video frequency program, can be applied in the caption technologies such as DVB, MPEG-4 or 3GPP, present embodiment is an example to be applied in the DVB captions coding techniques, described system configuration schematic diagram as shown in Figure 1, comprise server end and terminal, wherein server end comprises at least: captions coding module, the communication module of the caption data memory module of band directional information, band words direction; Terminal comprises at least: caption decoding module, captions transmit control module, image synthesis unit, display device, the communication module of band words direction can also comprise input equipment.
The caption data memory module of described band directional information is used for the caption data of file words direction information;
The captions coding module of described band words direction is used for increasing the words direction information field in the composition section of captions coded format, and encodes for the captions of described band words direction, gives the respective coding value for the words direction field according to the direction of literal;
The captions coding module of band words direction can increase the realization of words direction field by forming in the zone in the coding section.In order to be implemented in the control that realizes words direction in the DVB captions, need describe in the caption object in the region_coposition_segment of the DVB coded format data and increase the words direction field in the circulation, increase by 6 reserved reserved field simultaneously, so that expanded application; Because the problem of character arranging direction is only just arranged with the captions of mode word coding, so need be that the Region of character encoding format realizes this field only at object.Described field can be arranged on different positions, as, can before background color information, increase the words direction information field, as follows; Also can increase words direction information after the background color information or in the total attribute information in zone;
Field name Field length Explanation of field
region_composition_segment(){
126 Area attribute field among the Dvb
Reserved 2 Keep
while(processed_length<segment_length){
if(object_type==0×01 or object_type==0×02){
Object_character_orientation 2 Object character direction field
Reserved 6 Reserved field stays and does expansion usefulness
Foreground_pixel_code 8 The foreground color coding
Background_pixel_code 8 The background color coding
}
}
}
Because the position in zone is relevant with scope with the words direction of captions, be impossible show vertical captions in the zone of reveal competence captions, therefore identical at the words direction in same zone;
Wherein the Reserved field is stayed and is done expansion usefulness, the value of Object_character_orientation field such as following table:
Field value The field implication
00 Horizontal direction
01 Vertical direction
10 Level in the other direction
11 In the other direction vertical
Value is to represent that the orientation of literal was the direction that general level reads from left to right at 00 o'clock; Value be 10 expression words directions for the horizontal direction opposite with 00 from right to left promptly; Value be 01 be the expression literal direction be vertical words direction from top to bottom; Value is that 11 expressions are not a kind of bottom-up vertical direction that is in daily use.
The caption decoding module of described band words direction is used for caption data is intercepted and captured, and decodes at each character, obtains the view data of character, synthesizes according to the direction of literal, obtains the captions image;
Described captions transmit control module links to each other with input equipment, receive the user's of input equipment transmission selection information, and send it caption decoding module of band words direction to, the words direction in the decode procedure of the caption decoding module of control band words direction, the decoding control when realizing playing;
Described image synthesis unit is used for synthesizing acquisition captions image according to the direction of literal, and captions image and video image is synthetic.
Described display device receives image and the area information after synthesizing, and outputs image to the user;
Described communication module is used for the communication of server end and terminal;
The invention provides the display packing of captions in a kind of video frequency program, is example with the DVB caption technology still, and its operating process comprises the steps: as shown in Figure 2
Step 1: the captions coding module of band words direction is formed in the zone increases words direction information in the coding section, increase reserved field simultaneously, so that subsequent expansion uses, and it is stored in the caption data memory module of band directional information;
Before being arranged on background color with described field is example;
Step 2: the captions coding module of band words direction is encoded at the caption character direction, utilizes the Streaming Media host-host protocol that caption information is transferred to terminal;
When the captions that words direction is arranged are encoded, encode at words direction, when each section captions are encoded, give the respective coding value for the words direction field according to the direction of literal.When the DVB caption technology was encoded, its cataloged procedure comprised following operation as shown in Figure 3:
At first, the attribute of PAGE is encoded, mainly comprise attributes such as the effective time among the PAGE who shows captions, version, Region composition are encoded; Again information such as the position of Region, space size, color are encoded,, then Drawing Object in the zone is encoded if the object of Region is a figure; If Region to as if character, then at first judge the direction of literal and encode that if the orientation of literal is the direction that general level reads from left to right, value is 00 according to the attribute of words direction; Words direction be the horizontal direction opposite with 00 from right to left promptly, value is 10; The direction of literal is vertical words direction from top to bottom, and value is 01; Bottom-up vertical direction value is 11; Each literal in the zone is encoded according to the character code mode of determining;
In the DVB digital TV network, the streaming media server utilization is encapsulated in DVB captions coded message in the TS bag, and the TS stream that will be packaged with caption information by radio network sends to terminal;
Step 3: the caption decoding module of band words direction according to the caption character directional information decode obtain the image of each character after, synthesize according to the direction of literal and obtain the captions image, export to the display device demonstration after synthesizing with video image again.
In DVB stream media caption technology, terminal obtains synchronous caption information TS bag according to programme information, decodes caption information; These caption informations that comprise words direction are decoded, obtain captions with audio video synchronization.Its caption decoding process comprises as shown in Figure 4:
At first carry out the PAGE decoding identical, obtain to show the PAGE of caption area with traditional DVB decoding; Carry out Region common among PAGE decoding then, such as information such as the space size of Region, position, colors.Synchronizing information according to captions and video reads the caption decoding module of corresponding caption object to the band words direction.If object is the Region of encoding of graphs form, then directly with graphic decoder.If object is a character encoding format, at first carry out the prospect stipulated among words direction and the DVB and the decoding of background color; Decode the view data of each character correspondence again according to character code, font table, font size etc., these view data are synthesized piece image according to words direction.Image after synthetic is shown with area information that time and duration are transferred in the synthesis module be shown to appointed positions in the screen with image and the video that shows the time and Graphics Application are synthetic.
The user can be provided with the captions display direction according to actual needs, and the decode procedure of this moment comprises following operation as shown in Figure 5:
The user can realize the direction control of captions and the control of other captions attribute by the application of input equipment startup captions Play Control.Be controlled to be example with direction: the user selects to wish the captions direction of broadcast by input equipment, the captions transmit control module receives described selection message from input equipment after, user's input is selected to be converted into corresponding captions direction encoding, again the direction encoding message transmission is given the caption decoding module of band words direction, according to the captions directional information that is provided with captions are decoded when the caption decoding module of band words direction is decoded, after the decoding these view data are synthesized piece image according to words direction.Image after synthetic is shown with area information that time and duration are transferred in the synthesis module be shown to appointed positions in the screen with image and the video that shows the time and Graphics Application are synthetic.
Be the multiple display format of the example explanation captions that increased words direction below with the PAGE instantiation of captions;
Two Region are arranged in a PAGE, and the object of Region A is a Drawing Object, and that it shows is the LOGO of a station symbol; Region B to as if the literal object, the content of literal is " caption technology ", the attribute of region B is substantially all identical in Fig. 6 to Fig. 9, has only the words direction difference of Region.The locus of the Region of Fig. 6 and Fig. 8 is also inequality.
In sum, the present invention is by increasing the words direction information field in the captions coded format, and when making video playback, captions can show the display format of captions when having enriched video playback with different words directions.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (10)

1, the display system of captions in a kind of video frequency program comprises server end and terminal, it is characterized in that described server end comprises at least:
The captions coding module of described band words direction is used for increasing the words direction field information in the captions coded format, and for there to be the captions of words direction to encode;
Described terminal comprises at least: the caption decoding module of band words direction, be used for caption data is decoded, and obtain the view data of character, synthesize acquisition captions image according to the direction of literal;
Image synthesis unit is used for synthesizing acquisition captions image according to the direction of literal, and captions image and video image is synthetic.
2, the display system of captions in a kind of video frequency program as claimed in claim 1 is characterized in that described server end also comprises:
The caption data memory module of band directional information is used to store the caption data of the band words direction information that the captions coding module of described band words direction transmits.
3, the display system of captions in a kind of video frequency program as claimed in claim 2 is characterized in that the information of described band words direction comprises reserved field, is used for expanded application.
4, the display system of captions in a kind of video frequency program as claimed in claim 1 is characterized in that described terminal also comprises: input equipment, captions transmit control module and display device;
The selection information that input equipment receives the user sends the captions transmit control module to, the captions transmit control module sends the captions directional information that the user selects to the caption decoding module, the words direction in the decode procedure of the caption decoding module of control band words direction.
5, the display system of captions in a kind of video frequency program as claimed in claim 1 is characterized in that, described system is applicable to MPEG-2, the MPEF-4 of digital video broadcasting and Web TV and the caption technology of 3G (Third Generation) Moblie collaborative program 3GPP.
6, the display packing of captions in a kind of video frequency program is characterized in that, comprising:
A, server end increase words direction information in the captions coded format;
B, be transferred to terminal after according to described words direction information caption data being encoded;
C, terminal are decoded according to the caption character directional information, obtain the view data of character, synthesize according to the direction of literal to obtain the captions image;
D, captions image and video image are exported to display device after synthetic show.
7, the display packing of captions in a kind of video frequency program as claimed in claim 6 is characterized in that described steps A further comprises:
When increasing the words direction information of same, server end increases reserved field, so that subsequent expansion is used.
8, the display packing of captions in a kind of video frequency program as claimed in claim 6 is characterized in that transmission course specifically comprises among the described step B:
Caption data behind the described coding is encapsulated in the Streaming Media host-host protocol sends to terminal.
9, the display packing of captions in a kind of video frequency program as claimed in claim 6 is characterized in that described step C specifically comprises:
Terminal decodes caption information according to the wrapper of the synchronous caption information of programme information acquisition, and these caption informations that comprise words direction are decoded, and obtains the captions with audio video synchronization.
10, the display packing of captions in a kind of video frequency program as claimed in claim 6 is characterized in that when the user need control the captions direction, described step C further comprised:
C1, input equipment receive user's selection information;
C2, user's selection information is converted into corresponding captions coding, more described coded message is transferred to the caption decoding module of band words direction;
The caption decoding module of C3, described band words direction is decoded to the caption data that receives according to described coded message, is transferred to display device after the decoding.
CNB2006100598307A 2006-03-15 2006-03-15 Caption displaying method and system in video program Expired - Fee Related CN100411431C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100598307A CN100411431C (en) 2006-03-15 2006-03-15 Caption displaying method and system in video program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100598307A CN100411431C (en) 2006-03-15 2006-03-15 Caption displaying method and system in video program

Publications (2)

Publication Number Publication Date
CN1867048A true CN1867048A (en) 2006-11-22
CN100411431C CN100411431C (en) 2008-08-13

Family

ID=37425911

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100598307A Expired - Fee Related CN100411431C (en) 2006-03-15 2006-03-15 Caption displaying method and system in video program

Country Status (1)

Country Link
CN (1) CN100411431C (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820545A (en) * 2010-05-04 2010-09-01 北京数码视讯科技股份有限公司 Encoding method of macro block of video frame inserting area
CN101860686A (en) * 2009-04-08 2010-10-13 三菱电机株式会社 Image display system
CN103220474A (en) * 2013-03-22 2013-07-24 深圳市九洲电器有限公司 Subtitle displaying method and system
CN106464961A (en) * 2014-05-12 2017-02-22 索尼公司 Reception device, transmission device, and data processing method
CN111798880A (en) * 2014-10-17 2020-10-20 松下电器(美国)知识产权公司 Recording medium, reproduction method, and reproduction apparatus

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02187884A (en) * 1989-01-13 1990-07-24 Matsushita Electric Ind Co Ltd Character recognizing device
JPH0850530A (en) * 1994-08-05 1996-02-20 Fujitsu Ltd Handwritten character input method
JPH0883269A (en) * 1994-09-13 1996-03-26 Toshiba Corp Processing and outputting device for character-string data
CN1093719C (en) * 1996-05-03 2002-10-30 三星电子株式会社 Selective-caption displayed broadcasting and receiving method suitable for syllable characters
JPH11355847A (en) * 1998-06-04 1999-12-24 Mitsubishi Electric Corp Display device for portable terminal and display method of the portable terminal
JP4463487B2 (en) * 2003-03-10 2010-05-19 コクヨ株式会社 Display device, display method, and printing device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860686A (en) * 2009-04-08 2010-10-13 三菱电机株式会社 Image display system
CN101820545A (en) * 2010-05-04 2010-09-01 北京数码视讯科技股份有限公司 Encoding method of macro block of video frame inserting area
CN103220474A (en) * 2013-03-22 2013-07-24 深圳市九洲电器有限公司 Subtitle displaying method and system
CN106464961A (en) * 2014-05-12 2017-02-22 索尼公司 Reception device, transmission device, and data processing method
CN111798880A (en) * 2014-10-17 2020-10-20 松下电器(美国)知识产权公司 Recording medium, reproduction method, and reproduction apparatus

Also Published As

Publication number Publication date
CN100411431C (en) 2008-08-13

Similar Documents

Publication Publication Date Title
CN1127260C (en) Video/audio in cooperation with video/audio broadcasting and graphic demonstrating system
CN102404624B (en) All-format media player capable of supporting hardware decoding for digital STB (Set Top Box)
AU701684B2 (en) Subtitling transmission system
US9398296B2 (en) Digital closed caption transport in standalone stream
KR102603459B1 (en) Broadcast signal transmitting device, broadcast signal receiving device, broadcast signal transmitting method, and broadcast signal receiving method
US9313442B2 (en) Method and apparatus for generating a broadcast bit stream for digital broadcasting with captions, and method and apparatus for receiving a broadcast bit stream for digital broadcasting with captions
CN1193611C (en) Interactive TV. system and method for simultaneous transmission and rendering of multiple MPEG-encoded video streams
CN1571508B (en) A method for implementing multi-frame
CN101218827B (en) Method and device for coding a video content comprising a sequence of pictures and a logo
CA2996649C (en) Systems and methods for signaling of video parameters and information associated with caption services
US10728562B2 (en) Video transmitting device and video playing device
CN100531298C (en) Multimedia signal matching system and method for performing picture-in-picture function
KR101978222B1 (en) Method and device for transmitting and receiving broadcast signal
US10171849B1 (en) Broadcast signal transmission device, broadcast signal reception device, broadcast signal transmission method, and broadcast signal reception method
JP2017513280A (en) Broadcast signal transmission and reception method and apparatus for panorama service
CN112075083B (en) Method and device for processing high dynamic range video containing subtitles
US10582269B2 (en) Method and device for transmitting and receiving broadcast signal
CN1867048A (en) Caption displaying method and system in video program
CN105430451A (en) Multi-cam HLS description method and multi-cam video direct broadcasting system based on HLS
KR102023018B1 (en) A broadcast signal transmitting device, a broadcast signal receiving device, a broadcast signal transmitting method, and a broadcast signal receiving method
KR100461541B1 (en) A Way of Sending/Receiving of Metadata to Provide Information of Broadcasting Program
CN1630347A (en) Method and apparatus for addressable play of rolling/static title in digital television
CN1265635C (en) Method for generating blocks of data, method for processing of the same, television system employing such methods, and teletext receiver arrangement for use in system
EP3300374B1 (en) Transmission device, transmission method, image processing device, image processing method, receiving device, and receiving method
CN111464878B (en) Video character data encoder, video display system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080813