CN102510539A - Method and system for displaying content on playing video - Google Patents

Method and system for displaying content on playing video Download PDF

Info

Publication number
CN102510539A
CN102510539A CN2011103947480A CN201110394748A CN102510539A CN 102510539 A CN102510539 A CN 102510539A CN 2011103947480 A CN2011103947480 A CN 2011103947480A CN 201110394748 A CN201110394748 A CN 201110394748A CN 102510539 A CN102510539 A CN 102510539A
Authority
CN
China
Prior art keywords
video
window
playing
information
forms
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011103947480A
Other languages
Chinese (zh)
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.)
Shenzhen Wondershare Software Co Ltd
Original Assignee
Shenzhen Wondershare Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Wondershare Software Co Ltd filed Critical Shenzhen Wondershare Software Co Ltd
Priority to CN2011103947480A priority Critical patent/CN102510539A/en
Publication of CN102510539A publication Critical patent/CN102510539A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to a method and a system for displaying content on a playing video. The method comprises the following steps: A. playing a video; B. obtaining the playing state information of a video window when the video is played, generating a window body layer according to the playing state information, covering the window body layer on the video window, and displaying the content information input by a user in advance on the window layer, wherein the window body layer has top and transparent attribute. In the method, the top window body layer is generated when the video is played, and is covered on the video window, the content information which is input by the user in advance is invoked so as to be played, and words or images are added into a played video or a recorded video on the basis of not revising original video contents.

Description

A kind of on the video of playing the method and system of displaying contents
Technical field
The present invention relates to a kind of player method of video, more particularly, relate to a kind of on the video of playing the method and system of displaying contents.
Background technology
Current, exist video to add literal or image in the application program to playing, perhaps the video in the middle of recording is added literal or image, show the functional requirement of some supplementarys.Yet the video of perhaps recording owing to the video of playing refreshes cover screen constantly, has no idea that the video of playing is perhaps being recorded central video and adds literal or image.Therefore, must before video content is played up, be added to the literal or the picture that will show in the video pictures, it realizes trouble, and technical difficulty is high, might influence former video content.
Summary of the invention
The technical problem that the present invention will solve is; Need revise the defective of former video content to the method that has when video playback display text or picture now; Provide a kind of on the video of playing the method and system of displaying contents; Can on the basis of not revising former video content, the video of playing perhaps recorded central video adding literal or image.
The technical solution adopted for the present invention to solve the technical problems is: construct a kind of on the video of playing the method for displaying contents, may further comprise the steps:
A, displaying video;
B, when displaying video, obtain the broadcast state information of video window, and generate the forms layer according to said broadcast state information, cover on the said video window, said forms layer has puts top and transparent attribute; The content information that the user is imported in advance is presented on the said forms layer.
According to of the present invention on the video of playing in the method for displaying contents, the broadcast state information of the video window that obtains among the said step B comprises: the positional information of said video window and dimension information.
According to of the present invention on the video of playing in the method for displaying contents, it is related that the said forms layer that generates among the said step B and said video window mobile carries out.
According to of the present invention on the video of playing in the method for displaying contents; Said method also comprises step: C, obtains the content modification information and/or the location updating information of user's input, to making amendment in said forms layer content displayed and/or position among the step B.
According to of the present invention on the video of playing in the method for displaying contents, said content information comprises: literal and/or image.
The present invention also provide a kind of on the video of playing the system of displaying contents, comprising:
The video playback module is used for displaying video;
Memory module is used to store the content information that the user imports in advance;
Window forms module; Link to each other with memory module with said video playback module; Be used to obtain the broadcast state information of the video window of said video playback module institute displaying video; And according to said broadcast state information generation forms layer, cover on the said video window, said forms layer has puts top and transparent attribute;
The Window layer display control module forms module with said window and links to each other, and is used for the content information that the user imports in advance is presented at said forms layer.
According to of the present invention on the video of playing in the system of displaying contents, the broadcast state information that said window forms the video window that module obtains comprises: the positional information of said video window and dimension information.
According to of the present invention on the video of playing in the system of displaying contents, said window forms said forms layer that module generates and said video window mobile carry out related.
According to of the present invention on the video of playing in the system of displaying contents; Said Window layer display control module also obtains the content modification information and/or the location updating information of user's input, will make amendment in said forms layer content displayed and/or position.
According to of the present invention on the video of playing in the system of displaying contents, said content information comprises: literal and/or image.
The method and system of displaying contents on the video of playing of embodiment of the present invention; Have following beneficial effect: the present invention is through obtaining the broadcast state information of video window when the displaying video; And generate the forms layer according to said broadcast state information and cover on the video window; And the content information that invoke user is imported in advance shows, can be on the basis of not revising former video content, to the video play or the video in the middle of recording add literal or image.
Description of drawings
To combine accompanying drawing and embodiment that the present invention is described further below, in the accompanying drawing:
Fig. 1 be according to the present invention on the video of playing the flow chart of the preferred embodiment of the method for displaying contents;
Fig. 2 be according to of the present invention on the video of playing the module diagram of the preferred embodiment of the system of displaying contents.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.
The present invention conceived a kind of on the video of playing the method and system of displaying contents, can be on the basis of not revising former video content, to the video play or the video in the middle of recording add literal or image.
See also Fig. 1, for according to the present invention on the video of playing the flow chart of the preferred embodiment of the method for displaying contents.As shown in Figure 1, the method for displaying contents on the video of playing that this embodiment provides may further comprise the steps:
In step S101, displaying video.This video can be the video file of storing in the system, perhaps the video content for recording.
In step S102, in step S101 displaying video, obtain the broadcast state information of the video window of this current institute displaying video, and generate the forms layer according to this broadcast state information, cover on the video window.This forms layer is set to put top layer, and has transparent attribute.And the content information that this step invoke user is imported in advance is presented on the forms layer.The stored in form that this content information of importing in advance can adopt file can be information such as literal or picture in system.
The broadcast state information of the above-mentioned video window that obtains comprises: the positional information of video window and dimension information.According to the size of the size relative set forms layer of video window, and the position of forms is set in this step, the forms layer is covered on the video window shows according to the position of video window.
Above-mentioned on the video of playing the method for displaying contents further comprising the steps of: obtain the content modification information and/or the location updating information of user's input, to making amendment in forms layer content displayed and/or position among the step S102.
Particularly, above-mentioned additional forms layer has the WS_EX_LAYERED attribute when generating, and it belongs to the Microsft Windows extended attribute, can realize the function of window transparence at the api layer face.Therefore, can this forms layer of putting the top be covered on the video window of broadcast pellucidly.
And the forms layer of generation can carry out relatedly with video window mobile, and mainly through calling the WM_MOVE function, and the WM_MOVING function is realized.Wherein the WM_MOVING function is used for the moved further forms.The WM_MOVE function is:
CWnd::OnMove
afx_msgvoidOnMove(intx,inty);
Parameter: x has specified the new x axial coordinate in the upper left corner, client area.Y has specified the new y axial coordinate in the upper left corner, client area.For eclipsed form and pop-up window, coordinate provides with screen coordinate, for subwindow, is that the client area coordinate with parent window provides.
Therefore, forms layer and the mobile of video window that will put the top through the message of handling WM_MOVE, two functions of WM_MOVING link together, and promptly this forms layer can move along with moving of video window.
Further, the content information of user's input can be many images, can in the forms layer, play many images according to preset order, to present dynamic effect.
See also Fig. 2, for according to of the present invention on the video of playing the module diagram of the preferred embodiment of the system of displaying contents.The system of displaying contents on the video of playing as shown in Figure 2, that this embodiment provides, comprising: video playback module 10, window form module 20, memory module 30 and Window layer display control module 40.
Wherein, video playback module 10 is used for displaying video.This video can be the video file of storing in the system, perhaps the video content for recording.
Memory module 30 is used to store the content information that the user imports in advance.This content information of importing in advance can adopt the stored in form of file, can be information such as literal or picture.
Window forms module 20 and links to each other with memory module 30 with said video playback module 10; Be used in video playback module 10 displaying videos; Obtain the broadcast state information of the video window of 10 displaying videos of video playback module; And, cover on the said video window according to this broadcast state information generation forms layer.This forms layer is set to put top layer, and has transparent attribute.And window forms module 20 content information that invoke user is imported in advance from memory module 30 and is presented on the said forms layer.Further, the content information of the user of storage input can be many images in the above-mentioned memory module 30, and window forms module 20 and can in the forms layer, play many images according to preset order, to present dynamic effect.
Above-mentioned window formation module 20 comprises from the broadcast state information of the video window that video playback module 10 is obtained: the positional information of video window and dimension information.Window forms the size of module 20 according to the size relative set forms layer of video window, and according to the position of video window the position of forms is set, and the forms layer is covered on the video window show.
Window layer display control module 40 forms module 20 with window and links to each other, and is used to obtain the content modification information and/or the location updating information of user's input, is made amendment in the forms layer content displayed and/or the position that generate.The content modification information that Window layer display control module 40 can also be imported according to the user who obtains simultaneously; The content information that the user who stores in the memory module 30 is imported in advance upgrades, and then makes the forms layer call and content displayed information generation respective change.
Particularly, the additional forms layer that above-mentioned window forms module 20 generations has the WS_EX_LAYERED attribute, and it belongs to the Microsft Windows extended attribute, can realize the function of window transparence at the api layer face.Therefore, can this forms layer of putting the top be covered on the video window of broadcast pellucidly.
And window forms forms layer that module 20 generates and can carry out relatedly with video window mobile, and mainly through calling the WM_MOVE function, and the WM_MOVING function is realized.Wherein the WM_MOVING function is used for the moved further forms.The WM_MOVE function is:
CWnd::OnMove
afx_msgvoidOnMove(intx,inty);
Parameter: x has specified the new x axial coordinate in the upper left corner, client area.Y has specified the new y axial coordinate in the upper left corner, client area.For eclipsed form and pop-up window, coordinate provides with screen coordinate, for subwindow, is that the client area coordinate with parent window provides.
Therefore, forms layer and the mobile of video window that will put the top through the message of handling WM_MOVE, two functions of WM_MOVING link together, and promptly this forms layer can move along with moving of video window.
The present invention describes according to specific embodiment, but it will be understood by those skilled in the art that when not breaking away from the scope of the invention, can carry out various variations and be equal to replacement.In addition, for adapting to the specific occasion or the material of the present invention's technology, can carry out many modifications and not break away from its protection range the present invention.Therefore, the present invention is not limited to specific embodiment disclosed herein, and comprises that all drop into the embodiment of claim protection range.

Claims (10)

1. the method for a displaying contents on the video of playing is characterized in that, may further comprise the steps:
A, displaying video;
B, when displaying video, obtain the broadcast state information of video window, and generate the forms layer according to said broadcast state information, cover on the said video window, said forms layer has puts top and transparent attribute; The content information that the user is imported in advance is presented on the said forms layer.
2. according to claim 1 on the video of playing the method for displaying contents, it is characterized in that the broadcast state information of the video window that obtains among the said step B comprises: the positional information of said video window and dimension information.
3. according to claim 2 on the video of playing the method for displaying contents, it is characterized in that it is related that the said forms layer that generates among the said step B and said video window mobile carries out.
According to claim 1-3 each described on the video of playing the method for displaying contents, it is characterized in that said method also comprises step:
C, obtain the content modification information and/or the location updating information of user input, to making amendment in said forms layer content displayed and/or position among the step B.
According among the claim 1-3 any one described on the video of playing the method for displaying contents, it is characterized in that said content information comprises: literal and/or image.
6. the system of a displaying contents on the video of playing is characterized in that, comprising:
The video playback module is used for displaying video;
Memory module is used to store the content information that the user imports in advance;
Window forms module; Link to each other with memory module with said video playback module; Be used to obtain the broadcast state information of the video window of said video playback module institute displaying video; And according to said broadcast state information generation forms layer, cover on the said video window, said forms layer has puts top and transparent attribute;
The Window layer display control module forms module with said window and links to each other, and is used for the content information that the user imports in advance is presented at said forms layer.
7. according to claim 6 on the video of playing the system of displaying contents, it is characterized in that the broadcast state information that said window forms the video window that module obtains comprises: the positional information of said video window and dimension information.
8. according to claim 7 on the video of playing the system of displaying contents, it is characterized in that, said window forms said forms layer that module generates and said video window mobile carry out related.
According to claim 5-8 each described on the video of playing the system of displaying contents; It is characterized in that; Said Window layer display control module also obtains the content modification information and/or the location updating information of user's input, will make amendment in said forms layer content displayed and/or position.
According to claim 5-8 each described on the video of playing the system of displaying contents, it is characterized in that said content information comprises: literal and/or image.
CN2011103947480A 2011-12-02 2011-12-02 Method and system for displaying content on playing video Pending CN102510539A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103947480A CN102510539A (en) 2011-12-02 2011-12-02 Method and system for displaying content on playing video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103947480A CN102510539A (en) 2011-12-02 2011-12-02 Method and system for displaying content on playing video

Publications (1)

Publication Number Publication Date
CN102510539A true CN102510539A (en) 2012-06-20

Family

ID=46222586

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103947480A Pending CN102510539A (en) 2011-12-02 2011-12-02 Method and system for displaying content on playing video

Country Status (1)

Country Link
CN (1) CN102510539A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104766353A (en) * 2015-04-25 2015-07-08 陈包容 Method and device for adding text content into background
CN105872677A (en) * 2015-12-30 2016-08-17 乐视网信息技术(北京)股份有限公司 Multichannel video information displaying method and device
CN107038734A (en) * 2016-11-23 2017-08-11 浙江工业大学 A kind of method of imaging importing text for Windows systems
CN110636365A (en) * 2019-09-30 2019-12-31 北京金山安全软件有限公司 Video character adding method and device
CN110708591A (en) * 2018-07-10 2020-01-17 杭州海康威视系统技术有限公司 Image processing method and device and electronic equipment
CN107005724B (en) * 2014-12-03 2020-09-18 索尼公司 Information processing apparatus, information processing method, and program
CN112464114A (en) * 2019-09-09 2021-03-09 三竹资讯股份有限公司 Five-gear disc and quick account inquiry device and method
CN113891143A (en) * 2021-11-04 2022-01-04 康佳集团股份有限公司 Video interface processing method and related equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101076089A (en) * 2006-06-23 2007-11-21 腾讯科技(深圳)有限公司 Method for displaying captions
CN101299176A (en) * 2008-06-27 2008-11-05 广东威创视讯科技股份有限公司 Method and system for displaying additional information in main viewfinder
CN101937557A (en) * 2010-07-16 2011-01-05 广东威创视讯科技股份有限公司 Marking method of dynamic playing window and system thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101076089A (en) * 2006-06-23 2007-11-21 腾讯科技(深圳)有限公司 Method for displaying captions
CN101299176A (en) * 2008-06-27 2008-11-05 广东威创视讯科技股份有限公司 Method and system for displaying additional information in main viewfinder
CN101937557A (en) * 2010-07-16 2011-01-05 广东威创视讯科技股份有限公司 Marking method of dynamic playing window and system thereof

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107005724B (en) * 2014-12-03 2020-09-18 索尼公司 Information processing apparatus, information processing method, and program
CN104766353A (en) * 2015-04-25 2015-07-08 陈包容 Method and device for adding text content into background
CN104766353B (en) * 2015-04-25 2018-03-30 陈包容 The method and device of word content is added in background
CN105872677A (en) * 2015-12-30 2016-08-17 乐视网信息技术(北京)股份有限公司 Multichannel video information displaying method and device
CN107038734A (en) * 2016-11-23 2017-08-11 浙江工业大学 A kind of method of imaging importing text for Windows systems
CN110708591A (en) * 2018-07-10 2020-01-17 杭州海康威视系统技术有限公司 Image processing method and device and electronic equipment
CN110708591B (en) * 2018-07-10 2022-04-26 杭州海康威视系统技术有限公司 Image processing method and device and electronic equipment
CN112464114A (en) * 2019-09-09 2021-03-09 三竹资讯股份有限公司 Five-gear disc and quick account inquiry device and method
CN112464114B (en) * 2019-09-09 2024-02-27 三竹资讯股份有限公司 Five-gear disc opening and quick account inquiry device and method
CN110636365A (en) * 2019-09-30 2019-12-31 北京金山安全软件有限公司 Video character adding method and device
CN110636365B (en) * 2019-09-30 2022-01-25 北京金山安全软件有限公司 Video character adding method and device, electronic equipment and storage medium
CN113891143A (en) * 2021-11-04 2022-01-04 康佳集团股份有限公司 Video interface processing method and related equipment

Similar Documents

Publication Publication Date Title
CN102510539A (en) Method and system for displaying content on playing video
US11494993B2 (en) System and method to integrate content in real time into a dynamic real-time 3-dimensional scene
KR20220127208A (en) Display apparatus for displaying and method thereof
JP5616352B2 (en) Extension of 2D graphics in 3D GUI
CN105979339B (en) Window display method and client
JP5991497B2 (en) Video display device and video display method
WO2009101623A2 (en) Inserting interactive objects into video content
US20170097807A1 (en) Electronic device and method for controlling the same
CN104661077A (en) Advertisement loading method and device
CA2795220A1 (en) Zoom display navigation
US20150029217A1 (en) Composite display with multiple imaging properties
TW201119349A (en) Data structure, recording medium, playback apparatus and method, and program
JP2019536339A (en) Method and apparatus for synchronizing video content
JP2010219849A (en) Image generation system, program, information storage medium, server system, and content distribution system
KR20180070297A (en) Display apparatus and control method thereof
CN105138216A (en) Method and apparatus for displaying audience interaction information on virtual seats
CN108052565A (en) A kind of transparent processing method and device of the page
WO2020258907A1 (en) Virtual article generation method, apparatus and device
US20160085762A1 (en) Multi-Scene Rich Media Content Rendering System
CN106792093A (en) Video separated screen player method, device and playback terminal
CN109104628B (en) Focus foreground generation method, storage medium, device and system of android television
CN107707980B (en) Play page layering system, method, medium, and device for extending designated player
CN104142758B (en) A kind of embedded window management method and device
CN111149356A (en) Method for projecting immersive audiovisual content
JP2009504070A (en) Apparatus for providing a multi-screen and a method for dynamically configuring the multi-screen

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 518057 Guangdong city of Shenzhen province Nanshan District Gao Xin Road, room 9 building on the north side of block A901 No. 006 TCL Industry Research Institute building A A Building 8 floor

Applicant after: Shenzhen Wondershare Information Technology Co., Ltd.

Address before: 518057 Guangdong city of Shenzhen province Nanshan District Gao Xin Road Building A block 8 Building TCL

Applicant before: Shenzhen Wondershare Software Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SHENZHEN WONDERSHARE SOFTWARE CO., LTD. TO: SHENZHEN WONDERSHARE INFORMATION TECHNOLOGY CO., LTD.

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120620