CN103237179A - Method and device for displaying tiled wall video window subtitles - Google Patents

Method and device for displaying tiled wall video window subtitles Download PDF

Info

Publication number
CN103237179A
CN103237179A CN2013101168448A CN201310116844A CN103237179A CN 103237179 A CN103237179 A CN 103237179A CN 2013101168448 A CN2013101168448 A CN 2013101168448A CN 201310116844 A CN201310116844 A CN 201310116844A CN 103237179 A CN103237179 A CN 103237179A
Authority
CN
China
Prior art keywords
window
video
character shape
video window
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013101168448A
Other languages
Chinese (zh)
Other versions
CN103237179B (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

Images

Abstract

An embodiment of the invention discloses a method and a device for displaying tiled wall video window subtitles. The method includes: acquiring video window information, which at least includes any one vertex coordinate (X1, Y1) of a window, window width W1, window height H1 and name of a window signal source, from a current control server; determining a window area as a first area according to the acquired any one vertex coordinate of the video window, and widow width and height; generating a character-shaped widow according to the acquired name of the window signal source; and displaying the character-shaped widow in the first area. According to the method and the device, during image displaying of a video signal source without subtitle information, subtitle information of the video signal source can be edited and displayed according to actual demand without modifying hardware device of video, cost is reduced, and user experience is improved.

Description

A kind of combination video window caption presentation method and device
Technical field
The present invention relates to the combination technical field, particularly relate to a kind of combination video window caption presentation method and device.
Background technology
The combination technology is the Display Technique of specialty, and the development form of current large-screen splicing wall video display technology is good, is used widely.For the signal source that caption information is arranged, directly carry out vision signal and handle, on combination, show this signal in the display window.A lot of signal sources do not have caption information in actual applications, caption information is the Word message that signal source name is described, therefore have only image information in the demonstration signal window on the combination, and do not have caption information, this phenomenon has brought inconvenience for user's practical application.
At this signal source that does not have caption information, adopt following processing mode to show at present: at first these data to be carried out the decoding of a frame one frame, obtain the image information of each frame; Obtain the caption information of this data source then from client, this caption information is superimposed upon in the decoded image information, making has had caption information in decoded each frame; Information after will superposeing is at last exported.Processing need be carried out certain modification to original hardware unit like this, makes it have the literal overlaying function.Yet the cost price that hardware unit is revised is too high, is unfavorable for extensive employing.
Summary of the invention
In order to solve the problems of the technologies described above, a kind of combination video window caption presentation method and device are provided in the embodiment of the present application, to the video signal source that do not have caption information when showing image, can edit the caption information of this video signal source according to the actual requirements and show, need not the hardware unit of video is changed, reduce cost.
The embodiment of the invention discloses following technical scheme:
A kind of combination video window caption presentation method comprises:
Obtain video window information from current Control Server, described video window information comprises at least: and any one apex coordinate of window (X1, Y1), the wide W1 of window and high H1, window signal source name;
Determine that according to any one apex coordinate of the video window that obtains and window are wide and high window area is as the first area;
Generate a character shape window according to the window signal source name of obtaining;
Described character shape window is presented in the described first area.
Preferably, the window signal source name obtained of described basis generates a character shape window and comprises:
Create a square window object, and described square window and described video window formation mapping relations are set;
In the device context of the square window object of described establishment, draw the window signal source name of obtaining;
Obtain the character shape zone of the signal source name of drafting, the type of described square window is set to the character shape window.
Preferably, described described character shape window is presented in the described first area, comprises:
The coordinates regional of described character shape window is set: the apex coordinate (X2 corresponding with any one summit of the video window that obtains, Y2), the wide W2 of window and high H2, must meet the following conditions: X1<=X2<=(X1+W1), Y1<=Y2<=(Y1+H1), (X2+W2)<=(X1+W1), (Y2+Y2)<=(Y1+Y1);
The character row window is moved to the coordinates regional of setting, and be set to the top set demonstration.
Preferably, also comprise:
When receiving video window when moving convergent-divergent message, resolve described mobile convergent-divergent message and obtain the second area of video window, described second area comprises at least: and the apex coordinate corresponding with any one summit of the video window that obtains (X3, Y3), the wide W3 of window and high H3;
Calculate the changes in coordinates value of video window first area and second area, described changes in coordinates value comprises: the wide changing value W3/W1 of window, window High variation value H3/H1;
According to the mapping relations of video window and character shape window, search and video window corresponding characters shape window;
Coordinates regional according to the described character shape window of searching of described changes in coordinates value adjustment comprises:
When the coordinates regional of the corresponding characters shape window of searching is the apex coordinate (X2 corresponding with any one vertex position of video window, Y2), when the wide W2 of window and high H2, apex coordinate (the X4 of the correspondence of the character shape window after the adjustment, Y4), the wide W4 of window and high H4 meet the following conditions respectively: X3<=X4<=(X3+W3), Y3<=Y4<=(Y3+H3), W4/W2=W3/W1, H4/H2=H3/H1.
Preferably, also comprise:
When receiving when closing video window message, by the mapping relations of video window and character shape window, find and video window corresponding characters shape window;
Close video window and corresponding characters shape window.
The application also provides a kind of combination video window subtitling display equipment, comprising:
Acquisition module is used for obtaining video window information from current Control Server, and described video window information comprises at least: and any one apex coordinate of window (X1, Y1), the wide W1 of window and high H1, window signal source name;
Determination module is used for according to any one apex coordinate of video window that obtains and the wide and high definite window area of window as the first area;
Generation module is used for generating a character shape window according to the window signal source name of obtaining
Display module is used for described character shape window is presented at described first area.
Preferably, described generation module comprises:
Set up submodule, be used for creating a square window object, and described square window and described video window formation mapping relations are set;
Rendering submodule is used for drawing the window signal source name of obtaining at the device context of the square window object of described establishment;
Submodule is set, and for the character shape zone of the signal source name that obtains drafting, the type of described square window is set to the character shape window.
Preferably, described display module comprises:
The zone submodule, be used for arranging the coordinates regional of described character shape window: the vertex position coordinate (X2 corresponding with any one summit of the video window that obtains, Y2), the wide W2 of window and high H2, must meet the following conditions: X1<=X2<=(X1+W1), Y1<=Y2<=(Y1+H1), (X2+W2)<=(X1+W1), (Y2+Y2)<=(Y1+Y1);
The mover module for the coordinates regional position that the character row window is moved to setting, is set to top set and shows.
Preferably, also comprise:
Parsing module, be used for resolving the second area that described mobile convergent-divergent message is obtained video window when receiving video window when moving convergent-divergent message, described second area comprises at least: the apex coordinate (X3 corresponding with any one summit of the video window that obtains, Y3), the wide W3 of window and high H3;
Computing module, for the changes in coordinates value of calculating video window first area and second area, described changes in coordinates value comprises: the wide changing value W3/W1 of window, window High variation value H3/H1;
Search module one, be used for the mapping relations according to video window and character shape window, search and video window corresponding characters shape window;
Adjusting module, be used for adjusting according to described changes in coordinates value the coordinates regional of the described character shape window of searching, and the character shape window moved to coordinates regional position after the adjustment, comprise: when the coordinates regional of the corresponding characters shape window of searching is the apex coordinate (X2 corresponding with any one vertex position of video window, Y2), when the wide W2 of window and high H2, apex coordinate (the X4 of the correspondence of the character shape window after the adjustment, Y4), the wide W4 of window and high H4 meet the following conditions respectively: X3<=X4<=(X3+W3), Y3<=Y4<=(Y3+H3), W4/W2=W3/W1, H4/H2=H3/H1.
Preferably, also comprise:
Search module two, be used for, finding and video window corresponding characters shape window by the mapping relations of video window and character shape window when receiving when closing video window message;
Closing module is used for closing video window and corresponding characters shape window.
As can be seen from the above-described embodiment, obtain video window information from current Control Server, described video window information comprises at least: and any one apex coordinate of window (X1, Y1), the wide W1 of window and high H1, window signal source name; Determine that according to any one apex coordinate of the video window that obtains and window are wide and high window area is as the first area; Generate a character shape window according to the window signal source name of obtaining; Described character shape window is presented in the described first area.Handle like this, can determine caption information for video window, and caption information be shown on video window by the character shape window.This method need not existing hardware is changed, simple and convenient can extensively the employing.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also 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 of the embodiment of the present application one announcement;
Fig. 2 is the method flow diagram of a kind of combination video window caption presentation method of the embodiment of the present application two announcements;
A kind of method flow diagram of creating the character type window that Fig. 3 discloses for the embodiment of the present application two;
Fig. 4 is the structure drawing of device of a kind of combination video window subtitling display equipment of the embodiment of the present application three announcements;
Fig. 5 is the structure drawing of device of a kind of combination video window subtitling display equipment of the embodiment of the present application four announcements.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with accompanying drawing the embodiment of the invention is described in detail.
Embodiment one
See also Fig. 1, it is the method flow diagram of a kind of combination video window caption presentation method of the embodiment of the present application one announcement, and this method may further comprise the steps:
Step 101: obtain video window information from current Control Server, described video window information comprises at least: and any one apex coordinate of window (X1, Y1), the wide W1 of window and high H1, window signal source name;
Generally speaking, the entire process process that in the display system of combination various vision signals is presented on the combination is: by the control service centre of a combination, the video window information that transmission is windowed and instructed and send the vision signal that is about to output, it is to open video window that what is called is windowed; After receiving window instruction and video window information, the combination processor is handled the vision signal that is about to output that receives, and shows this video window in the position of determining according to video window information.The video window shape of normal application is rectangle, that is, each video window has four apex coordinates, can determine the particular location of video window by four vertex positions; Simultaneously, according to the apex coordinate attribute properties of rectangle as can be known: know wherein any one apex coordinate in four summits of rectangle, rectangle is wide and high, can determine other three apex coordinates, in the coordinate-system of display screen, just can correctly determine the position of this video window.
Certainly, the video window shape is square or rectangle, also can go to determine other apex coordinate information by the information of any one apex coordinate, height and width, thereby determines the position of video window.
Such as: the current video signal will be exported demonstration, control service centre will send and carry out the instruction transmission message relevant with the video window of required output simultaneously of windowing, this message comprises at least: any one apex coordinate information of window, window is wide and high, the window signal source name.Wherein, the window signal source name is the caption information according to actual conditions or the required vision signal that arranges of user.When any one summit be lower left corner coordinate (X1, Y1), the wide W1 of window and high H1, can calculate the top left corner apex coordinate for (X1, Y1+H1), lower right corner apex coordinate be (X1+W1, Y1), upper right corner apex coordinate (X1+W1, Y1+H1).
Step 102: determine that according to any one apex coordinate of the video window that obtains and window are wide and high window area is as the first area;
Such as: when the video window information of obtaining is: lower left corner coordinate (X1, Y1), the wide W1 of window and high H1, can calculate the top left corner apex coordinate by rectangular coordinates character is (X1, Y1+H1), lower right corner apex coordinate be (X1+W1, Y1), upper right corner apex coordinate (X1+W1, Y1+H1).The coordinates regional scope of determining by these four summits is just as the first area.
Such as: when the video window information of obtaining is: upper left corner coordinate (X1, Y1), the wide W1 of window and high H1, can calculate lower left corner apex coordinate by rectangular coordinates character is (X1, Y1-H1), lower right corner apex coordinate be (X1+W1, Y1-H1), upper right corner apex coordinate (X1+W1, Y1).The coordinates regional scope of determining by these four summits is just as the first area.
Utilize rectangular coordinates character to determine the coordinate on other summits multiple implementation is arranged by any one summit, height and width, do not enumerate one by one at this, also do not do concrete restriction.
Step 103: generate a character shape window according to the window signal source name of obtaining;
Such as: video signal source is the outdoor scene information of Olympic Green, and the window signal parent name in the video window information of obtaining is called " Olympic Green ", will generate the character that will show in this window of character shape window and be " Olympic Green ".
Step 104: described character shape window is presented in the described first area.
Such as: the described character shape window " Olympic Green " that will generate is presented among the first area.What show in the first area is the realistic picture of Olympic Green, and what then the character shape window showed is exactly the caption information of this realistic picture.In actual applications, just know concrete what content of showing of video information very intuitively by caption information, can bring better experience to the user.
By above-described embodiment as can be known: from current Control Server, obtain video window information; Determine that according to any one apex coordinate of the video window that obtains and window are wide and high window area is as the first area; Generate a character shape window according to the window signal source name of obtaining; Described character shape window is presented in the described first area.When showing, can show the caption information of this video information when the display video information simultaneously by this processing method, for the user provides better experience at the video information that does not have caption information.
Embodiment two
For better must be to the method for the present invention explanation that makes an explanation, be that example is described with concrete application scenarios below, concrete scene is: it is near the geographical position image information in National Convention Center that its signal source of video information is arranged, but this video information does not have caption information, in order to make the user know clearly that more what content is the image information that shows on the combination be, adopt each step in a kind of combination video window caption presentation method as shown in Figure 2, show the caption information of this video in the time of with realization display video image information.Specifically may further comprise the steps:
Step 201: obtain video window information from current Control Server, described video window information comprises at least: and any one apex coordinate of window (X1, Y1), the wide W1 of window and high H1, window signal source name;
The video that has a combination control service centre to be used for the control whole system in the display system of combination shows, when combination control service centre receives the message of a video information of current needs demonstration, will carry out the instruction of windowing, to send the current video window information that needs the video information of demonstration simultaneously, such as: it is near the geographical position image information in National Convention Center that its signal source of video information is arranged, but this video information does not have caption information.Comprise in the video window information that sends: any one apex coordinate of window (X1, Y1), the wide W1 of window and high H1, window signal source name; Wherein, any one apex coordinate is that lower left corner coordinate (1000,1000), window widely are 3000, the window height is 2000, and the window signal parent name is called " National Convention Center ", and this window signal source name can be to set in advance according to the actual requirements.
Step 202: determine that according to any one apex coordinate of the video window that obtains and window are wide and high window area is as the first area;
Such as: window shape is rectangle, any one apex coordinate that obtains in the video window information is lower left corner coordinate (1000,1000), window is wide is 3000, the window height is 2000, can calculate the 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 of determining by these four summits is just as the first area.
Certainly, if during any one summit, the right and wrong lower left corner, summit in the video window information of obtaining, by the coordinate relation on four summits of rectangle, can determine other apex coordinates equally, and then the zone of determining video window is as the first area.
Step 203: generate a character shape window according to the window signal source name of obtaining;
Preferably, step 203 comprises: step 203A~three little steps of 203C, the method for concrete establishment character shape window 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 provides of system is square window in actual applications, so at first create a square window, and this square window and video window formation mapping relations are set, so-called mapping relations refer to corresponding relation, that is, this square window and video window are one-to-one relationships.Each window in system has a window ID in order to identify this window, and the window ID of each window is unique.That is be exactly to form mapping relations one to one between the window ID of window ID and corresponding video window of this square window in the practical application.By the mapping relations that form, just can utilize mapping relationship searching to go out the window ID of another corresponding with it window if know the ID of a window.
Step 203B: in the device context of the square window object of described establishment, draw the window signal source name of obtaining;
A device description table section is arranged in each window in system, can in this device description table section, carry out associative operation, in step 203B, only in device context, draw the window signal source name.When drawing the window signal source name, required font type and font size can be set, such as being set to No. three, No. five, the Song typeface or regular script.A kind of font type and size are set arbitrarily according to the actual requirements.
Step 203C: obtain the character shape zone of the signal source name of drafting, the type of described square window is set to the character shape window;
Draw after the window signal source name in the device description table section of square window, signal source name is to exist with character style, just can obtain the character shape zone that this window signal source name takies, and the type of square window is set to the character shape window then.
Step 204: described character shape window is presented in the described first area.
Preferably, step 204 comprises: step 204A and step 204B,
Step 204A: the coordinates regional that described character shape window is set: the apex coordinate (X2 corresponding with any one summit of the video window that obtains, Y2), the wide W2 of window and high H2, must meet the following conditions: X1<=X2<=(X1+W1), Y1<=Y2<=(Y1+H1), (X2+W2)<=(X1+W1), (Y2+Y2)<=(Y1+Y1);
Such as: the coordinate range when the first area of determining is: lower left corner coordinate (1000,1000), top left corner apex coordinate are that (1000,3000), lower right corner apex coordinate are (4000,1000) and upper right corner apex coordinate (4000,3000).Then the mode according to step 204A can arrange the coordinates regional of character shape window in the scope of first area.Certainly, also can adopt other modes, fall within the scope of first area as long as can realize the coordinates regional of character shape window.
Step 204B: the character shape window is moved to the coordinates regional of setting, and be set to the top set demonstration.
Such as: when the coordinates regional of the character shape window that arranges is: upper left corner coordinate (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, be set to top set then and show.
When video window being moved or convergent-divergent when handling, this method also comprise following mobile convergent-divergent display processing method in order to video window with and corresponding characters shape window adjust demonstration, specifically may further comprise the steps:
Step 205: when receiving video window when moving convergent-divergent message, resolve described mobile convergent-divergent message and obtain the second area of video window, described second area comprises at least: and the apex coordinate corresponding with any one summit of the video window that obtains (X3, Y3), the wide W3 of window and high H3;
Generally speaking, operation is for convenience usually moved or convergent-divergent etc. when handling at needs, and the window summit in the window information that provides is same summit with the window summit that provides before mobile.Such as: any one summit of the video window that the needs that obtain show is specially top left corner apex, and the apex coordinate of the second area that the needs that then are resolved to move to also is the apex coordinate in the upper left corner.If provide the coordinate information on other summits certainly, it also is the coordinate that is easy to calculate other summits.Such as: the second area that obtains comprises: lower left corner coordinate is that (2000,2000), window widely are 6000, the window height is 4000.
Step 206: calculate the changes in coordinates value of video window first area and second area, described changes in coordinates value comprises: the wide changing value W3/W1 of window, window High variation value H3/H1;
The video window first area refers to that video window moves or convergent-divergent is handled the band of position before, the video window second area refers to that video window moves or the band of position of convergent-divergent after handling, and the coordinate position by corresponding vertex calculates the change in location value of the coordinate position of the coordinate position of first area and second area.
According to the second area coordinate that obtains and first area coordinate Calculation before: the wide changing value of window 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 and character shape window, search and video window corresponding characters shape window;
In order to set up corresponding caption window for the vision signal do not have captions, at step 203A: creates a square window object, and described square window and described video window formation mapping relations are set; The character shape window that described square window is determined after being exactly.So, mapping relations according to video window and character shape window, search and video window corresponding characters shape window, can be in actual applications: the mapping relations between the window ID by video window and the window ID of character shape window, be one to one between the element in the mapping relations, so when knowing the window ID of video window, just can utilize mapping relationship searching to go out the window ID of corresponding characters shape with it.
Step 208: adjust the coordinates regional of the described character shape window of searching according to described changes in coordinates value, and the character shape window is moved to coordinates regional position after the adjustment, comprising:
When the coordinates regional of the corresponding characters shape window of searching is the apex coordinate (X2 corresponding with any one vertex position of video window, Y2), when the wide W2 of window and high H2, apex coordinate (the X4 of the correspondence of the character shape window after the adjustment, Y4), the wide W4 of window and high H4 meet the following conditions respectively: X3<=X4<=(X3+W3), Y3<=Y4<=(Y3+H3), W4/W2=W3/W1, H4/H2=W3/W1.
When the coordinates regional of the corresponding characters window of searching is: upper left corner coordinate (2000,2500) lower left corner coordinate (2000,1500), upper right corner coordinate (3000,2500), lower right corner coordinate (3000,1500), namely, the window height is 1000, window is wide to be 1000, when calculating W3/W1=6000/3000=2, window High variation value H3/H1=4000/2000=2, and the apex coordinate of the correspondence of the character shape window after the adjustment (X4, Y4), the wide W4 of window and high H4 meet the following conditions respectively: 2000<=X4<=(2000+6000), 2000<=Y4<=(2000+4000), W4/1000=2, H4/1000=2.As can be known: 2000<=X4<=8000,2000<=Y4<=6000), W4=2000, H4=2000.Can guarantee by computing that caption window changes with the variation of corresponding video window and be consistent, zoom in or out into same ratio variation, guarantee that simultaneously caption window is presented within the video window.Above-mentioned only is a kind of account form to determine the excursion of caption window, does not limit concrete account form at this.
In order to make caption window all the time in the relatively-stationary position of video window, such as, caption window is in the position, the lower right corner of video window before mobile the variation, the mobile back caption window that changes is also in the position, the lower right corner of video window, in order to make mobile adjustment of window operated the relative position relation that does not influence caption window and video window, preferably, step 208: the coordinates regional of adjusting the described character shape window of searching according to described changes in coordinates value, and the character shape window moved to coordinates regional position after the adjustment, comprising:
When the coordinates regional of the corresponding characters type window of searching be lower left corner coordinate (X2, Y2), when the wide W2 of window and high H2, the coordinates regional of the character type window after the adjustment be lower left corner coordinate (X4, Y4), the wide W4 of window and high H4 meet the following conditions respectively:
(X2-X1)/W1=(X4-X3)/W2、(Y2-Y1)/H1=(Y4-Y3)/H2、W4/W2=W3/W1,H4/H2=H3/H1。
After calculating the changes in coordinates value, can the variation of video window and the variation of character shape window be consistent according to the coordinates regional of changes in coordinates value adjustment with video window corresponding characters shape window.Such as: when video window dwindles one times, the character shape window also dwindles one times thereupon; Put when video window and to be twice, the character shape window is also put thereupon and is twice.In a word, the character shape window changes along with the variation of the video window of correspondence.Behind the character shape window coordinates zone after determining adjustment, the character shape window is moved on the coordinates regional position after the adjustment.
When need be with the video window that shows and corresponding characters shape close thereof, preferably, described method also comprises: when receiving when closing video window message, by the mapping relations of video window and character shape window, find and video window corresponding characters shape window; Close video window and corresponding characters shape window.
When need be with the video window that shows and corresponding characters shape close thereof, control service centre can send the instruction of closing video window, spell out the window ID of the video window that need close, the mapping relations of the window ID of the ID by video window and character shape window then, find and video window corresponding characters shape window, close video window and corresponding characters shape window at last.
By above-described embodiment as can be seen: utilize the method for the present invention not only can be when demonstration does not have the video information of caption information, for this video window provides the character shape window in order to show caption information, can also be when adjusting video window, corresponding adjustment is corresponding characters shape window with it, make whole display window change synchronously, experience for the user provides better combination video to show.
Embodiment three
See also Fig. 4, it is the structure drawing of device of a kind of combination video window subtitling display equipment of the embodiment of the present application three announcements, and this device comprises: acquisition module 301, determination module 302, generation module 303 and display module 304.Operation principle below in conjunction with this device is further introduced its internal structure and annexation.
Acquisition module 301 is used for obtaining video window information from current Control Server, and described video window information comprises at least: and any one apex coordinate of window (X1, Y1), the wide W1 of window and high H1, window signal source name;
Determination module 302 is used for according to any one apex coordinate of video window that obtains and the wide and high definite window area of window as the first area;
Generation module 303 is used for generating a character shape window according to the window signal source name of obtaining
Display module 304 is used for described character shape window is presented at described first area.
Preferably, described generation module 303 comprises: set up submodule, rendering submodule and submodule is set.Wherein, set up submodule, be used for creating a square window object, and described square window and described video window formation mapping relations are set;
Rendering submodule is used for drawing the window signal source name of obtaining at the device context of the square window object of described establishment;
Submodule is set, and for the character shape zone of the signal source name that obtains drafting, the type of described square window is set to the character shape window.
Preferably, described display module 304 comprises: regional submodule and mover module, wherein, regional submodule is used for arranging the coordinates regional of described character shape window: the vertex position coordinate (X2 corresponding with any one summit of the video window that obtains, Y2), the wide W2 of window and high H2 must meet the following conditions: X1<=X2<=(X1+W1), Y1<=Y2<=(Y1+H1), (X2+W2)<=(X1+W1), (Y2+H2)<=(Y1+H1);
The mover module for the coordinates regional position that the character row window is moved to setting, is set to top set and shows.
According to above-described embodiment as can be seen, device provided by the invention can be realized the video information that do not have caption information when combination shows, provide a character shape window in order to show the caption information corresponding with video information, do not need the complex video decoding device, saved the demonstration cost, can also experience for the user provides better.
Embodiment four
See also Fig. 5, it is the structure drawing of device of the another kind of combination video window subtitling display equipment that discloses of the embodiment of the present application four, and this device comprises: acquisition module 401, determination 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 introduced its internal structure and annexation.
Acquisition module 401 is used for obtaining video window information from current Control Server, and described video window information comprises at least: and any one apex coordinate of window (X1, Y1), the wide W1 of window and high H1, window signal source name;
Determination module 402 is used for according to any one apex coordinate of video window that obtains and the wide and high definite window area of window as the first area;
Generation module 403 is used for generating a character shape window according to the window signal source name of obtaining
Display module 404 is used for described character shape window is presented at described first area.
Parsing module 405, be used for when receiving video window when moving convergent-divergent message, resolve described mobile convergent-divergent message and obtain the second area of video window, described second area comprises at least: the apex coordinate (X3 corresponding with any one summit of the video window that obtains, Y3), the wide W3 of window and high H3;
Computing module 406, for the changes in coordinates value of calculating video window first area and second area, described changes in coordinates value comprises: the wide changing value W3/W1 of window, window High variation value H3/H1;
Search module 1, be used for the mapping relations according to video window and character shape window, search and video window corresponding characters shape window;
Adjusting module 408, be used for adjusting according to described changes in coordinates value the coordinates regional of the described character shape window of searching, and the character shape window moved to coordinates regional position after the adjustment, comprise: when the coordinates regional of the corresponding characters shape window of searching is the apex coordinate (X2 corresponding with any one vertex position of video window, Y2), when the wide W2 of window and high H2, apex coordinate (the X4 of the correspondence of the character shape window after the adjustment, Y4), the wide W4 of window and high H4 meet the following conditions respectively: X3<=X4<=(X3+W3), Y3<=Y4<=(Y3+H3), W4/W2=W3/W1, H4/H2=H3/H1.
Preferably, described generation module comprises: set up submodule, rendering submodule and submodule is set
Set up submodule, be used for creating a square window object, and described square window and described video window formation mapping relations are set;
Rendering submodule is used for drawing the window signal source name of obtaining at the device context of the square window object of described establishment;
Submodule is set, and for the character shape zone of the signal source name that obtains drafting, the type of described square window is set to the character shape window.
Preferably, described display module comprises: regional submodule and mover module
The zone submodule, be used for arranging the coordinates regional of described character shape window: the vertex position coordinate (X2 corresponding with any one summit of the video window that obtains, Y2), the wide W2 of window and high H2, must meet the following conditions: X1<=X2<=(X1+W1), Y1<=Y2<=(Y1+H1), (X2+W2)<=(X1+W1), (Y2+H2)<=(Y1+H1);
The mover module for the coordinates regional position that the character shape window is moved to setting, is set to top set and shows.
Preferably, when needs are closed video window, described device also comprises: search module two and closing module, wherein, search module two, be used for, finding and video window corresponding characters shape window by the mapping relations of video window and character shape window when receiving when closing video window message; Closing module is used for closing video window and corresponding characters shape window.
By a kind of combination video window subtitling display equipment is provided in above-described embodiment, to the video signal source that do not have caption information when showing image, can edit the caption information of this video signal source according to the actual requirements and show, reduce the cost of display unit, improved user's experience simultaneously.
More than a kind of combination video window caption presentation method provided by the present invention and device are described in detail, used specific embodiment herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a combination video window caption presentation method is characterized in that, comprising:
Obtain video window information from current Control Server, described video window information comprises at least: and any one apex coordinate of window (X1, Y1), the wide W1 of window and high H1, window signal source name;
Determine that according to any one apex coordinate of the video window that obtains and window are wide and high window area is as the first area;
Generate a character shape window according to the window signal source name of obtaining;
Described character shape window is presented in the described first area.
2. method according to claim 1 is characterized in that, the window signal source name that described basis is obtained generates a character shape window and comprises:
Create a square window object, and described square window and described video window formation mapping relations are set;
In the device context of the square window object of described establishment, draw the window signal source name of obtaining;
Obtain the character shape zone of the signal source name of drafting, the type of described square window is set to the character shape window.
3. method according to claim 1 is characterized in that, described described character shape window is presented in the described first area, comprising:
The coordinates regional of described character shape window is set: the apex coordinate corresponding with any one summit of the video window that obtains (X2, Y2), the wide W2 of window and high H2 must meet the following conditions:
X1<=X2<=(X1+W1),Y1<=Y2<=(Y1+H1),(X2+W2)<=(X1+W1),(Y2+Y2)<=(Y1+Y1);
The character row window is moved to the coordinates regional of setting, and be set to the top set demonstration.
4. according to any described method of claim 1~3, it is characterized in that, also comprise:
When receiving video window when moving convergent-divergent message, resolve described mobile convergent-divergent message and obtain the second area of video window, described second area comprises at least: and the apex coordinate corresponding with any one summit of the video window that obtains (X3, Y3), the wide W3 of window and high H3;
Calculate the changes in coordinates value of video window first area and second area, described changes in coordinates value comprises: the wide changing value W3/W1 of window, window High variation value H3/H1;
According to the mapping relations of video window and character shape window, search and video window corresponding characters shape window;
Coordinates regional according to the described character shape window of searching of described changes in coordinates value adjustment comprises:
When the coordinates regional of the corresponding characters shape window of searching is the apex coordinate (X2 corresponding with any one vertex position of video window, Y2), when the wide W2 of window and high H2, apex coordinate (the X4 of the correspondence of the character shape window after the adjustment, Y4), the wide W4 of window and high H4 meet the following conditions respectively: X3<=X4<=(X3+W3), Y3<=Y4<=(Y3+H3), W4/W2=W3/W1, H4/H2=H3/H1.
5. according to any described method of claim 1~3, it is characterized in that, also comprise:
When receiving when closing video window message, by the mapping relations of video window and character shape window, find and video window corresponding characters shape window;
Close video window and corresponding characters shape window.
6. a combination video window subtitling display equipment is characterized in that, comprising:
Acquisition module is used for obtaining video window information from current Control Server, and described video window information comprises at least: and any one apex coordinate of window (X1, Y1), the wide W1 of window and high H1, window signal source name;
Determination module is used for according to any one apex coordinate of video window that obtains and the wide and high definite window area of window as the first area;
Generation module is used for generating a character shape window according to the window signal source name of obtaining
Display module is used for described character shape window is presented at described first area.
7. device according to claim 6 is characterized in that, described generation module comprises:
Set up submodule, be used for creating a square window object, and described square window and described video window formation mapping relations are set;
Rendering submodule is used for drawing the window signal source name of obtaining at the device context of the square window object of described establishment;
Submodule is set, and for the character shape zone of the signal source name that obtains drafting, the type of described square window is set to the character shape window.
8. device according to claim 6 is characterized in that, described display module comprises:
The zone submodule, be used for arranging the coordinates regional of described character shape window: the vertex position coordinate (X2 corresponding with any one summit of the video window that obtains, Y2), the wide W2 of window and high H2, must meet the following conditions: X1<=X2<=(X1+W1), Y1<=Y2<=(Y1+H1), (X2+W2)<=(X1+W1), (Y2+Y2)<=(Y1+Y1);
The mover module for the coordinates regional position that the character row window is moved to setting, is set to top set and shows.
9. according to any described device of claim 6~8, it is characterized in that, also comprise:
Parsing module, be used for resolving the second area that described mobile convergent-divergent message is obtained video window when receiving video window when moving convergent-divergent message, described second area comprises at least: the apex coordinate (X3 corresponding with any one summit of the video window that obtains, Y3), the wide W3 of window and high H3;
Computing module, for the changes in coordinates value of calculating video window first area and second area, described changes in coordinates value comprises: the wide changing value W3/W1 of window, window High variation value H3/H1;
Search module one, be used for the mapping relations according to video window and character shape window, search and video window corresponding characters shape window;
Adjusting module, be used for adjusting according to described changes in coordinates value the coordinates regional of the described character shape window of searching, and the character shape window moved to coordinates regional position after the adjustment, comprise: when the coordinates regional of the corresponding characters shape window of searching is the apex coordinate (X2 corresponding with any one vertex position of video window, Y2), when the wide W2 of window and high H2, apex coordinate (the X4 of the correspondence of the character shape window after the adjustment, Y4), the wide W4 of window and high H4 meet the following conditions respectively: X3<=X4<=(X3+W3), Y3<=Y4<=(Y3+H3), W4/W2=W3/W1, H4/H2=H3/H1.
10. according to any described device of claim 6~8, it is characterized in that, also comprise:
Search module two, be used for, finding and video window corresponding characters shape window by the mapping relations of video window and character shape window when receiving when closing video window message;
Closing module is used for closing video window and corresponding characters 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 true CN103237179A (en) 2013-08-07
CN103237179B 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)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103679637A (en) * 2013-12-23 2014-03-26 广东威创视讯科技股份有限公司 Display unit coordinate setting method and device based on mosaic display wall signal window
CN104363521A (en) * 2014-11-03 2015-02-18 传线网络科技(上海)有限公司 Double-screen or multi-screen tiled display method and system
CN107621932A (en) * 2017-09-25 2018-01-23 威创集团股份有限公司 The local amplification method and device of display image
CN109274904A (en) * 2018-11-23 2019-01-25 威创集团股份有限公司 A kind of combination caption signal method for previewing, server-side and system
CN109976601A (en) * 2017-12-27 2019-07-05 深圳市巨烽显示科技有限公司 It is a kind of to shield display window cutting method and system altogether
CN110895457A (en) * 2018-09-13 2020-03-20 浙江宇视科技有限公司 Character display method and device and electronic equipment
CN111198734A (en) * 2018-11-20 2020-05-26 西安诺瓦星云科技股份有限公司 Window setting method and device, electronic equipment and nonvolatile storage medium
CN111741346A (en) * 2019-03-20 2020-10-02 杭州海康威视数字技术股份有限公司 Character superposition method and device, electronic equipment and computer readable storage medium
CN111831245A (en) * 2020-07-14 2020-10-27 北京仁光科技有限公司 Windowing control method and device in display control system and storage medium
CN116343657A (en) * 2023-03-28 2023-06-27 广东保伦电子股份有限公司 Display method and device suitable for large-screen windowing
CN116343657B (en) * 2023-03-28 2024-05-03 广东保伦电子股份有限公司 Display method and device suitable for large-screen windowing

Citations (9)

* 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
US7414698B2 (en) * 2006-03-15 2008-08-19 James Cashin Captioning system and method
CN101778238A (en) * 2009-01-12 2010-07-14 晨星软件研发(深圳)有限公司 Subtitle window display device and display method thereof
CN102131122A (en) * 2011-01-21 2011-07-20 四川长虹电器股份有限公司 Method for digital television to display advertisement in play state
CN102316277A (en) * 2011-09-06 2012-01-11 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
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

Patent Citations (9)

* 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
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
CN102131122A (en) * 2011-01-21 2011-07-20 四川长虹电器股份有限公司 Method for digital television to display advertisement in play state
CN102316277A (en) * 2011-09-06 2012-01-11 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
CN102708774A (en) * 2012-04-19 2012-10-03 广东威创视讯科技股份有限公司 Display method of character strings and system thereof

Cited By (16)

* 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
CN103679637A (en) * 2013-12-23 2014-03-26 广东威创视讯科技股份有限公司 Display unit coordinate setting method and device based on mosaic display wall signal window
CN104363521A (en) * 2014-11-03 2015-02-18 传线网络科技(上海)有限公司 Double-screen or multi-screen tiled display method and system
CN107621932A (en) * 2017-09-25 2018-01-23 威创集团股份有限公司 The local amplification method and device of display image
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
CN109976601A (en) * 2017-12-27 2019-07-05 深圳市巨烽显示科技有限公司 It is a kind of to shield display window cutting method and system altogether
CN110895457A (en) * 2018-09-13 2020-03-20 浙江宇视科技有限公司 Character display method and device and electronic equipment
CN111198734A (en) * 2018-11-20 2020-05-26 西安诺瓦星云科技股份有限公司 Window setting method and device, electronic equipment and nonvolatile storage medium
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
CN111831245A (en) * 2020-07-14 2020-10-27 北京仁光科技有限公司 Windowing control method and device in display control system and storage medium
CN111831245B (en) * 2020-07-14 2021-09-24 北京仁光科技有限公司 Windowing control method and device in display control system and storage medium
CN116343657A (en) * 2023-03-28 2023-06-27 广东保伦电子股份有限公司 Display method and device suitable for large-screen windowing
CN116343657B (en) * 2023-03-28 2024-05-03 广东保伦电子股份有限公司 Display method and device suitable for large-screen windowing

Also Published As

Publication number Publication date
CN103237179B (en) 2016-09-28

Similar Documents

Publication Publication Date Title
CN103237179A (en) Method and device for displaying tiled wall video window subtitles
US9836437B2 (en) Screencasting for multi-screen applications
KR102129536B1 (en) Mobile terminal and method for controlling the mobile terminal
CN109831662B (en) Real-time picture projection method and device of AR (augmented reality) glasses screen, controller and medium
US10728613B2 (en) Method and apparatus for content insertion during video playback, and storage medium
US10965982B2 (en) Method and apparatus for synchronously playing image and audio
US10504258B2 (en) Information processing device editing map acquired from server
CN103248941B (en) A kind of method of multi-channel video source simultaneous display and device
CN109874048B (en) Video window assembly semitransparent display method and device and computer equipment
CN104536714A (en) Method and system for split screen display of display information in equipment room
US20130187832A1 (en) Display apparatus and method for controlling the same
CN105160951A (en) Mobile-device-based white board teaching method and system
US20120301030A1 (en) Image processing apparatus, image processing method and recording medium
KR20160019693A (en) User terminal apparatus, display apparatus, system and control method thereof
CN109168066A (en) A kind of screen wall synchronous playing system and method
JP6053345B2 (en) Transmission device, video display device, transmission method, video display method, and program
US20120044138A1 (en) METHOD AND APPARATUS FOR PROVIDING USER INTERACTION IN LASeR
US10573277B2 (en) Display device, display system, and non-transitory recording medium, to adjust position of second image in accordance with adjusted zoom ratio of first image
CN108062951B (en) Intelligent splicing wall system
KR20140085052A (en) Display apparatus and Method for controlling display apparatus thereof
CN103780858A (en) Method and device for processing information, and electronic device
CN103051967A (en) Method and system for guiding user to carry out function configuration of smart television
CN108427544B (en) single-screen and double-screen application switching method and interface
CN103543978A (en) Video scaling method and system
CN103853318A (en) User interface generating device and relevant method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
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