CN110445992A - A kind of video clipping synthetic method based on XML - Google Patents

A kind of video clipping synthetic method based on XML Download PDF

Info

Publication number
CN110445992A
CN110445992A CN201910756116.0A CN201910756116A CN110445992A CN 110445992 A CN110445992 A CN 110445992A CN 201910756116 A CN201910756116 A CN 201910756116A CN 110445992 A CN110445992 A CN 110445992A
Authority
CN
China
Prior art keywords
video
scene
synthetic
xml
method based
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
CN201910756116.0A
Other languages
Chinese (zh)
Inventor
余锴
李真龙
吴爱紫
周小宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Blueprints Technology Co Ltd
Original Assignee
Shenzhen Blueprints Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Blueprints Technology Co Ltd filed Critical Shenzhen Blueprints Technology Co Ltd
Priority to CN201910756116.0A priority Critical patent/CN110445992A/en
Publication of CN110445992A publication Critical patent/CN110445992A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/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/44008Processing 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 operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/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
    • 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/44016Processing 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 splicing one content stream with another content stream, e.g. for substituting a video clip
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8358Generation of protective data, e.g. certificates involving watermark
    • 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
    • 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
    • H04N5/2628Alteration of picture size, shape, position or orientation, e.g. zooming, rotation, rolling, perspective, translation
    • 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
    • H04N5/265Mixing

Abstract

The video clipping synthetic method based on XML that the present invention relates to a kind of, includes the following steps, S1, obtains material video;S2 parses material video based on XML, and according to the corresponding scene markers element for generating equivalent amount of the scene quantity of the material video, the material video has one or more scene markers elements;S3, parsing obtain preset video marker element in corresponding scene labelled element, determine whether single scene video adds stacking video file according to the value of layer attribute preset in single video marker element;S4, when layer attribute preset in multiple video marker elements is consistent, determine whether to be cut according to the corresponding width pixel value of video marker element and height pixel value, cuts anchor point in conjunction with the position attribution confirmation of video marker element, cut the synthetic video that multiple scene videos obtain more split screens.The present invention quick editing and composite can be carried out to video and special efficacy is added, and can be significantly reduced the video production waiting time of user.

Description

A kind of video clipping synthetic method based on XML
Technical field
The present invention relates to video clipping synthesis technical fields, more particularly to a kind of video clipping synthesis side based on XML Method.
Background technique
Since increasingly developed short-sighted frequency App is increasing, video and video later period editing of the user to shooting high quality Synthesis, special effect making demand is more more and more intense, and user wishes the production that short-sighted frequency is completed by more quick mode.It is existing Short-sighted frequency App be all that user is allowed to select single special efficacy without exception, then carry out rendering generation, this mode defines often Secondary is all single video content, and carries out rendering time-consuming seriously after selecting special efficacy.
Summary of the invention
Based on this, it is necessary to be directed to situations such as current video special efficacy render time is long, and special efficacy is single, provide one kind and be based on The video clipping synthetic method of XML, user quick editing and composite can be carried out to video and special efficacy is added, and can greatly subtract The video production waiting time of few user.
A kind of video clipping synthetic method based on XML, includes the following steps,
S1 obtains material video;
S2 parses material video based on XML, according to the corresponding field for generating equivalent amount of the scene quantity of the material video Scape labelled element, the material video have one or more scene markers elements;
S3, parsing obtains preset video marker element in corresponding scene labelled element, according to single video marker element In the value of preset layer attribute determine whether single scene video adds stacking video file;
S4, when layer attribute preset in multiple video marker elements is consistent, according to the corresponding width of video marker element Pixel value and height pixel value determine whether to be cut, and cut anchor point in conjunction with the position attribution confirmation of video marker element, cut out Cut the synthetic video that multiple scene videos obtain more split screens.
Preferably, after obtaining synthetic video, setting head labelled element and run-out labelled element respectively specify that synthesis view The head and run-out of frequency.
Preferably, after obtaining synthetic video, the watermark picture for setting watermark element synthetic video is specified to need, the water The pixel wide and pixels tall and the watermark picture that print element agreement content includes watermark picture are in the synthetic video In position.
Preferably, after obtaining synthetic video, setting special efficacy member usually specifies the special efficacy source file of synthetic video needs.
Preferably, the S2 is provided with transition special effective element between multiple scene markers elements.
The invention has the beneficial effects that by carrying out the synthesis of scripting video clipping to material video, it can be great Time availability is improved, is reduced the user video editing and composite time, finished product content is quickly exported, and abandons previous single effect choosing The mode selected cooperates each special efficacy element in preset script, can cross and user is allowed quickly to edit the video effect for needing to synthesize Fruit meets the use demand of current short-sighted frequency content author, enriches public entertainment.
Detailed description of the invention
Fig. 1 is a kind of wherein video clipping synthetic method flow chart based on XML of an embodiment.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing to the present invention Specific embodiment be described in detail.Many details are explained in the following description in order to fully understand this hair It is bright.But the invention can be embodied in many other ways as described herein, those skilled in the art can be not Similar improvement is done in the case where violating intension of the present invention, therefore the present invention is not limited by the specific embodiments disclosed below.
It should be noted that it can be directly another when element is referred to as " being fixed on " or " being set to " another element On one element or there may also be elements placed in the middle.When an element is considered as " connection " another element, it can be with It is directly to another element or may be simultaneously present centering elements.Term as used herein " vertically ", " level ", "left", "right" and similar statement for illustrative purposes only, be not meant to be the only embodiment.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool The purpose of the embodiment of body, it is not intended that in the limitation present invention.Term as used herein "and/or" includes one or more Any and all combinations of relevant listed item.
As shown in Figure 1, a kind of video clipping synthetic method based on XML, includes the following steps,
S1 obtains material video.Specifically, user obtains material to be processed by photographic equipment, such as smart phone Video, the material video can be user and regarded by video camera in the performance that different direction was shot in one period of object Frequently, it can also be the video in different object certain period of times that user is shot by video camera, and arrange the material view Frequency must be the resolution ratio of 1920*1080.
S2 parses material video based on XML, according to the corresponding field for generating equivalent amount of the scene quantity of the material video Scape labelled element, the material video have one or more scene markers elements.Specifically, user can be directly based upon script generation Code parsing material video, script consider readable and text describing mode, and text formatting is using XML as Bean.And And has fine affinity to subsequent script-editor as format convention using XML.Further, video editor parses The scene quantity of material video acquisition composition, and scene markers element is generated according to the scene quantity of parsing.Material video be by Multiple story board data are synthesized according to certain sequence, and multiple points of mirrors correspond to multiple scenes.Specifically, a scene markers element is It is subsequent that editing can not be done to the scene video to represent a scene video, as a point of mirror video, only add special efficacy.Solution The scene markers element of analysis sequentially can be used as story board playing sequence in script.
S3, parsing obtains preset video marker element in corresponding scene labelled element, according to single video marker element In the value of preset layer attribute determine whether single scene video adds stacking video file.Specifically, in video marker element The value range of preset layer attribute is 1~N, and N is the positive integer greater than 1, when layer attribute value is 1, is not needed in scene video The video file of middle addition stacking;When layer attribute value is 2, i.e., the video file of 1 stacking of addition in scene video;Work as layer When attribute value is 3, i.e., the video file of 2 stackings of addition in scene video, and so on, and then the field of the barrier bed bottom The portions of display content of scape video plays Special display effect effect.
S4, when layer attribute preset in multiple video marker elements is consistent, according to the corresponding width of video marker element Pixel value and height pixel value determine whether to be cut, and cut anchor point in conjunction with the position attribution confirmation of video marker element, cut out Cut the synthetic video that multiple scene videos obtain more split screens.Specifically, if being indicated when the layer attribute in multiple scene videos is consistent For more split screens, multiple scene videos play side by side on one display, single scene video can as needed to itself into Processing is blocked in row stacking.Further, scene video when split screen plays is all based on its width pixel value and height pixel value It is obtained after cutting, material video resolution is 1920*1080, confirms material video according to the cutting anchor point of video marker element Editing anchor point position after material video clipping, according to width pixel value and height pixel value control video pictures scaling, and then obtains Much synthetic videos of split screen.
As shown in Figure 1, setting respectively specifies that synthesis with head labelled element and run-out labelled element after obtaining synthetic video The head and run-out of video.Specifically, head labelled element and run-out labelled element have position attribution, for determine head and Play position of the run-out in synthetic video.
As shown in Figure 1, after obtaining synthetic video, the watermark picture for setting watermark element synthetic video is specified to need, institute Pixel wide and pixels tall and the watermark picture that watermark element agreement content includes watermark picture are stated in the synthesis Position in video.Specifically, setting the pixel wide and pixels tall of watermark picture, Yi Jishui in the present embodiment Position of the impression piece in synthetic video, it is wide without pixels tall and pixel that watermark picture is arranged in other embodiments Degree, using the default resolution of watermark picture.
As shown in Figure 1, setting special efficacy member usually specifies the special efficacy source file of synthetic video needs after obtaining synthetic video. Specifically, the special efficacy source file is made particular by After Effects software, including text and picture.It is cut in video It collects in synthesis process, is primarily based on the special efficacy source file of XML format decoding After Effects software manufacture, further, In Multiple daughter elements are preset in special efficacy element, can correspond to the image content replaced in decoded special efficacy source file, word content, User's pet name content in special efficacy content, user's head portrait etc. in special efficacy content, alternative are full replacement.
As shown in Figure 1, the S2, transition special effective element is provided between multiple scene markers elements.Specifically, editing is closed During at video, multiple scene videos can be zoomed in and out according to its height pixel value and width pixel value, be worked as in this example In, agreement transition mode is to be fade-in fade-out.Meanwhile in the present embodiment, agreement scene video is added with Background when scaling Piece prevents RBG video background color occur during scene video scaling, influences user's viewing experience.
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (5)

1. a kind of video clipping synthetic method based on XML, it is characterised in that: include the following steps,
S1 obtains material video;
S2 parses material video based on XML, according to the corresponding scene mark for generating equivalent amount of the scene quantity of the material video Remember that element, the material video have one or more scene markers elements;
S3, parsing obtain preset video marker element in corresponding scene labelled element, according to pre- in single video marker element If the value of layer attribute determine whether single scene video adds stacking video file;
S4, when layer attribute preset in multiple video marker elements is consistent, according to the corresponding width pixel of video marker element Value and height pixel value determine whether to be cut, and cut anchor point in conjunction with the position attribution confirmation of video marker element, cut more A scene video obtains the synthetic video of more split screens.
2. a kind of video clipping synthetic method based on XML as described in claim 1, it is characterised in that: obtain synthetic video Afterwards, it sets head labelled element and run-out labelled element respectively specifies that the head and run-out of synthetic video.
3. a kind of video clipping synthetic method based on XML as claimed in claim 2, it is characterised in that: obtain synthetic video Afterwards, for setting watermark element come the watermark picture for specifying synthetic video to need, the watermark element agreement content includes watermark picture Position in the synthetic video of pixel wide and pixels tall and the watermark picture.
4. a kind of video clipping synthetic method based on XML told such as claim 3, it is characterised in that: obtain synthetic video Afterwards, the special efficacy source file that setting special efficacy member usually specifies synthetic video to need.
5. a kind of video clipping synthetic method based on XML as described in claim 1, it is characterised in that: the S2, multiple fields Transition special effective element is provided between scape labelled element.
CN201910756116.0A 2019-08-16 2019-08-16 A kind of video clipping synthetic method based on XML Pending CN110445992A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910756116.0A CN110445992A (en) 2019-08-16 2019-08-16 A kind of video clipping synthetic method based on XML

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910756116.0A CN110445992A (en) 2019-08-16 2019-08-16 A kind of video clipping synthetic method based on XML

Publications (1)

Publication Number Publication Date
CN110445992A true CN110445992A (en) 2019-11-12

Family

ID=68435868

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910756116.0A Pending CN110445992A (en) 2019-08-16 2019-08-16 A kind of video clipping synthetic method based on XML

Country Status (1)

Country Link
CN (1) CN110445992A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111669623A (en) * 2020-06-28 2020-09-15 腾讯科技(深圳)有限公司 Video special effect processing method and device and electronic equipment
CN111726545A (en) * 2020-06-22 2020-09-29 广州市百果园信息技术有限公司 Material file processing method and device, computer equipment and storage medium
CN116916082A (en) * 2023-09-12 2023-10-20 华光影像科技有限公司 Film and television making interface switching system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724423A (en) * 2011-09-30 2012-10-10 新奥特(北京)视频技术有限公司 Method and apparatus for material segmentation processing
CN103455474A (en) * 2013-08-16 2013-12-18 北京奇艺世纪科技有限公司 Editing method and system of image materials
US20150020104A1 (en) * 2011-05-25 2015-01-15 Google Inc. Systems and method for using closed captions to initiate display of related content on a second display device
CN104602116A (en) * 2014-12-26 2015-05-06 北京农业智能装备技术研究中心 Interactive media-rich visual rendering method and system
CN107360383A (en) * 2017-07-26 2017-11-17 北京百思科技有限公司 A kind of method and system for automatically generating video
CN107770626A (en) * 2017-11-06 2018-03-06 腾讯科技(深圳)有限公司 Processing method, image synthesizing method, device and the storage medium of video material
CN109996011A (en) * 2017-12-29 2019-07-09 深圳市优必选科技有限公司 Video clipping device and method
CN110121103A (en) * 2019-05-06 2019-08-13 郭凌含 The automatic editing synthetic method of video and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150020104A1 (en) * 2011-05-25 2015-01-15 Google Inc. Systems and method for using closed captions to initiate display of related content on a second display device
CN102724423A (en) * 2011-09-30 2012-10-10 新奥特(北京)视频技术有限公司 Method and apparatus for material segmentation processing
CN103455474A (en) * 2013-08-16 2013-12-18 北京奇艺世纪科技有限公司 Editing method and system of image materials
CN104602116A (en) * 2014-12-26 2015-05-06 北京农业智能装备技术研究中心 Interactive media-rich visual rendering method and system
CN107360383A (en) * 2017-07-26 2017-11-17 北京百思科技有限公司 A kind of method and system for automatically generating video
CN107770626A (en) * 2017-11-06 2018-03-06 腾讯科技(深圳)有限公司 Processing method, image synthesizing method, device and the storage medium of video material
CN109996011A (en) * 2017-12-29 2019-07-09 深圳市优必选科技有限公司 Video clipping device and method
CN110121103A (en) * 2019-05-06 2019-08-13 郭凌含 The automatic editing synthetic method of video and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111726545A (en) * 2020-06-22 2020-09-29 广州市百果园信息技术有限公司 Material file processing method and device, computer equipment and storage medium
CN111669623A (en) * 2020-06-28 2020-09-15 腾讯科技(深圳)有限公司 Video special effect processing method and device and electronic equipment
CN111669623B (en) * 2020-06-28 2023-10-13 腾讯科技(深圳)有限公司 Video special effect processing method and device and electronic equipment
CN116916082A (en) * 2023-09-12 2023-10-20 华光影像科技有限公司 Film and television making interface switching system
CN116916082B (en) * 2023-09-12 2023-12-08 华光影像科技有限公司 Film and television making interface switching system

Similar Documents

Publication Publication Date Title
CN110445992A (en) A kind of video clipping synthetic method based on XML
US8570360B2 (en) Stereoscopic parameter embedding device and stereoscopic image reproducer
US8436918B2 (en) Systems, apparatus and methods for subtitling for stereoscopic content
US7081900B2 (en) Graphical user interface for color correction
CN113593499A (en) Transitioning between video priority and graphics priority
US20140099066A1 (en) Content processing apparatus for processing high resolution content and content processing method thereof
JP2007019769A (en) Tag information display control apparatus, information processing apparatus, display apparatus, and tag information display control method and program
EP2052552A2 (en) System and method for virtual content placement
CN108831511A (en) Stablize system, method, equipment and the storage medium of metadata for usage scenario
CN102292977A (en) Systems and methods for providing closed captioning in three-dimensional imagery
JP2007018198A (en) Device for generating index information with link information, device for generating image data with tag information, method for generating index information with link information, method for generating image data with tag information, and program
CN114073089B (en) Method and medium for generating digital video bit stream and playing back video content
JP7317189B2 (en) automated media publishing
KR20200051599A (en) Image processing device and file generation device
JP4434094B2 (en) Tag information generation apparatus, tag information generation method and program
US20100289796A1 (en) Method for processing a spatial image
CN102215346A (en) Image processing apparatus, image processing method and program
CN104205795B (en) Color grading preview method and apparatus
KR20020017442A (en) Method for production of animation using publishing comic picture
TWI826400B (en) Information processing device, information processing method, recording medium, reproduction device, reproduction method, and program
KR102558213B1 (en) Playback device, playback method, program, and recording medium
CN115002335B (en) Video processing method, apparatus, electronic device, and computer-readable storage medium
Okun et al. Post-Production/Image Manipulation
Borg et al. Content-Dependent Metadata for Color Volume Transformation of High Luminance and Wide Color Gamut Images

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: 20191112