CN105227864A - A kind of picture generates animation and splices with video segment the video editing method synthesized - Google Patents

A kind of picture generates animation and splices with video segment the video editing method synthesized Download PDF

Info

Publication number
CN105227864A
CN105227864A CN201510703640.3A CN201510703640A CN105227864A CN 105227864 A CN105227864 A CN 105227864A CN 201510703640 A CN201510703640 A CN 201510703640A CN 105227864 A CN105227864 A CN 105227864A
Authority
CN
China
Prior art keywords
picture
video
music
snatch
background
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
CN201510703640.3A
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.)
Nanyang Normal University
Original Assignee
Nanyang Normal University
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 Nanyang Normal University filed Critical Nanyang Normal University
Priority to CN201510703640.3A priority Critical patent/CN105227864A/en
Publication of CN105227864A publication Critical patent/CN105227864A/en
Pending legal-status Critical Current

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Studio Circuits (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a kind of picture and generate animation splice the video editing method synthesized with video segment, comprise the steps: to obtain pending picture RGB data and alpha channel data; Generate the PNG formatted data of pending picture; Generate the BMP form be inserted in video; Obtain and be used for the snatch of music of generating video and the feature moment of background picture; Determine the switching instant of snatch of music and background picture, determine the switching instant of each pictures in snatch of music and background picture in the picture of generating video simultaneously; According to the switching instant determined, generate the animation of band background music and background picture; Obtain the material of one or more snippets pending video and be processed into standard video file; The band background music of gained and the animation of background picture and standard video file anastomosing and splicing are generated short video set.Background music, background picture, picture and video can perfectly combine by the present invention.

Description

A kind of picture generates animation and splices with video segment the video editing method synthesized
Technical field
The present invention relates to technical field of video processing, be specifically related to a kind of picture and generate animation and splice with video segment the video editing method synthesized.
Background technology
Along with the maturation of electronic technology, more digital product produces, the digital products such as digital camera, panel computer, smart mobile phone popular and universal, for the numerous common people bring great convenience.In daily life, the drop that people use digital product record to live, wedding, once travelling or certain party, digital product is used by people to take pictures, recorded video, to record course of life, but people but have no way of arranging for photo at random and video; Recording for needing the people recorded that oneself grow up, but can not find photo on the same day in former years, video in time, synthesis of cannot comparing; For in travelling, the photo of the same position that different cameral photographs or video but cannot classifying intelligentlies etc.
Together with the materials such as rambling picture and video can effectively arrange by video production, arrange photo and the video of certain travelling by being convenient for people to generate fast grow up record or Auto-matching of life.Video production application is very extensive, and be not only that the communication sphere such as video display, network has demand, for today of scientific and technological high speed development, domestic consumer also exists the demand to video production.Simple video production system effectively arranges daily recorded photo and video content for public users, and stroke class is regular, the picture of a series of theme and video-splicing is synthesized, and forms theme.
The product of video is made up of at present a lot of splicing pictures, the video with music can be formed by the mode of adding music, make to be attended by background music in the process of picture playing, but a part for the way general at present snatch of music that to be selection one section complete is directly inserted in video, the playing duration of every pictures is distributed equally according to the total duration of video, picture playing effect in the video that user is spelled out and the correlation of snatch of music lower, picture playing and musical features can not be carried out degree of depth combination, what therefore seem very is flat, Consumer's Experience is poor.And the use of background picture, be also adopt direct-insert mode, its combination degree is poor.
Summary of the invention
For solving the problem, the invention provides a kind of picture and generate animation and splice with video segment the video editing method synthesized, background music, background picture, picture and video perfectly can be combined.
For achieving the above object, the technical scheme that the present invention takes is:
Picture generates animation and splices with video segment the video editing method synthesized, and comprises the steps:
S1, obtain the RGB data of pending picture, and according to the transparent background drawn pending picture, obtain the alpha channel data of pending picture;
S2, according to pending picture RGB data and alpha channel data, generate the PNG formatted data of pending picture;
S3, the RGB data extracting pending picture from described PNG formatted data and alpha channel data, and the BMP form in video is inserted into according to above-mentioned two data genaration;
S4, obtain and be used for the snatch of music of generating video and background picture, and the feature of this snatch of music and background picture is analyzed, obtain the feature moment;
S5, based on obtain the feature moment, determine the switching instant of snatch of music and background picture, determine the switching instant of each pictures in snatch of music and background picture in the picture of generating video simultaneously;
S6, PNG formatted data based on pending picture, according to the switching instant determined, generate the animation of band background music and background picture;
S7, obtain one or more snippets pending video material and be processed into standard video file;
S8, the band background music of gained and the animation of background picture and standard video file anastomosing and splicing are generated short video set.
Preferably, the concrete steps of step S4 comprise:
Obtain snatch of music and background picture and obtain its not characteristic value in the same time;
According to predetermined characteristic value siding-to-siding block length, determine that at least one characteristic value of snatch of music and background picture is interval;
According to the interval order of predetermined characteristic value, the 5th stack features value is chosen according to characteristic value order from big to small successively from least one characteristic value interval, the quantity of the quantity in the moment corresponding to characteristic value wherein in the 5th stack features value to be n-1, n the be picture for generating video;
Using the moment corresponding in snatch of music and background picture for each characteristic value in the 5th stack features value as the feature moment.
Preferably, the concrete steps of described step S7 are:
The different video fragment got is carried out video standard conversion processing according to user to the order that material adds respectively, namely described video standard conversion processing is carried out frame sign process to described video segment and is carried out format code transferring again, thus the Video Quality Metric of different size is become established standards form.
Preferably, for generate animation picture in each pictures be greater than 0 the switching time in described snatch of music.
Preferably, in the feature moment of acquisition, first feature moment on snatch of music and the distance between the start time of described snatch of music are not less than first threshold.
Preferably, in the feature moment of acquisition, first feature moment on background picture and the distance between the start time of described snatch of music are not less than first threshold.
Preferably, the feature moment of snatch of music is decibel feature or frequecy characteristic or tonality feature.
Preferably, the feature of background picture is color characteristic or textural characteristics or shape facility or spatial relationship feature.
The present invention has following beneficial effect:
The plurality of pictures photographed in actual life and multistage video effectively can be spliced generation short video set, and background music, background picture, picture and video perfectly can be combined.
Embodiment
In order to make objects and advantages of the present invention clearly understand, below in conjunction with embodiment, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Embodiments provide a kind of picture generate animation and splice with video segment the video editing method synthesized, comprise the steps:
S1, obtain the RGB data of pending picture, and according to the transparent background drawn pending picture, obtain the alpha channel data of pending picture;
S2, according to pending picture RGB data and alpha channel data, generate the PNG formatted data of pending picture;
S3, the RGB data extracting pending picture from described PNG formatted data and alpha channel data, and the BMP form in video is inserted into according to above-mentioned two data genaration;
S4, obtain and be used for the snatch of music of generating video and background picture, and the feature of this snatch of music and background picture is analyzed, obtain the feature moment; Feature moment of snatch of music is decibel feature or frequecy characteristic or tonality feature.The feature of background picture is color characteristic or textural characteristics or shape facility or spatial relationship feature.
Concrete steps comprise:
Obtain snatch of music and background picture and obtain its not characteristic value in the same time;
According to predetermined characteristic value siding-to-siding block length, determine that at least one characteristic value of snatch of music and background picture is interval;
According to the interval order of predetermined characteristic value, the 5th stack features value is chosen according to characteristic value order from big to small successively from least one characteristic value interval, the quantity of the quantity in the moment corresponding to characteristic value wherein in the 5th stack features value to be n-1, n the be picture for generating video;
Using the moment corresponding in snatch of music and background picture for each characteristic value in the 5th stack features value as the feature moment.
S5, based on obtain the feature moment, determine the switching instant of snatch of music and background picture, determine the switching instant of each pictures in snatch of music and background picture in the picture of generating video simultaneously;
S6, PNG formatted data based on pending picture, according to the switching instant determined, generate the animation of band background music and background picture;
S7, obtain one or more snippets pending video material and be processed into standard video file; Concrete steps are:
The different video fragment got is carried out video standard conversion processing according to user to the order that material adds respectively, namely described video standard conversion processing is carried out frame sign process to described video segment and is carried out format code transferring again, thus the Video Quality Metric of different size is become established standards form;
S8, the band background music of gained and the animation of background picture and standard video file anastomosing and splicing are generated short video set.
For generate animation picture in each pictures be greater than 0 the switching time in described snatch of music.
In the feature moment obtained, first feature moment on snatch of music and the distance between the start time of described snatch of music are not less than first threshold.
In the feature moment obtained, first feature moment on background picture and the distance between the start time of described snatch of music are not less than first threshold.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (8)

1. picture generates animation and splices with video segment the video editing method synthesized, and it is characterized in that, comprises the steps:
S1, obtain the RGB data of pending picture, and according to the transparent background drawn pending picture, obtain the alpha channel data of pending picture;
S2, according to pending picture RGB data and alpha channel data, generate the PNG formatted data of pending picture;
S3, the RGB data extracting pending picture from described PNG formatted data and alpha channel data, and the BMP form in video is inserted into according to above-mentioned two data genaration;
S4, obtain and be used for the snatch of music of generating video and background picture, and the feature of this snatch of music and background picture is analyzed, obtain the feature moment;
S5, based on obtain the feature moment, determine the switching instant of snatch of music and background picture, determine the switching instant of each pictures in snatch of music and background picture in the picture of generating video simultaneously;
S6, PNG formatted data based on pending picture, according to the switching instant determined, generate the animation of band background music and background picture;
S7, obtain one or more snippets pending video material and be processed into standard video file;
S8, the band background music of gained and the animation of background picture and standard video file anastomosing and splicing are generated short video set.
2. a kind of picture according to claim 1 generates animation and splices with video segment the video editing method synthesized, and it is characterized in that, the concrete steps of step S4 comprise:
Obtain snatch of music and background picture and obtain its not characteristic value in the same time;
According to predetermined characteristic value siding-to-siding block length, determine that at least one characteristic value of snatch of music and background picture is interval;
According to the interval order of predetermined characteristic value, the 5th stack features value is chosen according to characteristic value order from big to small successively from least one characteristic value interval, the quantity of the quantity in the moment corresponding to characteristic value wherein in the 5th stack features value to be n-1, n the be picture for generating video;
Using the moment corresponding in snatch of music and background picture for each characteristic value in the 5th stack features value as the feature moment.
3. a kind of picture according to claim 1 generates animation and splices with video segment the video editing method synthesized, and it is characterized in that, the concrete steps of described step S7 are:
The different video fragment got is carried out video standard conversion processing according to user to the order that material adds respectively, namely described video standard conversion processing is carried out frame sign process to described video segment and is carried out format code transferring again, thus the Video Quality Metric of different size is become established standards form.
4. a kind of picture according to claim 1 generates animation and splices with video segment the video editing method synthesized, and it is characterized in that, for generate animation picture in each pictures be greater than 0 the switching time in described snatch of music.
5. a kind of picture according to claim 1 generates animation and splices with video segment the video editing method synthesized, it is characterized in that, in the feature moment obtained, first feature moment on snatch of music and the distance between the start time of described snatch of music are not less than first threshold.
6. a kind of picture according to claim 1 generates animation and splices with video segment the video editing method synthesized, it is characterized in that, in the feature moment obtained, first feature moment on background picture and the distance between the start time of described snatch of music are not less than first threshold.
7. a kind of picture according to claim 1 generates animation and splices with video segment the video editing method synthesized, and it is characterized in that, feature moment of snatch of music is decibel feature or frequecy characteristic or tonality feature.
8. a kind of picture according to claim 1 generates animation and splices with video segment the video editing method synthesized, and it is characterized in that, the feature of background picture is color characteristic or textural characteristics or shape facility or spatial relationship feature.
CN201510703640.3A 2015-10-16 2015-10-16 A kind of picture generates animation and splices with video segment the video editing method synthesized Pending CN105227864A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510703640.3A CN105227864A (en) 2015-10-16 2015-10-16 A kind of picture generates animation and splices with video segment the video editing method synthesized

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510703640.3A CN105227864A (en) 2015-10-16 2015-10-16 A kind of picture generates animation and splices with video segment the video editing method synthesized

Publications (1)

Publication Number Publication Date
CN105227864A true CN105227864A (en) 2016-01-06

Family

ID=54996513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510703640.3A Pending CN105227864A (en) 2015-10-16 2015-10-16 A kind of picture generates animation and splices with video segment the video editing method synthesized

Country Status (1)

Country Link
CN (1) CN105227864A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017025040A1 (en) * 2015-08-12 2017-02-16 北京金山安全软件有限公司 Picture switching method and picture switching device during picture video playing
CN107105173A (en) * 2017-04-24 2017-08-29 武汉折叠空间科技有限公司 A kind of self-service video creating method of interactive
CN107770618A (en) * 2017-11-02 2018-03-06 腾讯科技(深圳)有限公司 A kind of image processing method, device and storage medium
CN108419035A (en) * 2018-02-28 2018-08-17 北京小米移动软件有限公司 The synthetic method and device of picture video
CN108471554A (en) * 2017-02-23 2018-08-31 合网络技术(北京)有限公司 Multimedia resource synthetic method and device
CN109167950A (en) * 2018-10-25 2019-01-08 腾讯科技(深圳)有限公司 Video recording method, video broadcasting method, device, equipment and storage medium
CN109379643A (en) * 2018-11-21 2019-02-22 北京达佳互联信息技术有限公司 Image synthesizing method, device, terminal and storage medium
CN109547849A (en) * 2017-09-21 2019-03-29 腾讯科技(北京)有限公司 A kind of video information playback method, device, terminal and computer storage medium
CN109615682A (en) * 2018-12-07 2019-04-12 北京微播视界科技有限公司 Animation producing method, device, electronic equipment and computer readable storage medium
CN110602546A (en) * 2019-09-06 2019-12-20 Oppo广东移动通信有限公司 Video generation method, terminal and computer-readable storage medium
WO2020253096A1 (en) * 2019-06-21 2020-12-24 广州酷狗计算机科技有限公司 Method and apparatus for video synthesis, terminal and storage medium
WO2021068958A1 (en) * 2019-10-12 2021-04-15 阿里巴巴集团控股有限公司 Method and apparatus for generating commodity object dynamic image, and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040100487A1 (en) * 2002-11-25 2004-05-27 Yasuhiro Mori Short film generation/reproduction apparatus and method thereof
US20130272430A1 (en) * 2012-04-16 2013-10-17 Microsoft Corporation Constraints and unit types to simplify video random access
CN103793446A (en) * 2012-10-29 2014-05-14 汤晓鸥 Music video generation method and system
CN104199841A (en) * 2014-08-06 2014-12-10 武汉图歌信息技术有限责任公司 Video editing method for generating animation through pictures and splicing and composing animation and video clips
CN104202540A (en) * 2014-09-28 2014-12-10 北京金山安全软件有限公司 Method and system for generating video by using picture
CN104363466A (en) * 2014-11-04 2015-02-18 无锡天脉聚源传媒科技有限公司 Image generating method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040100487A1 (en) * 2002-11-25 2004-05-27 Yasuhiro Mori Short film generation/reproduction apparatus and method thereof
US20130272430A1 (en) * 2012-04-16 2013-10-17 Microsoft Corporation Constraints and unit types to simplify video random access
CN103793446A (en) * 2012-10-29 2014-05-14 汤晓鸥 Music video generation method and system
CN104199841A (en) * 2014-08-06 2014-12-10 武汉图歌信息技术有限责任公司 Video editing method for generating animation through pictures and splicing and composing animation and video clips
CN104202540A (en) * 2014-09-28 2014-12-10 北京金山安全软件有限公司 Method and system for generating video by using picture
CN104363466A (en) * 2014-11-04 2015-02-18 无锡天脉聚源传媒科技有限公司 Image generating method and device

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017025040A1 (en) * 2015-08-12 2017-02-16 北京金山安全软件有限公司 Picture switching method and picture switching device during picture video playing
CN108471554A (en) * 2017-02-23 2018-08-31 合网络技术(北京)有限公司 Multimedia resource synthetic method and device
CN107105173A (en) * 2017-04-24 2017-08-29 武汉折叠空间科技有限公司 A kind of self-service video creating method of interactive
CN109547849A (en) * 2017-09-21 2019-03-29 腾讯科技(北京)有限公司 A kind of video information playback method, device, terminal and computer storage medium
CN107770618B (en) * 2017-11-02 2021-03-02 腾讯科技(深圳)有限公司 Image processing method, device and storage medium
CN107770618A (en) * 2017-11-02 2018-03-06 腾讯科技(深圳)有限公司 A kind of image processing method, device and storage medium
CN108419035A (en) * 2018-02-28 2018-08-17 北京小米移动软件有限公司 The synthetic method and device of picture video
CN109167950A (en) * 2018-10-25 2019-01-08 腾讯科技(深圳)有限公司 Video recording method, video broadcasting method, device, equipment and storage medium
CN109167950B (en) * 2018-10-25 2020-05-12 腾讯科技(深圳)有限公司 Video recording method, video playing method, device, equipment and storage medium
US11450350B2 (en) 2018-10-25 2022-09-20 Tencent Technology (Shenzhen) Company Limited Video recording method and apparatus, video playing method and apparatus, device, and storage medium
CN109379643A (en) * 2018-11-21 2019-02-22 北京达佳互联信息技术有限公司 Image synthesizing method, device, terminal and storage medium
US11551726B2 (en) 2018-11-21 2023-01-10 Beijing Dajia Internet Information Technology Co., Ltd. Video synthesis method terminal and computer storage medium
CN109615682A (en) * 2018-12-07 2019-04-12 北京微播视界科技有限公司 Animation producing method, device, electronic equipment and computer readable storage medium
WO2020253096A1 (en) * 2019-06-21 2020-12-24 广州酷狗计算机科技有限公司 Method and apparatus for video synthesis, terminal and storage medium
CN110602546A (en) * 2019-09-06 2019-12-20 Oppo广东移动通信有限公司 Video generation method, terminal and computer-readable storage medium
WO2021068958A1 (en) * 2019-10-12 2021-04-15 阿里巴巴集团控股有限公司 Method and apparatus for generating commodity object dynamic image, and electronic device

Similar Documents

Publication Publication Date Title
CN105227864A (en) A kind of picture generates animation and splices with video segment the video editing method synthesized
CN101778257B (en) Generation method of video abstract fragments for digital video on demand
CN109168026A (en) Instant video display methods, device, terminal device and storage medium
CN111899155B (en) Video processing method, device, computer equipment and storage medium
US9224156B2 (en) Personalizing video content for Internet video streaming
Caoduro Photo filter apps: Understanding analogue nostalgia in the new media ecology
CN104394324A (en) Special-effect video generation method and device
CN109547841B (en) Short video data processing method and device and electronic equipment
CN104199841A (en) Video editing method for generating animation through pictures and splicing and composing animation and video clips
CN104581380A (en) Information processing method and mobile terminal
US20220188357A1 (en) Video generating method and device
CN110032352A (en) A kind of displaying content generating method and device
CN113038185B (en) Bullet screen processing method and device
CN102455906A (en) Method and system for changing player skin
CN105191298B (en) Use the multi-dimensional content service provider system of 2D 3D multi-dimensional content files, the service providing method and the multi-dimensional content file
CN104991950A (en) Picture generating method, display method and corresponding devices
CN107231578A (en) The system and method that video file is quickly played
KR102308508B1 (en) Review making system
CN102595053B (en) Cloud recording and Play System
CN116634188A (en) Live broadcast method and device and computer readable storage medium
CN104125492B (en) Video broadcasting method and device
CN109889738A (en) A kind of interactive video processing method and processing device
Jamil et al. Overview of JPEG Snack: A Novel International Standard for the Snack Culture
CN106412715A (en) Information retrieval method, terminal and server
CN111918146A (en) Video synthesis method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160106

RJ01 Rejection of invention patent application after publication