CN109068070A - Video generation method and relevant apparatus - Google Patents

Video generation method and relevant apparatus Download PDF

Info

Publication number
CN109068070A
CN109068070A CN201810748457.9A CN201810748457A CN109068070A CN 109068070 A CN109068070 A CN 109068070A CN 201810748457 A CN201810748457 A CN 201810748457A CN 109068070 A CN109068070 A CN 109068070A
Authority
CN
China
Prior art keywords
picture
target
electronic equipment
information
video
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
CN201810748457.9A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810748457.9A priority Critical patent/CN109068070A/en
Publication of CN109068070A publication Critical patent/CN109068070A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8146Monomedia components thereof involving graphical data, e.g. 3D object, 2D graphics
    • H04N21/8153Monomedia components thereof involving graphical data, e.g. 3D object, 2D graphics comprising still images, e.g. texture, background image

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Graphics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the present application discloses a kind of video generation method and relevant apparatus, is applied to electronic equipment, comprising: electronic equipment screens the picture of the first quantity from picture library;Quality score is carried out to every picture in the picture of the first quantity, obtains the fractional value of every picture;The picture of the second quantity is screened from the picture of the first quantity according to the fractional value of every picture, the picture of the second quantity forms target atlas, and the first quantity is greater than the second quantity;Target video is generated according to target atlas.The application is conducive to improve convenience and accuracy that electronic equipment carries out video generation.

Description

Video generation method and relevant apparatus
Technical field
This application involves electronic technology fields, and in particular to video generation method and relevant apparatus.
Background technique
With the rapid development of intelligent terminal (such as smart phone) technology and more more and more universal, user is become Indispensable electronic product in daily life.The application such as mobile phone photo album can carry out same according to screening conditions such as time, places The picture of theme screens, and forms exclusive atlas, and the picture in specific time period or place is specially consulted for user.At present on mobile phone Atlas function be difficult to meet the personalized access demand that user is directed to picture.
Summary of the invention
The embodiment of the present application provides video generation method and relevant apparatus, is conducive to improve electronic equipment progress video life At convenience and accuracy.
In a first aspect, the embodiment of the present application provides a kind of video generation method, it is applied to electronic equipment, the method packet It includes:
The picture of the first quantity is screened from picture library;
Quality score is carried out to every picture in the picture of first quantity, obtains the score of every picture Value;
The picture of the second quantity is screened from the picture of first quantity according to the fractional value of every picture, it is described The picture of second quantity forms target atlas, and first quantity is greater than second quantity;
Target video is generated according to the target atlas.
Second aspect, the embodiment of the present application provide a kind of video-generating device, are applied to electronic equipment, which is characterized in that The video-generating device includes processing unit and communication unit,
The processing unit, for screening the picture of the first quantity from picture library;And the picture to first quantity In every picture carry out quality score, obtain the fractional value of every picture;And the score according to every picture Value screens the picture of the second quantity from the picture of first quantity, and the picture of second quantity forms target atlas, institute The first quantity is stated greater than second quantity;And target video is generated according to the target atlas.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, including processor, memory, communication interface and One or more programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned It manages device to execute, above procedure is included the steps that for executing the instruction in the embodiment of the present application first aspect either method.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein above-mentioned computer-readable Storage medium storage is used for the computer program of electronic data interchange, wherein above-mentioned computer program executes computer such as Step some or all of described in the embodiment of the present application first aspect either method, above-mentioned computer include electronic equipment.
5th aspect, the embodiment of the present application provide a kind of computer program product, wherein above-mentioned computer program product Non-transient computer readable storage medium including storing computer program, above-mentioned computer program are operable to make to calculate Machine executes the step some or all of as described in the embodiment of the present application first aspect either method.The computer program product It can be a software installation packet, above-mentioned computer includes electronic equipment.
As can be seen that electronic equipment screens the picture of the first quantity from picture library first in the embodiment of the present application, secondly, Quality score is carried out to every picture in the picture of the first quantity, obtains the fractional value of every picture, again, is schemed according to every The fractional value of piece screens the picture of the second quantity from the picture of the first quantity, wherein the picture of the second quantity forms target figure Collection, the first quantity are greater than the second quantity, finally, generating target video according to target atlas.As it can be seen that electronic equipment can pass through two Secondary screening accurately obtains satisfactory high quality picture, is then used for the generation of target atlas composed by the picture filtered out The target video of filtered out picture is played, user's manual setting is not necessarily to, realizes a kind of method for automatically creating video, have Conducive to the convenience and accuracy for improving electronic equipment creation video.
Detailed description of the invention
Attached drawing involved by the embodiment of the present application will be briefly described below.
Figure 1A is a kind of schematic diagram of the program running space of smart phone;
Figure 1B is a kind of system architecture diagram of Android system;
Fig. 2 is a kind of flow diagram of video generation method provided by the embodiments of the present application;
Fig. 3 is a kind of flow diagram of video generation method disclosed in the embodiment of the present application;
Fig. 4 is a kind of flow diagram of video generation method disclosed in the embodiment of the present application;
Fig. 5 is the structural schematic diagram of a kind of electronic equipment disclosed in the embodiment of the present application;
Fig. 6 is the functional unit composition block diagram of a kind of electronic equipment disclosed in the embodiment of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
The description and claims of this application and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap Include other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Electronic equipment involved by the embodiment of the present application may include the various handheld devices with wireless communication function, Mobile unit, wearable device calculate equipment or are connected to other processing equipments and various forms of radio modem User equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal Device) etc..For convenience of description, apparatus mentioned above is referred to as electronic equipment.Behaviour involved by the embodiment of the present invention It is the software systems for being managed collectively to hardware resource, and providing a user business interface as system.
As shown in Figure 1A, the electronic equipments such as smart phone are typically provided with program running space at present, and program operation is empty Between include user's space and operating system space, wherein user's space operation have one or more application program, this or more A application program is the third party application of electronic equipment installation.
The electronic equipment can specifically run the Mobile operating system iOS of Android android system, Apple Inc.'s exploitation Deng not doing unique restriction herein.As shown in Figure 1B, by taking electronic equipment operation has android system as an example, corresponding user Space includes the application layer (Applications) in the android system, and operating system space may include the Android system Application framework layer (Application Framework), system Runtime Library layer (including system Runtime Library layer in system Android Runtime when Libraries and Android are run), Linux inner core (Linux Kernel).Wherein, it applies It include all kinds of application programs directly interacted with user, or the service routine for running on backstage write by Java language on layer. For example, the program for the common basic function realized on smart phone, such as short message service (Short Messaging Service, SMS) short message, dialing, Photo Browser, calendar, game, map, WWW (WorldWide Web, Web) The programs such as browser and the other applications of developer's exploitation.Application framework layer provides exploitation Android application A series of class libraries needed for program can be used in reusing component, can also realize personalized extension by inheriting.System operation Library layer is the support of application framework, provides service for the various components in android system.System Runtime Library layer is by system Class libraries and Android are constituted when running.It include core library and Dalvik virtual machine two parts when Android is run.Linux kernel Layer is for realizing hardware device drivers, process and memory management, network protocol stack, power management, the core functions such as wireless communication.
Electronic equipment may include the various handheld devices with wireless communication function, mobile unit, wearable device (example Such as smartwatch, Intelligent bracelet, pedometer), calculate equipment or be connected to other processing equipments of radio modem, with And various forms of user equipmenies (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal device) etc..For convenience of description, apparatus mentioned above is referred to as electronic equipment.Below to the application reality Example is applied to describe in detail.
Referring to Fig. 2, Fig. 2 is that the embodiment of the present application provides a kind of flow diagram of video generation method, it is applied to Electronic equipment, as shown in Fig. 2, this video generation method includes:
S201, electronic equipment screen the picture of the first quantity from picture library.
Wherein, the picture of the first quantity can be 20,50,100 etc., not do unique restriction herein.
S202, the electronic equipment carry out quality score to every picture in the picture of first quantity, obtain institute State the fractional value of every picture.
Wherein, the appraisal result of quality score is able to reflect the comprehensive quality of picture, obtains the tool of the scoring of every picture Body implementation can call the third party of pre-configuration to give a mark engine, using the characteristic of picture as input data import this Tripartite gives a mark engine to be scored, alternatively, prestored instruction scoring algorithm, local terminal obtains corresponding according to the algorithm autonomous operation Scoring, specific marking strategy do not do unique restriction.
S203, the electronic equipment screen according to the fractional value of every picture from the picture of first quantity The picture of two quantity, the picture of second quantity form target atlas, and first quantity is greater than second quantity.
Wherein, the picture of the second quantity can be 5,10,20 etc., not do unique restriction herein.
S204, the electronic equipment generate target video according to the target atlas.
In the specific implementation, target video can be to recall video, the trigger condition of video is recalled in the electronic equipment creation Triggering when can be user actively to trigger, or detecting that current system conditions meet preset condition by electronic equipment, this is default Condition can be preset, and do not done and do not limited herein, such as can be that system time is in work or electronic equipment is in suspend mode State etc..
As can be seen that electronic equipment screens the picture of the first quantity from picture library first in the embodiment of the present application, secondly, Quality score is carried out to every picture in the picture of the first quantity, obtains the fractional value of every picture, again, is schemed according to every The fractional value of piece screens the picture of the second quantity from the picture of the first quantity, wherein the picture of the second quantity forms target figure Collection, the first quantity are greater than the second quantity, finally, generating target video according to target atlas.As it can be seen that electronic equipment can pass through two Secondary screening accurately obtains satisfactory high quality picture, is then used for the generation of target atlas composed by the picture filtered out The target video of filtered out picture is played, user's manual setting is not necessarily to, realizes a kind of method for automatically creating video, have Conducive to the convenience and accuracy for improving electronic equipment creation video.
In a possible example, every picture in the picture to first quantity carries out quality score, Obtain the fractional value of every picture, comprising: the electronic equipment extracts the characteristic of every picture, the feature Data comprise at least one of the following: color, exposure, clarity, the face feature information of facial image;According to the characteristic According to progress quality score.
Wherein, quality score is used for the comprehensive quality of overall merit picture.
As it can be seen that electronic equipment can acquire the characteristic of the multiple dimensions of picture, and according to the various dimensions in this example Characteristic carries out comprehensive score to picture quality, to comprehensively assess the quality of picture, it is quasi- to improve picture screening Exactness, to improve the accuracy of video generation.
It is described that target video is generated according to the target atlas, comprising: to the target figure in a possible example Collect configuration settings information, the setting information is used to be arranged the play parameter information of the target atlas;According to the target figure Collection and the setting information generate target video.
Wherein, play parameter information can include but is not limited to playing duration, playing sequence, title, cover, theme, back Scape music, animation mode, display duration etc., do not do unique restriction herein.
As it can be seen that electronic equipment is generated and is screened for playing according to target atlas configuration settings information in this example The target video of picture out is conducive to improve accuracy and intelligence of the electronic equipment during screening picture.
It is described to the target atlas configuration settings information, comprising: the electronic equipment pair in a possible example The first play parameter information is arranged in the target atlas, obtains the first configuration information, and first configuration information includes for more Open the following configuration information of Target Photo: playing duration, playing sequence, title, cover, theme, background music;To the target The second play parameter information is arranged in atlas, obtains the second configuration information, and second configuration information includes being directed to every mesh It marks on a map the following configuration information of piece: animation mode, display duration;According to first configuration information and second configuration information Generate the setting information of the target atlas.
Optionally, electronic equipment is arranged the first play parameter to the target atlas according to the touch control operation of user and obtains the One configuration information, first configuration information include the following configuration information for multiple Target Photos: playing duration is broadcast Put forward sequence, title, cover, theme, background music;Target atlas setting second is played according to the touch control operation of user and is joined Number information, obtains the second configuration information, and second configuration information includes for the following with confidence of every Target Photo Breath: animation mode, display duration;The target atlas is generated according to first configuration information and second configuration information Setting information.
As it can be seen that electronic equipment carries out the multiple configuration of various dimensions to target atlas, and then can generate and meet in this example The setting information of the target atlas of user's habit, and video is generated according to setting information, be conducive to improve electronic equipment generation view The intelligence and convenience of frequency.
In a possible example, the fractional value according to every picture is from the picture of first quantity Screen the picture of the second quantity, comprising: the electronic equipment is right according to the sequence of the fractional value of every picture from high to low The picture of first quantity is ranked up, and obtains sequence of pictures;The picture of the second quantity is filtered out from the sequence of pictures, The fractional value of any one picture is greater than the figure that second quantity is removed in the sequence of pictures in the picture of second quantity The fractional value of any one picture except piece.
For example, the photo that electronic equipment filters out from picture library in X X month X day forms the picture of the first quantity, In, the picture of the first quantity has 5, is picture A, picture B, picture C, picture D, picture E respectively, carries out to their clarity Scoring, obtains picture A (60 points), picture B (50 points), picture C (70 points), picture D (62 points), picture E (65 points), from high to low Sequence be ranked up, picture C, picture E, picture D, picture A, picture B, thus choose first four picture form the second quantity figure Collection, i.e. picture C, picture E, picture D, picture A.
As it can be seen that electronic equipment can obtain the of high quality by screening to the fractional value after sequence in this example The picture of two quantity is conducive to improve accuracy and intelligence of the electronic equipment during screening picture.
In a possible example, the picture that the first quantity is screened from picture library, comprising: the electronic equipment obtains The attribute information of every picture in the picture library is taken, the attribute information comprises at least one of the following: picture creation time, picture Create the personage in place and picture;The attribute information of every picture is compared with preset attribute information, is filtered out The picture of first quantity of attribute information and the preset attribute information matches.
Wherein, the corresponding relationship of the attribute information of every picture and preset attribute information can be it is one-to-one, one-to-many and Multi-to-multi does not do unique restriction herein.
As it can be seen that electronic equipment is compared with preset attribute information, obtains according to the attribute information of picture in this example Meet the plurality of pictures of same attribute, and then can be improved accuracy and intelligence of the electronic equipment during screening picture.
In a possible example, the target video is the component for being associated with the target atlas, and the component is used for The picture in the target atlas is played according to the setting information.
Wherein, the playing process of the target video is similar to the playing process of lantern slide, but the target video not regards Frequency file in electronic equipment internal and is not take up additional video memory space, and still, electronic equipment can be by the target video It is converted into video file, and transmits the video file.
Specifically in the electronic device, the default broadcast strategy of the target video can be stored by the file of preset format, inspection When measuring the playing request for the target video, then this document is called to read default broadcast strategy to play multiple target figures Piece will not configure occupancy in addition, multiple associated Target Photos of the target video are the picture stored in photograph album or picture library The new picture of additional storage space supports the broadcasting of the target video.
Wherein, the component includes that cover shows that control and playing function button, the cover show control for showing The cover of target video, the playing function button is for playing the target video;Alternatively, the component includes that icon is shown Control and title show control, and the icon shows that control is used to jump to the broadcasting control interface of the target video, described Title shows that control is used to show the title of the target video.
As it can be seen that the target video that electronic equipment is created can be rendered as carrying out in user's interaction level in this example The component of picture playing, so that both visual senses of video file are showed to user, and actually video is not literary for the target video Part, occupancy storage resource is few, realizes that function is strong, enhances product functionality while improving resource utilization.
It is consistent with above-mentioned embodiment shown in Fig. 2, referring to Fig. 3, Fig. 3 is a kind of video provided by the embodiments of the present application The flow diagram of generation method is applied to electronic equipment, as shown, this video generation method includes:
S301, electronic equipment screen the picture of the first quantity from picture library.
S302, the electronic equipment extract the characteristic of every picture.
S303, the electronic equipment carry out quality score according to the characteristic.
S304, the electronic equipment screen according to the fractional value of every picture from the picture of first quantity The picture of the picture of two quantity, second quantity forms target atlas.
S305, the electronic equipment generate target video according to the target atlas.
As can be seen that electronic equipment screens the picture of the first quantity from picture library first in the embodiment of the present application, secondly, Quality score is carried out to every picture in the picture of the first quantity, obtains the fractional value of every picture, again, is schemed according to every The fractional value of piece screens the picture of the second quantity from the picture of the first quantity, wherein the picture of the second quantity forms target figure Collection, the first quantity are greater than the second quantity, finally, generating target video according to target atlas.As it can be seen that electronic equipment can pass through two Secondary screening accurately obtains satisfactory high quality picture, is then used for the generation of target atlas composed by the picture filtered out The target video of filtered out picture is played, user's manual setting is not necessarily to, realizes a kind of method for automatically creating video, have Conducive to the convenience and accuracy for improving electronic equipment creation video.
In addition, electronic equipment can acquire the characteristic of the multiple dimensions of picture, and according to the characteristic of the various dimensions Comprehensive score is carried out to picture quality, to comprehensively assess the quality of picture, picture is improved and screens accuracy, thus Improve the accuracy that video generates.
It is consistent with above-mentioned embodiment shown in Fig. 2, referring to Fig. 4, Fig. 4 is a kind of video provided by the embodiments of the present application The flow diagram of generation method is applied to electronic equipment.As shown, this video generation method includes:
S401, electronic equipment obtain the attribute information of every picture in the picture library.
The attribute information of every picture is compared with preset attribute information for S402, the electronic equipment, screening The picture of first quantity of attribute information and the preset attribute information matches out.
S403, the electronic equipment carry out quality score to every picture in the picture of first quantity, obtain institute State the fractional value of every picture.
S404, the electronic equipment is according to the fractional value of every picture sequence from high to low to first quantity Picture be ranked up, obtain sequence of pictures.
S405, the electronic equipment filter out the picture of the second quantity from the sequence of pictures.
S406, the electronic equipment are arranged the first play parameter information to the target atlas, obtain the first configuration information.
The second play parameter information is arranged to the target atlas in S407, the electronic equipment.
S408, the electronic equipment generate the target figure according to first configuration information and second configuration information The setting information of collection.
S409, the electronic equipment generate target video according to the target atlas and the setting information.
As can be seen that electronic equipment screens the picture of the first quantity from picture library first in the embodiment of the present application, secondly, Quality score is carried out to every picture in the picture of the first quantity, obtains the fractional value of every picture, again, is schemed according to every The fractional value of piece screens the picture of the second quantity from the picture of the first quantity, wherein the picture of the second quantity forms target figure Collection, the first quantity are greater than the second quantity, finally, generating target video according to target atlas.As it can be seen that electronic equipment can pass through two Secondary screening accurately obtains satisfactory high quality picture, is then used for the generation of target atlas composed by the picture filtered out The target video of filtered out picture is played, user's manual setting is not necessarily to, realizes a kind of method for automatically creating video, have Conducive to the convenience and accuracy for improving electronic equipment creation video.
In addition, electronic equipment can obtain the second quantity of high quality by screening to the fractional value after sequence Picture is conducive to improve accuracy and intelligence of the electronic equipment during screening picture.
In addition, electronic equipment carries out the multiple configuration of various dimensions to target atlas, and then it can generate and meet user's habit Target atlas setting information, and according to setting information generate video, be conducive to improve electronic equipment generate video intelligence Property and convenience.
Consistent with above-mentioned Fig. 2, Fig. 3, embodiment shown in Fig. 4, Fig. 5 is that a kind of electronics provided by the embodiments of the present application is set Standby 500 structural schematic diagram, as shown, the electronic equipment 500 connects including application processor 510, memory 520, communication Mouth 530 and one or more programs 521, wherein one or more of programs 521 are stored in above-mentioned memory 520, And it is configured to be executed by above-mentioned application processor 510, one or more of programs 521 include for executing following steps Instruction;
The picture of the first quantity is screened from picture library;
Quality score is carried out to every picture in the picture of first quantity, obtains the score of every picture Value;
The picture of the second quantity is screened from the picture of first quantity according to the fractional value of every picture, it is described The picture of second quantity forms target atlas, and first quantity is greater than second quantity;
Target video is generated according to the target atlas.
As can be seen that electronic equipment screens the picture of the first quantity from picture library first in the embodiment of the present application, secondly, Quality score is carried out to every picture in the picture of the first quantity, obtains the fractional value of every picture, again, is schemed according to every The fractional value of piece screens the picture of the second quantity from the picture of the first quantity, wherein the picture of the second quantity forms target figure Collection, the first quantity are greater than the second quantity, finally, generating target video according to target atlas.As it can be seen that electronic equipment can pass through two Secondary screening accurately obtains satisfactory high quality picture, is then used for the generation of target atlas composed by the picture filtered out The target video of filtered out picture is played, user's manual setting is not necessarily to, realizes a kind of method for automatically creating video, have Conducive to the convenience and accuracy for improving electronic equipment creation video.
In a possible example, every picture in the picture to first quantity carries out quality and comments Point, in terms of obtaining the fractional value of every picture, the instruction in described program is specifically used for executing following operation: described in extraction The characteristic of every picture, the characteristic comprise at least one of the following: color, exposure, clarity, facial image Face feature information;Quality score is carried out according to the characteristic.
In a possible example, in terms of the generation target video according to the target atlas, in described program Instruction be specifically used for executing following operation: to the target atlas configuration settings information, the setting information is for being arranged institute State the play parameter information of target atlas;Target video is generated according to the target atlas and the setting information.
In a possible example, it is described to the target atlas configuration settings information in terms of, in described program Instruction is specifically used for executing following operation: the first play parameter information is arranged to the target atlas, obtains the first configuration information, First configuration information includes the following configuration information for multiple Target Photos: playing duration, playing sequence, title, envelope Face, theme, background music;And the second play parameter information is arranged to the target atlas, and the second configuration information is obtained, it is described Second configuration information includes the following configuration information for every Target Photo: animation mode, display duration;According to described First configuration information and second configuration information generate the setting information of the target atlas.
In a possible example, in the fractional value according to every picture from the picture of first quantity In terms of the picture of the second quantity of middle screening, the instruction in described program is specifically used for executing following operation: being schemed according to described every The sequence of the fractional value of piece from high to low is ranked up the picture of first quantity, obtains sequence of pictures;And from described The picture of the second quantity is filtered out in sequence of pictures, the fractional value of any one picture is greater than institute in the picture of second quantity State the fractional value of any one picture in sequence of pictures in addition to the picture of second quantity.
In a possible example, in terms of the picture for screening the first quantity from picture library, in described program Instruction is specifically used for executing following operation: obtain the attribute information of every picture in the picture library, the attribute information include with Lower at least one: the personage in picture creation time, picture creation place and picture;And the attribute of every picture is believed Breath is compared with preset attribute information, filters out the figure of the first quantity of attribute information and the preset attribute information matches Piece.
In a possible example, the target video is the component for being associated with the target atlas, and the component is used for The picture in the target atlas is played according to the setting information.
It is above-mentioned that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is understood that , in order to realize the above functions, it comprises execute the corresponding hardware configuration of each function and/or software mould for electronic equipment Block.Those skilled in the art should be readily appreciated that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function actually with Hardware or computer software drive the mode of hardware to execute, the specific application and design constraint item depending on technical solution Part.Professional technician can specifically realize described function to each using distinct methods, but this reality Now it is not considered that exceeding scope of the present application.
The embodiment of the present application can carry out the division of functional unit according to above method example to electronic equipment, for example, can With each functional unit of each function division of correspondence, two or more functions can also be integrated in a processing unit In.Above-mentioned integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.It needs It is noted that be schematical, only a kind of logical function partition to the division of unit in the embodiment of the present application, it is practical real It is current that there may be another division manner.
The following is an embodiment of the apparatus of the present invention, and apparatus of the present invention embodiment is realized for executing embodiment of the present invention method Method.Video-generating device 600 as shown in FIG. 6, is applied to electronic equipment, and the video-generating device 600 includes processing Unit 601 and communication unit 602, wherein
The processing unit 601, for screening the picture of the first quantity from picture library;To in the picture of first quantity Every picture carry out quality score, obtain the fractional value of every picture;According to the fractional value of every picture from institute State the picture that the second quantity is screened in the picture of the first quantity, the picture of second quantity forms target atlas, and described first Quantity is greater than second quantity;Target video is generated according to the target atlas.
Wherein, the video creation device can also include storage unit 603, for storing the program code of electronic equipment And data.The processing unit 601 can be processor, and the communication unit 602 can be image capture device, input equipment Or transceiver, storage unit 603 can be memory.
As can be seen that electronic equipment screens the picture of the first quantity from picture library first in the embodiment of the present application, secondly, Quality score is carried out to every picture in the picture of the first quantity, obtains the fractional value of every picture, again, is schemed according to every The fractional value of piece screens the picture of the second quantity from the picture of the first quantity, wherein the picture of the second quantity forms target figure Collection, the first quantity are greater than the second quantity, finally, generating target video according to target atlas.As it can be seen that electronic equipment can pass through two Secondary screening accurately obtains satisfactory high quality picture, is then used for the generation of target atlas composed by the picture filtered out The target video of filtered out picture is played, user's manual setting is not necessarily to, realizes a kind of method for automatically creating video, have Conducive to the convenience and accuracy for improving electronic equipment creation video.
In a possible example, every picture in the picture to first quantity carries out quality and comments Point, in terms of obtaining the fractional value of every picture, the processing unit 601 is specifically used for: extracting the spy of every picture Levy data, the characteristic comprises at least one of the following: color, exposure, clarity, facial image facial characteristics letter Breath;Quality score is carried out according to the characteristic.
In a possible example, in terms of the generation target video according to the target atlas, the processing is single Member 601 is specifically used for: to the target atlas configuration settings information, the setting information is for being arranged broadcasting for the target atlas Put parameter information;Target video is generated according to the target atlas and the setting information.
In a possible example, it is described to the target atlas configuration settings information in terms of, the processing unit 601 are specifically used for: the first play parameter information is arranged to the target atlas, obtains the first configuration information, first configuration Information includes the following configuration information for multiple Target Photos: playing duration, playing sequence, title, cover, theme, background Music;Second play parameter information is arranged to the target atlas, obtains the second configuration information, second configuration information includes For the following configuration information of every Target Photo: animation mode, display duration;According to first configuration information and institute State the setting information that the second configuration information generates the target atlas.
In a possible example, in the fractional value according to every picture from the picture of first quantity In terms of the picture of the second quantity of middle screening, the processing unit 601 is specifically used for: according to the fractional value of every picture by height It is ranked up to picture of the low sequence to first quantity, obtains sequence of pictures;Is filtered out from the sequence of pictures The picture of two quantity, the fractional value of any one picture is greater than in the sequence of pictures except described in the picture of second quantity The fractional value of any one picture except the picture of second quantity.
In a possible example, in terms of the picture for screening the first quantity from picture library, the processing unit 601 are specifically used for: obtaining the attribute information of every picture in the picture library, the attribute information comprises at least one of the following: figure Personage in piece creation time, picture creation place and picture;By the attribute information of every picture and preset attribute information It is compared, filters out the picture of the first quantity of attribute information and the preset attribute information matches.
In a possible example, the target video is the component for being associated with the target atlas, and the component is used for The picture in the target atlas is played according to the setting information.
The embodiment of the present application also provides a kind of computer storage medium, wherein computer storage medium storage is for electricity The computer program of subdata exchange, the computer program make computer execute any as recorded in above method embodiment Some or all of method step, above-mentioned computer include electronic equipment.
The embodiment of the present application also provides a kind of computer program product, and above-mentioned computer program product includes storing calculating The non-transient computer readable storage medium of machine program, above-mentioned computer program are operable to that computer is made to execute such as above-mentioned side Some or all of either record method step in method embodiment.The computer program product can be a software installation Packet, above-mentioned computer includes electronic equipment.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because According to the application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily the application It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of said units, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
Above-mentioned unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment above method of the application Step.And memory above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory May include: flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the application There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.

Claims (10)

1. a kind of video generation method, which is characterized in that be applied to electronic equipment, which comprises
The picture of the first quantity is screened from picture library;
Quality score is carried out to every picture in the picture of first quantity, obtains the fractional value of every picture;
Screen the picture of the second quantity from the picture of first quantity according to the fractional value of every picture, described second The picture of quantity forms target atlas, and first quantity is greater than second quantity;
Target video is generated according to the target atlas.
2. the method according to claim 1, wherein every picture in the picture to first quantity Quality score is carried out, the fractional value of every picture is obtained, comprising:
The characteristic of every picture is extracted, the characteristic comprises at least one of the following: color, exposure, clear The face feature information of degree, facial image;
Quality score is carried out according to the characteristic.
3. method according to claim 1 or 2, which is characterized in that it is described that target video is generated according to the target atlas, Include:
To the target atlas configuration settings information, the setting information is used to be arranged the play parameter letter of the target atlas Breath;
Target video is generated according to the target atlas and the setting information.
4. according to the method described in claim 3, it is characterized in that, described to the target atlas configuration settings information, comprising:
First play parameter information is arranged to the target atlas, obtains the first configuration information, first configuration information includes For the following configuration information of multiple Target Photos: playing duration, playing sequence, title, cover, theme, background music;
Second play parameter information is arranged to the target atlas, obtains the second configuration information, second configuration information includes For the following configuration information of every Target Photo: animation mode, display duration;
The setting information of the target atlas is generated according to first configuration information and second configuration information.
5. method according to claim 1 or 2, which is characterized in that the fractional value according to every picture is from institute State the picture that the second quantity is screened in the picture of the first quantity, comprising:
The picture of first quantity is ranked up according to the sequence of the fractional value of every picture from high to low, obtains figure Piece sequence;
The picture of the second quantity is filtered out from the sequence of pictures, point of any one picture in the picture of second quantity Numerical value is greater than the fractional value of any one picture in the sequence of pictures in addition to the picture of second quantity.
6. method according to claim 1-5, which is characterized in that the figure for screening the first quantity from picture library Piece, comprising:
The attribute information of every picture in the picture library is obtained, the attribute information comprises at least one of the following: when picture creates Between, picture creation place and picture in personage;
The attribute information of every picture is compared with preset attribute information, filters out attribute information and the default category The picture of first quantity of property information matches.
7. method according to claim 1-6, which is characterized in that the target video is to be associated with the target figure The component of collection, the component are used to play the picture in the target atlas according to the setting information.
8. a kind of video-generating device, which is characterized in that be applied to electronic equipment, the video creation device includes processing unit And communication unit, wherein
The processing unit, for screening the picture of the first quantity from picture library;And in the picture of first quantity Every picture carries out quality score, obtains the fractional value of every picture;And according to the fractional value of every picture from Screening the picture of the second quantity in the picture of first quantity, the picture of second quantity forms target atlas, and described the One quantity is greater than second quantity;And target video is generated according to the target atlas.
9. a kind of electronic equipment, which is characterized in that including processor, memory, communication interface, and one or more programs, One or more of programs are stored in the memory, and are configured to be executed by the processor, described program packet Include the instruction for executing the step in the method according to claim 1 to 7.
10. a kind of computer readable storage medium, which is characterized in that storage is used for the computer program of electronic data interchange, In, the computer program makes computer execute the method according to claim 1 to 7.
CN201810748457.9A 2018-07-10 2018-07-10 Video generation method and relevant apparatus Pending CN109068070A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810748457.9A CN109068070A (en) 2018-07-10 2018-07-10 Video generation method and relevant apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810748457.9A CN109068070A (en) 2018-07-10 2018-07-10 Video generation method and relevant apparatus

Publications (1)

Publication Number Publication Date
CN109068070A true CN109068070A (en) 2018-12-21

Family

ID=64819216

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810748457.9A Pending CN109068070A (en) 2018-07-10 2018-07-10 Video generation method and relevant apparatus

Country Status (1)

Country Link
CN (1) CN109068070A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110442748A (en) * 2019-07-12 2019-11-12 北京达佳互联信息技术有限公司 A kind of video generation method, device, electronic equipment and storage medium
CN111669620A (en) * 2020-06-05 2020-09-15 北京字跳网络技术有限公司 Theme video generation method and device, electronic equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100002122A1 (en) * 2008-07-03 2010-01-07 Erik Larson Camera system and method for picture sharing using geotagged pictures
US20160203386A1 (en) * 2015-01-13 2016-07-14 Samsung Electronics Co., Ltd. Method and apparatus for generating photo-story based on visual context analysis of digital content
CN105893412A (en) * 2015-11-24 2016-08-24 乐视致新电子科技(天津)有限公司 Image sharing method and apparatus
CN105975612A (en) * 2016-05-18 2016-09-28 北京金山安全软件有限公司 Picture processing method, device and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100002122A1 (en) * 2008-07-03 2010-01-07 Erik Larson Camera system and method for picture sharing using geotagged pictures
US20160203386A1 (en) * 2015-01-13 2016-07-14 Samsung Electronics Co., Ltd. Method and apparatus for generating photo-story based on visual context analysis of digital content
CN105893412A (en) * 2015-11-24 2016-08-24 乐视致新电子科技(天津)有限公司 Image sharing method and apparatus
CN105975612A (en) * 2016-05-18 2016-09-28 北京金山安全软件有限公司 Picture processing method, device and equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110442748A (en) * 2019-07-12 2019-11-12 北京达佳互联信息技术有限公司 A kind of video generation method, device, electronic equipment and storage medium
CN111669620A (en) * 2020-06-05 2020-09-15 北京字跳网络技术有限公司 Theme video generation method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
US11853730B2 (en) Mini program data binding method and apparatus, device, and storage medium
CN108781235A (en) A kind of display methods and device
CN104866501A (en) Electronic travel photo album generation method and system
CN106454097A (en) Photographing method and photographing device
CN107071512B (en) A kind of dubbing method, apparatus and system
CN104103085A (en) Objects in screen images
CN109407936A (en) Screenshot method and relevant apparatus
CN109710909A (en) Content acquisition method, device, terminal and storage medium
CN103853485A (en) Touch screen unlocking method and terminal
CN108921918B (en) Video creation method and related device
CN109542758A (en) Application program fault-tolerant ability test method, device, computer readable storage medium
CN109151338A (en) Image processing method and related product
CN108876782A (en) Recall video creation method and relevant apparatus
CN108965599A (en) Recall method for processing video frequency and Related product
CN109068070A (en) Video generation method and relevant apparatus
CN110287464A (en) The methods of exhibiting, device of option data, computer equipment and computer storage medium in list
CN103207725B (en) Icon conversion method and device
CN108597546A (en) The background music for recalling video determines method and relevant device
CN108920591A (en) Recall video creation method and relevant apparatus
CN104021215B (en) Picture sorting method and device
CN108762983A (en) Multi-medium data restoration methods and device
CN107977436A (en) Filename generation method, device, terminal and the storage medium of record screen file
JP2007228439A (en) Photo photographing printer, photo photographing print system, and photo photographing print method
CN105487769B (en) Media file display method and device and electronic equipment
CN109241303A (en) Video creation method and Related product

Legal Events

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

Application publication date: 20181221

RJ01 Rejection of invention patent application after publication