CN1997153B - A method and device for computer multi-video playing - Google Patents

A method and device for computer multi-video playing Download PDF

Info

Publication number
CN1997153B
CN1997153B CN2006100636686A CN200610063668A CN1997153B CN 1997153 B CN1997153 B CN 1997153B CN 2006100636686 A CN2006100636686 A CN 2006100636686A CN 200610063668 A CN200610063668 A CN 200610063668A CN 1997153 B CN1997153 B CN 1997153B
Authority
CN
China
Prior art keywords
video
medium
media
frame
picture
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.)
Active
Application number
CN2006100636686A
Other languages
Chinese (zh)
Other versions
CN1997153A (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.)
Xu Shan
Original Assignee
BEIJING HENGZHUN TECHNOLOGY 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 BEIJING HENGZHUN TECHNOLOGY Co Ltd filed Critical BEIJING HENGZHUN TECHNOLOGY Co Ltd
Priority to CN2006100636686A priority Critical patent/CN1997153B/en
Publication of CN1997153A publication Critical patent/CN1997153A/en
Application granted granted Critical
Publication of CN1997153B publication Critical patent/CN1997153B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

This invention provides a computer multiple visual play method and a device, wherein the method comprises the following steps: receiving at least two media source information from remote end and local place; reading relative media according to at least two media source addresses and decoding the media to respectively generate a path of visual frame data and an audio frequency data; displaying the at least two visual frames onto different window in same screen by calling a D3D port, wherein one window as main window and others as aid windows; selecting audio data relatived with the visual frame in main window for play and output. The invention realizes a multiple visual play PIP(picture in picture) function in computer, and greatly improve the user experience and expand the application and service of the video and the business market.

Description

A kind of computer multi-video player method and device
Technical field
The present invention relates to the video playback technical field, concretely, relate to a kind of computer multi-video player method and device.
Background technology
Watch video, become the main application of PC.Particularly get into today of huge numbers of families in the Internet, network and Internet video become the brand-new channel of multimedia information dissemination.No matter various video contents are the individual videos of being made by domestic consumer, and the video frequency program of still being made by professional media can both let Internet user all over the world pass through network download or online playing whenever and wherever possible.
Original vision signal need could guarantee under the prerequisite that guarantees the audio frequency and video quality to greatest extent through overcompression, coding, reduces the size of video file, reduces the bandwidth requirement in the Network Transmission.And, on user's computer, need decoding be reduced into the video that to watch through the video of overcompression and coding.
The Code And Decode algorithm of video is comparatively complicated; Particularly high to those compression ratios, the video that the audio frequency and video quality is high is if adopt the mode encoding and decoding of software; Can consume a large amount of system resource, the disposal ability of CPU, the size of internal memory are all had very high requirement.For this reason, make in a large number at needs, during transmission of video, need coded hardware equipment; And,, all can adopt decoding chip to reduce video like STB, MP4 player or the like at some Embedded equipment.
Initial video all is to propagate with the mode of file basically, and the copy that the user need download to video file fully afterwards could begin to watch, and because video file is bigger, therefore needs to wait for for a long time.For this reason, based on network streaming media video arises at the historic moment, and watches streaming media video while the user can download.The birth of streaming media video lets network TV IPTV become the field that telecom operators and video content merchant emphasis drop in recent years.The user is can be on broadband network online to watch various videos.In addition, along with popularizing of video DV equipment, domestic consumer also can make individual video as professional media.Therefore diverse network video sharing website also has been born.What no matter the user used is any Video service, and the video pictures that can watch decoded, be reduced into to the video content of which kind of form that obtains, final video all will through " video player ".
Current, the main operational mode of the video player of main flow comprises: the pattern of stand-alone utility pattern (window scheme), embedded web page browser and played in full screen pattern.
Under window scheme, as common computer applied algorithm, the user can use functions such as the menu, Play Control button, minimax window of player.
The pattern of embedded web page browser is slightly different with window scheme, and button and right-click menu that some control of video are play are retained, and minimize, function such as menu all is removed.For the various websites that Internet video content and service are provided, can both see on webpage, having embedded video player that the user can watch corresponding video content in browsing page information in the overwhelming majority.
No matter be window scheme or embedded web page pattern, the user can promptly let video pictures monopolize whole display space full frameization of video.In the screen mode toggle, video scaling, control (time-out, F.F. etc.) function all can be superimposed upon on the video pictures, and the user need not withdraw from screen mode toggle can realize the control to video.Screen mode toggle is that the user is watching conventional video such as TV, film to experience for a long time.Under full frame situation, the concern of video council sole user, full frame requirement to video quality simultaneously is also very high.
All in the market video players have all adopted as above three kinds of patterns.Explain that the network user has formed the acquired behavior pattern that Internet video is watched gradually on the one hand, explain also that on the other hand this simple video pattern of watching exists the crucial more difficult problems that can't overcome, and comprising:
(1) single video
In arbitrary moment of these video players, in a player, can only play one section video.When the user need obtain a plurality of video content, can only realize through the mode of opening video window more.A plurality of video windows can cause such as sound and be mingled in together, take more system resource or the like problem.User experience can only use confusion to describe.And, at present on the PC that specific video card is not installed, can not when video of played in full screen, on screen, play another video simultaneously, the mode with pure software of promptly being difficult to realizes the picture-in-picture (PIP) under full frame.
(2) video and information separated
A large amount of picture, text and Flash content on the network only could coexist with video in webpage.And video to a great extent, because its particularity, is huge to the attraction of user's attentiveness, therefore is difficult to go the content of noticing that these are relevant again.Under the play mode of full frame or window, the user can't get access to the information of other types when watching video in addition.
The above problem that the conventional video player exists has limited the generation of innovation Video Applications and service greatly, has especially hindered the development of web advertisement video market.
Advertisement is one of successful business model of the Internet.The legacy network advertisement is main with picture, Flash and content of text, and the brand strength that video ads can transmit is that traditional approach is incomparable.But present video ads pattern comprises following dual mode:
(1) video (like Yahoo Movie) that in the program video playing process, breaks for commercialsy
Identical with television advertising, video ads inserts in the process of playing programs, replaces original video fully.For this mode, on the one hand the user experiences poor, and user's the behavior of normally watching is interrupted, and often during advertisement video is play, the user can shift it and watch and a little do other things.On the other hand, the commercial breaks video can only have two kinds of implementations:
Just advertisement is sheared into when 1) programming video
This just need drop into a large amount of human and material resources in the video editing in early stage, in case and video production just can't be made amendment to ad content after accomplishing.
2) often only, program video intercuts when playing beginning and finish
So wasted a large amount of effective advertisement opportunity and time, and beginning and when finishing user's attentiveness be difficult to and can be placed on the video fully.And such advertisement putting comparatively speaking and watch and still isolating between the process of program, and the user can't select, so user experience and bad.
(2) video ads (like iCast) appears on the page
When the user mixes browsing page, rise video ads automatically.The large-area web page contents that sheltered from, the user does not select.Therefore user experience is poor, and most this type of advertisement all can can't be ejected by browser or tool bar shielding.
In addition, Internet video is that infinite channel can be arranged in theory, and this point is different with the channel of traditional tv fixed qty.But individual for the user, its attentiveness is limited.And the various contents of broadcasting in the Internet video channel of these magnanimity under the situation of single video, do not let the user enjoy the right of selection fully.
Along with watch popular shared in the increase-volume of the network bandwidth, the decline of cost of video storage with video; " video " become the new focus in the Internet; Yet the above defective that conventional video playing programs and video ads are thrown in; Greatly limit the generation of the application and service of video playback, also hindered the innovation and the development of Video service business model.
Summary of the invention
Because as above problem the object of the present invention is to provide a kind of computer multi-video player method and device, show with the picture-in-picture of realizing many videos in the computer, improve user experience.
To achieve these goals, technical scheme of the present invention is:
A kind of computer multi-video player method comprises the steps:
The interface display parameter is set and generates medium according to the configuration in the configuration file and read Control Parameter; Comprise configuration in the said configuration file to predefined template, playing plan and script; Said interface display parameter comprises the position and the size of video, and it is the parameter that is used to control said medium time for reading or frequency that said medium read Control Parameter;
From far-end or at least two source of media information of local reception;
Read the medium that Control Parameter reads correspondence according to said at least two media source address and said medium, and medium are decoded each self-generating one road video requency frame data and one road voice data;
According to said interface display parameter, utilize the said position of indication and two above triangles of size to represent the position and the size of each road frame of video to be shown, and utilize texture object to describe the data bitmap of each road frame of video;
Utilize D3D; Be shown on the different forms of same display screen based on the indicated position of said texture object and said two above triangles and the big young pathbreaker frame of two-path video at least that generates of decoding; And with one of them form as main viewfinder, with the window beyond the said main viewfinder as auxiliary form;
Selection is play output with the frame of video corresponding audio pulse modulation data in the main viewfinder.
The demonstration refreshing frequency that said D3D interface is set was 25 frame/seconds.
This method also comprises: the interface display parameter is set in advance, to export displaying video according to said interface display parameter.
Said interface display parameter comprises: the size of video, position, transparency and/or animation effect information.
This method also comprises: medium are set in advance read Control Parameter, with reading according to these control information each medium of control.
Said medium read Control Parameter and comprise: media address and time for reading or FREQUENCY CONTROL information.
Said medium comprise video flowing and media file, and media file comprises video, audio frequency, FLASH, literal and picture.
This method also comprises: on said frame of video, hyperlink is set.
This method also comprises: the shortcut of mouse or keyboard is set, to switch main viewfinder and auxilliary form.
Said parameter is configured through XML format configuration file, order line, user's specific mode.
Said main viewfinder and auxiliary form show with stack or mode side by side.
Many video play devices in a kind of computer comprise: interface management unit, at least two source of media reading units, videos represent the unit and audio frequency represents the unit;
Said interface management unit is used for from far-end or two source of media information of local reception at least; The interface display parameter is set and medium read Control Parameter according to described source of media information setting medium source address and according to the configuration in the configuration file; Comprise configuration in the said configuration file to predefined template, playing plan and script; Said interface display parameter comprises the position and the size of video, and it is the parameter that is used to control said medium time for reading or frequency that said medium read Control Parameter;
Said source of media reading unit is used for the receiving media source address, reads Control Parameter according to said medium and reads said medium, and medium are decoded, and generates video requency frame data and voice data, and said video requency frame data is sent to video represents the unit;
Said video represents the unit and is used for according to said interface display parameter; Utilize the said position of indication and two above triangles of size to represent the position and the size of each road frame of video to be shown; Utilize texture object to describe the data bitmap of each road frame of video; And utilize D3D; The frame of video that generates based on the indicated position of said texture object and said two above triangles and said at least two the source of media reading units of big young pathbreaker is shown on the different forms of same screen, and with one of them form as main viewfinder, with the window beyond the main viewfinder as auxiliary form;
Said audio presentation unit is used for receiving the frame of video corresponding audio data with main viewfinder, and plays.
Said interface management unit also is used for being provided with in advance the interface display parameter, and described interface display parameter is transferred to said video represents the unit, with according to said interface display parameter output displaying video.
Said interface display parameter comprises: the size of video, position, transparency and/or animation effect information.
Said interface management unit is used to that also medium are set and reads Control Parameter, with reading according to these control information each medium of control.
Said medium read Control Parameter and comprise medium time for reading or FREQUENCY CONTROL information.
The demonstration refreshing frequency of said D3D interface was 25 frame/seconds.
Said medium comprise video flowing and media file, and media file comprises video, audio frequency, FLASH, literal and picture.
Through aforesaid the present invention; Realized the broadcast of the mutual superposition (or side by side) of a plurality of videos (video, picture, text, FLASH etc.) on same screen; Promptly realized the picture-in-picture function of many video playback on the computer; Greatly improve user experience, and expanded the application and service of video, enlarged the commercial market.
Description of drawings
Fig. 1 is a method flow diagram of the present invention;
Fig. 2 is the schematic flow sheet that video requency frame data is shown of the present invention;
Fig. 3 is the structured flowchart of many video play devices of the present invention;
Fig. 4 is the sketch map of the displayed scene 3 of the embodiment of the invention;
Fig. 5 is the sketch map of the displayed scene 4 of the embodiment of the invention;
Fig. 6 is the sketch map of the displayed scene 5 of the embodiment of the invention;
Fig. 7 is the sketch map of the displayed scene 6 of the embodiment of the invention;
Fig. 8 a, Fig. 8 b are the sketch map of the displayed scene 7 of the embodiment of the invention.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, specific embodiment of the present invention is elaborated below in conjunction with accompanying drawing.
Embodiment 1
Present embodiment is to use Direct3D (the being called for short D3D) technology of Microsoft, utilizes Direct3D can handle the ability of a plurality of Drawing Objects simultaneously, realizes that a plurality of videos show (picture-in-picture function) simultaneously under full screen.
In the present embodiment; Realize that the basic principle that the computer video picture-in-picture shows is: describe the position and the size of a video/picture/literal with two or more triangles, the power function that then these leg-of-mutton data is input to D3D shows them.
The video of computer generally is 4: 3 a rectangle; Can represent that the texture object (texture) that the data bitmap of video uses D3D to support is described, and carries out related with above-mentioned two triangles this texture with the right-angled triangle that two hypotenuses link to each other; Then the function of these data inputs D3D; Just can demonstrate a frame video, show follow-up frame of video continuously, just can obtain the picture of video playback with assigned address and size.
Utilize same operation principle, just can on a secondary picture, put into different a plurality of video/picture/literal, describe with a series of triangle, the function of disposable then input D3D shows.Constantly this action of cycle repeats just can obtain the effect that a plurality of video/picture/the literal weave in shows simultaneously.
Utilize the characteristics of video per second 25 frames, the display refresh rates of D3D also was arranged to for 25 frame/seconds, can obtain smooth broadcasting pictures, also controlled the consumption of CPU and internal memory well.This is because the disposal ability of D3D can show a lot of triangles simultaneously and add texture within one second; And a video/picture/literal object just can be described with two triangles by our system; The object that on screen, occurs simultaneously generally is no more than 50, and (too many object can cause picture chaotic; Seldom occur in the reality); So the number of triangles that per second need show in the time of in fact most of is 50*2*25=2500, only account for the 2500/3000000=0.08% of machine (like notebook computer) the D3D triangle disposal ability of low configuration.And the bitmap size of a frame video generally is 640*480, and the bitmap that need handle video a second is counted and is 640*480*25=7.68M, only accounts for the 7.68M/242.6M=3.17% of machine (like notebook computer) the D3D texture processing ability of low configuration.This shows that D3D can be competent at fully for handling the so high dynamic dataflow of plurality of video.
D3D support window and full frame two kinds of display modes, and can between two kinds of patterns, switch at any time, the function of two kinds of display mode supports is consistent.Because the mode that we realize is directly to utilize D3D to realize the function that many videos and picture and text superpose, these functions all are the same at window with performance under full frame.
D3D supports mouse function under window and screen mode toggle, in video display process, when computer is received the incident of click; According to the coordinate position of mouse, in the picture list object, to search, the picture object all includes information such as position size; Can judge in view of the above mouse is to have clicked which object; If the related action of this object definition, Play System can be carried out this action, and this action can be the function of wide range; Such as certain object is shown/hide other objects of generation/destruction etc.So just can to the user mutual function be provided for the user provides further information.
Our system's per second shows that before each the demonstration, attributes such as leg-of-mutton position size and texture can change, so picture/Word message that system can provide real-time update to show changes the position size, make functions such as animation effect 25 times.
Though be to adopt the D3D function to realize that the picture-in-picture of many videos shows that the present invention is not limited to this in the present embodiment.Adopt OpenGL, DirectShow etc. can a plurality of visual objects to be handled equally with similar computer graphical of D3D and video processing interface, and come out in same screen displayed, the effect that just reaches is difficult to compare mutually with D3D.
As adopt other 3D technology, like OpenGL, can reach the repertoire that D3D realizes our system too, but OpenGL towards be the professional user, hardware is had higher requirements.In addition; The control VMR9 that Microsoft provides in DirectShow SDK (Video Mixing Render 9); Also can realize the demonstration that on screen, superposes of the decoded video flowing of two-way; But VMR9 has more problem on using, and perhaps changes size such as being difficult to smoothly the small video window moved, has bigger efficiency etc. when showing than multi-object.
Fig. 1 is a schematic flow sheet of in same screen, realizing many video playback of the present invention.As shown in Figure 1, can comprise the steps:
(1) reads XML (eXtensible Markup Language, extend markup language) configuration file
Available XML configuration file comes many video playback are configured in the present embodiment.When various content of multimedia show in a concentrated interactive interface simultaneously, not only need coordinate various contents synchronously, substep shows, and need process user mutual, respond to users action or the like.Therefore need define template, playing plan and script in advance, so that video content and other multimedia messagess are controlled, and be responsible for communicating by letter, at any time the control signal of process user with service end.Can come predefined template, playing plan and script etc. are configured through the XML configuration file.Also comprise a plurality of (comprising two) source of media information that needs are play in the said configuration file.
Said configuration also can realize through manual configuration or through input command is capable.
(2) generate interface element according to configuration file, and the various attributes of interface element are set.
Corresponding to the number of the medium that will play, generate the interface element of same number.At this, said interface element comprises big or small position, transparency, the animation effect interface display parameters such as (as are fade-in fade-out, rotate) of video, and the attribute that interface element is set also promptly is provided with said interface display parameter.The interface element that is provided with can send the unit that will carry out video display to the formation form.Just can control the display effect of medium when the media play of correspondence according to the interface element that is provided with.
(3) generating medium according to the configuration in the configuration file reads Control Parameter, medium source address is set (like URL; URL; Be network address), and (comprise media file and Media Stream etc., these medium both can be positioned at local computing to read corresponding medium according to setting; Also can be positioned at far-end server), and separately the medium bag is decoded into video requency frame data and tonepulse modulating data.Corresponding to a plurality of medium, be decoded into corresponding multi-channel video frame data and tonepulse modulating data altogether.As show at the same time under the situation of 2 videos, then will 2 media decodes be become 2 road video datas and 2 road voice datas according to 2 source of media corresponding address.
At this, it is the parameter that is used to control medium time for reading or frequency that described medium read Control Parameter.As, control the medium that generate auxiliary form and whenever read broadcast once at a distance from 5 minutes, perhaps when connecting, downloading and cushioning, read broadcast etc. at the main viewfinder medium.This parameter can make amendment and be provided with as required easily.
(4) according to the setting of interface element, the multi-channel video frame data that decoding is generated show at the different forms of same screen.The concrete step that shows is as shown in Figure 2.
Video represents in the unit continual inspection interface element formation whether the interface element that need represent is arranged; After video represents the unit and finds that the element that need represent is arranged; To display parameters be set according to interfacial structure unit designated parameters, the interface element that from formation, will represent then takes out.
Video represents the unit will resolve into triangle by the interface displayed element, if the interface element that represents is a video, video represents the unit will obtain the data bitmap of frame of video from carry out unit that source of media reads, and will convert thereof into texture object.
Video represents the unit according to the display parameters that obtained, data texturing, and leg-of-mutton texture, position, size are set.Calling the D3D interface then will be outputed in the middle of the picture buffer by the interface element display frame that various triangles constitute.
At this moment video represents the unit and will check whether the demonstration of previous frame picture has pass by 1/25 second, if not then wait for, if pass by 1/25 second, then calls the D3D interface display frame in the picture buffer is outputed on the computer screen.
Video represents device can constantly repeat process shown in Figure 2, lets smooth the playing back of video.
In the different forms that shown, as main viewfinder, other form is as auxiliary form with one of them form.As can be with the display size that is provided with big form is as main viewfinder.
(5) select as required the audio data decoder of some source of media is play.
Usually, with main viewfinder in frame of video corresponding audio decoded data play output.
Through step as above, just realized having many video playback effect of picture-in-picture function.Not only can avoid the dullness of single video, can not cause mixing of sound again; And when playing main video, if media contents such as commercial breaks need not when making main video media, advertisement to be sheared into, and play at any time; And, owing to the position size that can control the advertisement page, transparency etc., in time when playing main video media, play, can not influence very much the viewing effect of main video media yet, therefore improved user experience greatly.
Utilize the 3D technology; Many video broadcasting methods of the present invention can be supported at least two video window experience seamless, mutual superposition smoothly (picture-in-picture function): be divided into main video window and auxilliary video window like picture, the sound that the user hears is sound played in the main video window.
The present invention can also on the video playback interface, superpose a plurality of auxiliary videos, Flash, picture and content of text, and the setting through interface element can be supported in the roll titles that superposes on the video (comprising literal, picture).The content of captions and relevant parameter all can be provided with.
The present invention also can be switched main video window and auxilliary video window through shortcut is set, and is about to the main video frequency program of broadcast simultaneously and the broadcast position of auxilliary video content and exchanges.Auxilliary video content broadcast accomplish after, the main program video all will come back to the main broadcaster and put window and play.
The present invention intercuts video ads when also being supported in the P2P connection, downloading and cushioning.When client end of playing back connects or during switching channels first, can be because connect, download and buffering and cause main video window not have play content.This moment, client was thrown in the arrangement of planning according to auxiliary video, broadcasted advertisement at main video window, showed the progress that connects, downloads and cushion simultaneously.After main video frequency program cushions completion, directly play, and automatically advertisement video is switched to auxilliary video window continuation broadcast at main video window, finish playing until auxiliary video.
The present invention supports hyperlink equally.On the content (literal and picture) of advertisement video, picture, roll titles, can specify hyperlink.After the user clicks auxiliary video window, picture and word content, eject new browser window and open corresponding link.
In the process of switching major-minor video window, the appearance of auxiliary video content, the present invention supports various scenes to switch effects.As: 1. be fade-in fade-out, 2. spring into ejection, 3. fly into the switching of the effect that flies out.
The present invention also supports full frame and window is play.When the user double-clicks in the video playback position, automatically switch to window or played in full screen mode.
The present invention can be the shortcut that the user provides mouse action and keyboard, does following action: switch main video window and auxiliary video window 1.; 2. the switching between full frame and window is play; 3. switch the broadcast address (channel switching) of main program video.Channel like each program video can be superimposed upon on the main program video window with written form, and the shortcut through click corresponding channel or operation keyboard can carry out the switching of channel.
The present invention also can provide independent client application.User directly running client program can watch main video flowing and correspondent advertisement to throw in content.The operating system that needs to support comprises: WindowsXP and Windows 2003.
In addition, but in the client embedded web page.But client Embed is in webpage, and embedded client can be play main video frequency program and advertisement putting content equally.Support same interactive operation (mouse and keyboard shortcut etc.).In addition, the user can realize that through the channel link of clicking in the page channel switches.
Many video broadcasting methods of the as above picture-in-picture of present embodiment can be realized with software, hardware or way of hardware and software combination.As producing the new video player that carries out many video playback according to as above step, to run on the computer through software.Video player of the present invention can comprise like lower module (being shown as example with the picture-in-picture that comprises 2 videos describes):
Interface management module, two source of media read modules, videos represent module and audio frequency represents module.
Said interface management module is used to receive two source of media information, and medium source address, interface display parameter and medium are set read Control Parameter; Wherein, Described interface display parameter (or general designation interface element) comprises that mainly the big or small position, transparency, animation effect (as be fade-in fade-out, rotate) of video etc. (but is not limited thereto; Also can comprise some picture display parameters that other is commonly used), these parameters all can be revised and be provided with.Said medium read Control Parameter and are mainly used in control medium read module reading media file; For example; The media file that control generates auxiliary form whenever read broadcast once at a distance from 5 minutes, read simultaneously and play with main video media file, perhaps when being connected, downloading and cushioning, reads broadcast etc. in the main viewfinder played file.Said interface management module will be transferred to video with two corresponding two interface display information (or claiming interface element) of source of media and represent module.
Said two source of media read modules; Be used for respectively reading medium (like media file and/or Media Stream), and medium being decoded according to each medium source address; Generate corresponding video requency frame data and voice data, and said video requency frame data is sent to video represents the unit.
Said video represents module, is used for the frame of video that said two source of media reading units generate is shown to the different forms of same screen, and with one of them form as main viewfinder, with the window beyond the said main viewfinder as auxiliary form;
Said audio presentation module is used for receiving a road of two-way audio pulse modulation data and plays.For example, can select to play with the video corresponding audio pulse modulation data of main viewfinder broadcast.
Video player of the present invention can support to play the video format file or the stream of main flow, like WMV, H.264, mpeg-2/4, Flash etc.
Utilize the XML configuration file can pre-configured indicating template, playing plan etc.; And the interface management module can be carried out the setting of client parameter according to the configuration of Xml configuration file; Therefore through XML configuration file and interface management module, can realize following broadcast management function:
(1) broadcast of may command advertisement video.As: 1. the position of given ad video (file or video flowing address); 2. the time of advertisement putting and frequency; The initial size of the auxilliary video window in advertisement place, the position occurs and switch effect.
(2) advertisement of may command roll titles is broadcasted.1. the content of may command roll titles (literal and picture); 2. the time of occurrence of may command captions and frequency; 3. the may command speed of rolling; 4. the position that occurs of may command captions; 5. the outward appearance of captions can be set, comprise size, font, color and translucent.
(3) input of may command display advertising.As picture file address, time of occurrence and frequency, picture position and the size of advertisement picture (like Logo) can be set.
(4) support to break for commercialsy in real time.Can receive the service end instruction through remote interface like client, intercut video ads in real time.
(5) can broadcast by pre-release advertisement putting plan.With the form of remote interface or file, support the Schedule of advertisement putting.These Schedule are published to client in advance before advertisement is broadcasted.Client will be broadcasted advertisement according to the form of Schedule.Can comprise ad content, broadcast form, broadcast plan (broadcast time/timing broadcast frequency) among the Schedule.
(6) record ad playing daily record.But recording user is in watching the video process, and the actual conditions that advertisement is broadcasted need data recorded to comprise: 1. ID or client id; 2. time; 3. main video frequency program ID; 4. advertisement ID begins broadcast time and duration; 5. the advertisement position that adopts is broadcasted in advertisement.
(7) support asynchronous downloads ad video.Can download to client through the advertisement video that asynchronous mode will be thrown in advance.
(8) remote management interface is provided.The far call interface can be provided, support control as follows: 1. the input of advertisement video and Play Control; 2. the input of literal and display advertising and control; 3. the collection of ad playing daily record data.
(9) install flexibly and upgrading.The user can download or online installation client.But user's online upgrading client.
(10) log collection is broadcasted in asynchronous advertisement.Can regularly gather the advertisement broadcast daily record that client records is got off with asynchronous form.
(11) the advertisement putting statistical report form is provided.With various dimensions reality is broadcasted daily record and carry out data mining, and generate form: 1. by advertiser; 2. press ad content; 3. press advertisement position; 4. press ad break; Other.And statistics can be exported with the mode of Xml or Excel file.
Enumerate the user experience that several scenes explain that video player of the present invention brings below.
Scene 1:
Miss A likes seeing the variety show " Kangxu has come " in Taiwan recently, but because the not broadcast of interior ground TV station, she so Miss A can only watches through the mode of Internet video.
As usual, " Kangxu has come " that Miss A removes to see up-to-date first phase to the Online Video website of often going as a rule, the welcome guest of current period is Taiwan singer-Ren Xianqi.
The link of Miss's A webpage clicking, webpage calls video player of the present invention, begins to play.
When 1) beginning to play, because network connects and buffering needs the time, what Miss A saw in player during this period is the trailer of other excellent video frequency programs of video website;
2) after successful connection and buffering were accomplished, Miss A began to watch " Kangxu has come ", begin to watch 1 minute after, the video website Logo picture of a rotation appears in video pictures automatically, this looks closely the prompting user frequency copyright is arranged;
3) begin to watch 5 minutes after, roll titles has appearred in the below of video pictures, the prompting user " song fans' party of Ren Xianqi will be held at the X place with X month X day.。。”;
4) begin to watch 10 minutes after; A video wicket is slowly risen in the video pictures below; Video content is one section advertisement video, and video content is " appointing virtuous neat the latest album to sell and the MV fragment ", when Miss A clicks this video window; " Kangxu has come " switched to wicket and broadcasted, and advertisement video is switched to main video window broadcast.
Miss A is very interested in ad content, clicks the page that has ejected online books, phonotapes and videotapes website behind the main video window, begins to buy." Kangxu has come " switched back main video window again and begun broadcast simultaneously.
Scene 2:
2010 world cups have been kicked off; Mr.Cool it is said that sky TV station passes through a plurality of channels in the digital signal of Britain; Picture to the video camera of a plurality of different seats in the plane of bout is taken is simultaneously live, and the televiewer is free to select, switch to want which angle to watch match from.Mr.Cool has also found the tame internet video live broadcasting website that similar service is provided on the net.
Mr.Cool opens the net cast website, has selected one just live match (Dutch vs. is German), and webpage calls video player of the present invention, begins to play.
What 1) main video window was play at the beginning is the video content that is turned over by the public TV signal
2) four little video windows are arranged below main video window; Synchronous playing the video camera from rear, two teams goal respectively, tracking court star's video camera passes three live video streams of coming, and also has one to be the video flowing of the excellent camera lens repeat playing of this competition of web editor montage just.
3) Holland team's attack, Mr.Cool loses no time to switch to the video flowing behind the Germany team goal.Ball has advanced! During halftime, Mr.Cool switches to excellent montage video window, watches that the excellent camera lens of the first half is reset.
Scene 3
When P2P connects or video when downloading, the full screen display advertisement, and wicket shows connection progress (as shown in Figure 4) simultaneously.After connection finished, main window showed former video.
Scene 4
The time spot of broadcast program, wicket rises, and broadcasts the TV guide advertisement (as shown in Figure 5) of operator.The TV guide advertisement of operator automatically switches to big window (being advertisement at this moment), as if wicket continues to show former program (being advertisement at this moment), perhaps switched by the user, because trailer should be more attractive than former advertisement.
Scene 5
In the playing programs, show wicket according to the advertisement policy of formulating in advance, playing advertisements (as shown in Figure 6), the user can carry out the switching between program.Wherein the advertisement wicket can be set per set time (per half an hour) and play once 5 minutes duration.
Scene 6
Upper left side (or optional position) at screen Shows Picture (as shown in Figure 7), and may command shows time, number of times, and said picture can be advertisement or station symbol.
Scene 7
Read clock superposes on video; Leave when the integral point or the least bit differ from one minute and begin to show that one fen half is assigned in lasting demonstration one, when showing the time, can show the clock and watch advertisement; Simulated clock simulation clock can be set in dial plate (like Fig. 8 a), digital dock (like Fig. 8 b) up.
Embodiment 2
In the present embodiment device of realizing many video playback is described.
Fig. 3 is the structured flowchart of many video play devices of the present invention, is that example describes with the picture-in-picture playing device that comprises two videos only at this, and the picture-in-picture that can extend to a plurality of videos thus easily shows.As shown in Figure 2, said device mainly comprises: interface management unit, two source of media reading units, videos represent the unit and audio frequency represents the unit.
Said interface management unit is used to receive two source of media information, and according to each source of media information setting medium source address, interface display parameter and Play Control parameter; Wherein, Described interface display parameter (or general designation interface element) comprises that mainly the big or small position, transparency, animation effect (as be fade-in fade-out, rotate) of video etc. (but is not limited thereto; Also can comprise some picture display parameters that other is commonly used), these parameters all can be revised and be provided with.Said Play Control parameter is mainly used in control medium reading unit reading media file; For example; The media file that control generates auxiliary form whenever read broadcast once at a distance from 5 minutes, read simultaneously and play with main video media file, perhaps when being connected, downloading and cushioning, reads broadcast etc. in the main viewfinder played file.Said interface management unit will be transferred to video with two corresponding two interface display information (or claiming interface element) of source of media and represent the unit.
Said two source of media reading units; Be used for respectively reading media file (comprising Media Stream), and media file being decoded according to each medium source address; Generate corresponding video requency frame data and voice data, and said video requency frame data is sent to video represents the unit.
Said video represents the unit, is used for the frame of video that said at least two source of media reading units generate is shown to the different forms of same screen, and with one of them form as main viewfinder, with the window beyond the said main viewfinder as auxiliary form;
Said audio presentation unit is used for optionally receiving a road of two-way audio pulse modulation data and plays.For example, can select to play with the video corresponding audio pulse modulation data of main viewfinder broadcast.
Through as above unit is set, just can realize that the picture-in-picture of video is play in computer.
Above embodiment only is used to explain the present invention, but not is used to limit the present invention.All within spirit of the present invention and principle, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (11)

1. a computer multi-video player method is characterized in that, this method comprises the steps:
The interface display parameter is set and generates medium according to the configuration in the configuration file and read Control Parameter; Comprise configuration in the said configuration file to predefined template, playing plan and script; Said interface display parameter comprises the position and the size of video, and it is the parameter that is used to control said medium time for reading or frequency that said medium read Control Parameter;
From far-end or at least two source of media information of local reception;
Read the medium that Control Parameter reads correspondence according to said at least two media source address and said medium, and medium are decoded each self-generating one road video requency frame data and one road voice data;
According to said interface display parameter, utilize the said position of indication and two above triangles of size to represent the position and the size of each road frame of video to be shown, and utilize texture object to describe the data bitmap of each road frame of video;
Utilize D3D; Be shown on the different forms of same display screen based on the indicated position of said texture object and said two above triangles and the big young pathbreaker frame of two-path video at least that generates of decoding; And with one of them form as main viewfinder, with the window beyond the said main viewfinder as auxiliary form;
Selection is play output with the frame of video corresponding audio pulse modulation data in the main viewfinder.
2. method according to claim 1 is characterized in that:
The demonstration refreshing frequency that the interface of said D3D is set was 25 frame/seconds.
3. method according to claim 1 is characterized in that, said interface display parameter also comprises: the transparency of video and/or animation effect information.
4. method according to claim 1 is characterized in that:
Said medium comprise video flowing and media file, and media file comprises video, audio frequency, FLASH, literal and picture.
5. method according to claim 1 is characterized in that this method also comprises:
On said frame of video, hyperlink is set.
6. method according to claim 1 is characterized in that this method also comprises:
The shortcut of mouse or keyboard is set, to switch main viewfinder and auxiliary form.
7. method according to claim 1 is characterized in that:
Said main viewfinder and auxiliary form show with stack or mode side by side.
8. many video play devices in the computer is characterized in that this device comprises: interface management unit, at least two source of media reading units, videos represent the unit and audio frequency represents the unit;
Said interface management unit is used for from far-end or two source of media information of local reception at least; The interface display parameter is set and medium read Control Parameter according to described source of media information setting medium source address and according to the configuration in the configuration file; Comprise configuration in the said configuration file to predefined template, playing plan and script; Said interface display parameter comprises the position and the size of video, and it is the parameter that is used to control said medium time for reading or frequency that said medium read Control Parameter;
Said source of media reading unit is used for the receiving media source address, reads Control Parameter according to said medium and reads said medium, and medium are decoded, and generates video requency frame data and voice data, and said video requency frame data is sent to video represents the unit;
Said video represents the unit according to said interface display parameter; Utilize the said position of indication and two above triangles of size to represent the position and the size of each road frame of video to be shown; Utilize texture object to describe the data bitmap of each road frame of video; And utilize D3D; The frame of video that generates based on the indicated position of said texture object and said two above triangles and said at least two the source of media reading units of big young pathbreaker is shown on the different forms of same screen, and with one of them form as main viewfinder, with the window beyond the main viewfinder as auxiliary form;
Said audio presentation unit is used for receiving the frame of video corresponding audio data with main viewfinder, and plays.
9. device according to claim 8 is characterized in that:
Said interface display parameter also comprises: the transparency of video and/or animation effect information.
10. device according to claim 8 is characterized in that:
The demonstration refreshing frequency of the interface of said D3D was 25 frame/seconds.
11. device according to claim 8 is characterized in that:
Said medium comprise video flowing and media file, and media file comprises video, audio frequency, FLASH, literal and picture.
CN2006100636686A 2006-12-31 2006-12-31 A method and device for computer multi-video playing Active CN1997153B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006100636686A CN1997153B (en) 2006-12-31 2006-12-31 A method and device for computer multi-video playing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006100636686A CN1997153B (en) 2006-12-31 2006-12-31 A method and device for computer multi-video playing

Publications (2)

Publication Number Publication Date
CN1997153A CN1997153A (en) 2007-07-11
CN1997153B true CN1997153B (en) 2012-01-25

Family

ID=38252049

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006100636686A Active CN1997153B (en) 2006-12-31 2006-12-31 A method and device for computer multi-video playing

Country Status (1)

Country Link
CN (1) CN1997153B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107426627A (en) * 2017-06-19 2017-12-01 环球智达科技(北京)有限公司 Playing device
CN109831706A (en) * 2019-02-13 2019-05-31 安徽励图信息科技股份有限公司 A method of it is broadcasted based on Microsoft Excel Software control TV subtitling
CN109905767A (en) * 2017-12-07 2019-06-18 北京雷石天地电子技术有限公司 Program relaying method and device

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009089689A1 (en) * 2008-01-15 2009-07-23 Mediatek Inc. Multimedia presenting system, multimedia processing apparatus thereof, and method for presenting video and audio signals
CN101615413B (en) * 2009-07-27 2012-10-10 华平信息技术股份有限公司 Multichannel audio/video player system and method
CN102223501A (en) * 2011-06-17 2011-10-19 四川长虹电器股份有限公司 Multi-picture service realization method
CN102364956B (en) * 2011-11-29 2014-03-12 乐视致新电子科技(天津)有限公司 Method for realizing advertising in starting of Internet protocol television (IPTV) system
CN102638644A (en) * 2012-04-26 2012-08-15 新奥特(北京)视频技术有限公司 Method for synchronous display
CN103700362B (en) * 2013-12-20 2016-03-30 广东威创视讯科技股份有限公司 Multi signal window display method and device
CN104202546B (en) * 2014-08-22 2017-09-12 湖南华凯文化创意股份有限公司 CAVE immersions virtual display system and display methods
CN104469528B (en) * 2014-12-26 2018-06-19 北京奇虎科技有限公司 A kind of method, apparatus and browser client for carrying out video data loading
CN105376630A (en) * 2015-10-15 2016-03-02 青海汉纳国际文化传播有限公司 Method for displaying commodity in advertisement video
CN105872795A (en) * 2015-11-20 2016-08-17 乐视网信息技术(北京)股份有限公司 Video playing method and device
CN105959744B (en) * 2016-05-24 2019-07-09 武汉斗鱼网络科技有限公司 A kind of commercial breaks event data statistical method and device
CN106792102B (en) * 2017-01-05 2019-11-15 深圳市爱立峰科技有限公司 The method and set-top box that the multiple audio video synchronizations of set top box side homepage play
CN106993212B (en) * 2017-03-20 2020-11-13 贵阳朗玛信息技术股份有限公司 Method and device for playing multiple paths of videos in browser window
CN107864122B (en) * 2017-10-18 2021-05-28 武汉斗鱼网络科技有限公司 Display method and device for live stream of main broadcast with wheat
CN109918156B (en) * 2017-12-13 2022-05-27 飞狐信息技术(天津)有限公司 Video interface processing method and system
CN108172149A (en) * 2018-01-16 2018-06-15 武汉道森媒体股份有限公司 Picture playing method and device
CN109819329B (en) * 2019-01-16 2022-03-25 海信视像科技股份有限公司 Window display method and smart television

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5642498A (en) * 1994-04-12 1997-06-24 Sony Corporation System for simultaneous display of multiple video windows on a display device
CN1538745A (en) * 2003-04-15 2004-10-20 ���ǵ�����ʽ���� Display equipment and image processing method thereof
CN1826572A (en) * 2003-06-02 2006-08-30 迪斯尼实业公司 System and method of programmatic window control for consumer video players

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5642498A (en) * 1994-04-12 1997-06-24 Sony Corporation System for simultaneous display of multiple video windows on a display device
CN1538745A (en) * 2003-04-15 2004-10-20 ���ǵ�����ʽ���� Display equipment and image processing method thereof
CN1826572A (en) * 2003-06-02 2006-08-30 迪斯尼实业公司 System and method of programmatic window control for consumer video players

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
余胜生 等.基于DirectShow的通用多路视频接口研究和实现.计算机工程与科学27 11.2005,27(11),25-27、65.
余胜生 等.基于DirectShow的通用多路视频接口研究和实现.计算机工程与科学27 11.2005,27(11),25-27、65. *
同上.
附图1-9.

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107426627A (en) * 2017-06-19 2017-12-01 环球智达科技(北京)有限公司 Playing device
CN109905767A (en) * 2017-12-07 2019-06-18 北京雷石天地电子技术有限公司 Program relaying method and device
CN109831706A (en) * 2019-02-13 2019-05-31 安徽励图信息科技股份有限公司 A method of it is broadcasted based on Microsoft Excel Software control TV subtitling

Also Published As

Publication number Publication date
CN1997153A (en) 2007-07-11

Similar Documents

Publication Publication Date Title
CN1997153B (en) A method and device for computer multi-video playing
US10387949B2 (en) System and method for providing interactive advertisement
CN101076106B (en) Interdynamic video system of IPTV two-dimensional frame marked information
US10032192B2 (en) Automatic localization of advertisements
US9380282B2 (en) Providing item information during video playing
US8436891B2 (en) Hyperlinked 3D video inserts for interactive television
US9124950B2 (en) Providing item information notification during video playing
US20120233646A1 (en) Synchronous multi-platform content consumption
CN108282598B (en) Software broadcasting guide system and method
CN1454430A (en) Embedding re-usable object-based product information in audiovisual programs for non-intrusive viewer driven usage
US20070089158A1 (en) Apparatus and method for providing access to associated data related to primary media data
US20080304805A1 (en) Preparing and presenting a preview of video placement advertisements
CN104065979A (en) Method for dynamically displaying information related with video content and system thereof
CN1256583A (en) Video/audio in cooperation with video/audio broadcasting and graphic demonstrating system
CN103282962A (en) Sequencing content
BR102013023832A2 (en) automatic ad location
BR102013023853B1 (en) machine-readable storage method and media communicating with at least one processor to provide interactive information
CN108810580B (en) Media content pushing method and device
CN114025187B (en) Live broadcast method and device and electronic equipment
CN101106704A (en) Video camera, video processing system and method
JP2001251565A (en) Reception device, information reproduction method for the same, electronic unit and information reproduction method for the same
CN114666648B (en) Video playing method and electronic equipment
KR20000054044A (en) advertizing method using a moving picture window for an Internet broadcasting
US20110167346A1 (en) Method and system for creating a multi-media output for presentation to and interaction with a live audience
CN107396168A (en) A kind of configurable launcher television direct broadcast system

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
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160629

Address after: 100081 No. 1, building 17, building 2, Wanshou temple, Haidian District, Beijing, No. 35

Patentee after: Xu Shan

Address before: 100086 Beijing city Haidian District No. 48 Zhichun Road Yingdu building B-23C

Patentee before: Beijing Hengzhun Technology Co., Ltd.