CN103237179B - A kind of combination video window caption presentation method and device - Google Patents

A kind of combination video window caption presentation method and device Download PDF

Info

Publication number
CN103237179B
CN103237179B CN201310116844.8A CN201310116844A CN103237179B CN 103237179 B CN103237179 B CN 103237179B CN 201310116844 A CN201310116844 A CN 201310116844A CN 103237179 B CN103237179 B CN 103237179B
Authority
CN
China
Prior art keywords
window
video
character shape
area
video window
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.)
Expired - Fee Related
Application number
CN201310116844.8A
Other languages
Chinese (zh)
Other versions
CN103237179A (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.)
Vtron Group Co Ltd
Original Assignee
Vtron Technologies 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 Vtron Technologies Ltd filed Critical Vtron Technologies Ltd
Priority to CN201310116844.8A priority Critical patent/CN103237179B/en
Publication of CN103237179A publication Critical patent/CN103237179A/en
Application granted granted Critical
Publication of CN103237179B publication Critical patent/CN103237179B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the invention discloses a kind of combination video window caption presentation method and device, wherein method includes: obtain video window information from current control server, described video window information at least includes: window any one apex coordinate (X1, Y1), window width W1 and high H1, window signal source name;Determine that window area is as first area according to any one apex coordinate of video window obtained and window width and height;A character shape window is generated according to the window signal source name obtained;Described character shape window is shown in described first area.According to the embodiment of the present application, can realize there is no the video signal source of caption information when showing image, it is possible to edit the caption information of this video signal source according to the actual requirements and show, it is not necessary to the hardware unit of video is modified, reduce cost, improve Consumer's Experience.

Description

A kind of combination video window caption presentation method and device
Technical field
The present invention relates to combination technical field, particularly relate to a kind of combination video window caption presentation method and device.
Background technology
Combination technology is the Display Technique of specialty, and the development form of current large-screen splicing wall video display technology is good, is applied widely.For there being the signal source of caption information, directly carry out video frequency signal processing, combination shows in display window this signal.A lot of signal sources do not have caption information in actual applications, caption information is the Word message being described signal source name, therefore only having image information in the display signal window on combination, and do not have caption information, this phenomenon brings inconvenience to the actual application of user.
For this signal source not having caption information, following processing mode is used to show at present: first these data to be carried out decoding one by one, obtain the image information of each frame;Then obtain the caption information of this data source from client, this caption information is superimposed upon in decoded image information so that decoded each frame has had caption information;Finally the information after superposition is exported.So process and need original hardware unit is carried out certain amendment so that it is there is text addition function.But the cost price of hardware unit amendment is the highest, is unfavorable for widely used.
Summary of the invention
In order to solve above-mentioned technical problem, the embodiment of the present application provides a kind of combination video window caption presentation method and device, to there is no the video signal source of caption information when showing image, the caption information of this video signal source can be edited according to the actual requirements and show, without the hardware unit of video is modified, reduce cost.
The embodiment of the invention discloses following technical scheme:
A kind of combination video window caption presentation method, including:
Obtaining video window information from current control server, described video window information at least includes: any one apex coordinate of window (X1, Y1), window width W1 and high H1, window signal source name;
Determine that window area is as first area according to any one apex coordinate of video window obtained and window width and height;
A character shape window is generated according to the window signal source name obtained;
Described character shape window is shown in described first area.
Preferably, described window signal source name one character shape window of generation according to acquisition includes:
Create a square window object, and described square window and described video window formation mapping relations are set;
The window signal source name of acquisition is drawn in the device context of the square window object of described establishment;
Obtain the character shape region of the signal source name drawn, the type of described square window is set to character shape window.
Preferably, described described character shape window is shown in described first area, including:
The coordinates regional of described character shape window is set: with the apex coordinate (X2 of any one vertex correspondence of the video window obtained, Y2), window width W2 and high H2, it must is fulfilled for following condition: X1 <=X2 <=(X1+W1), Y1 <=Y2 <=(Y1+H1), (X2+W2) <=(X1+W1), (Y2+Y2) <=(Y1+Y1);
Character row window is moved to the coordinates regional arranged, and is set to top set and shows.
Preferably, also include:
When receiving video window and moving scaling message, resolve described mobile scaling message and obtain the second area of video window, described second area at least includes: with the apex coordinate (X3, Y3) of any one vertex correspondence of the video window obtained, window width W3 and high H3;
Calculating the changes in coordinates value of video window first area and second area, described changes in coordinates value includes: window width changing value W3/W1, window High variation value H3/H1;
According to the mapping relations of video window Yu character shape window, search the character shape window corresponding with video window;
The coordinates regional of the character shape window of described lookup is adjusted according to described changes in coordinates value, including:
When the coordinates regional of the corresponding character shape window searched is the apex coordinate (X2 corresponding with any one vertex position of video window, Y2), during window width W2 and high H2, corresponding apex coordinate (the X4 of the character shape window after adjustment, Y4), window width W4 and high H4 meets following condition: X3 <=X4 <=(X3+W3) respectively, Y3 <=Y4 <=(Y3+H3), W4/W2=W3/W1, H4/H2=H3/H1.
Preferably, also include:
When receiving closedown video window message, by the mapping relations of video window Yu character shape window, find the character shape window corresponding with video window;
Close video window and corresponding character shape window.
Present invention also provides a kind of combination video window subtitling display equipment, including:
Acquisition module, for obtaining video window information from current control server, described video window information at least includes: any one apex coordinate of window (X1, Y1), window width W1 and high H1, window signal source name;
Determine module, for determining that window area is as first area according to any one apex coordinate of video window obtained and window width and height;
Generation module, for generating a character shape window according to the window signal source name obtained
Display module, for showing described character shape window in described first area.
Preferably, described generation module includes:
Set up submodule, for creating a square window object, and described square window and described video window formation mapping relations are set;
Rendering submodule, for drawing the window signal source name of acquisition in the device context of the square window object of described establishment;
Submodule is set, for obtaining the character shape region of the signal source name of drafting, the type of described square window is set to character shape window.
Preferably, described display module includes:
Region submodule, for arranging the coordinates regional of described character shape window: with the vertex position coordinate (X2 of any one vertex correspondence of the video window obtained, Y2), window width W2 and high H2, it must is fulfilled for following condition: X1 <=X2 <=(X1+W1), Y1 <=Y2 <=(Y1+H1), (X2+W2) <=(X1+W1), (Y2+Y2) <=(Y1+Y1);
Mover module, for character row window moves to the coordinates regional position arranged, is set to top set and shows.
Preferably, also include:
Parsing module, for when receiving video window and moving scaling message, resolve described mobile scaling message and obtain the second area of video window, described second area at least includes: with the apex coordinate (X3 of any one vertex correspondence of the video window obtained, Y3), window width W3 and high H3;
Computing module, for calculating the changes in coordinates value of video window first area and second area, described changes in coordinates value includes: window width changing value W3/W1, window High variation value H3/H1;
Search module one, for the mapping relations according to video window Yu character shape window, search the character shape window corresponding with video window;
Adjusting module, for adjusting the coordinates regional of the character shape window of described lookup according to described changes in coordinates value, and character shape window is moved to the coordinates regional position after adjusting, including: when the coordinates regional of the corresponding character shape window searched is the apex coordinate (X2 corresponding with any one vertex position of video window, Y2), during window width W2 and high H2, corresponding apex coordinate (the X4 of the character shape window after adjustment, Y4), window width W4 and high H4 meets following condition: X3 <=X4 <=(X3+W3) respectively, Y3 <=Y4 <=(Y3+H3), W4/W2=W3/W1, H4/H2=H3/H1.
Preferably, also include:
Search module two, for when receiving closedown video window message, by the mapping relations of video window Yu character shape window, finding the character shape window corresponding with video window;
Close module, for closing video window and corresponding character shape window.
As can be seen from the above-described embodiment, obtaining video window information from current control server, described video window information at least includes: any one apex coordinate of window (X1, Y1), window width W1 and high H1, window signal source name;Determine that window area is as first area according to any one apex coordinate of video window obtained and window width and height;A character shape window is generated according to the window signal source name obtained;Described character shape window is shown in described first area.So process, it is possible to determine caption information for video window, and on video window, caption information is shown by character shape window.The method without existing hardware is modified, simple and convenient can be widely used.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in describing below is only some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the method flow diagram of a kind of combination video window caption presentation method that the embodiment of the present application one discloses;
Fig. 2 is the method flow diagram of a kind of combination video window caption presentation method that the embodiment of the present application two discloses;
Fig. 3 is a kind of method flow diagram creating character type window that the embodiment of the present application two discloses;
Fig. 4 is the structure drawing of device of a kind of combination video window subtitling display equipment that the embodiment of the present application three discloses;
Fig. 5 is the structure drawing of device of a kind of combination video window subtitling display equipment that the embodiment of the present application four discloses.
Detailed description of the invention
Understandable for enabling the above-mentioned purpose of the present invention, feature and advantage to become apparent from, below in conjunction with the accompanying drawings the embodiment of the present invention is described in detail.
Embodiment one
Referring to Fig. 1, it is the method flow diagram of a kind of combination video window caption presentation method that the embodiment of the present application one discloses, and the method comprises the following steps:
Step 101: obtaining video window information from current control server, described video window information at least includes: any one apex coordinate of window (X1, Y1), window width W1 and high H1, window signal source name;
Generally, various video signals being shown, the whole processing procedure on combination is: by the control service centre of a combination in the display system of combination, sending and window instruction and send the video window information of the video signal that will export, it is to open video window that what is called is windowed;After receiving window instruction and video window information, the video signal that will export received is processed by combination processor, and is showing this video window according in video window information defined location.Most often applied video window shape is rectangle, i.e. each video window has four apex coordinates, be may determine that the particular location of video window by four vertex positions;Simultaneously, apex coordinate attribute properties according to rectangle: know wherein any one apex coordinate, rectangle width and the height in four summits of rectangle, i.e. can determine that other three apex coordinates, the coordinate-system of display screen just can correctly be determined the position of this video window.
Certainly, video window shape is square or rectangle, it is also possible to go to determine other vertex point coordinate information by the information of any one apex coordinate, height and width, so that it is determined that the position of video window.
Such as: current video signal wants output display, control service centre will send and perform the instruction message that transmission is relevant with the video window of required output simultaneously of windowing, this message at least includes: any one vertex point coordinate information of window, window width and high, window signal source name.Wherein, window signal source name is the caption information according to the video signal being configured needed for practical situation or user.When any one summit is lower left corner coordinate (X1, Y1), window width W1 and high H1, can calculate top left corner apex coordinate is (X1, Y1+H1), lower right corner apex coordinate is (X1+W1, Y1), upper right corner apex coordinate (X1+W1, Y1+H1).
Step 102: determine that window area is as first area according to any one apex coordinate of video window obtained and window width and height;
Such as: when the video window information obtained is: lower left corner coordinate (X1, Y1), window width W1 and high H1, can calculate top left corner apex coordinate by rectangular coordinates character is (X1, Y1+H1), lower right corner apex coordinate is (X1+W1, Y1), upper right corner apex coordinate (X1+W1, Y1+H1).The coordinates regional scope determined by these four summits is just as first area.
Such as: when the video window information obtained is: top left co-ordinate (X1, Y1), window width W1 and high H1, can calculate lower left corner apex coordinate by rectangular coordinates character is (X1, Y1-H1), lower right corner apex coordinate is (X1+W1, Y1-H1), upper right corner apex coordinate (X1+W1, Y1).The coordinates regional scope determined by these four summits is just as first area.
Utilize rectangular coordinates character to determine the coordinate on other summits by any one summit, height and width, have multiple implementation, numerous to list herein, also and be not specifically limited.
Step 103: generate a character shape window according to the window signal source name obtained;
Such as: video signal source is the outdoor scene information of Olympic Green, the window signal parent name in the video window information of acquisition is referred to as " Olympic Green ", will generate character to be shown in this window of character shape window for " Olympic Green ".
Step 104: described character shape window is shown in described first area.
Such as: the described character shape window " Olympic Green " generated is shown among first area.Be shown that the realistic picture of Olympic Green in first area, then what character shape window showed is exactly the caption information of this realistic picture.In actual applications, known what content that video information is specifically shown the most intuitively by caption information, preferably experience can be brought to user.
By above-described embodiment: obtain video window information from current control server;Determine that window area is as first area according to any one apex coordinate of video window obtained and window width and height;A character shape window is generated according to the window signal source name obtained;Described character shape window is shown in described first area.For there is no the video information of caption information when display, the caption information of this video information can be shown by this processing method when showing video information simultaneously, provide the user preferably experience.
Embodiment two
The method of the present invention must be explained in order to more preferable, it is described as a example by concrete application scenarios below, concrete scene is: having its signal source of video information is the geographical position image information near National Convention Center, but this video information does not has caption information, in order to make user more clearly know, on combination, the image information of display is any content, use each step in a kind of combination video window caption presentation method as shown in Figure 2, while realizing display video image information, show the caption information of this video.Specifically include following steps:
Step 201: obtaining video window information from current control server, described video window information at least includes: any one apex coordinate of window (X1, Y1), window width W1 and high H1, window signal source name;
Have a combination to control service centre in the display system of combination to show for the video controlling whole system, when combination control service centre receive the message being currently needed for showing a video information time, carry out instruction of windowing, transmission is currently needed for the video window information of the video information of display simultaneously, such as: having its signal source of video information is the geographical position image information near National Convention Center, but this video information does not has caption information.Include in the video window information sent: any one apex coordinate of window (X1, Y1), window width W1 and high H1, window signal source name;Wherein, any one apex coordinate is that lower left corner coordinate (1000,1000), window be a width of 3000, window a height of 2000, and window signal parent name is referred to as " National Convention Center ", and this window signal source name can be to pre-set according to the actual requirements.
Step 202: determine that window area is as first area according to any one apex coordinate of video window obtained and window width and height;
Such as: window shape is rectangle, any one apex coordinate obtained in video window information is lower left corner coordinate (1000,1000), window is a width of 3000, window a height of 2000, can calculate top left corner apex coordinate by rectangular coordinates character is (1000,1000+2000), lower right corner apex coordinate is (1000+3000,1000), upper right corner apex coordinate (1000+3000,1000+2000).The coordinates regional scope determined by these four summits is just as first area.
Certainly, if obtain video window information in summit, the Shi Fei lower left corner, any one summit time, by the coordinate relation on four summits of rectangle, equally determine other apex coordinates, and then determine that the region of video window is as first area.
Step 203: generate a character shape window according to the window signal source name obtained;
Preferably, step 203 includes: step 203A~tri-little steps of 203C, the method for establishment character shape window the most as shown in Figure 3.
Step 203A: create a square window object, and described square window and described video window formation mapping relations are set;
The home window that system provides in actual applications is square window, so first creating a square window, and arranging this square window and video window formation mapping relations, so-called mapping relations refer to corresponding relation, that is, this square window and video window are one-to-one relationships.Each window in systems has a window ID in order to identify this window, and the window ID of each window is unique.That is, reality application is exactly to form mapping relations one to one between the window ID of this square window and the window ID of corresponding video window.By the mapping relations formed, if it is known that the ID of a window just can utilize mapping relationship searching to go out the window ID of another window corresponding.
Step 203B: draw the window signal source name of acquisition in the device context of the square window object of described establishment;
Each window in systems has a device context region, associative operation can be carried out in this device context region, step 203B is only drawn in device context window signal source name.When drawing window signal source name, required font type and font size can be set, such as could be arranged to the Song typeface five or regular script three.A kind of font type and size are the most arbitrarily set.
Step 203C: obtain the character shape region of the signal source name drawn, the type of described square window is set to character shape window;
After drawing window signal source name in the device context region of square window, signal source name is to exist with character style, it is possible to obtains the character shape region that this window signal source name takies, then the type of square window is set to character shape window.
Step 204: described character shape window is shown in described first area.
Preferably, step 204 includes: step 204A and step 204B,
Step 204A: the coordinates regional of described character shape window is set: with the apex coordinate (X2 of any one vertex correspondence of the video window obtained, Y2), window width W2 and high H2, it must is fulfilled for following condition: X1 <=X2 <=(X1+W1), Y1 <=Y2 <=(Y1+H1), (X2+W2) <=(X1+W1), (Y2+Y2) <=(Y1+Y1);
Such as: when the coordinate range of the first area determined is: lower left corner coordinate (1000,1000), top left corner apex coordinate is (1000,3000), lower right corner apex coordinate is (4000,1000) and upper right corner apex coordinate (4000,3000).Then according to the mode of step 204A, the coordinates regional of character shape window can be set in the range of first area.It is of course also possible to adopt in other ways, as long as the coordinates regional being capable of character shape window falls within the range of first area.
Step 204B: character shape window is moved to the coordinates regional arranged, and is set to top set and shows.
Such as: when the coordinates regional of the character shape window arranged is: top left co-ordinate (2000,2500) lower left corner coordinate (2000,1500), upper right corner coordinate (3000,2500), lower right corner coordinate (3000,1500) time, this window is moved to coordinates regional, is then set to top set and shows.
When moving video window or scaling process, the method also includes that following mobile Zoom display processing method, in order to the character shape window of video window and its correspondence to be adjusted display, specifically includes following steps:
Step 205: when receiving video window and moving scaling message, resolve described mobile scaling message and obtain the second area of video window, described second area at least includes: with the apex coordinate (X3 of any one vertex correspondence of the video window obtained, Y3), window width W3 and high H3;
Generally, usually operate or scaling mobile at needs etc. for convenience when processing, it is provided that window information in window summit with mobile before the window summit of offer be same summit.Such as: any one summit of the video window needing display of acquisition is specially top left corner apex, then the apex coordinate of the second area that the needs being resolved to move to also is the apex coordinate in the upper left corner.Certainly provided that be the coordinate information on other summits, be also the coordinate being readily able to calculate other summits.Such as: the second area of acquisition includes: lower left corner coordinate is that (2000,2000), window be a width of 6000, window a height of 4000.
Step 206: calculating the changes in coordinates value of video window first area and second area, described changes in coordinates value includes: window width changing value W3/W1, window High variation value H3/H1;
Video window first area refers to that video window moves or scale the band of position before process, video window second area refers to that video window moves or scale the band of position after process, is calculated the change in location value of the coordinate position of first area and the coordinate position of second area by the coordinate position of corresponding vertex.
Calculate according to the second area coordinate obtained and first area coordinate before: window width changing value is W3/W1=6000/3000=2, window High variation value H3/H1=4000/2000=2.
Step 207: according to the mapping relations of video window Yu character shape window, search the character shape window corresponding with video window;
In order to set up corresponding caption window, in step 203A to the video signal not having captions: create a square window object, and arrange described square window and described video window formation mapping relations;Described square window is exactly the character shape window determined afterwards.So, mapping relations according to video window Yu character shape window, search the character shape window corresponding with video window, may is that the mapping relations between the window ID of the window ID by video window and character shape window in actual applications, mapping relations are one to one between element, so when knowing the window ID of video window, it is possible to utilize mapping relationship searching to go out the window ID of corresponding character shape.
Step 208: adjust the coordinates regional of the character shape window of described lookup according to described changes in coordinates value, and character shape window is moved to the coordinates regional position after adjusting, including:
When the coordinates regional of the corresponding character shape window searched is the apex coordinate (X2 corresponding with any one vertex position of video window, Y2), during window width W2 and high H2, corresponding apex coordinate (the X4 of the character shape window after adjustment, Y4), window width W4 and high H4 meets following condition: X3 <=X4 <=(X3+W3) respectively, Y3 <=Y4 <=(Y3+H3), W4/W2=W3/W1, H4/H2=W3/W1.
nullWhen the coordinates regional of the corresponding character window searched is: top left co-ordinate (2000,2500) lower left corner coordinate (2000,1500)、Upper right corner coordinate (3000,2500)、Lower right corner coordinate (3000,1500),I.e.,Window a height of 1000,Window a width of 1000、When calculating W3/W1=6000/3000=2、Window High variation value H3/H1=4000/2000=2,Corresponding apex coordinate (the X4 of the character shape window after adjustment,Y4),Window width W4 and high H4 meets following condition: 2000 <=X4 <=(2000+6000) respectively,2000 <=Y4 <=(2000+4000),W4/1000=2,H4/1000=2.Understand: 2000 <=X4 <=8000,2000 <=Y4 <=6000), W4=2000, H4=2000.Processed by calculating and can ensure that caption window change keeps consistent with the change of corresponding video window, zoom in or out into same ratio change, ensure that caption window shows within video window simultaneously.Above-mentioned only a kind of calculation, to determine the excursion of caption window, does not limit concrete calculation at this.
So that caption window is all the time in the relatively fixed position of video window, such as, before mobile change, caption window is at the lower right position of video window, after mobile change, caption window is also at the lower right position of video window, so that the mobile adjustment on window operates the relative position relation not affecting caption window with video window, preferably, step 208: adjust the coordinates regional of the character shape window of described lookup according to described changes in coordinates value, and character shape window is moved to the coordinates regional position after adjusting, including:
When the coordinates regional of the corresponding character type window searched is lower left corner coordinate (X2, Y2), during window width W2 and high H2, the coordinates regional of the character type window after adjustment is lower left corner coordinate (X4, Y4), window width W4 and high H4 meets following condition respectively:
(X2-X1)/W1=(X4-X3)/W2, (Y2-Y1)/H1=(Y4-Y3)/H2, W4/W2=W3/W1, H4/H2=H3/H1.
After calculating changes in coordinates value, the coordinates regional of the character shape window corresponding with video window can be adjusted according to changes in coordinates value, make the change of video window keep consistent with the change of character shape window.Such as: when video window reduces one times, and character shape window reduces one times the most therewith;Putting when video window and be twice, character shape window is put the most therewith and is twice.In a word, character shape window changes along with the change of corresponding video window.Behind character shape window coordinates region after determining adjustment, character shape window is moved on the coordinates regional position after adjusting.
When needing the character shape close by the video window shown and correspondence thereof, preferably, described method also includes: when receiving closedown video window message, by the mapping relations of video window Yu character shape window, find the character shape window corresponding with video window;Close video window and corresponding character shape window.
When needing the character shape close by the video window shown and correspondence thereof, control service centre and can send the instruction closing video window, explicitly point out the window ID of the video window needing closedown, then by the mapping relations of the ID of video window with the window ID of character shape window, find the character shape window corresponding with video window, finally close video window and corresponding character shape window.
By above-described embodiment it can be seen that utilize the method for the present invention to be possible not only to when being displayed without the video information of caption information, there is provided character shape window in order to show caption information for this video window, can also be when adjusting video window, corresponding adjustment corresponding character shape window, make whole display window synchronize change, provide the user the display of more preferable combination video and experience.
Embodiment three
Referring to Fig. 4, it is the structure drawing of device of a kind of combination video window subtitling display equipment that the embodiment of the present application three discloses, and this device includes: acquisition module 301, determine module 302, generation module 303 and display module 304.Operation principle below in conjunction with this device is further described its internal structure and annexation.
Acquisition module 301, for obtaining video window information from current control server, described video window information at least includes: any one apex coordinate of window (X1, Y1), window width W1 and high H1, window signal source name;
Determine module 302, for determining that window area is as first area according to any one apex coordinate of video window obtained and window width and height;
Generation module 303, for generating a character shape window according to the window signal source name obtained
Display module 304, for showing described character shape window in described first area.
Preferably, described generation module 303 includes: sets up submodule, rendering submodule and arranges submodule.Wherein, set up submodule, for creating a square window object, and described square window and described video window formation mapping relations are set;
Rendering submodule, for drawing the window signal source name of acquisition in the device context of the square window object of described establishment;
Submodule is set, for obtaining the character shape region of the signal source name of drafting, the type of described square window is set to character shape window.
Preferably, described display module 304 includes: region submodule and mover module, wherein, region submodule, for arranging the coordinates regional of described character shape window: with the vertex position coordinate (X2 of any one vertex correspondence of the video window obtained, Y2), window width W2 and high H2, it must is fulfilled for following condition: X1 <=X2 <=(X1+W1), Y1 <=Y2 <=(Y1+H1), (X2+W2) <=(X1+W1), (Y2+H2) <=(Y1+H1);
Mover module, for character row window moves to the coordinates regional position arranged, is set to top set and shows.
Can be seen that according to above-described embodiment, when the device that the present invention provides is capable of showing the video information not having caption information on combination, there is provided a character shape window in order to show the caption information corresponding with video information, need not the video decoder of complexity, save display cost, it is also possible to provide the user and preferably experience.
Embodiment four
Refer to Fig. 5, it is the structure drawing of device of another kind of combination video window subtitling display equipment that the embodiment of the present application four discloses, and this device includes: acquisition module 401, determines module 402, generation module 403, display module 404, parsing module 405, computing module 406, search module 1, adjusting module 408.Operation principle below in conjunction with this device is further described its internal structure and annexation.
Acquisition module 401, for obtaining video window information from current control server, described video window information at least includes: any one apex coordinate of window (X1, Y1), window width W1 and high H1, window signal source name;
Determine module 402, for determining that window area is as first area according to any one apex coordinate of video window obtained and window width and height;
Generation module 403, for generating a character shape window according to the window signal source name obtained
Display module 404, for showing described character shape window in described first area.
Parsing module 405, for when receiving video window and moving scaling message, resolve described mobile scaling message and obtain the second area of video window, described second area at least includes: with the apex coordinate (X3 of any one vertex correspondence of the video window obtained, Y3), window width W3 and high H3;
Computing module 406, for calculating the changes in coordinates value of video window first area and second area, described changes in coordinates value includes: window width changing value W3/W1, window High variation value H3/H1;
Search module 1, for the mapping relations according to video window Yu character shape window, search the character shape window corresponding with video window;
Adjusting module 408, for adjusting the coordinates regional of the character shape window of described lookup according to described changes in coordinates value, and character shape window is moved to the coordinates regional position after adjusting, including: when the coordinates regional of the corresponding character shape window searched is the apex coordinate (X2 corresponding with any one vertex position of video window, Y2), during window width W2 and high H2, corresponding apex coordinate (the X4 of the character shape window after adjustment, Y4), window width W4 and high H4 meets following condition: X3 <=X4 <=(X3+W3) respectively, Y3 <=Y4 <=(Y3+H3), W4/W2=W3/W1, H4/H2=H3/H1.
Preferably, described generation module includes: sets up submodule, rendering submodule and arranges submodule
Set up submodule, for creating a square window object, and described square window and described video window formation mapping relations are set;
Rendering submodule, for drawing the window signal source name of acquisition in the device context of the square window object of described establishment;
Submodule is set, for obtaining the character shape region of the signal source name of drafting, the type of described square window is set to character shape window.
Preferably, described display module includes: region submodule and mover module
Region submodule, for arranging the coordinates regional of described character shape window: with the vertex position coordinate (X2 of any one vertex correspondence of the video window obtained, Y2), window width W2 and high H2, it must is fulfilled for following condition: X1 <=X2 <=(X1+W1), Y1 <=Y2 <=(Y1+H1), (X2+W2) <=(X1+W1), (Y2+H2) <=(Y1+H1);
Mover module, for character shape window moves to the coordinates regional position arranged, is set to top set and shows.
Preferably, when video window closed by needs, described device also includes: searches module two and closes module, wherein, search module two, for when receiving closedown video window message, by the mapping relations of video window Yu character shape window, find the character shape window corresponding with video window;Close module, for closing video window and corresponding character shape window.
By above-described embodiment provides a kind of combination video window subtitling display equipment, to there is no the video signal source of caption information when showing image, the caption information of this video signal source can be edited according to the actual requirements and show, reduce the cost of display device, improve the experience of user simultaneously.
Above a kind of combination video window caption presentation method provided by the present invention and device are described in detail, principle and the embodiment of the present invention are set forth by specific embodiment used herein, and the explanation of above example is only intended to help to understand method and the core concept thereof of the present invention;Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, the most all will change, in sum, this specification content should not be construed as limitation of the present invention.

Claims (8)

1. a combination video window caption presentation method, it is characterised in that including:
Obtaining video window information from current control server, described video window information at least includes: Any one apex coordinate of window (X1, Y1), window width W1 and high H1, window signal source name;
Window area conduct is determined according to any one apex coordinate of video window obtained and window width and height First area;
A character shape window is generated according to the window signal source name obtained, including:
Create a square window object, and described square window and described video window are set Form mapping relations;
The window of acquisition is drawn in the device context of the square window object of described establishment Signal source name;
Obtain the character shape region of the signal source name drawn, by the type of described square window It is set to character shape window;
Described character shape window is shown in described first area.
Method the most according to claim 1, it is characterised in that described by described character shape window Show in described first area, including:
The coordinates regional of described character shape window is set: with any one summit pair of the video window obtained The apex coordinate (X2, Y2) answered, window width W2 and high H2, it is necessary to meet following condition:
X1≤X2≤(X1+W1), Y1≤Y2≤(Y1+H1), (X2+W2)≤(X1+W1), (Y2+H2)≤(Y1+H1);
Character row window is moved to the coordinates regional arranged, and is set to top set and shows.
Method the most according to claim 1 and 2, it is characterised in that also include:
When receiving video window and moving scaling message, resolve described mobile scaling message and obtain video window The second area of mouth, described second area at least includes: with any one summit of the video window obtained Corresponding apex coordinate (X3, Y3), window width W3 and high H3;
Calculating the changes in coordinates value of video window first area and second area, described changes in coordinates value includes: Window width changing value W3/W1, window High variation value H3/H1;
According to the mapping relations of video window Yu character shape window, search the character shape corresponding with video window Window;
The coordinates regional of the character shape window of described lookup is adjusted according to described changes in coordinates value, including:
When the coordinates regional of the corresponding character shape window searched is and any one vertex position of video window Corresponding apex coordinate (X2, Y2), during window width W2 and high H2, the character shape window after adjustment right The apex coordinate (X4, Y4) answered, window width W4 and high H4 meets following condition respectively: X3≤X4≤(X3+W3), Y3≤Y4≤(Y3+H3), W4/W2=W3/W1, H4/H2=H3/H1.
Method the most according to claim 1 and 2, it is characterised in that also include:
When receiving closedown video window message, by the mapping relations of video window Yu character shape window, Find the character shape window corresponding with video window;
Close video window and corresponding character shape window.
5. a combination video window subtitling display equipment, it is characterised in that including:
Acquisition module, for obtaining video window information, described video window from current control server Message breath at least includes: any one apex coordinate of window (X1, Y1), window width W1 and high H1, window Mouth signal source name;
Determine module, for true according to any one apex coordinate of video window obtained and window width and height Determine window area as first area;
Generation module, for generating a character shape window according to the window signal source name obtained;
Described generation module includes:
Set up submodule, for creating a square window object, and described square window is set Mouth forms mapping relations with described video window;
Rendering submodule, in the device context of the square window object of described establishment Draw the window signal source name obtained;
Submodule is set, for obtaining the character shape region of the signal source name of drafting, by institute The type stating square window is set to character shape window;
Display module, for showing described character shape window in described first area.
Device the most according to claim 5, it is characterised in that described display module includes:
Region submodule, for arranging the coordinates regional of described character shape window: with the video window obtained The vertex position coordinate (X2, Y2) of any one vertex correspondence, window width W2 and high H2, it is necessary to full Be enough to lower condition: X1≤X2≤(X1+W1), Y1≤Y2≤(Y1+H1), (X2+W2)≤(X1+W1), (Y2+H2)≤(Y1+H1);
Mover module, for character row window moves to the coordinates regional position arranged, is set to put Top display.
7. according to the device described in claim 5 or 6, it is characterised in that also include:
Parsing module, for when receiving video window and moving scaling message, resolves described mobile scaling Message obtains the second area of video window, and described second area at least includes: with the video window obtained The apex coordinate (X3, Y3) of any one vertex correspondence, window width W3 and high H3;
Computing module, for calculating the changes in coordinates value of video window first area and second area, described Changes in coordinates value includes: window width changing value W3/W1, window High variation value H3/H1;
Search module one, for the mapping relations according to video window Yu character shape window, search and video The character shape window that window is corresponding;
Adjusting module, for adjusting the coordinate of the character shape window of described lookup according to described changes in coordinates value Region, and character shape window is moved to the coordinates regional position after adjusting, including: when the correspondence searched The coordinates regional of character shape window be the apex coordinate corresponding with any one vertex position of video window (X2, Y2), during window width W2 and high H2, the corresponding apex coordinate of the character shape window after adjustment (X4, Y4), window width W4 and high H4 meets following condition: X3≤X4≤(X3+W3) respectively, Y3≤Y4≤(Y3+H3), W4/W2=W3/W1, H4/H2=H3/H1.
8. according to the device described in claim 5 or 6, it is characterised in that also include:
Search module two, for when receiving closedown video window message, by video window and character The mapping relations of shape window, find the character shape window corresponding with video window;
Close module, for closing video window and corresponding character shape window.
CN201310116844.8A 2013-04-03 2013-04-03 A kind of combination video window caption presentation method and device Expired - Fee Related CN103237179B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310116844.8A CN103237179B (en) 2013-04-03 2013-04-03 A kind of combination video window caption presentation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310116844.8A CN103237179B (en) 2013-04-03 2013-04-03 A kind of combination video window caption presentation method and device

Publications (2)

Publication Number Publication Date
CN103237179A CN103237179A (en) 2013-08-07
CN103237179B true CN103237179B (en) 2016-09-28

Family

ID=48885193

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310116844.8A Expired - Fee Related CN103237179B (en) 2013-04-03 2013-04-03 A kind of combination video window caption presentation method and device

Country Status (1)

Country Link
CN (1) CN103237179B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103679637B (en) * 2013-12-23 2017-06-13 广东威创视讯科技股份有限公司 Display unit coordinate method to set up and device based on spliced display wall signal window
CN104363521B (en) * 2014-11-03 2018-08-14 传线网络科技(上海)有限公司 A kind of method and system realized double screen or multi-screen splicing and shown
CN107621932B (en) * 2017-09-25 2020-05-12 威创集团股份有限公司 Local amplification method and device for display image
CN109976601B (en) * 2017-12-27 2021-07-30 深圳市巨烽显示科技有限公司 Common screen display window segmentation method and system
CN110895457B (en) * 2018-09-13 2024-02-02 浙江宇视科技有限公司 Character display method and device and electronic equipment
CN111198734B (en) * 2018-11-20 2024-03-15 西安诺瓦星云科技股份有限公司 Window setting method and device, electronic equipment and nonvolatile storage medium
CN109274904A (en) * 2018-11-23 2019-01-25 威创集团股份有限公司 A kind of combination caption signal method for previewing, server-side and system
CN111741346A (en) * 2019-03-20 2020-10-02 杭州海康威视数字技术股份有限公司 Character superposition method and device, electronic equipment and computer readable storage medium
CN111831245B (en) * 2020-07-14 2021-09-24 北京仁光科技有限公司 Windowing control method and device in display control system and storage medium
CN116343657B (en) * 2023-03-28 2024-05-03 广东保伦电子股份有限公司 Display method and device suitable for large-screen windowing

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222595A (en) * 2007-01-09 2008-07-16 索尼株式会社 Information processing apparatus, information processing method, and program
CN101237543A (en) * 2008-03-03 2008-08-06 晨星半导体股份有限公司 Setting method for caption window attribute and related TV system
CN101778238A (en) * 2009-01-12 2010-07-14 晨星软件研发(深圳)有限公司 Subtitle window display device and display method thereof
CN102487393A (en) * 2010-12-01 2012-06-06 深圳市同洲软件有限公司 Method and system for interaction between digital television receiving terminal and mobile terminal, and apparatuses
CN102708774A (en) * 2012-04-19 2012-10-03 广东威创视讯科技股份有限公司 Display method of character strings and system thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7414698B2 (en) * 2006-03-15 2008-08-19 James Cashin Captioning system and method
CN102131122B (en) * 2011-01-21 2012-08-15 四川长虹电器股份有限公司 Method for digital television to display advertisement in play state
CN102316277B (en) * 2011-09-06 2014-10-29 Tcl新技术(惠州)有限公司 Caption system and implement method thereof
CN102420968A (en) * 2011-12-15 2012-04-18 广东威创视讯科技股份有限公司 Method and system for displaying video windows in video conference

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222595A (en) * 2007-01-09 2008-07-16 索尼株式会社 Information processing apparatus, information processing method, and program
CN101237543A (en) * 2008-03-03 2008-08-06 晨星半导体股份有限公司 Setting method for caption window attribute and related TV system
CN101778238A (en) * 2009-01-12 2010-07-14 晨星软件研发(深圳)有限公司 Subtitle window display device and display method thereof
CN102487393A (en) * 2010-12-01 2012-06-06 深圳市同洲软件有限公司 Method and system for interaction between digital television receiving terminal and mobile terminal, and apparatuses
CN102708774A (en) * 2012-04-19 2012-10-03 广东威创视讯科技股份有限公司 Display method of character strings and system thereof

Also Published As

Publication number Publication date
CN103237179A (en) 2013-08-07

Similar Documents

Publication Publication Date Title
CN103237179B (en) A kind of combination video window caption presentation method and device
WO2017148294A1 (en) Mobile terminal-based apparatus control method, device, and mobile terminal
US20140173516A1 (en) Display apparatus and method of providing user interface thereof
CN109831662B (en) Real-time picture projection method and device of AR (augmented reality) glasses screen, controller and medium
US20140281896A1 (en) Screencasting for multi-screen applications
CN103248941B (en) A kind of method of multi-channel video source simultaneous display and device
EP2821915A2 (en) Method and apparatus for controlling display of shared screen
CN110770785B (en) Screen sharing for display in VR
CN112181342A (en) Display method, display device, electronic apparatus, and storage medium
KR20160019693A (en) User terminal apparatus, display apparatus, system and control method thereof
US10504258B2 (en) Information processing device editing map acquired from server
CN204390222U (en) A kind of equipment room is to the system of display information split screen display
CN104536714A (en) Method and system for split screen display of display information in equipment room
US20120301030A1 (en) Image processing apparatus, image processing method and recording medium
KR20160060846A (en) A display apparatus and a display method
WO2020001384A1 (en) Display control adjusting method and device, and terminal and computer readable storage medium
KR20170006203A (en) Electronic device and method thereof for providing information associated with news content
KR20160104022A (en) Methods, systems, and media for remote rendering of web content on a television device
US10120637B2 (en) Mirror display system having low data traffic and method thereof
US20170269895A1 (en) Efficient communication interface for casting interactively controlled visual content
KR101708648B1 (en) Apparatus for displaying image and method for operating the same
CN102932607B (en) Caption graphics and text information generation method and device
KR20170014589A (en) User terminal apparatus for providing translation service and control method thereof
US20170068502A1 (en) Display apparatus and method for controlling the display apparatus thereof
US20140189590A1 (en) Display apparatus and method for controlling display apparatus thereof

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
CP03 Change of name, title or address

Address after: Kezhu road high tech Industrial Development Zone, Guangzhou city of Guangdong Province, No. 233 510670

Patentee after: Wei Chong group Limited by Share Ltd

Address before: 510663 Guangzhou province high tech Industrial Development Zone, Guangdong, Cai road, No. 6, No.

Patentee before: Guangdong Weichuangshixun Science and Technology Co., Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160928

Termination date: 20200403

CF01 Termination of patent right due to non-payment of annual fee