CN109413337A - Video Rendering method, apparatus, electronic equipment and storage medium - Google Patents

Video Rendering method, apparatus, electronic equipment and storage medium Download PDF

Info

Publication number
CN109413337A
CN109413337A CN201811005359.2A CN201811005359A CN109413337A CN 109413337 A CN109413337 A CN 109413337A CN 201811005359 A CN201811005359 A CN 201811005359A CN 109413337 A CN109413337 A CN 109413337A
Authority
CN
China
Prior art keywords
equipment
hardware performance
rendering
video
shape library
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
CN201811005359.2A
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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201811005359.2A priority Critical patent/CN109413337A/en
Publication of CN109413337A publication Critical patent/CN109413337A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • 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, rendering scenes according to 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/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, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44012Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving rendering scenes according to scene graphs, e.g. MPEG-4 scene graphs

Abstract

Present application illustrates a kind of Video Rendering method, apparatus, electronic equipment and storage mediums.In this application, when needing render video in a device, the hardware performance of the equipment is obtained;In at least two default rendering shape libraries, the rendering shape library for being suitable for the hardware performance is obtained;The video is rendered using the rendering shape library in the device.The advantage of the hardware performance of the equipment can so be played, such as, special efficacy rendering can carried out to video, interruption will not be rendered, equipment will not Caton, and in the case that equipment can carry out other business simultaneously, the render time of consuming is most short and obtained rendering effect is best, and then improves user experience.

Description

Video Rendering method, apparatus, electronic equipment and storage medium
Technical field
This application involves field of computer technology more particularly to a kind of Video Rendering method, apparatus, electronic equipment and storage Medium.
Background technique
With the rapid development of technology, various short-sighted frequency APP are more and more, and user can install short in mobile phone Video APP, then shoots the short-sighted frequency of oneself performance using short-sighted frequency APP, and the short video distribution of shooting is supplied on network The viewing of its bean vermicelli.
However, due to factors such as personal technique for taking and ambient lights, short-sighted frequency that user is shot using mobile phone Visual aesthetics and visual interest it is often lower, therefore, often in order to improve short-sighted frequency visual aesthetics and vision interest Taste often requires to use mobile phone after shooting short-sighted frequency and carries out special efficacy rendering to the video of shooting, for example, U.S. face, particle Special efficacy or VR, snowflake play light and shake etc..
Summary of the invention
The application provides a kind of Video Rendering method, apparatus, electronic equipment and storage medium.
According to a first aspect of the present application, a kind of Video Rendering method is provided, which is characterized in that the described method includes:
When needing render video in a device, the hardware performance of the equipment is obtained;
In at least two default rendering shape libraries, the rendering shape library for being suitable for the hardware performance is obtained;
The video is rendered using the rendering shape library obtained in the apparatus.
In an optional implementation manner, the hardware performance for obtaining the equipment, comprising:
Obtain the device model of the equipment;
According to the corresponding relationship between the device model of equipment and the hardware performance of equipment, the device model with acquisition is determined Corresponding hardware performance, and the hardware performance as the equipment.
In an optional implementation manner, the hardware performance for obtaining the equipment, comprising:
The hardware performance of the equipment is read from the preset configuration file in the operating system of the equipment.
In an optional implementation manner, described at least two default rendering shape libraries, it obtains described in being suitable for The rendering shape library of hardware performance, comprising:
In corresponding relationship between hardware performance section and rendering shape library, the hardware where the hardware performance is searched Performance interval;
In corresponding relationship between hardware performance section and rendering shape library, search opposite with the hardware performance section The rendering shape library answered, and as the rendering shape library for being suitable for the hardware performance.
According to a second aspect of the present application, a kind of Video Rendering device is provided, described device includes:
First obtains module, is configured as obtaining the hardware performance of the equipment when needing render video in a device;
Second obtains module, is configured as at least two default rendering shape libraries, obtain it is suitable be configured as it is described hard The rendering shape library of part performance;
Rendering module is configured as rendering the video using the rendering shape library obtained in the apparatus.
In an optional implementation manner, the first acquisition module includes:
Acquiring unit is configured as obtaining the device model of the equipment;
Determination unit is configured as according to the corresponding relationship between the device model of equipment and the hardware performance of equipment, really Fixed hardware performance corresponding with device model that is obtaining, and the hardware performance as the equipment.
In an optional implementation manner, the first acquisition module is specifically configured to: from the operation of the equipment The hardware performance of the equipment is read in preset configuration file in system.
In an optional implementation manner, the second acquisition module includes:
First searching unit is configured as in the corresponding relationship between hardware performance section and rendering shape library, searches Hardware performance section where the hardware performance;
Second searching unit is configured as in the corresponding relationship between hardware performance section and rendering shape library, searches Rendering shape library corresponding with the hardware performance section, and as the suitable rendering figure for being configured as the hardware performance Library.
According to the third aspect of the application, a kind of electronic equipment is provided, the electronic equipment includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to executing Video Rendering method as described in relation to the first aspect.
According to the fourth aspect of the application, a kind of non-transitorycomputer readable storage medium is provided, when the storage is situated between When instruction in matter is executed by the processor of electronic equipment, so that electronic equipment is able to carry out video wash with watercolours as described in relation to the first aspect Dyeing method.
According to the 5th of the application the aspect, a kind of computer program product is provided, when in the computer program product When instruction is executed by the processor of electronic equipment, so that electronic equipment is able to carry out Video Rendering side as described in relation to the first aspect Method.
Technical solution provided by the present application can include the following benefits:
In this application, when needing render video in a device, the hardware performance of the equipment is obtained;It is pre- at least two If rendering in shape library, the rendering shape library for being suitable for the hardware performance is obtained;The rendering shape library wash with watercolours is used in the device Contaminate the video.The advantage of the hardware performance of the equipment can be so played, for example, special efficacy rendering can be carried out to video, no Interruption can be rendered, equipment will not be in the case that Caton and equipment can carry out other business simultaneously, and the render time of consuming is most Rendering effect that is short and obtaining is best, and then improves user experience.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The application can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the application Example, and together with specification it is used to explain the principle of the application.
Fig. 1 is a kind of flow chart of Video Rendering method shown in the application.
Fig. 2 is a kind of block diagram of Video Rendering device shown in the application.
Fig. 3 is the block diagram of a kind of electronic equipment shown in the application.
Fig. 4 is the block diagram of a kind of electronic equipment shown in the application.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the application.
Fig. 1 is a kind of flow chart of Video Rendering method shown in the application, as shown in Figure 1, this method includes following step Suddenly.
In step s101, when needing render video in a device, the hardware performance of the equipment is obtained;
In this application, after user shoots one section of video using the equipment, if necessary to carry out special efficacy to the video Rendering, then can input the render instruction for carrying out special efficacy rendering to the video in the device, which receives the rendering When instruction, the equipment is it is determined that need to render the video in the device.
In this application, it when carrying out special efficacy rendering to the video, needs to add in advance in the equipment using shape library is rendered It is loaded at least two rendering shape libraries.
Secondly, there are a variety of different equipment on the market, the hardware performance of different equipment is different, suitable for different The rendering shape library of hardware performance is different.Therefore, it is necessary to obtain the rendering shape library for being suitable for the hardware performance of the equipment, in order to The rendering shape library of the hardware performance suitable for the equipment can be obtained, it is necessary first to obtain the hardware performance of equipment.
The equipment performance of equipment includes the frame number for the image that equipment can render within the unit time, alternatively, equipment is current Free system resources, for example, cpu resource, GPU resource and memory source etc..
In one embodiment of the application, the hardware performance of equipment can store default in the operating system of equipment In configuration file, therefore, in this step, the hard of equipment can be read from the preset configuration file in the operating system of equipment Part performance.
In this application, equipment includes mobile phone, tablet computer, laptop or desktop computer etc..
In another embodiment of the application, each equipment has respective model, and device manufacturer is in production equipment When, the hardware performance of the equipment of same model be it is identical, the hardware performance of the equipment of different model is often different.For example, In iphone mobile phone, the hardware performance of the iphone mobile phone of all models " 5S " is identical, the iphone hand of all models " 7 " The hardware performance of machine is identical, but the hardware performance of the mobile phone of the hardware performance of the mobile phone of model " 5S " and model " 7 " is not Together, for example, the hardware performance of the mobile phone of model " 5S " lower than model " 7 " mobile phone hardware performance.
Device manufacturer, can be by the hardware of the device model of the equipment and the equipment after the equipment for a certain model of dispatching from the factory Performance is sent to cloud, so that the hardware performance of the device model of the equipment and the equipment is formed corresponding table item by cloud, and deposits It stores up in the corresponding relationship between the device model of equipment and the hardware performance of equipment.
Therefore, in this step, the device model of the available equipment;For example, from the operating system of the equipment The device model that the equipment is read in another preset configuration file, then according to the hardware performance of the device model of equipment and equipment Between corresponding relationship determine the corresponding hardware performance of the device model with acquisition, and the hardware performance as the equipment.
Wherein, which can send the hardware performance inquiry request for carrying the device model obtained, cloud to cloud The inquiry request is received, the device model is extracted from the inquiry request, then in the hard of the device model of equipment and equipment In corresponding relationship between part performance, hardware performance corresponding with the device model obtained is searched, is then sent to the equipment The hardware performance found, the equipment receive the hardware performance that cloud is sent, and the hardware performance as the equipment,
In step s 102, at least two default rendering shape libraries, the rendering figure for being suitable for the hardware performance is obtained Shape library;
In this application, be often pre-loaded at least two default rendering shape libraries in equipment, for example, METAL2 and OpenGL ES etc..
When same equipment carries out special efficacy rendering to same video using different rendering shape libraries, the time of required consuming is not Together, and, finally obtained rendering effect is also different.
In historical process, it is higher that technical staff constantly can output rank on the basis of original rendering shape library Rendering shape library can load in new equipment later if to dispatch from the factory new equipment and obtain the higher rendering figure of rank Library.
Wherein, the time of required consuming is more when carrying out special efficacy rendering to a certain image using the higher rendering shape library of rank It is short, and finally obtained rendering effect is better.Special efficacy rendering when institute is carried out using the image of the lower rendering shape library of rank The time that need to be expended is longer, and finally obtained rendering effect is poorer.
But it if necessary to carry out special efficacy selection to video using the higher rendering shape library of rank, then needs higher The support of hardware performance.
If equipment needs to carry out special efficacy rendering to video using high level rendering shape library, which needs to have High level hardware performance, otherwise, if using high level rendering shape library to view in the equipment of low level hardware performance Frequency carries out special efficacy rendering, then the advantage of high level rendering shape library can not be played, for example, when can expend longer rendering Between, alternatively, special efficacy rendering normally can not be carried out to video, cause rendering to be interrupted, or lead to equipment Caton, equipment can not carry out Other business.
Secondly, if the equipment has high level hardware performance, if rendering shape library using low level in a device Special efficacy rendering is carried out to video, then can not play the advantage of the high level hardware performance of the equipment, longer wash with watercolours can be expended It contaminates the time and finally obtained rendering effect is poor.
Therefore, in this application, in order to the high-level of equipment can be played when equipment has high level hardware performance Hardware performance advantage,
And when in order to have the hardware performance of low level in equipment, special efficacy rendering normally can be carried out to video, avoided Rendering is interrupted, and equipment Caton is avoided, and avoid equipment that from can not carrying out other business, for any one loaded in equipment Shape library is rendered, technical staff can test the hardware performance section suitable for the rendering shape library in advance, then by the hardware Performance interval and the rendering shape library form corresponding table item, and are stored in corresponding between hardware performance section and rendering shape library In relationship.
Wherein, when the hardware performance of an equipment is located in the hardware performance section, compared to using other renderings to scheme Shape library, which carries out special efficacy rendering when the equipment carries out special efficacy rendering to video using the rendering shape library to video, can play this The advantage of the hardware performance of equipment, for example, interruption will not be rendered special efficacy rendering can be carried out to video, equipment will not Caton, And in the case that equipment can carry out other business simultaneously, the render time of consuming is most short and obtained rendering effect is best.
Each rendering shape library, equally execution aforesaid operations for other.
In this way, in this step, in order to need the selection at least two default rendering shape libraries to be suitable for the equipment The rendering shape library of hardware performance can search the hardware in the corresponding relationship between hardware performance section and rendering shape library Then hardware performance section where performance is searched and is somebody's turn to do in the corresponding relationship between hardware performance section and rendering shape library The corresponding rendering shape library in hardware performance section, and as the rendering shape library for being suitable for the hardware performance, then execute step Rapid S103.
In step s 103, the video is rendered using the rendering shape library of acquisition in the device.
In this application, when needing render video in a device, the hardware performance of the equipment is obtained;It is pre- at least two If rendering in shape library, the rendering shape library for being suitable for the hardware performance is obtained;The rendering shape library wash with watercolours is used in the device Contaminate the video.The advantage of the hardware performance of the equipment can be so played, for example, special efficacy rendering can be carried out to video, no Interruption can be rendered, equipment will not be in the case that Caton and equipment can carry out other business simultaneously, and the render time of consuming is most Rendering effect that is short and obtaining is best, and then improves user experience.
Fig. 2 is a kind of block diagram of Video Rendering device shown in the application.Referring to Fig. 2, which includes:
First obtains module 11, is configured as obtaining the hardware of the equipment when needing render video in a device Energy;
Second acquisition module 12 is configured as at least two default rendering shape libraries, obtains described in suitable be configured as The rendering shape library of hardware performance;
Rendering module 13 is configured as rendering the video using the rendering shape library obtained in the apparatus.
In an optional implementation manner, the first acquisition module 11 includes:
Acquiring unit is configured as obtaining the device model of the equipment;
Determination unit is configured as according to the corresponding relationship between the device model of equipment and the hardware performance of equipment, really Fixed hardware performance corresponding with device model that is obtaining, and the hardware performance as the equipment.
In an optional implementation manner, the first acquisition module is specifically configured to: from the operation of the equipment The hardware performance of the equipment is read in preset configuration file in system.
In an optional implementation manner, the second acquisition module 12 includes:
First searching unit is configured as in the corresponding relationship between hardware performance section and rendering shape library, searches Hardware performance section where the hardware performance;
Second searching unit is configured as in the corresponding relationship between hardware performance section and rendering shape library, searches Rendering shape library corresponding with the hardware performance section, and as the suitable rendering figure for being configured as the hardware performance Library.
In this application, when needing render video in a device, the hardware performance of the equipment is obtained;It is pre- at least two If rendering in shape library, the rendering shape library for being suitable for the hardware performance is obtained;The rendering shape library wash with watercolours is used in the device Contaminate the video.The advantage of the hardware performance of the equipment can be so played, for example, special efficacy rendering can be carried out to video, no Interruption can be rendered, equipment will not be in the case that Caton and equipment can carry out other business simultaneously, and the render time of consuming is most Rendering effect that is short and obtaining is best, and then improves user experience.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 3 is the block diagram of a kind of electronic equipment 800 shown in the application.For example, electronic equipment 800 can be mobile electricity Words, computer, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices, body-building equipment are a Personal digital assistant etc..
Referring to Fig. 3, electronic equipment 800 may include following one or more components: processing component 802, memory 804, Electric power assembly 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, And communication component 816.
The integrated operation of the usual controlling electronic devices 800 of processing component 802, such as with display, call, data are logical Letter, camera operation and record operate associated operation.Processing component 802 may include one or more processors 820 to hold Row instruction, to complete all or part of the steps of above-mentioned Video Rendering method as shown in Figure 1.In addition, processing component 802 can be with Including one or more modules, convenient for the interaction between processing component 802 and other assemblies.For example, processing component 802 can wrap Multi-media module is included, to facilitate the interaction between multimedia component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in equipment 800.These data are shown Example includes the instruction of any application or method for operating on electronic equipment 800, contact data, telephone directory number According to, message, picture, video etc..Memory 804 can by any kind of volatibility or non-volatile memory device or they Combination realize, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable Programmable read only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, quick flashing Memory, disk or CD.
Power supply module 806 provides electric power for the various assemblies of electronic equipment 800.Power supply module 806 may include power supply pipe Reason system, one or more power supplys and other with for electronic equipment 800 generate, manage, and distribute the associated component of electric power.
Multimedia component 808 includes the screen of one output interface of offer between the electronic equipment 800 and user. In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch surface Plate, screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touches Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding The boundary of movement, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, Multimedia component 808 includes a front camera and/or rear camera.When equipment 800 is in operation mode, as shot mould When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when electronic equipment 800 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone It is configured as receiving external audio signal.The received audio signal can be further stored in memory 804 or via logical Believe that component 816 is sent.In some embodiments, audio component 810 further includes a loudspeaker, is used for output audio signal.
I/O interface 812 provides interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 814 includes one or more sensors, for providing the state of various aspects for electronic equipment 800 Assessment.For example, sensor module 814 can detecte the state that opens/closes of equipment 800, the relative positioning of component, such as institute The display and keypad that component is electronic equipment 800 are stated, sensor module 814 can also detect electronic equipment 800 or electronics The position change of 800 1 components of equipment, the existence or non-existence that user contacts with electronic equipment 800,800 orientation of electronic equipment Or the temperature change of acceleration/deceleration and electronic equipment 800.Sensor module 814 may include proximity sensor, be configured to It detects the presence of nearby objects without any physical contact.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, for being used in imaging applications.In some embodiments, which can be with Including acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between electronic equipment 800 and other equipment. Electronic equipment 800 can access the wireless network based on communication standard, such as WiFi, carrier network (such as 2G, 3G, 4G or 5G), Or their combination.In one exemplary embodiment, communication component 816 receives via broadcast channel and comes from external broadcasting management The broadcast singal or broadcast related information of system.In one exemplary embodiment, the communication component 816 further includes that near field is logical (NFC) module is believed, to promote short range communication.For example, radio frequency identification (RFID) technology, infrared data association can be based in NFC module Meeting (IrDA) technology, ultra wide band (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, electronic equipment 800 can be by one or more application specific integrated circuit (ASIC), number Word signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing above-mentioned video as shown in Figure 1 Rendering method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 804 of instruction, above-metioned instruction can be executed above-mentioned such as Fig. 1 institute to complete by the processor 820 of electronic equipment 800 The Video Rendering method shown.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
Fig. 4 is the block diagram of a kind of electronic equipment 1900 shown in the application.For example, electronic equipment 1900 may be provided as One server.
Referring to Fig. 4, it further comprises one or more processors that electronic equipment 1900, which includes processing component 1922, with And memory resource represented by a memory 1932, it can be by the instruction of the execution of processing component 1922 for storing, such as answer Use program.The application program stored in memory 1932 may include it is one or more each correspond to one group of instruction Module.In addition, processing component 1922 is configured as executing instruction, to execute above-mentioned Video Rendering method as described in Figure 1.
Electronic equipment 1900 can also include that a power supply module 1926 is configured as executing the power supply of electronic equipment 1900 Management, a wired or wireless network interface 1950 is configured as electronic equipment 1900 being connected to network and an input is defeated (I/O) interface 1958 out.Electronic equipment 1900 can be operated based on the operating system for being stored in memory 1932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the application Its embodiment.This application is intended to cover any variations, uses, or adaptations of the application, these modifications, purposes or Person's adaptive change follows the general principle of the application and including the undocumented common knowledge in the art of the application Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the application are by following Claim is pointed out.
It should be understood that the application is not limited to the precise structure that has been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.Scope of the present application is only limited by the accompanying claims.

Claims (10)

1. a kind of Video Rendering method, which is characterized in that the described method includes:
When needing render video in a device, the hardware performance of the equipment is obtained;
In at least two default rendering shape libraries, the rendering shape library for being suitable for the hardware performance is obtained;
The video is rendered using the rendering shape library obtained in the apparatus.
2. the method according to claim 1, wherein the hardware performance for obtaining the equipment, comprising:
Obtain the device model of the equipment;
According to the corresponding relationship between the device model of equipment and the hardware performance of equipment, determine opposite with the device model obtained The hardware performance answered, and the hardware performance as the equipment.
3. the method according to claim 1, wherein the hardware performance for obtaining the equipment, comprising:
The hardware performance of the equipment is read from the preset configuration file in the operating system of the equipment.
4. the method according to claim 1, wherein described at least two default rendering shape libraries, acquisition Rendering shape library suitable for the hardware performance, comprising:
In corresponding relationship between hardware performance section and rendering shape library, the hardware performance where the hardware performance is searched Section;
In corresponding relationship between hardware performance section and rendering shape library, search corresponding with the hardware performance section Shape library is rendered, and as the rendering shape library for being suitable for the hardware performance.
5. a kind of Video Rendering device, which is characterized in that described device includes:
First obtains module, is configured as obtaining the hardware performance of the equipment when needing render video in a device;
Second obtains module, is configured as at least two default rendering shape libraries, acquisition is suitable to be configured as the hardware The rendering shape library of energy;
Rendering module is configured as rendering the video using the rendering shape library obtained in the apparatus.
6. device according to claim 5, which is characterized in that described first, which obtains module, includes:
Acquiring unit is configured as obtaining the device model of the equipment;
Determination unit, is configured as according to the corresponding relationship between the device model of equipment and the hardware performance of equipment, determine with The corresponding hardware performance of the device model of acquisition, and the hardware performance as the equipment.
7. device according to claim 5, which is characterized in that the first acquisition module is specifically configured to: from described The hardware performance of the equipment is read in preset configuration file in the operating system of equipment.
8. device according to claim 5, which is characterized in that described second, which obtains module, includes:
First searching unit is configured as in the corresponding relationship between hardware performance section and rendering shape library, described in lookup Hardware performance section where hardware performance;
Second searching unit is configured as in the corresponding relationship between hardware performance section and rendering shape library, lookup and institute The corresponding rendering shape library in hardware performance section is stated, and as the suitable rendering shape library for being configured as the hardware performance.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to executing Video Rendering method according to any one of claims 1-4.
10. a kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of electronic equipment When device executes, so that electronic equipment is able to carry out Video Rendering method according to any one of claims 1-4.
CN201811005359.2A 2018-08-30 2018-08-30 Video Rendering method, apparatus, electronic equipment and storage medium Pending CN109413337A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811005359.2A CN109413337A (en) 2018-08-30 2018-08-30 Video Rendering method, apparatus, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811005359.2A CN109413337A (en) 2018-08-30 2018-08-30 Video Rendering method, apparatus, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109413337A true CN109413337A (en) 2019-03-01

Family

ID=65463801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811005359.2A Pending CN109413337A (en) 2018-08-30 2018-08-30 Video Rendering method, apparatus, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109413337A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110930491A (en) * 2019-11-14 2020-03-27 北京达佳互联信息技术有限公司 Node rendering method and device, electronic equipment and storage medium
CN111915709A (en) * 2019-05-10 2020-11-10 阿里巴巴集团控股有限公司 Rendering method and device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577110A (en) * 2009-05-31 2009-11-11 腾讯科技(深圳)有限公司 Method for playing videos and video player
WO2010141612A1 (en) * 2009-06-02 2010-12-09 Qualcomm Incorporated Displaying a visual representation of performance metrics for rendered graphics elements
CN102694987A (en) * 2011-03-25 2012-09-26 陈鹏 Method for automatically synthesizing and making video animation program in computer
CN103778656A (en) * 2014-02-12 2014-05-07 腾讯科技(深圳)有限公司 Image rendering method and device and electronic equipment
US20150103138A1 (en) * 2012-12-06 2015-04-16 Beijing Xiaomi Technology Co., Ltd. Methods and devices for video communication
CN105262957A (en) * 2015-09-23 2016-01-20 新奥特(北京)视频技术有限公司 Video image processing method and device
US20160292812A1 (en) * 2015-03-31 2016-10-06 Qualcomm Incorporated Hybrid 2d/3d graphics rendering
CN107748688A (en) * 2017-09-30 2018-03-02 微梦创科网络科技(中国)有限公司 A kind of information displaying method and device
CN107797868A (en) * 2017-10-31 2018-03-13 广东欧珀移动通信有限公司 resource adjusting method and device
CN107861783A (en) * 2017-10-23 2018-03-30 东软集团股份有限公司 The method, apparatus and storage medium and electronic equipment of page rendering
CN108305316A (en) * 2018-03-08 2018-07-20 网易(杭州)网络有限公司 Rendering intent, device, medium based on AR scenes and computing device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577110A (en) * 2009-05-31 2009-11-11 腾讯科技(深圳)有限公司 Method for playing videos and video player
WO2010141612A1 (en) * 2009-06-02 2010-12-09 Qualcomm Incorporated Displaying a visual representation of performance metrics for rendered graphics elements
CN102694987A (en) * 2011-03-25 2012-09-26 陈鹏 Method for automatically synthesizing and making video animation program in computer
US20150103138A1 (en) * 2012-12-06 2015-04-16 Beijing Xiaomi Technology Co., Ltd. Methods and devices for video communication
CN103778656A (en) * 2014-02-12 2014-05-07 腾讯科技(深圳)有限公司 Image rendering method and device and electronic equipment
US20160292812A1 (en) * 2015-03-31 2016-10-06 Qualcomm Incorporated Hybrid 2d/3d graphics rendering
CN105262957A (en) * 2015-09-23 2016-01-20 新奥特(北京)视频技术有限公司 Video image processing method and device
CN107748688A (en) * 2017-09-30 2018-03-02 微梦创科网络科技(中国)有限公司 A kind of information displaying method and device
CN107861783A (en) * 2017-10-23 2018-03-30 东软集团股份有限公司 The method, apparatus and storage medium and electronic equipment of page rendering
CN107797868A (en) * 2017-10-31 2018-03-13 广东欧珀移动通信有限公司 resource adjusting method and device
CN108305316A (en) * 2018-03-08 2018-07-20 网易(杭州)网络有限公司 Rendering intent, device, medium based on AR scenes and computing device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
塞兰SIR: "《DOTA2视频设置中的"所用渲染API"设置有什么作用?》", 《知乎》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111915709A (en) * 2019-05-10 2020-11-10 阿里巴巴集团控股有限公司 Rendering method and device
CN110930491A (en) * 2019-11-14 2020-03-27 北京达佳互联信息技术有限公司 Node rendering method and device, electronic equipment and storage medium
CN110930491B (en) * 2019-11-14 2024-02-13 北京达佳互联信息技术有限公司 Node rendering method, node rendering device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US11546410B2 (en) Device and method for adaptively changing task-performing subjects
CN110868626B (en) Method and device for preloading content data
JP6838138B2 (en) Product display method and equipment
CN103516892A (en) Mobile terminal and method of controlling the same
CN106339695B (en) Face similarity detection method, device and terminal
CN112052897B (en) Multimedia data shooting method, device, terminal, server and storage medium
CN107784045B (en) Quick reply method and device for quick reply
CN106453528B (en) The method and device of PUSH message
CN109039877A (en) A kind of method, apparatus, electronic equipment and storage medium showing unread message quantity
EP3089436A1 (en) Methods and devices for calling based on cloud card
CN106791916B (en) Method, device and system for recommending audio data
CN110333898A (en) A kind of code relation generation method, device, electronic equipment and storage medium
CN109413337A (en) Video Rendering method, apparatus, electronic equipment and storage medium
CN105430469B (en) Playback method, device, terminal and the server of audio, video data
CN111192072A (en) User grouping method and device and storage medium
WO2016197549A1 (en) Searching method and apparatus
JP2017520877A5 (en)
CN109379200B (en) Message treatment method, device, electronic equipment and storage medium
CN112256890A (en) Information display method and device, electronic equipment and storage medium
CN112764600A (en) Resource processing method, device, storage medium and computer equipment
CN111563201A (en) Content pushing method, device, server and storage medium
CN109245992A (en) Request processing method, device, electronic equipment and storage medium
CN109639561A (en) Sharing method, device, electronic equipment and storage medium based on information feedback
CN106060253B (en) Information presentation method and device
CN104184943B (en) Image capturing method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190301