CN1345159A - Method of dynamically superposing caption to digital video signal - Google Patents
Method of dynamically superposing caption to digital video signal Download PDFInfo
- Publication number
- CN1345159A CN1345159A CN 01134554 CN01134554A CN1345159A CN 1345159 A CN1345159 A CN 1345159A CN 01134554 CN01134554 CN 01134554 CN 01134554 A CN01134554 A CN 01134554A CN 1345159 A CN1345159 A CN 1345159A
- Authority
- CN
- China
- Prior art keywords
- ogt
- viewing area
- data
- district
- order
- 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.)
- Pending
Links
Images
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
The invention relates to a method to dynamically superpose captions on digital video, specifically to digital videodisc, digital TV, network video, video on demand. The data superposed on digital video is composed of OGT pages, each of which includes three parts of data i.e. OGT head, OGT pixed data and OGT command series. With OGT page and video data stream being multipled according to certain rules, they are transmitted and stored. The invention can increase capability of superposing captions on digital video and make captions more colorful. Also the invention provides features of higher special effects, simple operation.
Description
Technical field
The present invention relates to a kind of on digital video the dynamic method of overlapping text, be specifically related to a kind of digital video disk, Digital Television, Internet video, video request program digital video application fields such as (VOD) dynamic method of overlapping text on digital video that is used for.
Background technology
Picture and text the earliest all are directly to be superimposed upon on the video, just can't remove and change in case complete, and what VCD used is this kind method.
In order to realize the kinds of words captions, main digital video application (DVD and HDTV) is all used the dynamic title stacked system at present, and promptly captions and video are separately encoded, and in real time captions and video are superposeed at display end.The benefit of doing like this is to store or to transmit multichannel captions (captions of different language) simultaneously, selects a kind of captions to superpose according to user's needs, and the user does not wish can also not carry out subtitle superposition when captions disturb picture.
The caption data of HDTV is character corresponding codes (as ASCII character or a UNICODE sign indicating number), and this just requires to have character generator at display end, and this has limited the flexibility of captions greatly.And if the different character style of different display terminals use, display effect will be different.
DVD transmits is the image information of having encoded, and does not need character generator at display end like this, has reduced the display end cost.But the mode that DVD realizes has determined captions only can be 4 looks, can not realize a lot of stunts, and whole implementation method is very complicated.
Summary of the invention
Purpose of the present invention is to improve the subtitle superposition ability of various digital video application, makes captions have more color capabilities and stunt ability, but realizes simply, and grammer is clear, is easy to realize.
Basic data type
The signed integer of INTn n position (n can be 8,16,32,64).
The signless integer of UINTn n position (n can be 8,16,32,64).
Bytes does not have a plurality of bytes of precise meaning, and from low byte, the byte of not filling out content is necessary when filling content
All be changed to 0.
The relative byte location of RBP
STRING is with the character string of UNICODE coding
ZERO represents that all bits of corresponding byte are zero
The OGT page or leaf
The data of overlapping text are made up of a series of OGT (Overlay Graphics and Text) page or leaf, and OGT page or leaf and video data stream transmit and store (as the PS stream mode of use MPEG2) according to certain after regular multiplexing.
The OGT page or leaf is made up of OGT head, OGT pixel data and OGT command sequence:
The OGT page structure
OGT head (pressure) |
OGT pixel data (optional) |
OGT command sequence (pressure) |
The OGT head provides the information about the OGT page or leaf, and the OGT pixel data comprises bit diagram (Bit Map) data that have been encoded, and is not all there is the OGT pixel data in each OGT page or leaf, and OGT order control OGT regularly and display parameters.
The OGT head
The OGT head comprise the OGT page or leaf all for information about, the OGT header structure is as shown in table 1.
Table 1 OGT header structure
Wherein:
Relativity shift (RBP) | Title | Explanation | Byte number | Data type |
??00?to?05 | ??OGT_ID | The OGT identification code | ??6bytes | ?STRING |
??06?to?07 | ??OGT_VER | The version number of OGT | ??2bytes | |
??08?to?11 | ??OGT_SIZE | The length of OGT page or leaf (byte) | ??4bytes | ?UINT32 |
??12?to?15 | ??OGT_HD_SIZE | The length of OGT head (byte) | ??4bytes | ?UINT32 |
??16?to?19 | ??OGT_PT_SA | OGT view data initial address | ??4bytes | ??RBP |
??20?to?23 | ??OGT_CM_SA | OGT orders initial address | ??4bytes | ??RBP |
??24?to?63 | ??Reserved | Keep | ?40bytes | ??ZERO |
(RBP?00?to?05)OGT_ID
The OGT identification code is defined as " OGT " with the UNICODE coding
(RBP?06?to?07)OGT_VER
The version number of OGT, the meaning of each byte is as follows: B13 b14 b13 b12 b11 b10 b9 b8
b7????b6?????b5?????b4?????b3?????b2?????b1?????b0
The length of (RBP 08 to 11) OGT_SIZEOGT page or leaf, i.e. total size of OGT page or leaf, unit is a byte.The length of (RBP 12 to 15) OGT_HD_SIZEOGT head, unit is a byte, the OGT head length degree of definition is 64 bytes at present.(RBP 16 to 19) OGT_PT_SAOGT view data initial address is represented with byte offsets in the OGT page or leaf.If this value is 0, then expression does not have the OGT view data; Otherwise this value should be 64.(RBP 20 to 23) OGT_CM_SAOGT orders initial address, represents with byte offsets in the OGT page or leaf.OGT pixel data OGT pixel data is formed OGT image head OGT image head by OGT image head, palette data and OGT view data and is comprised the OGT pixel data for information about, and OGT image head structure is as shown in table 2.
Major version number |
Inferior version number |
Table 2 OGT image head structure
Wherein:
Relativity shift (RBP) | Title | Explanation | Byte number | Data type |
??00?to?05 | ?PT_ID | The OGT video identification code | ??6bytes | ?STRING |
??06?to?07 | ?PT_VER | The version number of OGT image | ??2bytes | |
??08?to?09 | ?PT_WIDTH | The OGT picture traverse | ??2bytes | ?UINT16 |
??10?to?11 | ?PT_HEIGHT | The OGT picture altitude | ??2bytes | ?UINT16 |
?????12 | ?PT_CM | OGT image compression sign | ??1bytes | |
?????13 | ?PT_PALS | OGT video palette information | ??1bytes | |
??14?to?17 | ?PT_DATA_SIZE | The length of OGT view data | ??4bytes | ?UINT32 |
?????18 | ?PT_NO | The OGT image number | ??1bytes | ??UINT8 |
??19?to?23 | ?Reserved | Keep | ??6bytes | ??ZERO |
(RBP?00?to?05)PT_ID
The OGT video identification code is defined as " PIT " with the UNICODE coding
(RBP?06?to?07)PT_VER
The version number of OGT image, the meaning of each byte is as follows: B15 B14 b13 b12 b11 b10 b9 b8
b7???B6????b5???b4????b3??b2???b1???b0
(RBP 08 to 09) PT_WIDTHOGT picture traverse, unit is a pixel.(RBP 10 to 11) PT_HEIGHTOGT picture altitude, unit is a pixel.(RBP 12) PT_CMOGT image compression sign: b7 b6 b5 b4 b3 b2 b1 b0
Coded system 000b: not compression
Major version number |
Inferior version number |
Keep | Coded system |
001b: brigade commander's coding
010b:MPEG2 I frame (RBP 13) PT_PALS OGT video palette information: b7 b6 b5 b4 b3 b2 b1 b0
Highlighted palette 0b: highlighted palette does not exist
Highlighted palette | Keep | Palette number/pixel bit number |
1b: there is palette number/pixel bit number 001b:1 bits/pixel in highlighted palette, and palette comprises 2
010b:2 bits/pixel, palette comprise 4
011b:4 bits/pixel, palette comprise 16
100b:8 bits/pixel, palette comprise 256
Other: keeping the length of (RBP 14 to 17) PT_DATA_SIZEOGT view data, is unit (RBP 18) PT_NOOGT image number with the byte, and the numeral of permission is 0~3, and this number points out to replace the original image of the same No. that transmits previously.The palette data palette data comprises self-tone colour table and highlighted palette:
The item number of palette is determined that by PT_PAL the item number of all palettes is all identical.Each palette item is made up of 4 bytes, and each byte is defined as follows:
Self-tone colour table (pressure) |
Highlighted palette (optional) |
B31????B30????B29????b28????b27????b26????b25????b24
????B23????B22????B21????b20????b19????b18????b17???b16
????B15????B14????B13????b12????b11????b10????b9????b8
????b7?????B6?????b5?????b4?????b3?????B2?????b1????b0
The OGT view data
?????????????????????V |
?????????????????????U |
?????????????????????Y |
?????????????????????Alpha |
If PT_CM is 0, the OGT pixel data is unpressed initial data: if PT_CM is 1, the OGT pixel data is brigade commander's coded data of compression; If PT_CM is 2, the OGT pixel data is the data according to the I frame compression of MPEG2.
The OGT command sequence
The OGT command sequence is made up of one group of OGT command code of ordering beginning with the OGT time, the decision effective time of regulation during its term of validity was ordered by the OGT time.
The OGT command sequence provides the mechanism that is provided with and changes various OGT parameters.It also provides and has looked the timing mechanism that the audio frequency display synchronization changes.The OGT command sequence provides support to following characteristics:
A) enable before the deadline/inefficacy OGT demonstration;
B) viewing area is set;
C) highlight bar is set;
D) palette is set;
E) realize menu
The district of OGT
So-called district is exactly a rectangular area of definition.The district that defines among the OGT comprises that OGT viewing area, OGT highlight bar and OGT select the district.
It is initial point that the coordinate definition in all districts is the upper left corner, and horizontal direction is to the right a forward, and vertical direction is downwards a forward.
The OGT viewing area
The OGT viewing area is a district on the display screen, the OGT image overlay can be presented on the video image in this regional extent.
At synchronization, we can define 4 OGT viewing areas, and these 4 OGT viewing areas can be overlapping.
Can there be oneself independently self-tone colour table and highlighted palette in each OGT viewing area, and the initial value of these two palettes is identical with corresponding bitmap palette.
The OGT highlight bar
The OGT highlight bar is a district that is defined among certain viewing area, and the pixel in this district shows with high light tone.
Each OGT viewing area allows to be provided with nearly 4 highlight bar.
Each OGT highlight bar can have oneself independently palette, and the initial value of this palette is identical with the highlighted palette of corresponding OGT viewing area.
OGT selects the district
OGT selects the district for being defined in a district among certain viewing area, the pixel this district in after the user chooses with high light tone demonstration.
All viewing areas can define 24 altogether and select the district, and each selects the area code in district not repeat.Select district (selecting trivial number 0~21) user to select, select district's (selecting trivial number 22 and 23) to be exclusively used in for 2 and select for wherein preceding 22 with " PREV " and " NEXT " key for the user with numerical key or directionkeys.
Each OGT selects the district that oneself independently palette can be arranged, and the initial value of this palette is identical with the highlighted palette of corresponding OGT viewing area.
The OGT command code
All OGT command codes are 64 bits.They are made up of a command code (Opcode) and one/group parameter.
The OGT time orders and is used to control the OGT viewing area and shows and to enable or lost efficacy, and control OGT viewing area Displaying timer.First OGT order should be always the OGT time orders, and this is provided with the demonstration time for the subsequent commands sequence, orders up to the next OGT time.This command format is: B63 b62 b61 b60 B59 b58 b57 b56
???????B55?????????b54???????????b53??????????b52??????????B51?????????b50?????????b49?????????b48
?????????b47????????b46??????????b45????????b44?????????B43?????????b42?????????b41????????b40
????????b39?????????b38??????????b37????????b36?????????B35?????????b34?????????b33????????b32
?????????b31????????b30??????????b29????????b28??????????B27?????????b26????????b25????????b24
?????????b23????????b22??????????b21????????b20??????????B19?????????b18????????b17????????b16
?????????b15????????b14??????????b13????????b12???????????B11?????????b10????????b9?????????b8
?????????b7??????????b6???????????b5?????????b4????????????b3???????????b2???????b1??????????b0
Command code 00000b viewing area 0 determines that the viewing area area code is that 0 viewing area gets show state:
Command code | Keep |
Keep | Viewing area 0 | Keep | Viewing area 1 | Keep | Viewing area 2 | Keep | Viewing area 3 |
???????????????????????????????????????????PTS(31:24) |
???????????????????????????????????????????PTS(23:16) |
???????????????????????????????????????????PTS(15:8) |
????????????????????????????????????????????PTS(7:0) |
The demonstration time (high byte) |
The demonstration time (low byte) |
0b: close demonstration
1b: open demonstration
Viewing area 1 determines that the viewing area area code is that 1 viewing area gets show state:
0b: close demonstration
1b: open demonstration
Viewing area 2 determines that the viewing area area codes are that 2 viewing area gets show state:
0b: close demonstration
1b: open demonstration
Viewing area 3 determines that the viewing area area codes are that 3 viewing area gets show state:
0b: close demonstration
1b: open demonstration
The PTS that PTS is 32 aligns with the top field of corresponding frame of video
Protect between the PTS that follow-up command sequence begins to order to the next OGT time from this PTS
Hold validity
The demonstration time is the demonstration time of unit with the frame of video, points out that annotate the effective time of subsequent commands
1. PTS provides different mechanism to finish identical functions with the demonstration time.Display terminal can independently select a kind of mode to carry out the control of demonstration time.
2. select wait command if same command sequence includes OGT, then OGT time command specifies must lose efficacy the demonstration time, and the actual demonstration time is by the time-out time among the PCT of correspondence or import definite according to the user.
Order is created in the OGT viewing area
The rectangle that order is used to set up the OGT viewing area is created in the OGT viewing area.This order must be used 2 times, to define the mapping of an OGT viewing area fully.
Command code 00001b
Rectangle position 0b: original image
1b: viewing area
The viewing area area code should be ordered the call number of corresponding viewing area
The call number of the original image number original image that this order is corresponding
The X value of top left pixel horizontal level definition rectangle upper left corner coordinate
The Y value of the definition rectangle upper left corner, top left pixel upright position coordinate
The X value of the pixel horizontal level definition rectangle lower right corner, lower right corner coordinate
The Y value B63 b62 b61 b60 b59 b58 b57 b56 of the definition rectangle lower right corner, pixel upright position, lower right corner coordinate
?????B55??????????b54??????????b53??????????b52???????????b51?????????b50????????b49?????????b48
??????B47?????????b46??????????b45???????????b44??????????b43??????????b42??????????b41?????????b40
??????B39?????????b38??????????b37???????????b36??????????b35???????????b34?????????b33?????????b32
?????B31??????????b30?????????b29?????????b28???????????b27????????????b26?????????b25????????b24
?????B23??????????b22??????????b21?????????b20??????????b19???????????b18??????????b17????????b16
?????B15???????????b14?????????b13?????????b12??????????b11???????????b10??????????b9??????????b8
?????b7????????????b6??????????b5??????????b4???????????b3????????????b2????????????b1??????????b0
The OGT highlight bar is created order
Command code | Keep |
Keep | The viewing area area code | Keep | Original image number | Keep | The rectangle position |
Top left pixel horizontal level (high position) |
Top left pixel horizontal level (low level) | Top left pixel upright position (high position) |
Top left pixel upright position (low level) |
Lower right corner pixel horizontal level (high position) |
Lower right corner pixel horizontal level (low level) | Pixel upright position, the lower right corner (high position) |
Pixel upright position, the lower right corner (low level) |
The OGT highlight bar is created the rectangular coordinates that the order order is used to define the OGT highlight bar.
Command code 00010b
The viewing area area code should be ordered the call number of corresponding viewing area
The highlight bar area code should be ordered the call number of corresponding highlight bar
The X value of top left pixel horizontal level definition rectangle upper left corner coordinate is represented with the relative position of viewing area
The Y value of the definition rectangle upper left corner, top left pixel upright position coordinate is represented with the relative position of viewing area
The X value of the pixel horizontal level definition rectangle lower right corner, lower right corner coordinate is represented with the relative position of viewing area
The Y value of the definition rectangle lower right corner, pixel upright position, lower right corner coordinate is represented b63 b62 b61 b60 b59 b58 b57 b56 with the relative position of viewing area
?????b55??????????b54??????????b53?????????b52?????????b51?????????b50?????????b49?????????b48
?????b47?????????b46??????????b45??????????b44?????????b43?????????b42??????????b41????????b40
?????b39?????????b38??????????b37??????????b36?????????b35?????????b34??????????b33????????b32
?????b31?????????b30??????????b29??????????b28?????????b27?????????b26?????????b25?????????b24
?????b23?????????b22??????????b21??????????b20?????????b19?????????b18?????????b17?????????b16
?????b15?????????b14???????????b13??????????b12?????????b11?????????b10??????????b9??????????b8
?????b7?????????b6????????????b5????????????b4??????????b3???????????b2??????????b1??????????b0
OGT selects the district to create order OGT selection district and creates the rectangular coordinates that the order order is used to define OGT selection district.Command code 00011b viewing area area code should order the call number selection of corresponding viewing area to be somebody's turn to do the call number in the selection district of order correspondence for trivial number, it is the X value of the number top left pixel horizontal level definition rectangle upper left corner coordinate between 1 to 24, the Y value of representing the definition rectangle upper left corner, top left pixel upright position coordinate with the relative position of viewing area, the X value of representing the pixel horizontal level definition rectangle lower right corner, lower right corner coordinate with the relative position of viewing area, represent that with the relative position of viewing area pixel upright position, the lower right corner defines the Y value of rectangle lower right corner coordinate, represents b63 b62 b61 b60 b59 b58 b57 b56 with the relative position of viewing area
????b55?????????b54?????????b53?????????b52?????????b51?????????b50?????????b49?????????b48
????b47?????????b46?????????b45?????????b44?????????b43?????????b42?????????b41?????????b40
????b39?????????b38?????????b37?????????b36?????????b35?????????b34?????????b33?????????b32
????b31?????????b30?????????b29?????????b28?????????b27?????????b26?????????b25?????????b24
????b23?????????b22?????????b21?????????b20?????????b19?????????b18?????????b17?????????b16
????b15?????????b14?????????b13??????????b12?????????b11?????????b10?????????b9?????????b8
????b7??????????b6??????????b5???????????b4???????????b3??????????b2??????????b1?????????b0
The call number center of the viewing area that area code this order in OGT selects district Associate Command OGT to select district's Associate Command to be used to define each OGT and selects relation between the district. command code 00100b viewing area is corresponding is selected to be in for trivial number and is selected the trivial user to press the upper right selection trivial of the call number user that the upper left selection trivial of the call number user who selects the trivial user to press the selection district that is activated behind the Down Arrow under the call number in the selection district that is activated behind the upward arrow key presses the selection district that is activated behind the left arrow on the call number in selection district of center to press the call number b63 b62 b61 b60 b59 b58 b57 b56 in the selection district that is activated behind the Right Arrow
????b55?????????b54?????????b53?????????b52?????????b51?????????b50?????????b49?????????b48
????b47?????????b46?????????b45?????????b44?????????b43?????????b42?????????b41?????????b40
????b39?????????b38?????????b37?????????b36?????????b35?????????b34?????????b33?????????b32
????b31?????????b30?????????b29?????????b28?????????b27?????????b26?????????b25?????????b24
????b23?????????b22?????????b21?????????b20?????????b19?????????b18?????????b17?????????b16
????b15?????????b14?????????b13?????????b12?????????b11?????????b10?????????b9?????????b8
????b7??????????b6??????????b5??????????b4??????????b3??????????b2??????????b1??????????b0
OGT selects wait command
Command code | Keep |
Keep | The viewing area area code | Keep | The highlight bar area code | Keep |
Top left pixel horizontal level (high position) |
Top left pixel horizontal level (low level) | Top left pixel upright position (high position) |
Top left pixel upright position (low level) |
Lower right corner pixel horizontal level (high position) |
Lower right corner pixel horizontal level (low level) | Pixel upright position, the lower right corner (high position) |
Pixel upright position, the lower right corner (low level) |
Command code | Keep |
Keep | The viewing area area code | Select trivial number |
Top left pixel horizontal level (high position) |
Top left pixel horizontal level (low level) | Top left pixel upright position (high position) |
Top left pixel upright position (low level) |
Lower right corner pixel horizontal level (high position) |
Lower right corner pixel horizontal level (low level) | Pixel upright position, the lower right corner (high position) |
Pixel upright position, the lower right corner (low level) |
Command code | Keep |
Keep | The viewing area area code | The center is selected trivial number |
Keep |
Keep |
Keep | Trivial number of last selection |
Keep | Under select trivial number |
Keep | A left side is selected trivial number |
Keep | The right selection trivial number |
OGT selects wait command to be used to wait for that the user selects, and this order has been confirmed to stop after a selection or stand-by period surpass the time-out time of stipulating among the PCT the user.
OGT need in the wait command implementation to select the input change activity according to the user to select the district.
Command code 00101b
The viewing area area code should be ordered the call number of corresponding viewing area
The movable call number b63 b62 b61 b60 b59 b58 b57 b56 that selects trivial number initial highlighted State Selection district
????b55?????????b54?????????b53?????????b52?????????b51?????????b50?????????b49?????????b48
????b47?????????b46?????????b45?????????b44?????????b43?????????b42?????????b41?????????b40
????B39?????????b38?????????b37?????????b36?????????b35?????????b34?????????b33?????????b32
????B31?????????b30?????????b29?????????b28?????????b27?????????b26?????????b25?????????b24
????B23?????????b22?????????b21?????????b20?????????b19?????????b18?????????b17?????????b16
????B15?????????b14?????????b13?????????b12?????????b11?????????b10?????????b9??????????b8
????b7??????????b6??????????b5??????????b4??????????b3??????????b2??????????b1??????????b0
The colored order of the colored order of OGT OGT is used to change the color value of palette.The call number of the highlight bar that this order of call number highlight bar area code of the viewing area that area code this order in command code 00110b viewing area is corresponding is corresponding is selected the call number target palette 00b of the call number original image number original image that this order is corresponding in the corresponding selection district of trivial number this order: the target palette is the palette of the original image of original image correspondence
Command code | Keep |
Keep | The viewing area area code | The movable selection trivial number |
Keep |
Keep |
Keep |
Keep |
Keep |
Keep |
01b: the target palette is the palette of the viewing area of viewing area area code correspondence
10b: the target palette is the palette of the highlight bar of highlight bar area code correspondence
11b: the target palette is 00b or 01b for the palette palettetype in the selection district of selection trivial correspondence as if the target palette:
00b: self-tone colour table
01b: highlighted palette
Other: keep
If the target palette is 10b or 11b:
01b: highlighted palette
Other: the transparence value B63 b62 b61 b60 b59 b58 b57 b56 of the palette of colors item that the α value that the Y value of the palette of colors item that the Y value that the U value of the palette of colors item that the U value that the V value of the palette of colors item that the V value that the call number of the color that the retaining color call number will be replaced in the target palette is new is new is new is new is new is new is new is new
????B55?????????b54?????????b53?????????b52?????????b51?????????b50?????????b49?????????b48
????B47?????????b46?????????b45?????????b44?????????b43?????????b42?????????b41?????????b40
????B39?????????b38??????????b37?????????b36?????????b35?????????b34????????b33?????????b32
????B31?????????b30??????????b29?????????b28?????????b27?????????b26????????b25?????????b24
????B23?????????b22??????????b21?????????b20?????????b19?????????b18?????????b17?????????b16
????B15?????????b14??????????b13?????????b12?????????b11?????????b10?????????b9?????????b8
????b7??????????b6???????????b5???????????b4??????????b3??????????b2?????????b1?????????b0
The OGT district changes order OGT district and changes size and the position that order is used to change the OGT district.The call number of the highlight bar that the call number highlight bar area code of the viewing area that area code this order in command code 00111b viewing area is corresponding is should order corresponding is selected the call number target area 00b of original image of call number original image number this order correspondence in the selection district of trivial number this order correspondence: the target area is during the rectangle of viewing area area code and original image correspondence shines upon in the original image
Command code | Keep | The target palette |
Keep | The viewing area area code | Select trivial number |
Keep | Original image number | Keep | The highlight bar area code | Palettetype |
Color index number |
New V value |
New U value |
New Y value |
New α value |
Rectangle region
01b: the target area is the square of viewing area during the rectangle of viewing area area code and original image correspondence shines upon
The shape district
10b: the target area is the rectangle region of the highlight bar of highlight bar area code correspondence
11b: the target area is the rectangle region left and right sides limit 00b in the selection district of selection trivial correspondence: the limit, the left and right sides of rectangle all maintains static
01b: the left side of rectangle is by the speed of horizontal direction shifter factor and the appointment of horizontal direction zoom factor
Move
10b: the right of rectangle is by the speed of horizontal direction shifter factor and the appointment of horizontal direction zoom factor
Move
11b: the left and right both sides of rectangle all refer to by horizontal direction shifter factor and horizontal direction zoom factor
Fixed speed moves following 00b: the last bottom of rectangle all maintains static
01b: the top of rectangle is by the speed of vertical direction shifter factor and the appointment of vertical direction zoom factor
Move
10b: the bottom of rectangle is by the speed of vertical direction shifter factor and the appointment of vertical direction zoom factor
Move
11b: the upper and lower both sides of rectangle all refer to by vertical direction shifter factor and vertical direction zoom factor
The symbol that has of fixed speed mobile and horizontal direction shifter factor 8 bits is lacked the shaping number, the symbolic representation moving direction: just representing to the right negative table
Show left, what vertical direction shifter factor 8 bits were counted in the short shaping of the no symbol of number of picture elements horizontal direction zoom factor 8 bits that the every frame of ratio value representation of its absolute value and horizontal direction zoom factor moves has a short shaping number of symbol, symbolic representation moving direction: just representing downwards negative table
Show that upwards B63 b62 b61 b60 b59 b58 b57 b56 is counted in the short shaping of no symbol of number of picture elements vertical direction zoom factor 8 bits that the every frame of ratio value representation of its absolute value and vertical direction zoom factor moves
????B55?????????b54?????????b53?????????b52?????????b51?????????b50?????????b49?????????b48
????B47?????????b46?????????b45?????????b44?????????b43?????????b42?????????b41?????????b40
????B39?????????b38?????????b37?????????b36?????????b35?????????b34?????????b33?????????b32
????B31?????????b30?????????b29?????????b28?????????b27?????????b26?????????b25?????????b24
????B23?????????b22?????????b21?????????b20?????????b19?????????b18?????????b17?????????b16
????B15?????????b14?????????b13?????????b12?????????b11?????????b10?????????b9??????????b8
????b7??????????b6??????????b5??????????b4??????????b3??????????b2??????????b1??????????b0
Command code | Keep | The target area |
Keep | The viewing area area code | Select trivial number |
Keep | Original image number | Keep | The highlight bar area code | Keep |
Limit, the left and right sides | Keep | Last following | Keep |
The horizontal direction shifter factor |
The horizontal direction zoom factor |
The vertical direction shifter factor |
The vertical direction zoom factor |
Description of drawings
Fig. 1 is a specific embodiment of the invention schematic diagram
Specific embodiments of the invention
The present invention can realize multiple animated caption, as the volume word, highlighted, be fade-in fade-out, only lift two simple example below the animation etc.
1, volume word
The volume word is mainly used in the contents such as performer list of program when beginning or finishing.
At first, produce pixel data, these data are greater than the viewing area.In the example below, pixel data comprises 10 literal lines, but the size of OGT viewing area can only show 6 row.Whole volume word process is as follows:
Transmit original image
Transmit following command sequence:
Article 1, the OGT time orders, and opens viewing area 1
Article 2, order is created in the OGT viewing area, creates viewing area 1
Article 1, the OGT district changes order, and the definition viewing area is done with respect to original image and moved both vertically and define movement velocity
Fade out
Fading out is meant that the captions color is thin out gradually to the process that disappears, and the whole process of fading out is as follows:
Transmit following command sequence:
Article 1, the OGT time orders, and opens viewing area 1
Article 2, order is created in the OGT viewing area, creates viewing area 1, (demonstration original image)
Article 1, the OGT time orders, and opens viewing area 1
The colored order of n bar OGT reduces the versicolor colour of image according to certain step-length
Article 1, the OGT time orders, and opens viewing area 1
The colored order of n bar OGT reduces the versicolor colour of image according to certain step-length
Article 1, the OGT time orders, and opens viewing area 1
The colored order of n bar OGT reduces the versicolor colour of image according to certain step-length
Article 1, the OGT time orders, and closes viewing area 1
Annotate: n is the number of colours that this image had
In sum, the present invention can utilize simple Data Structure Design, makes method of the present invention can realize more color capabilities of captions and stunt ability.Obviously the present invention is a kind of novelty, progress and new design with practicality.The above is specific embodiments of the invention and the know-why used, if the equivalence of doing according to conception of the present invention changes, when the function that it produced does not exceed spiritual that specification and accompanying drawing contain yet, all should be in interest field of the present invention, explanation hereby.
Claims (4)
1, a kind of method that is used for dynamic overlapping text on digital video, the data that it is characterized in that overlapping text are made up of a series of OGT page or leaf, the OGT page or leaf is made up of OGT head, OGT pixel data and OGT command sequence three partial datas, and OGT page or leaf and video data stream transmit and store after regular multiplexing according to certain.
2, the method that is used for dynamic overlapping text on digital video according to claim 1 is characterized in that OGT data comprise the length (byte) of OGT identification code, OGT version number, OGT page or leaf, length (byte), OGT view data initial address, OGT order initial address and the reservation spare bytes of OGT head.
3, the dynamically method of overlapping text that is used on digital video according to claim 1, it is characterized in that the OGT pixel data comprise OGT video identification code, OGT image version number, OGT picture traverse, OGT picture altitude, OGT image compression sign, OGT video palette information, OGT view data length, OGT image number and keep spare bytes.
4, the method that is used for dynamic overlapping text on digital video according to claim 1, it is characterized in that OGT command sequence data comprise OCT area definition data and OGT command code, wherein OCT area definition data comprise that OCT viewing area, OGT highlight bar, OGT select the district; The OGT command code comprise the OGT time order, order is created in the OGT viewing area, the OGT highlight bar is created order, OGT selects the district to create order, OGT to select that district's Associate Command, OGT select wait command, the colored order of OGT, OCT district changes orders.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 01134554 CN1345159A (en) | 2001-11-02 | 2001-11-02 | Method of dynamically superposing caption to digital video signal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 01134554 CN1345159A (en) | 2001-11-02 | 2001-11-02 | Method of dynamically superposing caption to digital video signal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1345159A true CN1345159A (en) | 2002-04-17 |
Family
ID=4672584
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 01134554 Pending CN1345159A (en) | 2001-11-02 | 2001-11-02 | Method of dynamically superposing caption to digital video signal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1345159A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9167176B2 (en) | 2005-07-18 | 2015-10-20 | Thomson Licensing | Method and device for handling multiple video streams using metadata |
-
2001
- 2001-11-02 CN CN 01134554 patent/CN1345159A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9167176B2 (en) | 2005-07-18 | 2015-10-20 | Thomson Licensing | Method and device for handling multiple video streams using metadata |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1218313C (en) | Recording carrier, and apparatus and for playing back a record carrier, and method for making the same | |
CN1126368C (en) | TV receiver for receiving character multiple broadcasting | |
CN1860785A (en) | Reproducing device, reproducing method, reproducing program, and recording medium | |
CN1910696A (en) | Storage medium having interactive graphic stream and apparatus for reproducing the same | |
CN1308895C (en) | Systems and methods for generating visual representations of graphical data and digital document processing | |
CN103597812B (en) | Graphic processing apparatus and method for high dynamic range video | |
CN1083595C (en) | Electronic montage greation device | |
CN1183778C (en) | Picture decoding device and recording medium | |
CN103139439B (en) | A kind ofly can add modify the picture synthetic method of material based on segment template | |
CN1607819A (en) | Image mixing method, and mixed image data generation device | |
CN104202661A (en) | Automatic picture-to-video conversion method | |
CN101042854A (en) | Information reproduction apparatus and information reproduction method | |
CN109151253A (en) | Display device, display methods and reproduction display system | |
CN1281569A (en) | Improved image conversion and encoding techniques | |
CN101043600A (en) | Playback apparatus and playback method using the playback apparatus | |
CN1977542A (en) | Dominant color extraction using perceptual rules to produce ambient light derived from video content | |
CN1867990A (en) | Storage medium storing text-based subtitle data including style information, and apparatus and method of playing back the storage medium | |
CN1934624A (en) | Recording medium, method, and apparatus for reproducing text subtitle streams | |
CN1870737A (en) | Storage medium, reproducing equipment and method thereof | |
CN1864217A (en) | Storage medium including text-based caption information, reproducing apparatus and reproducing method thereof | |
CN1945422A (en) | Image display device and projector | |
CN1879157A (en) | Information storage medium containing subtitles and processing apparatus therefor | |
CN1774759A (en) | Storage medium recording text-based subtitle stream, apparatus and method reproducing thereof | |
CN103067774A (en) | Method and system capable of enabling set top box to display add-on subtitles | |
CN1345159A (en) | Method of dynamically superposing caption to digital video signal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C06 | Publication | ||
PB01 | Publication | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |