CN107402985A - Special video effect output control method, device and computer-readable recording medium - Google Patents
Special video effect output control method, device and computer-readable recording medium Download PDFInfo
- Publication number
- CN107402985A CN107402985A CN201710574052.3A CN201710574052A CN107402985A CN 107402985 A CN107402985 A CN 107402985A CN 201710574052 A CN201710574052 A CN 201710574052A CN 107402985 A CN107402985 A CN 107402985A
- Authority
- CN
- China
- Prior art keywords
- special
- video
- pagefile
- special efficacy
- effect
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9577—Optimising the visualization of content, e.g. distillation of HTML documents
-
- 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4318—Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention relates to special video effect process field, and in particular to a kind of special video effect output control method, device and corresponding computer-readable recording medium, methods described include step:In response to the analysis instruction of the pagefile of the original video special efficacy to getting, the pagefile is parsed to obtain the default label of pagefile and default tag attributes;According to the default label and default tag attributes graphing context;The corresponding special-effect graph information of original video special efficacy is exported according to the G context combination preset pattern storehouse.Pagefile of the invention by parsing original video special efficacy, original video special efficacy on Webpage is converted into special-effect graph information, special-effect graph information can synthesize with the target video of local and render special efficacy video, reduce the making threshold of special video effect, improve the producing efficiency of special efficacy video.
Description
【Technical field】
The present invention relates to special video effect process field, and in particular to a kind of special video effect output control method, device and phase
The computer-readable recording medium answered.
【Background technology】
With the development of Internet technology and intelligent terminal, work of the various internet products to people, life band
Many facilities and amusement are come, in recent years, people are no longer keen to watch video, are even more keen to oneself and make video, especially
It is to make that there are the various videos for dazzling beautiful special efficacy, can is that people bring good viewing experience.And current, traditional special video effect
Shader language and corresponding software typically are used, video image texture is handled by the calculating of complexity, it is desirable to grasp
The specialized knowledge of image processing field, higher is required to the technical threshold that special video effect makes, it is difficult to make in a short time
Go out various video special efficacy.Meanwhile special video effect can also be made on Webpage, but how to convert the special efficacy on Webpage
For can be the special video effect applied on local video be current urgent need to resolve the problem of, also, the special efficacy on Webpage point
It is dispersed on network everywhere, it is also current yet unresolved issue how those network special efficacys to be managed concentratedly and optimized.
【The content of the invention】
The primary and foremost purpose of the present invention is to provide a kind of special video effect output control method and device, to solve current video
The problems such as special effect making threshold is high, efficiency is slow.
Another object of the present invention is to provide a kind of computer-readable storage accordingly of special video effect output control method
Medium.
To realize the purpose, the present invention adopts the following technical scheme that:
In a first aspect, one embodiment of the invention provides a kind of special video effect output control method, comprise the following steps:
In response to the analysis instruction of the pagefile of the original video special efficacy to getting, the pagefile is parsed to obtain
Take the default label of pagefile and default tag attributes;
According to the default label and default tag attributes graphing context;
The corresponding special-effect graph information of original video special efficacy is exported according to the G context combination preset pattern storehouse.
Specifically, the analysis instruction of the pagefile of the original video special efficacy in response to getting, described in parsing
Pagefile obtains the step of default label of pagefile and default tag attributes, including:
Obtain the pagefile of original video special efficacy;
The pagefile is parsed based on DOM, obtains the default label of pagefile and default tag attributes.
Optionally, the step of pagefile of the acquisition original video special efficacy, including:
Receive the URL of the page of the original video special efficacy of user's input;
The pagefile of corresponding original video special efficacy is obtained according to the URL;
Or,
Receive the pagefile for the original video special efficacy that user uploads.
Specifically, the page of the original video special efficacy is the HTML5 pages, the pagefile bag of the original video special efficacy
Include HTML, CSS and JavaScript file.
Specifically, the default label includes body labels, video labels, canvas labels.
Further, it is described special accordingly according to G context combination preset pattern storehouse output original video special efficacy
After the step of imitating graphical information, in addition to:
Pending target video is synthesized with the special-effect graph information and exports the special efficacy video after synthesis.
Specifically, described synthesize with the special-effect graph information by pending target video and export the special efficacy after synthesis
The step of video, including:
In response to the selected instruction to any special-effect graph information on special video effect displayed page, corresponding special efficacy is obtained
Graphical information;
The image information of pending target video is synthesized into special efficacy image information with the special-effect graph information and exported
Special efficacy video after synthesis.
Optionally, described special accordingly according to G context combination preset pattern storehouse output original video special efficacy
After the step of imitating graphical information, in addition to:
The special-effect graph information is uploaded to catalogue corresponding to special video effect displayed page.
Second aspect, one embodiment of the invention provide a kind of special video effect output-controlling device, including:
Parsing module:For the analysis instruction of the pagefile in response to the original video special efficacy to getting, institute is parsed
State pagefile and obtain the default label of pagefile and default tag attributes;
Graphics module:For according to the default label and default tag attributes graphing context;
Special efficacy output module:It is corresponding for exporting original video special efficacy according to the G context combination preset pattern storehouse
Special-effect graph information.
Special efficacy synthesis module:After being synthesized with the special-effect graph information by pending target video and exporting synthesis
Special efficacy video;
Special efficacy uploading module:For the special-effect graph information to be uploaded into catalogue corresponding to special video effect displayed page.
The third aspect, one embodiment of the invention also provide a kind of computer-readable recording medium, are stored thereon with calculating
Machine program, the program realizes first aspect any one methods described when being executed by processor the step of.
Compared with prior art, the present invention possesses following advantage:
Pagefile of the invention by obtaining original video special efficacy, and analyzing web page pagefile obtains pagefile
Default label and default tag attributes, with this graphing context, original video special efficacy is exported then in conjunction with preset pattern storehouse
Corresponding special-effect graph information.The present invention is by the way that the special video effect found expression in originally on Webpage to be converted into and can apply
Special-effect graph information on local video, can freely it be sent out with the webpage design language that this special efficacy developer GPRS is basic
Special efficacy design creativity is waved, reduces the making threshold of special video effect, improves the producing efficiency of special video effect.
Meanwhile the special video effect found expression in originally on Webpage is converted into and can applied in one embodiment of the invention
After special-effect graph information on local video, user, which can render the special-effect graph information and target video, synthesizes special efficacy
Video, with this Fast Drawing special video effect, reduce special video effect and make threshold, improve user interest.
Also, the special video effect found expression in originally on Webpage is converted into and can applied by one embodiment of the invention
After special-effect graph information on local video, the special-effect graph information can be uploaded to the special video effect displaying page specified by user
Face, with multiple special-effect graph information after special video effect displayed page centralized management conversion, special video effect developer can incite somebody to action
Special video effect is uploaded to the displayed page, needed for special video effect user can equally obtain from the special video effect displayed page
Special-effect graph information, further facilitate user use.
Obviously, the above-mentioned description about advantage of the present invention is recapitulative, it is more the advantages of description will be embodied in it is follow-up
During embodiment discloses, and, the content that those skilled in the art can also be disclosed reasonably finds its of the present invention
His plurality of advantages.
The additional aspect of the present invention and advantage will be set forth in part in the description, and these will become from the following description
Obtain substantially, or recognized by the practice of the present invention.
【Brief description of the drawings】
Fig. 1 is the first embodiment schematic flow sheet of special video effect output control method of the present invention.
Fig. 2 is the second embodiment schematic flow sheet of special video effect output control method of the present invention.
Fig. 3 is the 3rd embodiment schematic flow sheet of special video effect output control method of the present invention.
Fig. 4 is the effect diagram of special video effect " huge explosion " in the embodiment of the present invention.
Fig. 5 is the effect diagram of special video effect in the embodiment of the present invention " blurred background synchronously plays ".
Fig. 6 is an embodiment schematic diagram of special video effect output-controlling device of the present invention.
【Embodiment】
The present invention is further described with exemplary embodiment below in conjunction with the accompanying drawings, identical label wherein in accompanying drawing
All refer to identical part.In addition, if it is known that the detailed description of technology is for showing the invention is characterized in that unnecessary
, then omitted.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art
Language and scientific terminology), there is the general understanding identical meaning with the those of ordinary skill in art of the present invention.Should also
Understand, those terms defined in such as general dictionary, it should be understood that have with the context of prior art
The consistent meaning of meaning, and unless by specific definitions as here, idealization or the implication of overly formal otherwise will not be used
To explain.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " one " used herein, " one
It is individual ", " described " and "the" may also comprise plural form.It is to be further understood that what is used in the specification of the present invention arranges
Diction " comprising " refer to the feature, integer, step, operation, element and/or component be present, but it is not excluded that in the presence of or addition
One or more other features, integer, step, operation, element, component and/or their groups.
Those skilled in the art of the present technique are appreciated that user interface/operation interface of the present invention refers to and can be used in
The display interface of control instruction is sent to intelligent terminal, for example, can be the option set in the page of android system
(or button, by application program addition wherein, similarly hereinafter) or from the informing of desktop exhalation or interaction page
An option, can also be an option in the page that a movable component of the application program is constructed.On although
Face has been illustrated with some exemplary embodiments of the present invention, it will be understood by those of skill in the art that not departing from this hair
In the case of bright principle or spirit, these exemplary embodiments can be made a change, the scope of the present invention is by claim
And its equivalent limits.
It will be appreciated by those skilled in the art that " application ", " application program ", " application software " and class alleged by the present invention
It is the same concept well known to those skilled in the art like the concept of statement, refers to be instructed by series of computation machine and related data
The computer software for being suitable to electronics operation of the organic construction of resource.Unless specified, this name is not in itself by programming language
Species, rank, the operating system of operation of also not rely by it or platform are limited.In the nature of things, this genus also not by appoint
The terminal of what form is limited.
In a first aspect, be an embodiment schematic flow sheet of special video effect output control method of the present invention as shown in Figure 1, bag
Include step S100~S300.
Step S100:In response to the analysis instruction of the pagefile of the original video special efficacy to getting, the page is parsed
Face file is to obtain the default label of pagefile and default tag attributes.
In the embodiment of the present invention, the original video special efficacy is by the special video effect showed on Webpage, the webpage
Original video special efficacy on the page has corresponded to corresponding pagefile, and the executive agent of this method is in response to original to what is got
The analysis instruction of the pagefile of special video effect, the pagefile is parsed, obtain the default label included in pagefile
And the existing attribute of each default label, the executive agent of this method can be client software on PC ends, on mobile terminal should
Interface with program or on the Webpage based on B/S frameworks, in the present embodiment, the executive agent of this method is referred to as special video effect
Translation engine, the engine may operate in the client software on PC ends, the application program on mobile terminal or based on B/S frameworks
On Webpage.
In the embodiment of the present invention, the original video special efficacy is the special efficacy that the video on Webpage has, wherein, it is described
Webpage is the HTML5 pages, and HTML5 defines a kind of standard method for including video by video labels, at present
HTML5 video labels support tri- kinds of Ogg, MPEG 4, WebM video formats.Before HTML5 appearance, most of webpage pages
Video on face is played out by plug-in unit (such as FLASH), and can not then be shown, played for the browser of not corresponding plug-in unit
Video on Webpage, HTML5 appearance make it that multimedia (including video and audio) is played on webpage more to be standardized.
The pagefile of the original video special efficacy is HTML5 pagefiles, specifically, the pagefile include HTML, CSS and
JavaScript file, html file contain web page contents and semantic various information, and CSS files are defined in html file
Various information Show Styles, JavaScript file provides more rich dynamic effect for webpage.In HTML5 pagefiles
Undefined video labels and canvas labels and its tag attributes can handle the video data on the HTML5 pages in real time, be
The video played on the HTML5 pages adds various visual effects.
The special video effect translation engine of this method parses the pagefile after the HTML5 pagefiles are got,
Attribute corresponding to the default label and default label of acquisition pagefile.Specifically, the step S100 is " in response to getting
Original video special efficacy pagefile analysis instruction, parse the pagefile with obtain the default label of pagefile and
Default tag attributes " include step S110, S120.
Step S110:Obtain the pagefile of original video special efficacy;
Step S120:The pagefile is parsed based on DOM, obtains the default label of pagefile and default label category
Property.
The special video effect translation engine of this method obtains the pagefile of original video special efficacy first.
In one embodiment, the pagefile of original video special efficacy inputs the page of original video special efficacy by user
Acquired after URL, including step:
Receive the URL of the page of the original video special efficacy of user's input;
The pagefile of corresponding original video special efficacy is obtained according to the URL.
Specifically, an input frame is provided on a user interface, the page of the original video special efficacy for receiving user's input
URL, after user submits URL, the special video effect of one embodiment of the invention turns
Change the pagefile that is fed back according to the URL of engine the reception server to obtain the correspondence of original video special efficacy
Pagefile, then perform subsequent operation.
A kind of application scenarios of the present embodiment are the original video special efficacy that user makes or is found that on the HTML5 pages, so
The URL of the HTML5 pages is input in above-mentioned input frame afterwards, the special video effect of one embodiment of the invention
Translation engine obtains the pagefile of corresponding original video special efficacy according to the URL, can then perform follow-up
Operation.
In another embodiment, the pagefile of original video special efficacy after the local pagefile of user's upload by obtaining
Obtain, including step:
Receive the pagefile for the original video special efficacy that user uploads.
Specifically, an input frame is provided on a user interface, the page of the original video special efficacy for receiving user's upload
File, the pagefile of above-mentioned original video special efficacy include HTML, CSS and JavaScript file.
A kind of application scenarios of the present embodiment are, the special video effect on user's self manufacture HTML5 pages, then
Pagefile corresponding to the HTML5 original video special efficacy pages is uploaded, the special video effect engine of one embodiment of the invention after
And subsequent operation can be performed.
After the pagefile of original video special efficacy is obtained, the pagefile is parsed based on DOM, obtains pagefile
Default label and default label category.The pagefile of the original video special efficacy includes HTML, CSS and JavaScript text
Part, when the pagefile of the original video special efficacy got, html file is changed into XHTML files, then extract XHTML texts
Part each label structure dom tree, by the label mapping in XHTML files into the node in dom tree, then by CSS with
JavaScript file assigns each node to obtain the default label of pagefile and default label on the attribute of each label
Attribute, the default label include<body>Label,<video>Label,<canvas>Label.
The manifestation mode for including text therebetween is described with a pair of predefined labels in html file, and requires label
Occur in pairs, such as<head></head>、<body></body>、<img></img>, label is showing the letter in one piece of region
Breath, such as word, picture, 2D graphical informations etc., but the label in many html files does not meet HTML syntax requirement, for example lack
End mark etc..Therefore in the present embodiment, html file is converted into XHTML files, XHTML files are strictly established in XML bases
On plinth, and exactly define the good document rule of form, and XML (Extensible Markup Language, it is expansible
Markup language) it is a kind of for marking e-file to make it have structural markup language, html file is converted into XHTML
After file, XHTML texts can be parsed as treating general XML document using XML standard techniques by treating XHTML document
Shelves.
Then the XHTML file build dom trees that the special video effect translation engine parsing of this method is converted to, specifically,
By the label mapping in XHTML files into the node in dom tree, DOM is Document Object Model abbreviation, construction
Dom tree is according to the nest relation between label in XHTML files, is a tree structure by XHTML representation of file, in file
Label, attribute, with the character data of analysis, annotation and process instruction etc. be all node.The processing procedure of parsing is as follows, first
Beginning label all in web page files is first found out, its title is stored in label list, is then gradually found out each in web page files
Label, and judge whether to there are one and start label and end-tag or comment tag is corresponding, if not depositing
In the corresponding end-tag or comment tag for starting label, then the label is deleted;Otherwise, if there is the corresponding knot for starting label
Beam label, then by this end-tag and its start content between label and store into label list, the content is then used as dom tree
Leaf node, repeat, after each label has been handled in web page files, just establish one by label and its institute
Table comprising Composition of contents, then, will<html>Label is arranged to the root node of DOM numbers, and the leaf node in table is sequentially added
To under root node, a n fork tree is formed.Can quickly be found in dom tree default label (<body>Label,<video>Mark
Label,<canvas>Label) and default label attribute.
Step S200:According to the default label and default tag attributes graphing context.
After the completion of dom tree structure, corresponding RenderObject objects, the node are established for each node of dom tree
In contain default label and default tag attributes, a RenderObject object is saved required for draw DOM node
Various information, by RenderObject objects build RenderObject trees, if dom tree dynamically adds new node,
The special video effect translation engine of same one embodiment of the invention also corresponding RenderObject objects of dynamic creation, renewal
RenderObject trees.After RenderObject trees have been built, specific RenderObject objects conduct is chosen
RenderLayer objects, then according to the hierarchical structure of web page files build RenderLayer trees, each RenderLayer pairs
As a layer being regarded as in an image, multiple layers together constitute with an image, and then graphing context, the present embodiment lead to
Cross default label and default label converting into the node of dom tree, the object of RenderObject trees, RenderLayer trees
Object, it is eventually converted into drawing context.
Step S300:The corresponding special effect graph of original video special efficacy is exported according to the G context combination preset pattern storehouse
Shape information.
The preset pattern storehouse includes 2D image libraries and/or 3D shape libraries, and the special video effect of one embodiment of the invention turns
Change engine and the G context combination preset pattern storehouse is rendered to the spy for exporting the original video special efficacy of pagefile and being showed
Imitate graphical information.G context includes 2D G contexts (GraphicsContext) and 3D G contexts
(GraphicsContext3D), when G context is 2D G contexts, completed with reference to 2D image libraries and using CPU defeated
Go out the corresponding special-effect graph information of original video special efficacy, when G context is 3D G contexts, with reference to 3D rendering storehouse
(Opengl, Direct3D etc.) and complete the output corresponding special-effect graph information of original video special efficacy using CPU and/or GPU.This
The special video effect translation engine of invention one embodiment, which changes into the original video special efficacy on Webpage, can be rendered into this
Ground plays the special-effect graph information in video, and user only needs to make or collect the special video effect pagefile on the HTML5 pages
Then believed by being available for editing the special-effect graph of local video after the special video effect translation engine conversion of the present embodiment
Breath.
Further, it is the second embodiment schematic flow sheet of special video effect output control method of the present invention as shown in Figure 2,
In the present embodiment, after step S300, in addition to step S400.
Step S400:The special efficacy that pending target video is synthesized with the special-effect graph information and exported after synthesis is regarded
Frequently.
After converting to obtain the special-effect graph information of the original video special efficacy showed on the HTML5 pages by the above method,
The special-effect graph information is rendered and made required for being synthesized in the target video of special video effect effect, to allow the target to regard
Frequency synthesizes the special efficacy form that the original video special efficacy showed on the HTML5 pages is showed, and then the special efficacy after output synthesis regards
Frequently.Regarded specifically, carrying out processing formation special efficacy according to the special-effect graph information after each two field picture of target video is replicated
Frequency frame, recombined after having handled all target video image frames, then render corresponding special efficacy video and defeated
Go out the special efficacy video.
In a kind of application scenarios of embodiment of the present invention, the original video special efficacy of pagefile performance is " huge explosion ",
I.e. when click/touch-control video pictures, " blast " special efficacy occurs in video playback picture, is addition blast special efficacy as shown in Figure 5
The schematic diagram of front and rear video pictures.The special video effect translation engine of one embodiment of the invention obtains according to the pagefile
After the corresponding special-effect graph information of original video special efficacy, each picture frame of target video is replicated with reference to preset pattern storehouse, simultaneously
The image frame region segmentation that target video is played is every into multiple different subregions, each sub-regions display target video
A part of image of one frame, when click/touch-control video pictures, click on/touch-control near subregion carry target video
The image of corresponding each frame scatters according to the track of setting, forms " huge explosion " effect, gives the viewing that user more stimulates
Experience.
In the application scenarios of another embodiment of the present invention, the original video special efficacy of pagefile performance is " background mould
Paste is synchronous to be played ", i.e., when video playback, video playback picture background synchronously plays with video pictures and is blur effect, such as
It is the schematic diagram for adding the video pictures that blurred background synchronously plays special efficacy shown in Fig. 6.The video of one embodiment of the invention is special
After effect translation engine obtains the corresponding special-effect graph information of original video special efficacy according to the pagefile, with reference to preset pattern storehouse
Replicate each picture frame of target video and each frame is made into Fuzzy Processing, while target video picture is reduced into certain proportion simultaneously
In former video pictures center, then exported after synthetic video special efficacy, user is when watching the special efficacy video, background and former video
Picture is synchronous and background frame is the blurring effect of former video pictures, gives the different viewing experience of user.
It is the 3rd embodiment schematic flow sheet of special video effect output control method of the present invention as shown in Figure 3, in the present invention,
After step S300, in addition to step S500.
Step S500:The special-effect graph information is uploaded to catalogue corresponding to special video effect displayed page.
In the present embodiment, the HTML5 pagefiles of original video special efficacy are converted into special efficacy by special video effect translation engine
After graphical information, the special-effect graph information can be uploaded to catalogue corresponding to special video effect displayed page by user, specifically,
Show a variety of special-effect graph information on the special video effect displayed page, thus, user can be by the pages of HTML 5 of making
Original video special efficacy be converted into special-effect graph information after be uploaded to special video effect displayed page, other users are if desired specific
Special-effect graph information, corresponding special-effect graph information can be got by special video effect displayed page, then by special-effect graph
Information synthesis is rendered on target video and exports corresponding special efficacy video.
Further, when the special-effect graph information is uploaded into catalogue corresponding to special video effect displayed page, also wrap
Include:
Corresponding description information is added for the special-effect graph information;
It is corresponding that the association of the special-effect graph information and corresponding description information is uploaded into the special video effect displayed page
Catalogue.
Required special video effect is searched out on special video effect displayed page and allows user's very first time to understand for convenience
The form of expression of special video effect, the special-effect graph information is being uploaded to catalogue corresponding to special video effect displayed page constantly,
Also receive the description information that user is special-effect graph information addition, such as user adds for the special-effect graph information that oneself is uploaded
The description information added is " huge explosion ", " broadcasting of blurred background prospect " etc., then retouches the special-effect graph information with corresponding
State information association and upload to catalogue corresponding to the special video effect displayed page, user can be clear on special video effect displayed page
Recognize to Chu the form that special-effect graph information is showed.
Further, can also be that special-effect graph information adds corresponding picture presentation letter on special video effect displayed page
Breath, in one embodiment, the video image before addition special efficacy and the video after addition special efficacy are shown by multiple static images
Image, in another embodiment, the video image effect after addition special efficacy is shown by one or more dynamic picture.Pass through
Picture presentation information, user can more intuitively perceive when choosing required special-effect graph information, without will every time
Special-effect graph information synthesizes with target video, reduces required resource consumption.
After the special-effect graph information is uploaded into catalogue corresponding to special video effect displayed page, the special-effect graph letter
Breath is illustrated on the special video effect displayed page, further, in a kind of embodiment of the invention, in addition to follow-up step
Suddenly:
The selected instruction to any special-effect graph information on special video effect displayed page is received, is obtained under assigned catalogue
Special-effect graph information;
The image information of pending target video is synthesized into special efficacy image information with the special-effect graph information and exported
Special efficacy video after synthesis.
When user needs to use certain special video effect, any special-effect graph letter is chosen on special video effect displayed page
Breath, after the selected instruction of user is received, the special-effect graph information under assigned catalogue is obtained, then regards pending target
The image information of frequency synthesizes special efficacy image information with the special-effect graph information and exports the special efficacy video after synthesis.
Pagefile of the invention by obtaining original video special efficacy, and analyzing web page pagefile obtains pagefile
Default label and default tag attributes, with this graphing context, original video special efficacy is exported then in conjunction with preset pattern storehouse
Corresponding special-effect graph information.The video that the present invention will be found expression on Webpage originally by a special video effect translation engine
Special efficacy is converted into the special-effect graph information that can be applied on local video, with the basic HTML of this special efficacy developer GPRS
Language can freely play special efficacy design creativity, reduce the making threshold of special video effect, improve the producing efficiency of special video effect.
Meanwhile the video that the special video effect translation engine of one embodiment of the invention will will be found expression on Webpage originally
After special efficacy is converted into the special-effect graph information that can be applied on local video, user can be by the special-effect graph information and target
Video Rendering synthesizes special efficacy video, with this Fast Drawing special video effect, reduces special video effect and makes threshold, it is emerging to improve user
Interest.
Also, the video that the special video effect translation engine of one embodiment of the invention will will be found expression on Webpage originally
After special efficacy is converted into the special-effect graph information that can be applied on local video, the special-effect graph information can be uploaded to by user
The special video effect displayed page specified, multiple special-effect graph information after being converted with special video effect displayed page centralized management,
Special video effect can be uploaded to the displayed page by special video effect developer, and special video effect user equally can be special from the video
Required special-effect graph information is obtained on effect displayed page, further facilitates user's use.
Second aspect, it is an embodiment schematic diagram of special video effect output-controlling device of the present invention as shown in Figure 4, including:
Parsing module 100:For the analysis instruction of the pagefile in response to the original video special efficacy to getting, parsing
The pagefile obtains the default label of pagefile and default tag attributes;
Graphics module 200:For according to the default label and default tag attributes graphing context;
Special efficacy output module 300:For exporting original video special efficacy according to the G context combination preset pattern storehouse
Corresponding special-effect graph information;
Special efficacy synthesis module 400:For pending target video to be synthesized with the special-effect graph information and exports conjunction
Special efficacy video after;
Special efficacy uploading module 500:For the special-effect graph information to be uploaded into mesh corresponding to special video effect displayed page
Record.
The third aspect, the present invention also provides a kind of computer-readable recording medium, is stored thereon with computer program, shown
Above-mentioned first aspect special video effect output control method is realized when program is executed by processor, including realizes following steps:
Step S100:In response to the analysis instruction of the pagefile of the original video special efficacy to getting, the page is parsed
Face file is to obtain the default label of pagefile and default tag attributes;
Step S200:According to the default label and default tag attributes graphing context;
Step S300:The corresponding special effect graph of original video special efficacy is exported according to the G context combination preset pattern storehouse
Shape information;
Step S400:The special efficacy that pending target video is synthesized with the special-effect graph information and exported after synthesis is regarded
Frequently.
Step S500:The special-effect graph information is uploaded to catalogue corresponding to special video effect displayed page.
Pagefile of the invention by obtaining original video special efficacy, and analyzing web page pagefile obtains pagefile
Default label and default tag attributes, with this graphing context, original video special efficacy is exported then in conjunction with preset pattern storehouse
Corresponding special-effect graph information.The present invention is by the way that the special video effect found expression in originally on Webpage to be converted into and can apply
Special-effect graph information on local video, can freely it be sent out with the webpage design language that this special efficacy developer GPRS is basic
Special efficacy design creativity is waved, reduces the making threshold of special video effect, improves the producing efficiency of special video effect.Meanwhile the present invention one
The special video effect found expression in originally on Webpage is converted into the special-effect graph that can be applied on local video in embodiment
After information, user, which can render the special-effect graph information and target video, synthesizes special efficacy video, with this Fast Drawing video
Special efficacy, reduce special video effect and make threshold, improve user interest.Also, one embodiment of the invention will find expression in webpage originally
After special video effect on the page is converted into the special-effect graph information that can be applied on local video, user can be by the special effect graph
Shape information is uploaded to the special video effect displayed page specified, with multiple spies after special video effect displayed page centralized management conversion
Graphical information is imitated, special video effect can be uploaded to the displayed page by special video effect developer, and special video effect user equally may be used
To obtain required special-effect graph information from the special video effect displayed page, user's use is further facilitated.
Although having been illustrated with some exemplary embodiments of the present invention above, those skilled in the art will manage
Solution, in the case where not departing from the principle or spirit of the present invention, these exemplary embodiments can be made a change, it is of the invention
Scope is limited by claim and its equivalent.
Claims (10)
1. a kind of special video effect output control method, it is characterised in that comprise the following steps:
In response to the analysis instruction of the pagefile of the original video special efficacy to getting, the pagefile is parsed to obtain page
The default label of face file and default tag attributes;
According to the default label and default tag attributes graphing context;
The corresponding special-effect graph information of original video special efficacy is exported according to the G context combination preset pattern storehouse.
2. according to the method for claim 1, it is characterised in that the page of the original video special efficacy in response to getting
The analysis instruction of face file, the step of pagefile obtains the default label of pagefile and default tag attributes is parsed,
Including:
Obtain the pagefile of original video special efficacy;
The pagefile is parsed based on DOM, obtains the default label of pagefile and default tag attributes.
3. according to the method for claim 2, it is characterised in that the step of the pagefile for obtaining original video special efficacy
Suddenly, including:
Receive the URL of the page of the original video special efficacy of user's input;
The pagefile of corresponding original video special efficacy is obtained according to the URL;
Or,
Receive the pagefile for the original video special efficacy that user uploads.
4. according to the method for claim 1, it is characterised in that the page of the original video special efficacy is the HTML5 pages, institute
Stating the pagefile of original video special efficacy includes HTML, CSS and JavaScript file.
5. according to the method for claim 1, it is characterised in that the default label include body labels, video labels,
Canvas labels.
6. according to the method for claim 1, it is characterised in that described according to the G context combination preset pattern
After the step of storehouse output original video special efficacy corresponding special-effect graph information, in addition to:
Pending target video is synthesized with the special-effect graph information and exports the special efficacy video after synthesis.
7. according to the method for claim 6, it is characterised in that described by pending target video and the special-effect graph
The step of information synthesizes and exports the special efficacy video after synthesis, including:
In response to the selected instruction to any special-effect graph information on special video effect displayed page, corresponding special-effect graph is obtained
Information;
The image information of pending target video is synthesized into special efficacy image information with the special-effect graph information and exports synthesis
Special efficacy video afterwards.
8. according to the method for claim 1, it is characterised in that described according to the G context combination preset pattern
After the step of storehouse output original video special efficacy corresponding special-effect graph information, in addition to:
The special-effect graph information is uploaded to catalogue corresponding to special video effect displayed page.
A kind of 9. special video effect output-controlling device, it is characterised in that including:
Parsing module:For the analysis instruction of the pagefile in response to the original video special efficacy to getting, the page is parsed
The default label of face file acquisition pagefile and default tag attributes;
Graphics module:For according to the default label and default tag attributes graphing context;
Special efficacy output module:It is special accordingly for exporting original video special efficacy according to the G context combination preset pattern storehouse
Imitate graphical information.
10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor
The step of claim 1-8 any one methods describeds are realized during execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710574052.3A CN107402985B (en) | 2017-07-14 | 2017-07-14 | Video special effect output control method and device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710574052.3A CN107402985B (en) | 2017-07-14 | 2017-07-14 | Video special effect output control method and device and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107402985A true CN107402985A (en) | 2017-11-28 |
CN107402985B CN107402985B (en) | 2021-03-02 |
Family
ID=60400814
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710574052.3A Active CN107402985B (en) | 2017-07-14 | 2017-07-14 | Video special effect output control method and device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107402985B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108495174A (en) * | 2018-04-09 | 2018-09-04 | 深圳格莱珉文化传播有限公司 | A kind of H5 pages effect generates the method and system of video file |
CN108900897A (en) * | 2018-07-09 | 2018-11-27 | 腾讯科技(深圳)有限公司 | A kind of multimedia data processing method, device and relevant device |
CN109167936A (en) * | 2018-10-29 | 2019-01-08 | Oppo广东移动通信有限公司 | A kind of image processing method, terminal and storage medium |
CN110996151A (en) * | 2019-11-22 | 2020-04-10 | 广州虎牙科技有限公司 | Video layer overlapping method and device, electronic equipment and storage medium |
CN111491205A (en) * | 2020-04-17 | 2020-08-04 | 维沃移动通信有限公司 | Video processing method and device and electronic equipment |
CN111491206A (en) * | 2020-04-17 | 2020-08-04 | 维沃移动通信有限公司 | Video processing method, video processing device and electronic equipment |
CN111726545A (en) * | 2020-06-22 | 2020-09-29 | 广州市百果园信息技术有限公司 | Material file processing method and device, computer equipment and storage medium |
CN111954076A (en) * | 2020-08-27 | 2020-11-17 | 维沃移动通信有限公司 | Resource display method and device and electronic equipment |
CN112367549A (en) * | 2020-11-10 | 2021-02-12 | 四川长虹电器股份有限公司 | Video playing implementation method of television browser and browser application operation method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070064976A1 (en) * | 2005-09-20 | 2007-03-22 | Deltasphere, Inc. | Methods, systems, and computer program products for acquiring three-dimensional range information |
CN101706785A (en) * | 2009-11-19 | 2010-05-12 | 深圳市同洲电子股份有限公司 | Method for implementing special effect of web and browser |
CN102331994A (en) * | 2011-06-24 | 2012-01-25 | 中兴通讯股份有限公司 | Realization method of embedded system page special effect and embedded system |
CN104063460A (en) * | 2014-06-25 | 2014-09-24 | 北京奇虎科技有限公司 | Method and device for loading webpage in browser |
CN104703043A (en) * | 2015-03-26 | 2015-06-10 | 努比亚技术有限公司 | Video special effect adding method and device |
-
2017
- 2017-07-14 CN CN201710574052.3A patent/CN107402985B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070064976A1 (en) * | 2005-09-20 | 2007-03-22 | Deltasphere, Inc. | Methods, systems, and computer program products for acquiring three-dimensional range information |
CN101706785A (en) * | 2009-11-19 | 2010-05-12 | 深圳市同洲电子股份有限公司 | Method for implementing special effect of web and browser |
CN102331994A (en) * | 2011-06-24 | 2012-01-25 | 中兴通讯股份有限公司 | Realization method of embedded system page special effect and embedded system |
CN104063460A (en) * | 2014-06-25 | 2014-09-24 | 北京奇虎科技有限公司 | Method and device for loading webpage in browser |
CN104703043A (en) * | 2015-03-26 | 2015-06-10 | 努比亚技术有限公司 | Video special effect adding method and device |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108495174A (en) * | 2018-04-09 | 2018-09-04 | 深圳格莱珉文化传播有限公司 | A kind of H5 pages effect generates the method and system of video file |
CN108495174B (en) * | 2018-04-09 | 2020-10-09 | 码卡(广州)科技有限公司 | Method and system for generating video file by H5 page effect |
CN108900897A (en) * | 2018-07-09 | 2018-11-27 | 腾讯科技(深圳)有限公司 | A kind of multimedia data processing method, device and relevant device |
CN109167936A (en) * | 2018-10-29 | 2019-01-08 | Oppo广东移动通信有限公司 | A kind of image processing method, terminal and storage medium |
CN110996151A (en) * | 2019-11-22 | 2020-04-10 | 广州虎牙科技有限公司 | Video layer overlapping method and device, electronic equipment and storage medium |
CN111491205A (en) * | 2020-04-17 | 2020-08-04 | 维沃移动通信有限公司 | Video processing method and device and electronic equipment |
CN111491206A (en) * | 2020-04-17 | 2020-08-04 | 维沃移动通信有限公司 | Video processing method, video processing device and electronic equipment |
CN111491206B (en) * | 2020-04-17 | 2023-03-24 | 维沃移动通信有限公司 | Video processing method, video processing device and electronic equipment |
CN111726545A (en) * | 2020-06-22 | 2020-09-29 | 广州市百果园信息技术有限公司 | Material file processing method and device, computer equipment and storage medium |
CN111954076A (en) * | 2020-08-27 | 2020-11-17 | 维沃移动通信有限公司 | Resource display method and device and electronic equipment |
CN112367549A (en) * | 2020-11-10 | 2021-02-12 | 四川长虹电器股份有限公司 | Video playing implementation method of television browser and browser application operation method |
CN112367549B (en) * | 2020-11-10 | 2021-08-06 | 四川长虹电器股份有限公司 | Video playing implementation method of television browser and browser application operation method |
Also Published As
Publication number | Publication date |
---|---|
CN107402985B (en) | 2021-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107402985A (en) | Special video effect output control method, device and computer-readable recording medium | |
Amini et al. | Authoring data-driven videos with dataclips | |
US12017145B2 (en) | Method and system of automatic animation generation | |
Li et al. | Fundamentals of multimedia | |
CN111899322B (en) | Video processing method, animation rendering SDK, equipment and computer storage medium | |
US20130326333A1 (en) | Mobile Content Management System | |
JP5930497B2 (en) | Template file processing method and apparatus | |
CN109683978B (en) | Stream type layout interface rendering method and device and electronic equipment | |
EP2951716A1 (en) | Systems and methods of creating an animated content item | |
DE112016002223T5 (en) | Convert Flash content to HTML content by creating an instruction list | |
Hayashi et al. | T2v: New technology of converting text to cg animation | |
CA2989462A1 (en) | System and method for generating an electronic page | |
JP2014524623A5 (en) | ||
CN113344633B (en) | Advertisement picture processing method and device | |
JP2021518616A (en) | Creating rich content from text content | |
CN106534893A (en) | Online video-to-GIF method | |
Espenschied et al. | Large-scale curation and presentation of cd-rom art | |
KR20060030179A (en) | Electronic cartoon and manufacturing methode thereof | |
CN114063996A (en) | Method and equipment for generating webpage and storage medium | |
KR102335096B1 (en) | System for providing video production service compositing figure video and ground video | |
WO2022201515A1 (en) | Server, animation recommendation system, animation recommendation method, and program | |
CN114067028A (en) | Picture editing method and device | |
Kaden et al. | E-Learning Applications for Urban Modelling and OGC Standards using HTML5 Capabilities | |
JP2009104595A (en) | Web page connection system and method | |
Xia | Research on UI design and optimization of digital media with artifical intelligence |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |