CN109996115A - Video broadcasting method, storage medium and player based on multiwindow rendering - Google Patents

Video broadcasting method, storage medium and player based on multiwindow rendering Download PDF

Info

Publication number
CN109996115A
CN109996115A CN201711480115.5A CN201711480115A CN109996115A CN 109996115 A CN109996115 A CN 109996115A CN 201711480115 A CN201711480115 A CN 201711480115A CN 109996115 A CN109996115 A CN 109996115A
Authority
CN
China
Prior art keywords
video
frame
sub
played
video frame
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
CN201711480115.5A
Other languages
Chinese (zh)
Inventor
李坚
文红光
卢念华
吉胜勇
陈炳杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Overseas Chinese City Kale Technology Co Ltd
Shenzhen OCT Vision Inc
Original Assignee
Shenzhen Overseas Chinese City Kale 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 Shenzhen Overseas Chinese City Kale Technology Co Ltd filed Critical Shenzhen Overseas Chinese City Kale Technology Co Ltd
Priority to CN201711480115.5A priority Critical patent/CN109996115A/en
Publication of CN109996115A publication Critical patent/CN109996115A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44012Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving rendering scenes according to scene graphs, e.g. MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • H04N21/8193Monomedia components thereof involving executable data, e.g. software dedicated tools, e.g. video decoder software or IPMP tool
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8455Structuring of content, e.g. decomposing content into time segments involving pointers to the content, e.g. pointers to the I-frames of the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a kind of video broadcasting method, storage medium and players based on multiwindow rendering, which comprises obtains video to be played, decodes the video to be played to obtain image frame data;Video to be played is obtained, the current video frame of the video to be played is divided into several sub-video frames according to preset rules;By each sub-image frame data render to its corresponding video window, the current video frame is rendered to the broadcasting view window for playing the video to be played.The present invention is by being divided into several sub-image frame data for image frame data, and respectively by several sub-image frame data renders to its corresponding video window, realize multiwindow rendering, requirement of the video file to hardware device of ultrahigh resolution is reduced, to widen the scope of application of ultrahigh resolution video.

Description

Video broadcasting method, storage medium and player based on multiwindow rendering
Technical field
The present invention relates to field of video broadcasting technology, in particular to a kind of video broadcasting method based on multiwindow rendering, Storage medium and player.
Background technique
As people's text trip experience is more and more abundant, the requirement in literary trip experience to film resolution ratio is also higher and higher. In order to play the film of ultrahigh resolution, the rendering method used in film process is played at present and is roughly divided into two kinds, one is Single channel inputs single window rendering method, decodes the frame image come in advance before rendering, and frame image is carried out by window Rendering, will be on frame image rendering to corresponding video window;Another kind is that multichannel inputs single window rendering method, from all Frame image queue respectively takes out 1 frame, and each video frame of taking-up is merged in video memory, then the video frame wash with watercolours that merging is obtained Contaminate video window.But it is low not to be suitable for hardware configuration to hardware device requirement with higher for above two method Playback equipment.
Thus the prior art could be improved and improve.
Summary of the invention
The technical problem to be solved in the present invention is that in view of the deficiencies of the prior art, providing a kind of based on multiwindow rendering Video broadcasting method, storage medium and player, to solve existing playback method when playing ultrahigh resolution video pair The demanding problem of hardware device.
In order to solve the above-mentioned technical problem, the technical solution adopted in the present invention is as follows:
A kind of video broadcasting method based on multiwindow rendering comprising:
Video to be played is obtained, the current video frame of the video to be played is divided into several sub-videos according to preset rules Frame;
It is synchronous to read and decode each sub-video frame, to obtain several sub-image frame data;
By each sub-image frame data render to its corresponding video window, by the current video frame render to broadcasting it is described to Play the broadcasting view window of video.
The video broadcasting method based on multiwindow rendering, wherein it is described to obtain video to be played, it will be described to be played The current video frame of video is divided into before several sub-video frames according to preset rules further include:
It presets several for storing the video frame queue of sub-video frame;
The first mapping relations of each sub-video frame Yu each video frame queue are established, and first mapping relations are stored in first Mapping relations list.
The video broadcasting method based on multiwindow rendering, wherein it is described to obtain video to be played, it will be described to be played The current video frame of video is divided into after several sub-video frames according to preset rules further include:
The corresponding video frame queue of each sub-video frame is searched in the first mapping relations list, and each sub-video frame is stored In its corresponding video frame queue.
The video broadcasting method based on multiwindow rendering, wherein it is described to obtain video to be played, it will be described to be played The current video frame of video is divided into several sub-video frames according to preset rules and specifically includes:
Obtain video to be played, and the frame number of the current video frame of the video to be played;
The video frame is divided into several sub-video frames according to preset rules, and the frame number is added to each sub-video frame It is interior.
The video broadcasting method based on multiwindow rendering, wherein it is described to obtain video to be played, it will be described to be played The current video frame of video is divided into before several sub-video frames according to preset rules further include:
The broadcasting view window is divided into several video windows according to preset rules;
The second mapping relations of each video window Yu each video frame queue are established, and second mapping relations are stored in second Mapping relations list.
The video broadcasting method based on multiwindow rendering, wherein described that each sub-image frame data render is right to its The current video frame is rendered to and plays the broadcasting view window of the video to be played and specifically wrap by the video window answered It includes:
Determine that each sub-image frame data arrange corresponding video window according to the second mapping relations list and the first mapping relations list;
By each sub-image frame data render to its corresponding video window, by the current video frame render to broadcasting it is described to Play the broadcasting view window of video.
The video broadcasting method based on multiwindow rendering, wherein described that each sub-image frame data render is right to its The current video frame is rendered to and plays the broadcasting view window of the video to be played and specifically wrap by the video window answered It includes:
The frame number for the sub-image frame data that each video frame queue carries is read respectively, and judges that all frame numbers read are It is no consistent;
If consistent, each sub-image frame data render to its corresponding video window renders the current video frame To the broadcasting view window for playing the video to be played.
The video broadcasting method based on multiwindow rendering, wherein several sub-video frames and several video frame teams Column correspond, and several video frame queues and several video windows correspond.
A kind of computer readable storage medium, the computer-readable recording medium storage have one or more program, One or more of programs can be executed by one or more processor, as above any described based on multiwindow to realize Step in the video broadcasting method of rendering.
A kind of player comprising: processor, memory and communication bus;Being stored on the memory can be described The computer-readable program that processor executes;
The communication bus realizes the connection communication between processor and memory;
The processor realizes as above any video based on multiwindow rendering when executing the computer-readable program Step in playback method.
The utility model has the advantages that compared with prior art, the present invention provides a kind of video broadcasting method based on multiwindow rendering, Storage medium and player, which comprises obtain video to be played, decode the video to be played to obtain picture frame Data;Video to be played is obtained, the current video frame of the video to be played is divided into several sub-videos according to preset rules Frame;By each sub-image frame data render to its corresponding video window, by the current video frame render to broadcasting it is described to Play the broadcasting view window of video.The present invention respectively will by the way that image frame data is divided into several sub-image frame data Several sub-image frame data renders realize multiwindow rendering, reduce the view of ultrahigh resolution to its corresponding video window Requirement of the frequency file to hardware device, to widen the scope of application of ultrahigh resolution video.
Detailed description of the invention
Fig. 1 is the flow chart of the video broadcasting method preferred embodiment provided by the invention based on multiwindow rendering.
Fig. 2 is the stream of step S20 in the video broadcasting method preferred embodiment provided by the invention based on multiwindow rendering Cheng Tu.
Fig. 3 is the middle step S30 of the video broadcasting method preferred embodiment provided by the invention based on multiwindow rendering Flow chart.
Fig. 4 is the structure principle chart of player preferred embodiment provided by the invention.
Specific embodiment
The present invention provides a kind of video broadcasting method, storage medium and player based on multiwindow rendering, to make this The purpose of invention, technical solution and effect are clearer, define, as follows in conjunction with drawings and embodiments to of the invention further detailed It describes in detail bright.It should be appreciated that described herein, specific examples are only used to explain the present invention, is not intended to limit the present invention.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in specification of the invention Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member Part is " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be Intermediary element.In addition, " connection " used herein or " coupling " may include being wirelessly connected or wirelessly coupling.It is used herein to arrange Diction "and/or" includes one or more associated wholes for listing item or any cell and all combinations.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here To explain.
With reference to the accompanying drawing, by the description of the embodiment, further explanation of the contents of the invention are made.
Fig. 1 is please referred to, Fig. 1 is the preferred embodiment of the video broadcasting method provided by the invention based on multiwindow rendering Flow chart.The described method includes:
S10, video to be played is obtained, the current video frame of the video to be played is divided into several sub- views according to preset rules Frequency frame.
Specifically, the video to be played is the video file of ultrahigh resolution, and the ultrahigh resolution video file is taken The image resolution ratio of the video image of band is in 2K level above.In practical applications, the ultrahigh resolution video file is figure As resolution ratio is 3840x2160, as 4K video.Specifically, the preset rules are to preset, for example, by video frame etc. It is divided into several sub-video frames etc..Wherein, the quantity of the sub-video frame can be preset, be also possible to according to be played The resolution ratio of video and determine.For example, the preset rules include the first resolution of each sub-video frame, receiving in this way When video to be played, the second resolution of the video image of the available video to be played, according to the second resolution And first resolution determines the quantity of the sub-video frame, and the current video frame is carried out equal part according to the quantity, To obtain the sub-video frame of the quantity.
In addition, each sub-video frame is read simultaneously by multithreading and decoded, i.e., described each sub-video frame corresponding one A decoding thread, is denoted as video frame queue here.That is, pre-establishing several video frame queues, and the video frame The quantity of queue is equal with the quantity of sub-video frame, can establish mapping pass between so video frame and video frame queue System, can determine the corresponding video frame queue of each sub-video frame according to the mapping relations, and it is right that sub-video frame is stored in its In the video frame queue answered, multichannel input is realized.Correspondingly, described obtain video to be played, by the video to be played Current video frame is divided into several sub-video frames before according to preset rules
It presets several for storing the video frame queue of sub-video frame;
The first mapping relations of each sub-video frame Yu each video frame queue are established, and first mapping relations are stored in first Mapping relations list.
Specifically, the sub-video frame is a part of the current video frame of video to be played, that is to say, that each video Frame queue only stores a part of a frame video, and the sub-video frame in same position can be spliced into the video frame queue Decode an obtained frame video.In addition, needing the broadcasting view window in advance by player to realize that multi input multiwindow renders Mouth is divided into several video windows, and the video window is identical as the quantity of video frame queue.That is, video frame queue with There is one-to-one relationship between video window.Correspondingly, described obtain video to be played, by the current of the video to be played Video frame is divided into several sub-video frames before according to preset rules
The broadcasting view window is divided into several video windows according to preset rules;
The second mapping relations of each video window Yu each video frame queue are established, and second mapping relations are stored in second Mapping relations list.
Specifically, the video window is obtained from dividing the broadcasting view window that decoding obtains according to preset rules. The preset rules are identical as the division rule of video frame, i.e., the quantity of the described sub-video frame is identical as the quantity of video window. Corresponding relationship of second mapping relations between the video window and video frame queue, and second mapping relations For mapping relations one by one, that is to say, that correspond between the video window and the video frame queue, in this way according to institute A corresponding video window can be uniquely determined by stating video frame queue.In addition, each sub-video frame and each video frame There are the first mapping relations between queue, and first mapping relations are to map one by one, sub-video frame available in this way With the one-to-one relationship of video window, i.e., its corresponding unique video window can be found according to sub-video frame.In reality In, the preset rules can be to preset, and the sub-video frame and video window can obtain first in decoding It when frame picture frame, is divided according to the preset rules, the video frame queue is the sub-video frame obtained according to division Quantity and establish so that meet between the sub-video frame, video frame queue and video window the first mapping relations and Second mapping relations.Certainly, the preset rules, the quantity of sub-video frame, video frame queue and video window can be It is predetermined to receive file to be played, method of determination is identical as after decoding video file, just repeats no more here.
In the present embodiment simultaneously, since the current video frame is divided into several sub-video frames, and it is more in order to guarantee When window renders simultaneously, the sub-video frame of each window rendering belongs to same frame video, can when being divided to video frame incite somebody to action The frame number of video frame is added in each sub-video frame, in order to verify to each sub-video frame.Correspondingly, as shown in Fig. 2, It is described to obtain video to be played, the current video frame of the video to be played is divided into several sub-video frames according to preset rules It specifically includes:
S11, video to be played, and the frame number of the current video frame of the video to be played are obtained;
S12, the video frame is divided into several sub-video frames according to preset rules, and the frame number is added to each sub- view In frequency frame.
Specifically, the frame number is what the current video frame carried, in addition, generating the sub-video for carrying frame number After frame, each sub-video frame can be stored in corresponding video frame queue.That is, described obtain video to be played, it will It can also include: described that the current video frame of the video to be played is divided into after several sub-video frames according to preset rules The corresponding video frame queue of each sub-video frame is searched in first mapping relations list, and it is corresponding that each sub-video frame is stored in its Video frame queue.
S20, synchronous reading simultaneously decode each sub-video frame, to obtain several sub-image frame data.
Specifically, the decoding refers to that the decoder configured by playback equipment solves the video to be played Code, to obtain D3D texture image.That is, passing through the decoder for the video image decoding in video to be played is D3D Texture image.That is, each sub-video file is decoded in the image frame queue locating for it to obtain each sub-image frame Data.Further, since the type of coding of different video files may be different, in synchronous reading and decode each sub-video frame When, the type of coding of the video to be played can be extracted, and the video to be played is searched according to the type of coding and is corresponded to Decoder, and each sub-video frame is decoded using the decoder.That is, the synchronization reads and decodes each sub-video Frame, to obtain several sub-image frame data: obtaining the type of coding of the video to be played;Institute is determined according to the type of coding The corresponding decoder of video to be played is stated, and by the CPU or GPU operation decoder to decode each sub-video frame, In, each sub-video frame is decoded in video frame queue belonging to it, that is to say, that CPU or GPU is each son Video frame establishes decoding thread respectively, decodes each sub-video frame by each decoding thread, i.e., is decoded simultaneously by multithreading current Video frame, to realize multichannel input.
S30, by each sub-image frame data render to its corresponding video window, the current video frame is rendered to and is broadcast Put the broadcasting view window of the video to be played.
Specifically, described to refer to each sub-image frame data render to its corresponding video window in rendering, according to Video window and the second mapping relations of video frame queue and the first mapping relations of sub-video frame and video frame queue, will be each Each sub-image frame that sub-video frame decoding obtains renders to its corresponding video window respectively, i.e., each sub-image frame data are independent It renders and renders to its corresponding video window, to realize the rendering of multi input multiwindow.Correspondingly, as shown in figure 3, described By each sub-image frame data render to its corresponding video window, it is described to be played that the current video frame is rendered into broadcasting The broadcasting view window of video specifically includes:
S31, determine that each sub-image frame data arrange corresponding video according to the second mapping relations list and the first mapping relations list Window;
S32, by each sub-image frame data render to its corresponding video window, the current video frame is rendered to and plays institute State the broadcasting view window of video to be played.
Specifically, each sub-image frame data are the component part of same image frame data, i.e., described each sub-image frame Data can be spliced into an image frame data, and the current video frame is video frame to be played.In addition, in order to guarantee each subgraph As the corresponding relationship of frame data, after calling to sub-image frame data, the frame number that each sub-image frame carries can also be judged It is whether identical.Correspondingly, it is described by each sub-image frame data render to its corresponding video window, by the current video frame It renders to and plays the broadcasting view window of the video to be played and specifically include:
The frame number for the sub-image frame data that each video frame queue carries is read respectively, and judges that all frame numbers read are It is no consistent;
If consistent, each sub-image frame data render to its corresponding video window renders the current video frame To the broadcasting view window for playing the video to be played.
Specifically, the frame number that all sub-image frame data carry is consistent, illustrates that all sub-image frame data are to work as forward sight The component part of frequency frame, thus available current video frame after the rendering of all sub-image frame data split windows.In addition, in order to keep away Exempt from video playing and the phenomenon that trip stop occurs, when the frame number of all sub-image frame data is identical, available broadcasting view window First frame number of the currently playing video frame of mouth, and the frame number is verified according to first frame number, it is testing When demonstrate,proving correct, by each sub-image frame data render to its corresponding video window.When authentication error, according to the first frame sequence Number determine the second frame number of video frame to be rendered, wherein second frame number is equal to the first frame number and adds one;Determining After stating the second frame number, corresponding sub-image frame data are transferred in each video frame queue according to second frame number, and Respectively by each sub-image frame data render being deployed into its corresponding video window.
In the present embodiment simultaneously, it when the frame number difference carried there are sub-image frame data, obtains and plays view window First frame number of mouthful currently playing video frame, and determine according to first frame number the second frame of video frame to be rendered Serial number;The sub-image frame data got are screened according to second frame number, and according to the second frame number transfer by The sub-image frame data screened out to obtain the corresponding whole sub-image frame data of next frame video frame, and will check and accept whole Sub-image frame data render is to its corresponding video window.
Based on the above-mentioned video broadcasting method based on multiwindow rendering, the present invention also provides a kind of computer-readable storages Medium, the computer-readable recording medium storage have one or more program, and one or more of programs can be by one A or multiple processors execute, to realize in the video broadcasting method based on multiwindow rendering as described in above-described embodiment Step.
The present invention also provides a kind of players, as shown in Figure 4 comprising at least one processor (processor) 20; Display screen 21;And memory (memory) 22, it can also include communication interface (Communications Interface) 23 With bus 24.Wherein, processor 20, display screen 21, memory 22 and communication interface 23 can be completed each other by bus 24 Communication.Display screen 21 is set as preset user in display initial setting mode and guides interface.Communication interface 23 can be transmitted Information.Processor 20 can call the logical order in memory 22, to execute the method in above-described embodiment.
In addition, the logical order in above-mentioned memory 22 can be realized and as only by way of SFU software functional unit Vertical product when selling or using, can store in a computer readable storage medium.
Memory 22 is used as a kind of computer readable storage medium, and it is executable to may be configured as storage software program, computer Program, such as the corresponding program instruction of method or module in the embodiment of the present disclosure.Processor 30 is stored in memory by operation Software program, instruction or module in 22, thereby executing functional application and data processing, i.e. side in realization above-described embodiment Method.
Memory 22 may include storing program area and storage data area, wherein storing program area can storage program area, extremely Application program needed for a few function;Storage data area, which can be stored, uses created data etc. according to terminal device.This Outside, memory 22 may include high-speed random access memory, can also include nonvolatile memory.For example, USB flash disk, movement Hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), a variety of media that can store program code such as magnetic or disk, are also possible to transitory memory medium.
In addition, a plurality of instruction processing unit in above-mentioned storage medium and mobile terminal loads and the detailed process executed exists It has been described in detail in the above method, has just no longer stated one by one herein.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (10)

1. a kind of video broadcasting method based on multiwindow rendering, characterized in that it comprises:
Video to be played is obtained, the current video frame of the video to be played is divided into several sub-videos according to preset rules Frame;
It is synchronous to read and decode each sub-video frame, to obtain several sub-image frame data;
By each sub-image frame data render to its corresponding video window, by the current video frame render to broadcasting it is described to Play the broadcasting view window of video.
2. the video broadcasting method according to claim 1 based on multiwindow rendering, which is characterized in that the acquisition is to be played The current video frame of the video to be played is divided into before several sub-video frames by video according to preset rules further include:
It presets several for storing the video frame queue of sub-video frame;
The first mapping relations of each sub-video frame Yu each video frame queue are established, and first mapping relations are stored in first Mapping relations list.
3. the video broadcasting method according to claim 2 based on multiwindow rendering, which is characterized in that the acquisition is to be played The current video frame of the video to be played is divided into after several sub-video frames by video according to preset rules further include:
The corresponding video frame queue of each sub-video frame is searched in the first mapping relations list, and each sub-video frame is stored In its corresponding video frame queue.
4. the video broadcasting method according to claim 2 based on multiwindow rendering, which is characterized in that the acquisition is to be played The current video frame of the video to be played is divided into several sub-video frames according to preset rules and specifically included by video:
Obtain video to be played, and the frame number of the current video frame of the video to be played;
The video frame is divided into several sub-video frames according to preset rules, and the frame number is added to each sub-video frame It is interior.
5. the video broadcasting method according to claim 4 based on multiwindow rendering, which is characterized in that the acquisition is to be played The current video frame of the video to be played is divided into before several sub-video frames by video according to preset rules further include:
The broadcasting view window is divided into several video windows according to preset rules;
The second mapping relations of each video window Yu each video frame queue are established, and second mapping relations are stored in second Mapping relations list.
6. the video broadcasting method according to claim 5 based on multiwindow rendering, which is characterized in that described by each subgraph Frame data render to its corresponding video window, and the current video frame is rendered to the broadcasting for playing the video to be played View window specifically includes:
Determine that each sub-image frame data arrange corresponding video window according to the second mapping relations list and the first mapping relations list;
By each sub-image frame data render to its corresponding video window, by the current video frame render to broadcasting it is described to Play the broadcasting view window of video.
7. the video broadcasting method according to claim 6 based on multiwindow rendering, which is characterized in that described by each subgraph Frame data render to its corresponding video window, and the current video frame is rendered to the broadcasting for playing the video to be played View window specifically includes:
The frame number for the sub-image frame data that each video frame queue carries is read respectively, and judges that all frame numbers read are It is no consistent;
If consistent, each sub-image frame data render to its corresponding video window renders the current video frame To the broadcasting view window for playing the video to be played.
8. the video broadcasting method according to claim 6 based on multiwindow rendering, which is characterized in that several sub-videos Frame and several video frame queues correspond, and several video frame queues and several video windows correspond.
9. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be executed by one or more processor, to realize such as claim 1~8 The step in video broadcasting method based on multiwindow rendering described in any one.
10. a kind of player characterized by comprising processor, memory and communication bus;It is stored on the memory The computer-readable program that can be executed by the processor;
The communication bus realizes the connection communication between processor and memory;
Realized when the processor executes the computer-readable program as described in claim 1-8 any one based on more windows Step in the video broadcasting method of mouth rendering.
CN201711480115.5A 2017-12-29 2017-12-29 Video broadcasting method, storage medium and player based on multiwindow rendering Pending CN109996115A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711480115.5A CN109996115A (en) 2017-12-29 2017-12-29 Video broadcasting method, storage medium and player based on multiwindow rendering

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711480115.5A CN109996115A (en) 2017-12-29 2017-12-29 Video broadcasting method, storage medium and player based on multiwindow rendering

Publications (1)

Publication Number Publication Date
CN109996115A true CN109996115A (en) 2019-07-09

Family

ID=67109141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711480115.5A Pending CN109996115A (en) 2017-12-29 2017-12-29 Video broadcasting method, storage medium and player based on multiwindow rendering

Country Status (1)

Country Link
CN (1) CN109996115A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111614975A (en) * 2020-05-08 2020-09-01 北京拙河科技有限公司 Method, device, medium and equipment for playing hundred million-level pixel video
CN112399228A (en) * 2019-08-12 2021-02-23 浙江宇视科技有限公司 Video processing method, video processing device and video processing equipment
CN112929728A (en) * 2021-01-20 2021-06-08 北京奇艺世纪科技有限公司 Video rendering method, device and system, electronic equipment and storage medium
CN113741836A (en) * 2020-05-29 2021-12-03 西安诺瓦星云科技股份有限公司 Media processing method, device and system
CN113923495A (en) * 2021-09-08 2022-01-11 北京奇艺世纪科技有限公司 Video playing method, system, electronic equipment and storage medium
CN114900731A (en) * 2022-03-31 2022-08-12 咪咕文化科技有限公司 Video definition switching method and device
CN114945100A (en) * 2022-05-13 2022-08-26 广州市保伦电子有限公司 Remote transmission method of high-resolution video image and background server

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103680551A (en) * 2012-09-21 2014-03-26 深圳市快播科技有限公司 Player and method thereof for simultaneously playing multiple videos
CN105739935A (en) * 2016-01-22 2016-07-06 厦门美图移动科技有限公司 Multi-terminal combined display method, apparatus and system
CN105791769A (en) * 2016-03-11 2016-07-20 广东威创视讯科技股份有限公司 Ultra-high-definition video display method and system of splicing wall
CN106331822A (en) * 2016-08-26 2017-01-11 北京金山安全软件有限公司 Method and device for playing multiple videos and electronic equipment
CN106603564A (en) * 2016-12-30 2017-04-26 上海寰视网络科技有限公司 Unlimited high-resolution image and video playing methods and systems
CN107333165A (en) * 2017-06-29 2017-11-07 徐文波 The control method and device of many picture position adjustment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103680551A (en) * 2012-09-21 2014-03-26 深圳市快播科技有限公司 Player and method thereof for simultaneously playing multiple videos
CN105739935A (en) * 2016-01-22 2016-07-06 厦门美图移动科技有限公司 Multi-terminal combined display method, apparatus and system
CN105791769A (en) * 2016-03-11 2016-07-20 广东威创视讯科技股份有限公司 Ultra-high-definition video display method and system of splicing wall
CN106331822A (en) * 2016-08-26 2017-01-11 北京金山安全软件有限公司 Method and device for playing multiple videos and electronic equipment
CN106603564A (en) * 2016-12-30 2017-04-26 上海寰视网络科技有限公司 Unlimited high-resolution image and video playing methods and systems
CN107333165A (en) * 2017-06-29 2017-11-07 徐文波 The control method and device of many picture position adjustment

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112399228A (en) * 2019-08-12 2021-02-23 浙江宇视科技有限公司 Video processing method, video processing device and video processing equipment
CN111614975A (en) * 2020-05-08 2020-09-01 北京拙河科技有限公司 Method, device, medium and equipment for playing hundred million-level pixel video
CN113741836A (en) * 2020-05-29 2021-12-03 西安诺瓦星云科技股份有限公司 Media processing method, device and system
CN113741836B (en) * 2020-05-29 2024-06-04 西安诺瓦星云科技股份有限公司 Media processing method, device and system
CN112929728A (en) * 2021-01-20 2021-06-08 北京奇艺世纪科技有限公司 Video rendering method, device and system, electronic equipment and storage medium
CN113923495A (en) * 2021-09-08 2022-01-11 北京奇艺世纪科技有限公司 Video playing method, system, electronic equipment and storage medium
CN113923495B (en) * 2021-09-08 2024-01-12 北京奇艺世纪科技有限公司 Video playing method, system, electronic equipment and storage medium
CN114900731A (en) * 2022-03-31 2022-08-12 咪咕文化科技有限公司 Video definition switching method and device
CN114900731B (en) * 2022-03-31 2024-04-09 咪咕文化科技有限公司 Video definition switching method and device
CN114945100A (en) * 2022-05-13 2022-08-26 广州市保伦电子有限公司 Remote transmission method of high-resolution video image and background server

Similar Documents

Publication Publication Date Title
CN109996115A (en) Video broadcasting method, storage medium and player based on multiwindow rendering
CN104780378B (en) A kind of method for decoding video, device and player
TWI479332B (en) Selective hardware acceleration in video playback systems
US10271105B2 (en) Method for playing video, client, and computer storage medium
US20170163992A1 (en) Video compressing and playing method and device
CN106331822B (en) Method and device for playing multiple videos and electronic equipment
CN107426606B (en) Screen recording method and device, electronic equipment and system
CN106131550B (en) Method and device for playing multimedia file
CN105872755A (en) Video playing method and device
CN105763919A (en) Method and device for display and video synchronization
CN104185075B (en) Information display method and device
US20170180746A1 (en) Video transcoding method and electronic apparatus
CN110913278B (en) Video playing method, display terminal and storage medium
CN104244087A (en) Video rendering method and device
CN109819315A (en) Playback method, device, terminal and the storage medium of HEVC video
CN104954863B (en) Audio and video decoding component selection method and system
CN111669577A (en) Hardware decoding detection method and device, electronic equipment and storage medium
CN109788212A (en) A kind of processing method of segmenting video, device, terminal and storage medium
CN107770624A (en) It is a kind of it is live during multimedia file player method, device and storage medium
CN107454447B (en) Plug-in loading method and device for player and television
CN108235119B (en) Video processing method and device, electronic equipment and computer readable medium
CN101778287B (en) Digital television navigation method, system and device
CN105812914B (en) A kind of the mixed multiplex coding/decoding method and device of video
CN108184163A (en) A kind of video broadcasting method, storage medium and player
CN106412718A (en) Rendering method and device for subtitles in 3D space

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Li Yang

Inventor after: Li Jian

Inventor after: Wen Hongguang

Inventor after: Lu Nianhua

Inventor after: Ji Shengyong

Inventor after: Chen Bingjie

Inventor before: Li Jian

Inventor before: Wen Hongguang

Inventor before: Lu Nianhua

Inventor before: Ji Shengyong

Inventor before: Chen Bingjie

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190709