CN109218820A - A kind of video renderer and Video Rendering method - Google Patents
A kind of video renderer and Video Rendering method Download PDFInfo
- Publication number
- CN109218820A CN109218820A CN201811352373.XA CN201811352373A CN109218820A CN 109218820 A CN109218820 A CN 109218820A CN 201811352373 A CN201811352373 A CN 201811352373A CN 109218820 A CN109218820 A CN 109218820A
- Authority
- CN
- China
- Prior art keywords
- rendering
- video
- unit
- function
- renderer
- 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
Links
- 238000009877 rendering Methods 0.000 title claims abstract description 524
- 238000000034 method Methods 0.000 title claims abstract description 53
- 238000012544 monitoring process Methods 0.000 claims description 25
- 238000003745 diagnosis Methods 0.000 claims description 3
- 230000003796 beauty Effects 0.000 claims 1
- 230000008569 process Effects 0.000 abstract description 31
- 238000012423 maintenance Methods 0.000 abstract description 10
- 230000006870 function Effects 0.000 description 128
- 238000010586 diagram Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 238000013461 design Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 208000001491 myopia Diseases 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/44—Processing 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/77—Retouching; Inpainting; Scratch removal
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/44—Processing 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/44008—Processing 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 operations for analysing video streams, e.g. detecting features or characteristics in the video stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/44—Processing 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/4402—Processing 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 reformatting operations of video signals for household redistribution, storage or real-time display
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Human Computer Interaction (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The invention discloses a kind of video renderer and Video Rendering methods.Wherein, which includes: master controller and at least one sub- renderer, and the sub- renderer includes at least one rendering unit, and each rendering unit is corresponding to execute a rendering function;The master controller is connect with the configuration end of rendering unit and control terminal respectively, is connected between each sub- renderer, is connected between each rendering unit in single sub- renderer.Technical solution provided in an embodiment of the present invention, the functional switch of each rendering unit is correspondingly arranged according to rendering function required in different render process, to realize different rendering capabilities, it solves the problems, such as to be not easy to maintenance personnel in the video renderer of the prior art to safeguard every rendering function, switch control and can not be multiplexed, the scalability and individual cultivation for improving rendering function in video renderer optimize the rendering performance of video renderer.
Description
Technical field
The present embodiments relate to data processing field more particularly to a kind of video renderer and Video Rendering methods.
Background technique
With the development of video technique, it is each that live streaming application program (Application, APP) of short-sighted frequency etc. can be recorded
Video class application has been widely applied in daily life, and the video records side such as main broadcaster end or bat visitor is adopted in progress video
When collection, it will usually, may also for the demand of viewing side using functions such as paster, filter, U.S. face, and in video display process
The functions such as filter, U.S. face can be increased the original video recorded, and the realization of this kind of function be unable to do without Video Rendering technology,
Therefore the rendering capability of video directly influences the performance and user experience of entire video class APP.
Current Video Rendering realizes to be usually using one comprising disposably carrying out whole Rendering operations to acquisition video
Video renderer carry out rendering when video acquisition, include disposably carries out whole renderings to playing video using another
The video renderer of operation realizes rendering when video playing.Acquisition or the original video played can be input to corresponding video
In renderer, various corresponding Rendering operations (such as paster rendering, filter rendering, U.S. face wash with watercolours are carried out by different video renderers
Dye etc.), the rendering result of output is then returned into corresponding called side (collection terminal or playing end).
When rendering process during Video Rendering is less, existing video renderer, which can be convenient, efficiently to be run;
But when Video Rendering process becomes complexity, since whole rendering tasks carry out in the same video renderer, it is easy to
Video renderer can be allowed to become superfluous big, be unfavorable for maintenance personnel's maintenance, be easy to appear various problems, and due to only one view
Frequency renderer, so that the functional switch control of each rendering task becomes difficult;For the wash with watercolours being not present in the video renderer
The video of dye task is handled, and can not be multiplexed the video renderer, be needed to re-establish new video renderer at this time, process compares
It is cumbersome.
Summary of the invention
The embodiment of the invention provides a kind of video renderer and Video Rendering methods, to solve video wash with watercolours in the prior art
It is not easy to maintenance personnel in dye device to the maintenance of every rendering function, switch control and the problem of can not be multiplexed, improves video
The scalability and individual cultivation that function is rendered in renderer, optimize the rendering performance of video renderer.
In a first aspect, the embodiment of the invention provides a kind of video renderer, the video renderer include: master controller and
At least one sub- renderer, the sub- renderer include at least one rendering unit, and each rendering unit is corresponding to execute a wash with watercolours
Contaminate function;The master controller is connect with the configuration end of rendering unit and control terminal respectively, is connected between each sub- renderer, individually
It connects between each rendering unit in sub- renderer.
Further, the video renderer, further includes: configuration unit, the configuration unit are connected to the main control
Between the configuration end of rendering unit.
Further, the video renderer, further includes: with the one-to-one monitoring unit of rendering unit, the monitoring
Unit is connected between the master controller and the monitoring client of corresponding rendering unit.
Second aspect, the embodiment of the invention provides a kind of Video Rendering methods, applied to as described in first aspect
In video renderer, this method comprises:
Video and render request are obtained, includes the switch letter of each rendering unit in video renderer in the render request
Breath;
It is arranged according to the switch that the switching information carries out function to each rendering unit;
Video renderer described in the video input is subjected to Video Rendering, the video after being rendered.
Further, it is arranged according to the switch that the switching information carries out function to each rendering unit, is specifically included:
The function of participating in the rendering unit of this rendering is set on, the function of the rendering unit of this rendering is not involved in
It can be set off.
Further, it is arranged according to the switch that the switching information carries out function to each rendering unit, is also specifically included:
If be not involved in this rendering rendering unit function be participate in this render rendering unit function before
Function is set, then the function of corresponding rendering unit in the rendering unit for participating in this rendering is set off, participates in this wash with watercolours
The function of remaining rendering unit is set in the rendering unit of dye.
Further, the Video Rendering method, further includes:
Real-time monitoring participates in the rendering performance of the rendering unit of this rendering.
The embodiment of the invention provides a kind of video renderer and Video Rendering methods, by connecting in video renderer
The multiple corresponding rendering units for executing a rendering function are set, and according to rendering function required in different render process
It is correspondingly arranged the functional switch of each rendering unit, to realize different rendering capabilities, solves the Video Rendering of the prior art
Be not easy in device maintenance personnel every rendering function is safeguarded, switch control and the problem of can not be multiplexed, improve video
The scalability and individual cultivation that function is rendered in renderer, optimize the rendering performance of video renderer.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, of the invention other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is a kind of structural schematic diagram for video renderer that the embodiment of the present invention one provides;
Fig. 2 is a kind of structural schematic diagram of video renderer provided by Embodiment 2 of the present invention;
Fig. 3 A is a kind of flow chart for Video Rendering method that the embodiment of the present invention three provides;
The schematic diagram at Video Rendering interface in the method that Fig. 3 B provides for the embodiment of the present invention three;
The schematic diagram of configuration interface in the method that Fig. 3 C provides for the embodiment of the present invention three.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
The embodiment of the present invention mainly uses the thought of water pipe to carry out the Video Rendering process in video renderer
Division in logic only regard original video renderer as the container that can carry multiple rendering units, for managing
The function of each rendering unit;Each rendering unit can receive specific rendering task, and each rendering unit only corresponds to
Has a rendering function.The rendering unit of any extension all includes most basic rendering capability in video renderer,
It is to receive the input texture in video, corresponding Rendering operations is carried out to the input texture, the texture after rendering is returned
Back to caller.Wherein, texture refers to each video image in a video.The present embodiment is according to institute in different render process
The rendering function of needing is correspondingly arranged the functional switch of each rendering unit, to realize rendering energy different in same video renderer
Power improves the scalability and individual cultivation of rendering function in video renderer.
Embodiment one
Fig. 1 is a kind of structural schematic diagram for video renderer that the embodiment of the present invention one provides.Video in the present embodiment
Renderer can be adapted in the case where carrying out every different rendering functions to video.Referring to Fig.1, which can be with
It include: master controller 110 and at least one sub- renderer 120.
Wherein, every sub- renderer 120 includes at least one rendering unit, and each rendering unit is corresponding to execute a rendering
Function.Meanwhile master controller 110 is connect with the configuration end of rendering unit in each sub- renderer 120 and control terminal respectively, it is each
It connects between sub- renderer 120, connects between each rendering unit in single sub- renderer 120.
Specifically, the design in this implementation for video renderer 10, it can be by analysis a large number of users to all kinds of videos
The Rendering operations carried out determine every rendering function that may be present during Video Rendering, and render function for each single item
It can be pre-designed a corresponding rendering unit, the rendering unit is made only to have a corresponding rendering function.In addition, in determination
After a variety of rendering units, is analyzed by the rendering function to each rendering unit, judge the pass between each rendering unit
Connection property, that is, a rendering unit is judged whether there is, before the function of the rendering unit is the function of some rendering unit
Set function;If it exists, then the rendering unit and other associated rendering units of the rendering unit are collectively constituted into a son rendering
Device, the sub- renderer is only as the container for carrying the rendering unit and other associated rendering units of the rendering unit at this time, no
Execute the Rendering operations of essence;Meanwhile using in whole rendering units with the not associated rendering unit of other rendering units as
One independent sub- renderer, that is, only include a rendering unit in the sub- renderer.
Further, after determining the relevance between each rendering unit, then the knot of each sub- renderer 120 can be set
Structure.If including multiple rendering units in sub- renderer 120, since the function of one of rendering unit in multiple rendering units must
It is set to the preposition function of other rendering units, and the video renderer 10 is designed using the thought of water pipe, so that rendering is single
The function of member is successively executed according to design sequence, therefore by the rendering unit with preposition function in sub- renderer 120
It is configured at first, other rendering units are sequentially connected in series;Such as U.S. face rendering unit and textures rendering unit execute it is corresponding
When rendering function, it is required to the recognition of face information being previously obtained in recognition of face rendering unit, therefore recognition of face is rendered
Unit, U.S. face rendering unit and textures rendering unit collectively constitute a sub- renderer 120, while by recognition of face rendering unit
First be set in the sub- renderer 120, and by recognition of face rendering unit, U.S. face rendering unit and textures rendering unit
Series connection.Further, since filter rendering unit is not necessarily to identify face, with other rendering units also without specific relevance, therefore
It can be using filter rendering unit as an independent sub- renderer.
Optionally, after completing the structure to each sub- renderer 120 and designing, then each sub- renderer 120 connected, and
In the concatenated input terminal and output end for determining video renderer 10 end to end;Meanwhile by master controller 110 respectively with each sub- wash with watercolours
The configuration end of rendering unit is connected with control terminal in dye device 120.Master controller 110 obtains user and each rendering unit is arranged
Configuration parameter, and corresponding configuration parameter is applied in each rendering unit using the configuration end of each rendering unit.Wherein,
Configuration parameter includes the switching information of each rendering unit, can also include each rendering unit when carrying out corresponding Rendering operations
Rendering parameter.Meanwhile master controller 110 passes through the control of each rendering unit according to the switching information of each rendering unit
It holds to control the switch setting that corresponding rendering unit carries out function, to close the rendering function in this rendering process without executing
Energy.At this time by configuring the switching information of each rendering unit in different rendering processes, video renderer 10 can be made to be applied to
In different rendering processes, the multiplexing of the video renderer is realized.Meanwhile a rendering is executed by the way that each rendering unit is corresponding
Function makes video renderer when something goes wrong, and personnel convenient for safeguarding judge the rendering unit of physical fault, and only to the rendering
The specific failure cause of unit is diagnosed, conducive to maintenance personnel to the real-time servicing of video renderer.
In the present embodiment, since video renderer 10 is only the container that can carry multiple rendering units, and its
In rendering unit be the rendering unit of self-definition design by the corresponding rendering function of user configuration, therefore can be by regarding
The new customized rendering unit for having other rendering functions is dynamically added in frequency renderer 10, and is required rendering unit
Corresponding switching information is configured, to realize Function Extension and the personalized customization of video renderer 10.
In addition, for the ease of being monitored to rendering function every in video renderer 10, to judge video renderer
Rendering performance of each rendering unit in render process in 10, the present embodiment can also be arranged in video renderer 10 with
The one-to-one monitoring unit of rendering unit, the monitoring unit are connected to master controller 110 and corresponding rendering unit
Between monitoring client.Monitoring unit monitors that corresponding rendering unit receives the video image of input in render process, to the view
When frequency image executes corresponding rendering function, start to can be carried out the rendering of the rendering unit monitoring, it is required in the present embodiment
The rendering performance to be monitored can have the rendering duration of the rendering unit, to the rendering effect of video image and with the presence or absence of wash with watercolours
All kinds of rendering state information such as failure are contaminated, stop monitoring when video image exits in the rendering unit, and will monitor
Various performance parameters feed back to master controller 10, analysis can be carried out by rendering of the master controller 10 to each rendering unit,
To further be optimized according to history configuration parameter and corresponding rendering effect to each configuration parameter, promoted each
The rendering performance of rendering unit;Whether corresponding rendering unit can be judged in time by monitoring unit in render process simultaneously
It goes wrong, so that warning note maintenance personnel is safeguarded in time.
Next the specific rendering process of a video is described in detail for video renderer 10 in the present embodiment:
Before actually rendering, the every rendering function of needing to participate in this rendering in video renderer 10 is determined by user,
It at this time include user in the configuration parameter to distribute corresponding configuration parameter for each rendering unit in video renderer 10
It can also simultaneously include user according to the switching information for each rendering unit that the every rendering function of participating in this rendering determines
According to the other configurations parameter for the rendering unit that the function that rendering demand determines is opened.Master controller in video renderer 10
110 get the configuration parameter that user is the corresponding distribution of each rendering unit in this render process, and master controller 110 passes through
Corresponding configuration parameter is applied in matched rendering unit by the configuration end of each rendering unit, in matching for each rendering unit
When completion should all be used by setting parameter, master controller 110 inquires the switch of each rendering unit by the control terminal of each rendering unit
Information controls the switch setting that corresponding rendering unit carries out function, while according to the function of a certain rendering unit, judgement has
The switching information of the rendering unit of the preposition function of the rendering unit, if having the rendering unit of the preposition function of the rendering unit
Function close, then the function of the rendering unit is also switched off, to guarantee that the video renderer 10 can be according to the wash with watercolours of user
Dye demand executes corresponding rendering function.The switch setting of the function of each rendering unit is completed in video renderer 10 at this time
Afterwards, practical Rendering operations can be carried out to the video, video renderer 10 receives video to be rendered at this time, makes the video successively
By each rendering unit being arranged in series in advance in video renderer 10, the rendering unit that function is closed at this time to the video not
Actual Rendering operations are carried out, only in the rendering unit opened by function, carry out corresponding Rendering operations, until by most
The latter rendering unit, the video after output rendering, to realize this rendering of video.
Technical solution provided in this embodiment, by being arranged in series one wash with watercolours of multiple corresponding execution in video renderer
The rendering unit of function is contaminated, and according to rendering required in different render process configuration end pair of the function by each rendering unit
The functional switch of each rendering unit should be set, to realize different rendering capabilities, solve the video renderer of the prior art
In be not easy to maintenance personnel every rendering function is safeguarded, switch control and the problem of can not be multiplexed, improve video wash with watercolours
The scalability and individual cultivation for rendering function in device are contaminated, the rendering performance of video renderer is optimized.
Embodiment two
Fig. 2 is a kind of structural schematic diagram of video renderer provided by Embodiment 2 of the present invention.The present embodiment is above-mentioned
It is optimized on the basis of the technical solution that embodiment provides.Referring to Fig. 2, video renderer 20 may include master controller 210
With at least one sub- renderer 220.
Wherein, every sub- renderer 220 includes at least one rendering unit, and each rendering unit is corresponding to execute a rendering
Function.Meanwhile master controller 210 is connect with the configuration end of rendering unit in each sub- renderer 220 and control terminal respectively, it is each
It connects between sub- renderer 220, connects between each rendering unit in single sub- renderer 220.The structure and implementation of the part
The structure introduced in example one is identical, does not illustrate herein.
In addition, being configured in the present embodiment in order to the configuration parameter preferably to each rendering unit, video wash with watercolours
Contaminating can also include configuration unit 230 in device 20, which be connected to master controller 210 and each rendering unit
It configures between end.
Specifically, the design of configuration unit 230 and the rendering process for rendering pipeline in video renderer 20 in the present embodiment
Unanimously, master controller 210 will be believed for every configuration parameter uniform packing of each rendering unit at the configuration item of an entirety
Breath, and be written in configuration unit 230, configuration unit 230 is according to the rendering process successively executed in rendering pipeline, by the configuration
Item information passes sequentially through each rendering unit and is flowed, and when flowing through each rendering unit, the rendering unit is by configuring end
The configuration parameter of itself for including in configuration item information is read, and is applied in current rendering unit, master controller 210
It is arranged using the control terminal of the rendering unit according to the switch that switching information corresponding in the configuration parameter of application carries out function, directly
To the configuration item information flow to a last rendering unit, the configuration application of the rendering unit is completed, Video Rendering is just realized
The configuration of each rendering unit in device 20.
In addition, master controller 210 can also be single in configuration when video renderer 20 carries out practical rendering to a video
An empty configuration item information is written in member 230, configuration unit 230 is by the configuration item information of the sky as video is at this at this time
Practical Rendering operations in rendering have preposition followed by each rendering unit in video one sub- renderer 220 of inflow
When the rendering unit of function carries out Rendering operations, this can be carried out by preposition function rendering by the configuration end of the rendering unit
Rendering result be written in the configuration item information, so that other renderings of video in subsequent inflow sub- renderer 220 are single
When first, other rendering units can read the wash with watercolours for having preposition function by corresponding configuration end directly in the configuration item information
The rendering result that dye unit is previously written, without repeating the corresponding Rendering operations of preposition function;The son is flowed out in video
When the last one rendering unit in renderer 220, since subsequent rendering unit no longer needs this to have preposition function
The rendering result of rendering unit, therefore configuration unit 230 can correspond to the wash with watercolours deleted in configuration item information in this second son renderer 220
The result being written during dye.For example, successively include in sub- renderer 220 recognition of face rendering unit, U.S. face rendering unit and
Textures rendering unit flows into after recognition of face rendering unit carries out recognition of face in video, which can be with
Face recognition result is written in configuration item information by corresponding configuration end, subsequent video flow into U.S. face rendering unit and
When textures rendering unit, U.S. face rendering unit and textures rendering unit can directly read configuration item letter by corresponding configuration end
Face recognition result in breath, and corresponding U.S. face and textures rendering are carried out, without being identified again to the face in video;
Simultaneously after video flows out textures rendering unit, configuration unit 230 can also correspond to the people for deleting and including in the configuration item information
Face recognition result, to mitigate the EMS memory occupation of configuration unit 230.
In addition, for the ease of being monitored to rendering function every in video renderer 10, to judge video renderer
Rendering performance of each rendering unit in render process in 10 can also be arranged in the present embodiment in video renderer 10
With the one-to-one monitoring unit 240 of rendering unit, which is connected to master controller 110 and corresponding rendering is single
Between the monitoring client of member.The structure introduced in the structure of the monitoring unit 240 and embodiment one is identical, does not make herein specifically
It is bright.
Technical solution provided in this embodiment, video renderer additionally configure a configuration unit, the configuration unit according to
Video Rendering process configures in order the configuration parameter of each rendering unit, improves the configuration performance of each rendering unit, optimizes
The rendering performance of video renderer.
Embodiment three
Fig. 3 A is a kind of flow chart for Video Rendering method that the embodiment of the present invention three provides.The present embodiment can be applied to
In the video renderer that any embodiment offer is provided, mainly the Video Rendering process of any video is illustrated.Reference Fig. 3 A,
The present embodiment mainly may include steps of:
S310 obtains video and render request.
It wherein, include the switching information of each rendering unit in video renderer in render request.Specifically, the video is this
The secondary video for needing actually to be rendered in the video renderer designed in above-mentioned any embodiment.Render request is logical for user
The command information generated when executing corresponding Rendering operations on the video renderer is crossed, user holds in video renderer at this time
Before the corresponding Rendering operations of row, the rendering function that can be needed to be implemented in this rendering according to the video, in Video Rendering
The corresponding switching information of each rendering unit is inputted in device, each rendering can be correspondingly arranged before this practical rendering
The functional switch of unit.For example, being equipped with the video in advance in the terminal if video renderer correspondence is configured in a certain terminal
The front end applications of renderer, user can show Video Rendering interface as shown in Figure 3B, user by clicking the front end applications
Corresponding operation is executed by select button corresponding in the Video Rendering interface, such as clicks " video selection " button, Ke Yixuan
This video to be rendered is selected, " configuration " button is clicked, the switching information for each rendering unit can be inputted, click " is opened
Beginning rendering " button, the video renderer start to execute corresponding Rendering operations according to obtained specifying information.At this point, clicking
" configuration " button can correspond to and pop up configuration interface as shown in Figure 3 C, the switching information of each rendering unit is selected by user, this
In the external configuration interface, the other configurations parameter for the rendering unit that user can be opened with corresponding selection function, such as U.S. figure wash with watercolours
When contaminating unit unlatching, specific U.S. face degree can also be configured.
Optionally, in the present embodiment video renderer when needing to be implemented corresponding Rendering operations, it is necessary first to obtain use
Family input carry out this rendering video and render request, video renderer by being made a concrete analysis of to the render request,
It determines the switching information for each rendering unit for including in the render request, so as to subsequent before actually rendering, is opened according to this
It closes the switch that information carries out function to each rendering unit to be arranged, video renderer is made only to execute this rendering of participation to the video
Rendering unit function.Simultaneously as being also possible that the other configurations letter for the rendering unit that function is opened in render request
Breath, therefore the other configurations information for the rendering unit that can also be opened according to the function of including in render request in the present embodiment,
Specific parameter configuration is carried out to corresponding rendering unit.
S320 is arranged according to the switch that switching information carries out function to each rendering unit.
Specifically, in getting video and video renderer when the switching information of each rendering unit, for this rendering
Corresponding Rendering operations are only executed in the process, before carrying out practical rendering to the video got, need to preset each
The functional switch of rendering unit, to avoid additional Rendering operations are executed in this render process.Specifically, each determining
After the switching information of rendering unit, each switching information can be all applied in corresponding rendering unit by video renderer,
And the function of each rendering unit is opened or closed according to the specific switching information of each rendering unit.
Optionally, in the present embodiment, it is arranged according to the switch that switching information carries out function to each rendering unit, can be had
Body includes: to be set on the function for the rendering unit for participating in this rendering, is not involved in the function of the rendering unit of this rendering
It can be set off.
Specifically, after the switching information for determining each rendering unit, by the switching information to each rendering unit into
The corresponding rendering unit of opening imformation in switching information, is determined to participate in the rendering unit of this rendering, will switched by row analysis
The corresponding rendering unit of closing information is determined as being not involved in the rendering unit of this rendering in information, will participate in this rendering at this time
Rendering unit function be correspondingly arranged for open, will not participate in this rendering rendering unit function be correspondingly arranged for close
It closes.
In addition, the function of each rendering unit can for recognition of face rendering, the rendering of U.S. face, textures rendering, filter rendering,
Frame rendering or virtualization rendering.
Optionally, in the present embodiment, it is arranged according to the switch that switching information carries out function to each rendering unit, it can be with
Specifically include: if be not involved in this rendering rendering unit function be participate in this render rendering unit function before
Function is set, then the function of corresponding rendering unit in the rendering unit for participating in this rendering is set off, participates in this wash with watercolours
The function of remaining rendering unit is set in the rendering unit of dye.
Specifically, in the switching information according to each rendering unit in the present embodiment, it is determined that join in this render process
With this rendering rendering unit and be not involved in this rendering rendering unit after, due to a certain rendering unit function be other
The case where preposition function of rendering unit, there may be when preposition function closing, the function of other rendering units is opened at this time,
But it since the preposition function of the rendering unit is closed, cannot obtain executing the rendering result after preposition function, at this time other wash with watercolours
Contaminating unit also can not be according to the Rendering operations after the rendering result execution after the preposition function of execution, other rendering units are in this kind of feelings
Can not work normally under condition, thus determined according to switching information participated in this render process this rendering rendering unit and
After being not involved in the rendering unit of this rendering, it is also necessary to the rendering unit for participating in this rendering and be not involved in this wash with watercolours rendered
The dye corresponding rendering function of unit is analyzed, if the function of being not involved in the rendering unit of this rendering is a certain participation sheet
When the preposition function of the function of the rendering unit of secondary rendering, need to set the function of rendering unit of the participation this rendering to
It closes, that is, the function for other rendering units for including in the sub- renderer where the corresponding rendering unit of preposition function is equal
It is set off, while by remaining in addition to the rendering unit in the sub- renderer in the rendering unit for participating in this rendering
The function of rendering unit is set on.Such as when the function of rendering unit is U.S. face rendering or textures rendering, then before the function
Function is set as recognition of face rendering.
Video input video renderer is carried out Video Rendering, the video after being rendered by S330.
Optionally, after the switch setting for carrying out function to each rendering unit according to switching information, video wash with watercolours can be determined
Specific rendering process of the device in this rendering is contaminated, the video input that will acquire at this time successively passes through into the video renderer
Each rendering unit, the rendering unit that function is closed at this time does not carry out actual Rendering operations to received video, only functional
The rendering unit of unlatching carries out actual Rendering operations to received video.Simultaneously as existing in video renderer by multiple
The sub- renderer of rendering unit composition, if video flows into the rendering for having the preposition function of other rendering units in the sub- renderer
When unit, which can execute the corresponding Rendering operations of the preposition function to the video received, and by the rendering result
Correspondence is written in the video renderer as video flows in preset configuration item information, flows into the sub- rendering in video
When other rendering units in device, other rendering units can be read directly in the configuration item information by having preposition function
The rendering result that rendering unit is previously written, so that other rendering units execute corresponding rendering on the basis of the rendering result
Operation;When video flows out the last one rendering unit in the sub- renderer, since subsequent rendering unit no longer needs
This has the rendering result of the rendering unit of preposition function, therefore can correspond to and delete in configuration item information in this second son renderer
The result being previously written in render process.Such as, successively include in sub- renderer recognition of face rendering unit, U.S. face rendering unit and
Textures rendering unit flows into after recognition of face rendering unit carries out recognition of face in video, which can be with
Face recognition result is written in configuration item information by corresponding configuration end, subsequent video flow into U.S. face rendering unit and
When textures rendering unit, the recognition of face knot in configuration item information is can be read directly in U.S. face rendering unit and textures rendering unit
Fruit, and corresponding U.S. face and textures rendering are carried out, without being identified again to the face in video;It flows out and pastes in video simultaneously
After figure rendering unit, the face recognition result deleted and include in the configuration item information can also be corresponded to, to mitigate video renderer
EMS memory occupation.
Optionally, for the ease of being monitored to rendering function every in video renderer, to judge video renderer
In rendering performance of each rendering unit in render process, during this Video Rendering, the present embodiment can also be wrapped
It includes: obtaining the input video feature and output video features of the rendering unit for participating in this rendering;According to input video feature and
Video features are exported, determine corresponding function monitoring parameter.
Specifically, function monitoring parameter include participate in this rendering rendering unit rendering duration, rendering intensity value and
At least one of in fault diagnosis value.Optionally, the rendering unit of this rendering is participated in video renderer to received video
When executing corresponding rendering function, video renderer can obtain the rendering unit by corresponding monitoring unit and execute correspondence
Rendering function before the corresponding input video feature of input video, and execute it is corresponding rendering function after output
The corresponding output video features of video, and correspondence analysis is carried out to the difference of input video feature and output video features, thus
Determine corresponding various functions monitoring parameters.Such as to the output in the input time and output video features in input video feature
Time is compared, and obtains the rendering unit in the rendering duration for executing corresponding rendering function;Or to input video feature
In video effect and output video features in render after video effect be compared, obtain the rendering unit execute it is corresponding
Render the rendering intensity value of function;Or judge that the rendering unit whether can according to input video feature and output video features
It works normally, determines specifically fault diagnosis value when breaking down.In the present embodiment can by input video feature and
The rendering performance of each rendering unit of this rendering, this implementation are participated in output this render process of video features real-time monitoring
Rendering performance in example can have the rendering duration of the rendering unit, to the rendering effect of video and with the presence or absence of rendering failure
Etc. all kinds of rendering state information, just stop monitoring when video exits in the rendering unit, so that Video Rendering is on backstage
The performance of each rendering unit is analyzed, and corresponding configuration parameter can be optimized according to the rendering performance of each rendering unit,
Improve subsequent rendering performance.
In addition, video renderer, can also be single to each rendering before carrying out practical rendering to video in the present embodiment
Member carries out the processing such as initialization or resource release, to reduce the EMS memory occupation of video renderer, improves each rendering unit
Render performance.
Technical solution provided in this embodiment, by being arranged in series one wash with watercolours of multiple corresponding execution in video renderer
The rendering unit of function is contaminated, and according to rendering required in different render process configuration end pair of the function by each rendering unit
The functional switch of each rendering unit should be set, to realize different rendering capabilities, solve the video renderer of the prior art
In be not easy to maintenance personnel every rendering function is safeguarded, switch control and the problem of can not be multiplexed, improve video wash with watercolours
The scalability and individual cultivation for rendering function in device are contaminated, the rendering performance of video renderer is optimized.
The above description is only a preferred embodiment of the present invention, is not intended to restrict the invention, for those skilled in the art
For, the invention can have various changes and changes.All any modifications made within the spirit and principles of the present invention are equal
Replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of video renderer characterized by comprising master controller and at least one sub- renderer, the sub- renderer
Including at least one rendering unit, each rendering unit is corresponding to execute a rendering function;The master controller respectively with rendering
The configuration end of unit is connected with control terminal, is connected between each sub- renderer, is gone here and there between each rendering unit in single sub- renderer
Connection.
2. video renderer according to claim 1, which is characterized in that further include: configuration unit, the configuration unit connect
It connects between the master controller and the configuration end of rendering unit.
3. video renderer according to claim 1 or 2, which is characterized in that further include: it is one-to-one with rendering unit
Monitoring unit, the monitoring unit are connected between the master controller and the monitoring client of corresponding rendering unit.
4. a kind of Video Rendering method is applied in video renderer as described in any one of claims 1 to 3, feature exists
In, comprising:
Video and render request are obtained, includes the switching information of each rendering unit in video renderer in the render request;
It is arranged according to the switch that the switching information carries out function to each rendering unit;
Video renderer described in the video input is subjected to Video Rendering, the video after being rendered.
5. according to the method described in claim 4, it is characterized in that, carrying out function to each rendering unit according to the switching information
Switch setting, specifically include:
The function of participating in the rendering unit of this rendering is set on, the function of being not involved in the rendering unit of this rendering is set
It is set to closing.
6. according to the method described in claim 5, it is characterized in that, carrying out function to each rendering unit according to the switching information
Switch setting, also specifically include:
If the function of being not involved in the rendering unit of this rendering is the preposition function for participating in the function of rendering unit of this rendering
Can, then the function of corresponding rendering unit in the rendering unit for participating in this rendering is set off, participates in this rendering
The function of remaining rendering unit is set in rendering unit.
7. according to the method described in claim 4, it is characterized by further comprising:
Obtain the input video feature and output video features of the rendering unit for participating in this rendering;
According to the input video feature and the output video features, corresponding function monitoring parameter is determined.
8. the method according to the description of claim 7 is characterized in that the function monitoring parameter includes the wash with watercolours for participating in this rendering
Contaminate at least one in rendering duration, rendering intensity value and the fault diagnosis value of unit.
9. according to the method described in claim 5, it is characterized in that, the function of the rendering unit is recognition of face rendering, beauty
Face rendering, textures rendering, filter rendering, frame rendering or virtualization rendering.
10. according to the method described in claim 6, it is characterized in that, the function of the rendering unit is U.S. face rendering or textures
Rendering, then the preposition function of the function is recognition of face rendering.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811352373.XA CN109218820A (en) | 2018-11-14 | 2018-11-14 | A kind of video renderer and Video Rendering method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811352373.XA CN109218820A (en) | 2018-11-14 | 2018-11-14 | A kind of video renderer and Video Rendering method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109218820A true CN109218820A (en) | 2019-01-15 |
Family
ID=64996482
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811352373.XA Pending CN109218820A (en) | 2018-11-14 | 2018-11-14 | A kind of video renderer and Video Rendering method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109218820A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112653849A (en) * | 2021-01-14 | 2021-04-13 | 上海翰莓科技有限公司 | Short video design service system |
CN113360708A (en) * | 2021-05-31 | 2021-09-07 | 北京达佳互联信息技术有限公司 | Video playing method and device, electronic equipment and storage medium |
CN114418887A (en) * | 2022-01-19 | 2022-04-29 | 北京百度网讯科技有限公司 | Image enhancement method and device, electronic equipment and storage medium |
CN114581575A (en) * | 2021-12-13 | 2022-06-03 | 北京市建筑设计研究院有限公司 | Model rendering processing method and device and electronic equipment |
CN114581574A (en) * | 2021-12-13 | 2022-06-03 | 北京市建筑设计研究院有限公司 | Model rendering processing method and device and electronic equipment |
CN115437810A (en) * | 2022-09-16 | 2022-12-06 | 北京字跳网络技术有限公司 | Rendering task processing method, device, equipment and medium |
CN116594718A (en) * | 2023-07-18 | 2023-08-15 | 禾多科技(北京)有限公司 | Element rendering method, device, equipment and readable medium for simulation test |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103548307A (en) * | 2010-12-30 | 2014-01-29 | 皮尔爱普有限公司 | Methods and systems for transmission of data over computer networks |
CN103853562A (en) * | 2014-03-26 | 2014-06-11 | 北京奇艺世纪科技有限公司 | Video frame rendering method and device |
CN104090753A (en) * | 2014-06-13 | 2014-10-08 | 北京奇艺世纪科技有限公司 | Video rendering system of mobile terminal |
CN104216525A (en) * | 2014-08-14 | 2014-12-17 | 小米科技有限责任公司 | Method and device for mode control of camera application |
CN106230841A (en) * | 2016-08-04 | 2016-12-14 | 深圳响巢看看信息技术有限公司 | A kind of video U.S. face and the method for plug-flow in real time in network direct broadcasting based on terminal |
CN107566911A (en) * | 2017-09-08 | 2018-01-09 | 广州华多网络科技有限公司 | A kind of live broadcasting method, device, system and electronic equipment |
US20180225805A1 (en) * | 2017-02-09 | 2018-08-09 | Jaunt Inc. | Generating Virtual Reality Content Based on Corrections to Stitching Errors |
-
2018
- 2018-11-14 CN CN201811352373.XA patent/CN109218820A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103548307A (en) * | 2010-12-30 | 2014-01-29 | 皮尔爱普有限公司 | Methods and systems for transmission of data over computer networks |
CN103853562A (en) * | 2014-03-26 | 2014-06-11 | 北京奇艺世纪科技有限公司 | Video frame rendering method and device |
CN104090753A (en) * | 2014-06-13 | 2014-10-08 | 北京奇艺世纪科技有限公司 | Video rendering system of mobile terminal |
CN104216525A (en) * | 2014-08-14 | 2014-12-17 | 小米科技有限责任公司 | Method and device for mode control of camera application |
CN106230841A (en) * | 2016-08-04 | 2016-12-14 | 深圳响巢看看信息技术有限公司 | A kind of video U.S. face and the method for plug-flow in real time in network direct broadcasting based on terminal |
US20180225805A1 (en) * | 2017-02-09 | 2018-08-09 | Jaunt Inc. | Generating Virtual Reality Content Based on Corrections to Stitching Errors |
CN107566911A (en) * | 2017-09-08 | 2018-01-09 | 广州华多网络科技有限公司 | A kind of live broadcasting method, device, system and electronic equipment |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112653849A (en) * | 2021-01-14 | 2021-04-13 | 上海翰莓科技有限公司 | Short video design service system |
CN112653849B (en) * | 2021-01-14 | 2023-07-25 | 上海翰莓科技有限公司 | Short video design service system |
CN113360708A (en) * | 2021-05-31 | 2021-09-07 | 北京达佳互联信息技术有限公司 | Video playing method and device, electronic equipment and storage medium |
CN113360708B (en) * | 2021-05-31 | 2024-05-10 | 北京达佳互联信息技术有限公司 | Video playing method and device, electronic equipment and storage medium |
CN114581575A (en) * | 2021-12-13 | 2022-06-03 | 北京市建筑设计研究院有限公司 | Model rendering processing method and device and electronic equipment |
CN114581574A (en) * | 2021-12-13 | 2022-06-03 | 北京市建筑设计研究院有限公司 | Model rendering processing method and device and electronic equipment |
CN114418887A (en) * | 2022-01-19 | 2022-04-29 | 北京百度网讯科技有限公司 | Image enhancement method and device, electronic equipment and storage medium |
CN114418887B (en) * | 2022-01-19 | 2022-12-20 | 北京百度网讯科技有限公司 | Image enhancement method and device, electronic equipment and storage medium |
CN115437810A (en) * | 2022-09-16 | 2022-12-06 | 北京字跳网络技术有限公司 | Rendering task processing method, device, equipment and medium |
WO2024055845A1 (en) * | 2022-09-16 | 2024-03-21 | 北京字跳网络技术有限公司 | Rendering-task processing method and apparatus, and device and medium |
CN116594718A (en) * | 2023-07-18 | 2023-08-15 | 禾多科技(北京)有限公司 | Element rendering method, device, equipment and readable medium for simulation test |
CN116594718B (en) * | 2023-07-18 | 2023-09-19 | 禾多科技(北京)有限公司 | Element rendering method, device, equipment and readable medium for simulation test |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109218820A (en) | A kind of video renderer and Video Rendering method | |
CN105095817B (en) | Intelligent robot method for diagnosing faults, apparatus and system based on artificial intelligence | |
CN110286892B (en) | Rapid development engine system based on business process design | |
CN106201846A (en) | Method for monitoring performance in automatic test and device | |
US20090317056A1 (en) | System and method for managing schedules of monitoring device | |
CN104627385B (en) | A kind of process visualization decision-making diagnostic system and reasoning and decision method thereof | |
CN110727670B (en) | Data structure prediction transfer and automatic data processing method based on flow chart | |
DE102018110138A1 (en) | Workflow engine framework | |
CN109525841A (en) | TV method for testing pressure, platform and computer readable storage medium | |
CN109379305A (en) | A kind of data distributing method, device, server and storage medium | |
CN107370644A (en) | Inter-linked controlling method, device, computer-readable recording medium and computer equipment | |
US8745537B1 (en) | Graphical interface for managing and monitoring the status of a graphical model | |
CN105528261A (en) | Method and system for intelligently outputting debugging information for embedded device | |
CN101984401B (en) | Multi-screen spliced management system and management method | |
CN104123397A (en) | Automatic test device and method for Web page | |
CN111435227A (en) | Smart home equipment testing method, device, equipment and medium | |
CN107426613A (en) | Based on the video resource mirror image loading player method and system between network direct broadcasting | |
CN106850316A (en) | A kind of optical fiber into end graphically managing method and system | |
CN109522179B (en) | Server running state monitoring method and device, processor and server | |
CN112235164B (en) | Neural network flow prediction device based on controller | |
CN110163554A (en) | Operation method, device, server and the storage medium of workflow | |
CN106227595A (en) | Process the most quick operating method and system | |
CN112000396A (en) | Fuel cell system test control method, device, equipment and storage medium | |
CN104754328B (en) | Distributed video quality diagnosis method | |
CN113923146B (en) | Visual block chain consensus algorithm performance test method |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190115 |
|
RJ01 | Rejection of invention patent application after publication |