CN101860697A - Method and device for adding video screen display information - Google Patents

Method and device for adding video screen display information Download PDF

Info

Publication number
CN101860697A
CN101860697A CN 201010164990 CN201010164990A CN101860697A CN 101860697 A CN101860697 A CN 101860697A CN 201010164990 CN201010164990 CN 201010164990 CN 201010164990 A CN201010164990 A CN 201010164990A CN 101860697 A CN101860697 A CN 101860697A
Authority
CN
China
Prior art keywords
video
display
data
screen
buffering 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.)
Pending
Application number
CN 201010164990
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.)
Wuxi Vimicro Corp
Original Assignee
Wuxi Vimicro Corp
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 Wuxi Vimicro Corp filed Critical Wuxi Vimicro Corp
Priority to CN 201010164990 priority Critical patent/CN101860697A/en
Publication of CN101860697A publication Critical patent/CN101860697A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Circuits (AREA)

Abstract

The invention provides a method for adding video screen display information. The video screen display information which is processed by a display filter is drawn on a display screen by a display module. The method comprises the following steps that: a text type input port and a dynamically generated subtitle module are added into the display filter; a memory is provided with a buffer area, and the dynamically generated subtitle module acquires text data from the text type input port continuously according to the system time and then inputs the text data to the buffer area to change the data in the buffer area; and the display module reads the corresponding information at different positions of the buffer area sequentially according to the system time to draw the information on the display screen. A video frame is directly drawn on the display screen, and the video screen display information is not necessary to be overlaid on the video data, so that the occupancy rate of the resource is reduced, and the efficiency is improved.

Description

A kind of method and apparatus that adds video screen display information
[technical field]
The present invention relates to the video playback field, particularly about a kind of method and apparatus that adds video screen display information.
[background technology]
Along with computer network and Development of Multimedia Technology, the video information technology has become part indispensable in the life, and is penetrated into amusement, office, study various aspects.Video playback generally also comprises captions so that the user can better understand video information except continuous pictures on the video and sound.
In the application of real-time video, the captions that show on the screen have two kinds of methods at present, and a kind of is hard captions, promptly directly add on device hardware, and another kind is soft captions, promptly in application end video data is handled, to be superimposed upon on the video data.The former efficient is higher, but because of it is solidificated in the hardware device, the captions form is difficult for adjusting, and the latter is more flexible, but efficient is lower, because of it need carry out overlap-add procedure to video data,, need in whole solution, add the once processes of stack especially for the high definition packed data more, video recording if desired, even add more one separate, cataloged procedure, system resource is required too high, present most PC can't satisfy its real-time.
Fig. 1 is for adding the schematic diagram of soft captions.See also shown in Figure 1, in application end, at first decode by 110 pairs of video datas of Video Decoder, handle by 120 pairs of video datas of stack filter then, this moment can be with the subtitle superposition of required interpolation on video data, and Die Jia video data filters by display filter and then shows on screen at last.Though the method for this interpolation captions does not rely on equipment, because the video data behind the decompress(ion) is carried out overlap-add procedure, bigger to the occupancy of system resource, make efficient lower.
Therefore being necessary to propose a kind of improved technical scheme overcomes the problems referred to above.
[summary of the invention]
The purpose of this part is to summarize some aspects of embodiments of the invention and briefly introduces some preferred embodiments.In this part and the application's specification digest and denomination of invention, may do a little simplification or omit avoiding the making purpose of this part, specification digest and denomination of invention fuzzy, and this simplification or omit and can not be used to limit the scope of the invention.
One of the object of the invention is to provide a kind of method of adding video screen display, and it can not rely on equipment, and the content of output information, form are more flexible, and can reduce the occupancy to system resource, has improved efficient.
Two of purpose of the present invention is to provide a kind of device that adds video screen display, and it can not rely on equipment, and the content of output information, form are more flexible, and can reduce the occupancy to system resource, has improved efficient.
Three of purpose of the present invention is to provide a kind of display filter, and it can directly be handled caption data in real time.
According to an aspect of the present invention, the invention provides a kind of method of adding video screen display, to be shown on the display screen through the video screen display information of display filter by display module, it comprises: add a text type input port and dynamically generate the captions module in display filter; Open up a buffering area in internal memory, described dynamic generation captions module is constantly obtained text data from the text type input port according to system time and is input to described buffering area to change the data of buffering area; Read corresponding information to be plotted on the display screen according to system time to the diverse location of described buffering area successively with display module.
Further, described display filter also comprises the video data input port.
Further, the method of described interpolation video screen display information also comprises: described display module obtains text data drawing at display screen according to system time from the video data input port so that also comprise drafting on the frame of video of playing with the corresponding text data of frame of video.
Further, described video data has one to be used for determining the identical parameter of its corresponding relation with corresponding text data.
Further, the video data of described video data input port input obtains from video memory, and wherein said video memory is the video data that is used for behind the store video decoder decode.
According to an aspect of the present invention, the invention provides a kind of device that adds video screen display information, it comprises display filter and display module, display module is plotted to screen display information on the display screen, it is characterized in that: described display filter comprises: the text type input port is used to import the caption data as the text type of screen display information; Dynamically generate the captions module, described caption data is dynamically generated caption data according to system time, wherein display filter is opened up a buffering area for caption data in internal memory, to be used for upgrading the buffering area caption data according to system time;
Display module reads corresponding caption data information with on the display screen that is plotted to display to the diverse location of buffering area according to the time.
Further, the device of described interpolation video screen display information also comprises Video Decoder, and to be used for decoding video stream be video data and put into video memory.
Further, described display filter also comprises the video inputs mouth, and wherein, display module obtains video data to be plotted on the display screen by described video inputs mouth from described video memory.
In accordance with a further aspect of the present invention, the invention provides a kind of display filter, it comprises: the text type input port is used for the text data that the input needs show on the display screen of video playback; With dynamic generation captions module, in internal memory, open up first buffering area, described dynamic generation captions module constantly is input to described first buffering area to change the data of first buffering area with the text data of text type input port input according to system time.
Further, described display filter also comprises the video data input port, is used to obtain video data.
Compared with prior art, the present invention directly controls captions in real time by self-defining display filter, make video data and caption data separately on display screen, show, the effect that obtains is identical with the effect of video data stack, but can greatly reduce occupancy, improve efficient system resource.
[description of drawings]
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment 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.Wherein:
Fig. 1 adds the schematic diagram of screen display information for prior art;
Fig. 2 is for adding the video screen display information schematic representation of apparatus among the present invention; With
Fig. 3 is for adding the flow chart of video screen display information method among the present invention.
[embodiment]
Detailed description of the present invention is mainly come the running of direct or indirect simulation technical solution of the present invention by program, step, logical block, process or other symbolistic descriptions.Be the thorough the present invention that understands, in ensuing description, stated a lot of specific detail.And when not having these specific detail, the present invention then may still can realize.Affiliated those of skill in the art use these descriptions herein and state that the others skilled in the art in affiliated field effectively introduce their work essence.In other words, be the purpose of the present invention of avoiding confusion, because the understanding easily of method of knowing and program, so they are not described in detail.
Alleged herein " embodiment " or " embodiment " are meant special characteristic, structure or the characteristic that can be contained at least one implementation of the present invention.Different in this manual local " in one embodiment " that occur not are all to refer to same embodiment, neither be independent or optionally mutually exclusive with other embodiment embodiment.In addition, represent the sequence of modules in method, flow chart or the functional block diagram of one or more embodiment and revocablely refer to any particular order, also be not construed as limiting the invention.
The present invention utilizes video screen display information device and audio video synchronization so that screen display information is plotted on the display screen, and wherein the video screen display information device can be referring to shown in Figure 2.
Fig. 2 is for adding the video screen display information schematic representation of apparatus among the present invention.See also shown in Figure 2, adding the video screen display information device comprises: Video Decoder 210, display filter 220 and display module 230, its described display filter 220 obtains video data and text data in video memory 250 and the text internal memory 260 according to the time, and display module 230 obtains video data to be plotted on the display screen in real time according to system time in video memory 250.
Described Video Decoder 210 is used for decode video data, and decoded video data is put in the video memory 250.
Described display filter 220 comprises two branch roads, and a branch road comprises video type input port 2203, and another branch road comprises text type input port 2201 and dynamically generates captions module 2202.
On the branch road that comprises video type input port 2203, the video data in the described video memory 250 is imported to be used for broadcast from described video type input port 2203.General, during described video data by directly being put in the video memory after Video Decoder 210 decodings, in the process of video playback, 220 of described display filters according to system time constantly by video type input port 2203 from video memory, to obtain video data and to be drawn directly on the display screen.
Comprising text type input port 2201 and dynamically generating on the branch road of captions module 2202, the data of described text type input port 2201 inputs are the data of text type, the screen display information that need on screen, show just, as captions or fix information etc., at this moment, in internal memory, open up the data of buffering area 2204 with the stored text type, then dynamically generate captions module 2202 and obtain text data, and the data of obtaining are put in the described buffering area 2204 by text type input port 2201.In general, described text data is to be placed in advance in the text internal memory 260.
In a specific embodiment, if described buffering area 2204 is the region of memorys that contain 1024 bytes, when constantly being 01s, described dynamic generation captions module 2202 is obtained the data of the text type of 1024 bytes from text internal memory 260 by text type input port 2201 according to the time, and the text data that obtains put in the described buffering area 2204, when constantly being 03s, described dynamic generation captions module 2202 will be obtained the data of the text type of 1024 bytes once more by text type input port 2201, the text data of 1024 of the back bytes has just covered original 1024 byte text datas like this, when effectively saving memory headroom captions is controlled according to timestamp.But in actual applications, in order to prevent some interruption constantly, can be with memory setting big a little, as the space of 2048 bytes, so that the text data of acquisition all can be effectively and put into apace in the described buffering area 2204.
In another concrete example, when 30 frame of video only need identical captions, then in the process that these 30 frames are play, described dynamic generation captions module is only obtained the text data of a described captions correspondence that needs, that is to say that the text data in the buffering area is constant in the process of described 30 presentation of video frames.
Described display module 230 obtains data and obtains video data so that it is plotted on the display screen from video memory 250 according to system time control display filter 220 according to system time from the buffering area 2204 of described display filter 220, finish video playback.In one example, described display module 230 obtains video data and obtain text data to be plotted on the display screen from described buffering area 2204 by described display filter 220 simultaneously after a presentation of video frames finishes.
In one embodiment, for the video of recording, after video record finished, display filter was preserved video data information and the fix information (generally being meant time showing here) that will import simultaneously simultaneously, when after this checking video file, can see corresponding screen display information simultaneously.
It is to be noted, the screen display information of drawing on video frame images in actual applications can also can be indeclinable fix information for the captions of real-time change, as little image of certain sign etc., this situation for fix information, it can regard the captions of a special real-time change as, promptly in the process that whole video is play, dynamically generating the captions module only need be just passable with disposable certain position that remains in the buffering area 2204 of the fix information in the text internal memory, and display module 230 will all go to this position in the buffering area 2204 to go Copy Info to be plotted on the display screen at each frame.When needing on the video to show dynamic title and fix information simultaneously, then dynamic title and fix information all at the different parts of buffering area, are discerned for display module 230.
As from the foregoing, among the present invention during each frame of video playback, display module 230 has been drawn on display screen twice, first pass is to draw frame of video, second time is to draw corresponding screen display information, thereby avoided on the video data that before drawing, the screen display information data is added to respectively shown in Fig. 1, and then greatly reduced system's occupancy, improved efficient, and from the effect that the end user sees, utilize technology of the present invention the effect that produces on the display screen with use stack after the effect that is plotted on the display screen identical.
Fig. 3 is for adding the flow chart of video screen display information method among the present invention.See also shown in Figure 3, described method comprises: in the method for display video on the display screen with show the method for captions in real time on display screen, because the process of display video is same as the prior art, is that the personnel of affiliated technical field can both realize, just no longer describe in detail here.The method that shows captions on display screen in real time comprises:
Step 310 dynamically generates captions module 2202 and obtains text data according to system time by text type input port 2201;
Step 320 is put into the text data of above-mentioned acquisition in the buffering area 2204;
Step 330, display module 230 obtains text data to be plotted on the display screen according to system time from buffering area.
It should be noted that, dynamically generating captions module 2202 obtains text data and display module 230 and obtains that text data not necessarily carries out synchronously, after finishing, each presentation of video frames all in buffering area 2204, obtains text data as display module 230, but this moment, if the captions of several frame correspondences are identical, then dynamically generating 2202 of captions modules does not need to obtain new text data in buffering area.In one example, each frame can be identified by a parameter, it wants corresponding captions also to identify with identical parameter, and is identical just passable with the parameter that frame of video is identified as long as the parameter that text data identifies is obtained in assurance.
Allowing of being said in above-mentioned example also has other various implementations the method for corresponding captions and video frame synchronization, and its specific implementation is all more enough realizations of person of an ordinary skill in the technical field, just no longer describes in detail here.
In a specific embodiment, in the time will playing one section decoded video, the effect of wanting to reach is the Logo that adds captions and certain company on the video that will play in real time.The captions here then are above-mentioned text data, and the Logo of certain company will show in video display process all the time because of it, so also can regard special text data as.Because every wonderful when surpassing 24 continuous images, human eye just identification has not come out, so visually be shown as continuous broadcast, can select 30 images of per second here.If in certain broadcast stage is time period of 4s, identical captions are arranged, then the data of each frame of video that constantly will obtain by display filter 220 in the time of these 120 frame of video of display module 230 are plotted on the display screen 240, to produce 120 continuous images; And meanwhile, dynamically generation captions module 2202 had then been obtained the data of described captions by text type input port 2201 and has been put it in the buffering area from the text internal memory before this first presentation of video frames, display module 230 data of also obtaining captions described in the buffering area in first presentation of video frames are plotted on the display screen 240 subsequently, all constantly duplicate the data of described captions from buffering area to display screen 240 in the time of each frame of ensuing 119 frame of video.So just, finished the broadcast of described 4s, if some frame does not have captions, display module 230 does not just need to draw captions.
And the beginning that arrives shows the situation of the Logo of certain company extremely eventually in video playback, then can regard a special case that shows captions as.That is to say, at first dynamically generating captions module 2202 obtains the Logo data message by the text type input port and puts in the buffering area 2204, depositing the Logo section data in the buffering area 2204 all remains unchanged at the whole video playing process, next, in the process that whole video is play, display module 230 is plotted to each frame on the display screen 240, while display module 230 obtains Logo from buffering area 2204 data are plotted on the display screen, that is to say identical Logo is all arranged on each frame, because the position of Logo does not change on display screen, the effect of generation just makes that Logo is motionless at the playing process of whole video.
In sum, the present invention directly controls captions in real time by add dynamic generation captions module and text type input port in display filter, make video data and caption data on display screen, show respectively, the effect that obtains is identical with the effect of video data stack, but can greatly reduce occupancy, improve efficient system resource.
Above-mentioned explanation has fully disclosed the specific embodiment of the present invention.It is pointed out that and be familiar with the scope that any change that the person skilled in art does the specific embodiment of the present invention does not all break away from claims of the present invention.Correspondingly, the scope of claim of the present invention also is not limited only to previous embodiment.

Claims (10)

1. a method of adding video screen display information will be shown on the display screen through the video screen display information of display filter by display module, it is characterized in that it comprises:
In display filter, add a text type input port and dynamically generate the captions module;
Open up a buffering area in internal memory, described dynamic generation captions module is constantly obtained text data from the text type input port according to system time and is input to described buffering area to change the data of buffering area; With
Display module reads corresponding information to be plotted on the display screen according to system time to the diverse location of described buffering area.
2. the method for interpolation video screen display information according to claim 1 is characterized in that: described display filter also comprises the video data input port.
3. the method for interpolation video screen display information according to claim 2, it is characterized in that: the method for described interpolation video screen display information also comprises: described display module obtains text data drawing at display screen according to system time from the video data input port so that also comprise drafting on the frame of video of playing with the corresponding text data of frame of video.
4. the method for interpolation video screen display information according to claim 3 is characterized in that: described video data has one to be used for determining the identical parameter of its corresponding relation with corresponding text data.
5. the method for interpolation video screen display information according to claim 3, it is characterized in that: the video data of described video data input port input obtains from video memory, and wherein said video memory is the video data that is used for behind the store video decoder decode.
6. device that adds video screen display information, it comprises display filter and display module, display module is plotted to screen display information on the display screen, it is characterized in that:
Described display filter comprises:
The text type input port is used to import the caption data as the text type of screen display information; With
Dynamically generate the captions module, described caption data is dynamically generated caption data according to system time, wherein display filter is opened up a buffering area for caption data in internal memory, to be used for upgrading the buffering area caption data according to system time; With
Display module reads corresponding caption data information with on the display screen that is plotted to display to the diverse location of buffering area according to the time.
7. video play device according to claim 6 is characterized in that: the device of described interpolation video screen display information also comprises Video Decoder, and to be used for decoding video stream be video data and put into video memory.
8. video play device according to claim 7 is characterized in that: described display filter also comprises the video inputs mouth, and wherein, display module obtains video data to be plotted on the display screen by described video inputs mouth from described video memory.
9. display filter is characterized in that it comprises:
The text type input port is used for the text data that the input needs show on the display screen of video playback; With
Dynamically generate the captions module, open up first buffering area in internal memory, described dynamic generation captions module constantly is input to described first buffering area to change the data of first buffering area with the text data of text type input port input according to system time.
10. filter according to claim 9 is characterized in that: described display filter also comprises the video data input port, is used to obtain video data.
CN 201010164990 2010-05-07 2010-05-07 Method and device for adding video screen display information Pending CN101860697A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010164990 CN101860697A (en) 2010-05-07 2010-05-07 Method and device for adding video screen display information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010164990 CN101860697A (en) 2010-05-07 2010-05-07 Method and device for adding video screen display information

Publications (1)

Publication Number Publication Date
CN101860697A true CN101860697A (en) 2010-10-13

Family

ID=42946308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010164990 Pending CN101860697A (en) 2010-05-07 2010-05-07 Method and device for adding video screen display information

Country Status (1)

Country Link
CN (1) CN101860697A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369255A (en) * 2013-08-02 2013-10-23 苏州科达科技股份有限公司 Device and method for realizing superimposition of subtitles

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1936692A (en) * 2005-09-22 2007-03-28 联想(北京)有限公司 Projector capable playing captions and caption playing method
CN101001334A (en) * 2006-01-10 2007-07-18 神州亿品科技有限公司 Captions added system and method for implementing captions added
CN101222592A (en) * 2007-01-11 2008-07-16 深圳Tcl新技术有限公司 Closed subtitling display equipment and method
CN101432795A (en) * 2006-05-05 2009-05-13 松下北美公司美国分部松下汽车系统公司 System and method for adding information displayed on screen into video signal
US20090265738A1 (en) * 2008-04-22 2009-10-22 Kung-Lieh Liao Method for dynamically displaying auxiliary display data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1936692A (en) * 2005-09-22 2007-03-28 联想(北京)有限公司 Projector capable playing captions and caption playing method
CN101001334A (en) * 2006-01-10 2007-07-18 神州亿品科技有限公司 Captions added system and method for implementing captions added
CN101432795A (en) * 2006-05-05 2009-05-13 松下北美公司美国分部松下汽车系统公司 System and method for adding information displayed on screen into video signal
CN101222592A (en) * 2007-01-11 2008-07-16 深圳Tcl新技术有限公司 Closed subtitling display equipment and method
US20090265738A1 (en) * 2008-04-22 2009-10-22 Kung-Lieh Liao Method for dynamically displaying auxiliary display data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369255A (en) * 2013-08-02 2013-10-23 苏州科达科技股份有限公司 Device and method for realizing superimposition of subtitles

Similar Documents

Publication Publication Date Title
CN109168078B (en) Video definition switching method and device
US9313442B2 (en) Method and apparatus for generating a broadcast bit stream for digital broadcasting with captions, and method and apparatus for receiving a broadcast bit stream for digital broadcasting with captions
EP3886444A1 (en) Video processing method and apparatus, and electronic device and computer-readable medium
MXPA96003105A (en) Method and device for coding / decoding data and decoding means of data codifica
KR960032442A (en) Encoding / Decoding System of Image Information
US20050180462A1 (en) Apparatus and method for reproducing ancillary data in synchronization with an audio signal
KR20150057591A (en) Method and apparatus for controlling playing video
CN104202546B (en) CAVE immersions virtual display system and display methods
CN102055941A (en) Video player and video playing method
CN104952471B (en) A kind of media file synthetic method, device and equipment
CN104301657B (en) A kind of video conference terminal and its secondary flow data cut-in method
CN105187896A (en) Multi-segment media file playing method and system
US10750149B2 (en) Information processing apparatus, information recording medium, information processing method, and program
WO2016171002A1 (en) Transmission device, transmission method, reception device, and reception method
CN102929654A (en) Method for playing embedded videos in game
CN106331883A (en) Remote visualization data interaction method and system
CN103188548A (en) Digital television sign language dubbing method and digital television sign language dubbing device
CN102724522B (en) Method and system for realizing 4D digital film based on DCI standard
GB2514456A (en) Systems and methods for generating a video clip and associated closed-captioning data
CN107864393A (en) The method and device that video is shown with captioning synchronization
JP2001024610A (en) Automatic program producing device and recording medium with programs recorded therein
CN106231402A (en) A kind of method in terminal, multiple video seamless connections play
KR100798556B1 (en) Digital apparatus comprising active display linking function
CN101860697A (en) Method and device for adding video screen display information
JP2003009101A (en) Multi-screen reproducing equipment and method therefor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20101013