CN109151557A - Video creation method and relevant apparatus - Google Patents

Video creation method and relevant apparatus Download PDF

Info

Publication number
CN109151557A
CN109151557A CN201810912208.9A CN201810912208A CN109151557A CN 109151557 A CN109151557 A CN 109151557A CN 201810912208 A CN201810912208 A CN 201810912208A CN 109151557 A CN109151557 A CN 109151557A
Authority
CN
China
Prior art keywords
video
picture
data
target
pictures
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810912208.9A
Other languages
Chinese (zh)
Other versions
CN109151557B (en
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 CN201810912208.9A priority Critical patent/CN109151557B/en
Publication of CN109151557A publication Critical patent/CN109151557A/en
Application granted granted Critical
Publication of CN109151557B publication Critical patent/CN109151557B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • 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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • H04N21/4355Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream involving reformatting operations of additional data, e.g. HTML pages on a television screen
    • 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/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/4402Processing 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 reformatting operations of video signals for household redistribution, storage or real-time display
    • 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/8126Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts
    • 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

Abstract

This application discloses a kind of video creation method and relevant apparatus, are applied to electronic equipment, comprising: when detecting video creation request, obtain the target topic of video to be created input by user;When prestoring theme and the identical video data of the target topic in detecting spatial cache, the video data is obtained, the spatial cache is concealed space;The corresponding target video of the target topic is generated according to the video data.The application is conducive to quickly generate target topic corresponding target video in the case where user's unaware according to the video data prestored.

Description

Video creation method and relevant apparatus
Technical field
This application involves electronic technology field more particularly to a kind of video creation 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 be according to certain features of picture, such as when shooting Between, place, facial image etc. screen the picture with same characteristic features.It generates the video of different themes and is stored in mobile phone In photograph album, consulted for user.
Summary of the invention
The embodiment of the present application provides a kind of video creation method and relevant apparatus, is conducive to be existed according to the video data prestored The corresponding video of target topic is quickly generated in the case where user's unaware.
In a first aspect, the embodiment of the present application provides a kind of video creation method, it is applied to electronic equipment, the method packet It includes:
When detecting video creation request, the target topic of video to be created input by user is obtained;
When prestoring theme and the identical video data of the target topic in detecting spatial cache, the view is obtained Frequency evidence, the spatial cache are concealed space;
The corresponding target video of the target topic is generated according to the video data.
Second aspect, the embodiment of the present application provide a kind of video creation device, the video creation device
Including detection unit, acquiring unit and processing unit, wherein
The detection unit, for obtaining video to be created input by user when detecting video creation request Target topic;
The acquiring unit, for prestoring theme and the identical video of the target topic in detecting spatial cache When data, the video data is obtained, the spatial cache is concealed space;
The processing unit, for generating the corresponding target video of the target topic according to the video data.
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.
As can be seen that in the embodiment of the present application, electronic equipment first when detecting video creation request, obtain by with The target topic of the video to be created of family input, secondly, prestoring theme and the target topic in detecting spatial cache When identical video data, the video data is obtained, the spatial cache is concealed space, finally, according to the video counts According to the corresponding target video of the generation target topic.Since electronic equipment is when detecting video creation request, use is detected It, can be directly according to video data when the target topic of family input is identical with the theme of the video data in spatial cache prestored The corresponding video of target topic is generated, extracts video data from spatial cache in the case where user's unaware and then can be with Quickly generate target video.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application or in background technique below will be implemented the application Attached drawing needed in example or background technique is illustrated.
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 creation method provided by the embodiments of the present application;
Fig. 3 is the flow diagram of another video creation method provided by the embodiments of the present application;
Fig. 4 is the flow diagram of another video creation method provided by the embodiments of the present application;
Fig. 5 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 6 is a kind of functional unit composition block diagram of video creation device provided by the embodiments of the present application.
Specific implementation
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 The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection It encloses.
It is described in detail separately below.
The description and claims of this application and term " first ", " second ", " third " and " in the attached drawing Four " etc. are not use to describe a particular order for distinguishing different objects.In addition, term " includes " and " having " and it Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process, method of a series of steps or units, be System, product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing or list Member, or optionally further comprising 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.
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, and video creation method described in the embodiment of the present application is corresponding Software algorithm operate in user's space, operating system space motion has the operating system of electronic equipment.
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 (World Wide Web, Web) programs such as browser and the other applications of developer's exploitation.Application framework layer provides exploitation Android A series of class libraries needed for application program can be used in reusing component, can also realize personalized extension by inheriting.System Runtime Library layer is the support of application framework, provides service for the various components in android system.System Runtime Library layer 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 Inner nuclear layer is for realizing hardware device drivers, process and memory management, network protocol stack, power management, the cores such as wireless communication Function.
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.
It describes in detail below to the embodiment of the present application.
Referring to Fig. 2, Fig. 2 is that the embodiment of the present application provides a kind of flow diagram of video creation method, it is applied to Electronic equipment, this video creation method include:
S201, electronic equipment obtain the target of video to be created input by user when detecting video creation request Theme.
Wherein, when detecting by the request of Client-initiated video creation, video to be created input by user is obtained Target topic, electronic equipment can determine video data according to target topic and then create video.
Wherein, photograph album can be according to video to be created and recalls video, user can be checked by opening the operations such as photograph album Recall video, the picture degree of association recalled in video is very high, when user's photographic subjects photo can be aroused by recalling video by viewing Memory, scene is reappeared, and a kind of mode of fine record life.
S202, the electronic equipment prestore theme and the identical video of the target topic in detecting spatial cache When data, the video data is obtained, the spatial cache is concealed space.
Wherein, it is stored with the corresponding video data of video of multiple and different themes in the spatial cache of electronic equipment, caches Space is concealed space, and user can not check the presence for being unaware that spatial cache, have in detecting the video data prestored When theme and the identical video data of target topic, the video data is obtained.
S203, the electronic equipment generate the corresponding target video of the target topic according to the video data.Wherein, Video data can be the data for being stored in spatial cache generated, be also possible to the plurality of pictures for generating video Set, can quickly obtain target video according to video data, without the target topic inputted according to user, in picture library Picture screening is carried out, then the plurality of pictures by screening generates and recalls video, reduces handling duration, it can be within a short period of time It generates and recalls video.
Wherein, it if theme and the identical video data of target topic are not detected in the video library prestored, needs Picture relevant with target topic is filtered out in picture library and generates target video, which is with target topic Name.
As can be seen that in the embodiment of the present application, electronic equipment first when detecting video creation request, obtain by with The target topic of the video to be created of family input, secondly, prestoring theme and the target topic in detecting spatial cache When identical video data, the video data is obtained, the spatial cache is concealed space, finally, according to the video counts According to the corresponding target video of the generation target topic.Since electronic equipment is when detecting video creation request, use is detected It, can be directly according to video data when the target topic of family input is identical with the theme of the video data in spatial cache prestored The corresponding video of target topic is generated, extracts video data from spatial cache in the case where user's unaware and then can be with Quickly generate target video.
In a possible example, the video data includes the first picture set;It is described according to the video data Generate the corresponding target video of the target topic, comprising: obtain picture library and neutralize the associated plurality of pictures of target topic;Sentence The plurality of pictures that breaks compares data update whether occurs with the first picture set;When detecting that data, which occur, to be updated, Determine data to be updated;The target video is generated according to the video data and the data to be updated.
Wherein, the theme of every picture in the first picture set and the video data is associated, obtains picture library and neutralizes The associated plurality of pictures of target topic, since user is during using electronic equipment, the picture in picture library can or can not increase Add, there may be picture relevant with target topic in increased photo, therefore this part picture is added in target video, have Conducive to improving the integrality of target video and rich.
Wherein, it when but detecting that data update occurs for the first picture set, i.e., is increased in picture library and target topic phase It closes, but when picture in the first picture set, determines this corresponding image data of part picture for data to be updated.
As it can be seen that the corresponding first picture set of video data can be directly according to the first pictures symphysis at target in this example Video, but before generating target video, first determine in picture library whether there is also with the associated plurality of pictures of target topic, and When the plurality of pictures is not in the first picture set, show that data update has occurred, it is thus necessary to determine that data to be updated, to update Video data is conducive to the reliability and integrality that improve target video.
It is described to judge that the plurality of pictures is compared with the first picture set and whether occur in a possible example Data update, comprising: determine the creation time of the first picture set;It is deposited when shooting in detecting the plurality of pictures Between in the picture after the creation time, determine occur data update.
Wherein it is determined that the creation time of the first picture set, the i.e. creation time of video data, are judging multiple described figures When piece compares data update whether occurs with the first picture set, it is only necessary to determine whether have shooting time in plurality of pictures Picture after creation time, if so, then data update has occurred in explanation.
As it can be seen that in this example, video data is stored in advance in the spatial cache of electronic equipment, and video data correspond to it is invasive The time is built, if there is picture of the shooting time after creation time in plurality of pictures, illustrates to have occurred data update, is needed pair Video data is updated, to be conducive to improve the real-time and reliability of video data.
In a possible example, the determination data to be updated, comprising: choose shooting time in the plurality of pictures An at least picture after the creation time;Obtain the characteristic information of every picture in an at least picture;Root The degree of association of every picture and the target topic is determined according to the characteristic information;It chooses the degree of association and is greater than preset threshold Picture is picture to be updated;Determine that the corresponding data of the picture to be updated are data to be updated.
Wherein, an at least picture of the shooting time after creation time in plurality of pictures is chosen, obtains at least one The characteristic information of every picture in picture, characteristic information may include shooting location information, shooting time information, face information, At least one of face information of number, character costume information, picture color information.
Wherein, the degree of association of every picture and target topic can be further determined that according to characteristic information, for example, target topic It whether can be school according to shooting location, whether shooting time is within the period in graduation season, and whether character costume for season of graduating Baccalaureate gown is worn, the elements such as school uniform determine the degree of association of picture and target topic.
Wherein, after determining the degree of association of every picture and target topic, the figure that the degree of association is greater than preset threshold is chosen Piece can determine that the corresponding data of picture to be updated are data to be updated, determining data to be updated as picture to be updated Later, target video is generated according to data to be updated and video data.
Wherein it is possible to which data to be updated are added in video data, target video can also be replaced with data to be updated In partial data target view directly can be quickly generated according to updated video data in this way, user is when creating video Frequently.
As it can be seen that an at least picture of the shooting time after creation time in plurality of pictures is chosen in this example, and Determine the degree of association of every picture and target topic, according to the characteristic information of every picture in an at least picture so as to select It takes the degree of association greater than the picture of preset threshold as picture to be updated, and then determines data to be updated.
In a possible example, the determination data to be updated, comprising: choose shooting time in the plurality of pictures An at least picture after the creation time;Obtain the characteristic information of every picture in an at least picture;Root The degree of association of every picture and the target topic is determined according to the characteristic information;Choose the highest preset quantity of the degree of association Picture be picture to be updated;Determine that the corresponding data of the picture to be updated are data to be updated.
Wherein, since the picture in the first picture set is the plurality of pictures relevant with target topic screened, because This can be pre-stored the degree of association of every picture and target topic in the first picture set, and determine every in an at least picture The degree of association of picture and target topic, so that the picture for choosing the highest preset quantity of the degree of association from plurality of pictures is to more New picture, and the degree of association for selecting every picture in the picture to be updated come is minimum greater than the degree of association in the first picture set Preset quantity picture.
For example, the degree of association highest 5 picture A2, B2, C2, D2, E2 are had chosen from an at least picture, and The degree of association of this five picture is greater than 5 picture A1, B1, C1, D1, E1 that the degree of association is minimum in the first picture set, that is, is associated with Degree is ordered as A2 > B2 > C2 > D2 > E2 > A1 > B1 > C1 > D1 > E1, it is thus determined that picture to be updated is A2, B2, C2, D2, E2, that is, uses Picture A2, B2, C2, D2, E2 in second picture set replace picture A1, B1, C1, D1, E1 in the first picture set.
As it can be seen that in this example, according to the degree of association and at least one of every picture in the first picture set and target topic The degree of association of every picture and target topic in picture determines picture to be updated and replaces the first pictures with picture to be updated The picture of identical quantity in conjunction, is equivalent to and improves the whole degree of association with target topic of target video, and reliability is higher.
It is described that the target video is generated according to the video data in a possible example, comprising: described in determining The shooting time of plurality of pictures in picture to be updated and the first picture set;It will according to the sequencing of the shooting time The plurality of pictures is ranked up;Playing sequence of the plurality of pictures in target video, the mesh are ordered as described in determination Mark video is that the plurality of pictures is successively shown in preset duration according to the sequence.
Wherein it is determined that in picture to be updated every picture shooting time, will be to more according to the sequencing of shooting time New picture is ranked up, and picture to be updated update is obtained updated video data into video data according to sequence, When the target video that broadcasting is obtained according to data to be updated and video data, can successively it be shown according to the shooting time of every picture Picture.
As it can be seen that the target video of generation consists of two parts in this example, that is, be pre-stored in spatial cache video data and Data to be updated, the shooting time of the corresponding picture of data to be updated after the shooting time of the corresponding picture of video data, Therefore a part that target video can be first generated according to video data, is generating complete target video according to data to be updated, Advantageously reduce the waiting time of user.
It is described that the corresponding target video of the target topic is generated according to the video data in a possible example Later, the method also includes: delete the video data stored in the spatial cache.
As it can be seen that in this example, after generating the corresponding target video of target topic according to video data, electronic equipment meeting The video data prestored in spatial cache is deleted, because of the target video generated, can directly store the target view of generation Frequently, the releasable memory space of video data is deleted.
It is consistent with the 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 creation method is applied to electronic equipment.As shown, this video creation method includes:
S301, the electronic equipment obtain video to be created input by user when detecting video creation request Target topic.
S302, the electronic equipment prestore theme and the identical video of the target topic in detecting spatial cache When data, the video data is obtained, the spatial cache is concealed space, and the video data includes the first picture set.
S303, the electronic equipment obtain picture library and neutralize the associated plurality of pictures of target topic.
S304, the electronic equipment judge that the plurality of pictures compares data whether occur more with the first picture set Newly.
S305, the electronic equipment determine data to be updated when detecting that data, which occur, to be updated.
S306, the electronic equipment generate the target video according to the video data and the data to be updated.
As can be seen that in the embodiment of the present application, electronic equipment first when detecting video creation request, obtain by with The target topic of the video to be created of family input, secondly, prestoring theme and the target topic in detecting spatial cache When identical video data, the video data is obtained, the spatial cache is concealed space, finally, according to the video counts According to the corresponding target video of the generation target topic.Since electronic equipment is when detecting video creation request, use is detected It, can be directly according to video data when the target topic of family input is identical with the theme of the video data in spatial cache prestored The corresponding video of target topic is generated, extracts video data from spatial cache in the case where user's unaware and then can be with Quickly generate target video.
In addition, video data corresponds to the first picture set, it can be directly according to the first pictures symphysis at target video, still Before generating target video, first determine in picture library whether there is also with the associated plurality of pictures of target topic, and multiple figures When piece is not in the first picture set, show that data update has occurred, it is thus necessary to determine that data to be updated, to update video counts According to, be conducive to improve target video reliability and integrality.
It is consistent with described Fig. 2, embodiment shown in Fig. 3, referring to Fig. 4, Fig. 4 is one kind provided by the embodiments of the present application The flow diagram of video creation method is applied to electronic equipment.As shown, this video creation method includes:
S401, the electronic equipment obtain video to be created input by user when detecting video creation request Target topic.
S402, the electronic equipment prestore theme and the identical video of the target topic in detecting spatial cache When data, the video data is obtained, the spatial cache is concealed space, and the video data includes the first picture set.
S403, the electronic equipment obtain picture library and neutralize the associated plurality of pictures of target topic.
S404, the electronic equipment determine the creation time of the first picture set.
S405, there are shooting times after the creation time in detecting the plurality of pictures for the electronic equipment Picture when, determine occur data update.
S406, the electronic equipment determine data to be updated when detecting that data, which occur, to be updated.
S407, the electronic equipment generate the target video according to the video data and the data to be updated.
As can be seen that in the embodiment of the present application, electronic equipment first when detecting video creation request, obtain by with The target topic of the video to be created of family input, secondly, prestoring theme and the target topic in detecting spatial cache When identical video data, the video data is obtained, the spatial cache is concealed space, finally, according to the video counts According to the corresponding target video of the generation target topic.Since electronic equipment is when detecting video creation request, use is detected It, can be directly according to video data when the target topic of family input is identical with the theme of the video data in spatial cache prestored The corresponding video of target topic is generated, extracts video data from spatial cache in the case where user's unaware and then can be with Quickly generate target video.
In addition, video data corresponds to the first picture set, it can be directly according to the first pictures symphysis at target video, still Before generating target video, first determine in picture library whether there is also with the associated plurality of pictures of target topic, and multiple figures When piece is not in the first picture set, show that data update has occurred, it is thus necessary to determine that data to be updated, to update video counts According to, be conducive to improve target video reliability and integrality.In addition, the caching that video data is stored in advance in electronic equipment is empty Between, and video data is corresponding with creation time, if there is picture of the shooting time after creation time in plurality of pictures, illustrates Data update has occurred, needs to be updated video data, to be conducive to improve the real-time and reliability of video data.
It is consistent with described Fig. 2, Fig. 3, embodiment shown in Fig. 4, referring to Fig. 5, Fig. 5 is provided by the embodiments of the present application The structural schematic diagram of a kind of electronic equipment 500, the electronic equipment 500 operation have one or more application program and operating system, As shown, the electronic equipment 500 includes processor 510, memory 520, communication interface 530 and one or more programs 521, wherein one or more of programs 521 are stored in the memory 520, and are configured by the processor 510 execute, and one or more of programs 521 include the instruction for executing following steps;
When detecting video creation request, the target topic of video to be created input by user is obtained;
When prestoring theme and the identical video data of the target topic in detecting spatial cache, the view is obtained Frequency evidence, the spatial cache are concealed space;
The corresponding target video of the target topic is generated according to the video data.
As can be seen that in the embodiment of the present application, electronic equipment first when detecting video creation request, obtain by with The target topic of the video to be created of family input, secondly, prestoring theme and the target topic in detecting spatial cache When identical video data, the video data is obtained, the spatial cache is concealed space, finally, according to the video counts According to the corresponding target video of the generation target topic.Since electronic equipment is when detecting video creation request, use is detected It, can be directly according to video data when the target topic of family input is identical with the theme of the video data in spatial cache prestored The corresponding video of target topic is generated, extracts video data from spatial cache in the case where user's unaware and then can be with Quickly generate target video.
In a possible example, the video data includes the first picture set;Described according to the video counts In terms of generating the corresponding target video of the target topic, the instruction in described program is specifically used for executing following operation: obtaining Picture library is taken to neutralize the associated plurality of pictures of target topic;Judging that the plurality of pictures is compared with the first picture set is No generation data update;When detecting that data, which occur, to be updated, data to be updated are determined;According to the video data and it is described to More new data generates the target video.
In a possible example, judges that the plurality of pictures is compared with the first picture set described and whether send out Raw data update aspect, and the instruction in described program is specifically used for executing following operation: determining the wound of the first picture set Build the time;There are shooting times in the picture after the creation time in detecting the plurality of pictures, determines and occurs Data update.
In a possible example, in terms of determination data to be updated, the instruction in described program is specifically used for It executes following operation: choosing an at least picture of the shooting time after the creation time in the plurality of pictures;It obtains The characteristic information of every picture in an at least picture;Every picture and the mesh are determined according to the characteristic information Mark the degree of association of theme;Choosing the degree of association to be greater than the picture of preset threshold is picture to be updated;Determine the picture pair to be updated The data answered are data to be updated.
In a possible example, in terms of the target video according to video data generation, the journey Instruction in sequence is specifically used for executing following operation: determining plurality of pictures in the picture to be updated and the first picture set Shooting time;The plurality of pictures is ranked up according to the sequencing of the shooting time;Institute is ordered as described in determination Playing sequence of the plurality of pictures in target video is stated, the target video is successively to open up in preset duration according to the sequence Show the plurality of pictures.
It is described that the corresponding target video of the target topic is generated according to the video data in a possible example Later, the instruction in described program is specifically used for executing following operation: deleting the video counts stored in the spatial cache According to.
Above-described embodiment is mainly described the scheme of the embodiment of the present application from the angle of method side implementation procedure.It can With understanding, in order to realize the above functions, it comprises execute the corresponding hardware configuration of each function and/or soft for electronic equipment Part module.Those skilled in the art should be readily appreciated that, described in conjunction with the examples disclosed in the embodiments of the present disclosure Unit and algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function is studied carefully Unexpectedly it is executed in a manner of hardware or computer software driving hardware, the specific application and design constraint depending on technical solution Condition.Professional technician can specifically realize described function to each using distinct methods, but this It realizes 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 the 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.The 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 creation device 600 as shown in FIG. 6, is applied to the electronic equipment, and the video creation device includes that detection is single Member 601, acquiring unit 602 and processing unit 603, wherein
The detection unit 601, for obtaining video to be created input by user when detecting video creation request Target topic;
The acquiring unit 602, it is identical for prestoring theme and the target topic in detecting spatial cache When video data, the video data is obtained, the spatial cache is concealed space;
The processing unit 603, for generating the corresponding target video of the target topic according to the video data.
Wherein, the video creation device can also include storage unit 604, for storing the program code of electronic equipment And data.The detection unit 601, acquiring unit 602 and processing unit 603 can be processor, and storage unit 604 can be Memory.
As can be seen that in the embodiment of the present application, electronic equipment first when detecting video creation request, obtain by with The target topic of the video to be created of family input, secondly, prestoring theme and the target topic in detecting spatial cache When identical video data, the video data is obtained, the spatial cache is concealed space, finally, according to the video counts According to the corresponding target video of the generation target topic.Since electronic equipment is when detecting video creation request, use is detected It, can be directly according to video data when the target topic of family input is identical with the theme of the video data in spatial cache prestored The corresponding video of target topic is generated, extracts video data from spatial cache in the case where user's unaware and then can be with Quickly generate target video.
In a possible example, the video data includes the first picture set;Described according to the video counts In terms of generating the corresponding target video of the target topic, the processing unit 603 is specifically used for: obtaining described in picture library neutralization The associated plurality of pictures of target topic;And whether occur for judging that the plurality of pictures is compared with the first picture set Data update;And for determining data to be updated when detecting that data, which occur, to be updated;And for according to the video counts The target video is generated according to the data to be updated.
In a possible example, judges that the plurality of pictures is compared with the first picture set described and whether send out Raw data update aspect, and the processing unit 603 is specifically used for: determining the creation time of the first picture set;And it uses In there are shooting times in the picture after the creation time in detecting the plurality of pictures, determining generation data are more Newly.
In a possible example, in terms of determination data to be updated, the processing unit 603 is specifically used for: Choose an at least picture of the shooting time after the creation time in the plurality of pictures;And for obtain it is described extremely The characteristic information of every picture in a few picture;Every picture and the target topic are determined according to the characteristic information The degree of association;And being greater than the picture of preset threshold for choosing the degree of association is picture to be updated;And for determine it is described to Updating the corresponding data of picture is data to be updated.
In a possible example, in terms of the target video according to video data generation, the place Reason unit 603 is specifically used for: determining the shooting time of plurality of pictures in the picture to be updated and the first picture set;With And the plurality of pictures is ranked up for the sequencing according to the shooting time;And for being ordered as described in determination Playing sequence of the plurality of pictures in target video, the target video are to sort in preset duration successively according to described Show the plurality of pictures.
It is described that the corresponding target video of the target topic is generated according to the video data in a possible example Later, the processing unit 603 is also used to delete the video data stored in the spatial cache.
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 creation method, which is characterized in that be applied to electronic equipment, which comprises
When detecting video creation request, the target topic of video to be created input by user is obtained;
When prestoring theme and the identical video data of the target topic in detecting spatial cache, the video counts are obtained According to the spatial cache is concealed space;
The corresponding target video of the target topic is generated according to the video data.
2. the method according to claim 1, wherein the video data includes the first picture set;Described The corresponding target video of the target topic is generated according to the video data, comprising:
It obtains picture library and neutralizes the associated plurality of pictures of target topic;
Judge that the plurality of pictures is compared with the first picture set and data update whether occurs;
When detecting that data, which occur, to be updated, data to be updated are determined;
The target video is generated according to the video data and the data to be updated.
3. according to the method described in claim 2, it is characterized in that, the judgement plurality of pictures and first pictures It closes to compare and data update whether occurs, comprising:
Determine the creation time of the first picture set;
There are shooting times in the picture after the creation time in detecting the plurality of pictures, determines and data occur It updates.
4. according to the method described in claim 3, it is characterized in that, determination data to be updated, comprising:
Choose an at least picture of the shooting time after the creation time in the plurality of pictures;
Obtain the characteristic information of every picture in an at least picture;
The degree of association of every picture and the target topic is determined according to the characteristic information;
Choosing the degree of association to be greater than the picture of preset threshold is picture to be updated;
Determine that the corresponding data of the picture to be updated are data to be updated.
5. method according to claim 1-4, which is characterized in that described according to video data generation Target video, comprising:
Determine the shooting time of plurality of pictures in the picture to be updated and the first picture set;
The plurality of pictures is ranked up according to the sequencing of the shooting time;
Playing sequence of the plurality of pictures in target video is ordered as described in determination, the target video is according to the row Sequence successively shows the plurality of pictures in preset duration.
6. method according to claim 1-5, which is characterized in that described according to video data generation After the corresponding target video of target topic, the method also includes:
Delete the video data stored in the spatial cache.
7. a kind of video creation device, which is characterized in that be applied to electronic equipment, the video creation device includes that detection is single Member, acquiring unit and processing unit, wherein
The detection unit, for obtaining the target of video to be created input by user when detecting video creation request Theme;
The acquiring unit, for prestoring theme and the identical video data of the target topic in detecting spatial cache When, the video data is obtained, the spatial cache is concealed space;
The processing unit, for generating the corresponding target video of the target topic according to the video data.
8. video creation device according to claim 7, which is characterized in that the video data includes the first pictures It closes;In terms of the corresponding target video according to the video data generation target topic, the processing unit is specific For: it obtains picture library and neutralizes the associated plurality of pictures of target topic;And for judging the plurality of pictures and described One picture set compares data update whether occurs;And for determining data to be updated when detecting that data, which occur, to be updated; And for generating the target video according to the video data and the data to be updated.
9. a kind of electronic equipment, which is characterized in that including being stored with one or more in processor, memory, the memory Program, the processor is for calling one or more of programs to execute as the method according to claim 1 to 6.
10. a kind of computer readable storage medium, which is characterized in that for storing computer program, the computer program is used As the method according to claim 1 to 6 is executed in being called by processor.
CN201810912208.9A 2018-08-10 2018-08-10 Video creation method and related device Active CN109151557B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810912208.9A CN109151557B (en) 2018-08-10 2018-08-10 Video creation method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810912208.9A CN109151557B (en) 2018-08-10 2018-08-10 Video creation method and related device

Publications (2)

Publication Number Publication Date
CN109151557A true CN109151557A (en) 2019-01-04
CN109151557B CN109151557B (en) 2021-02-19

Family

ID=64792963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810912208.9A Active CN109151557B (en) 2018-08-10 2018-08-10 Video creation method and related device

Country Status (1)

Country Link
CN (1) CN109151557B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110851625A (en) * 2019-10-16 2020-02-28 联想(北京)有限公司 Video creation method and device, electronic equipment and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060227223A1 (en) * 2005-03-01 2006-10-12 Hiroshi Nagata Image reproducing apparatus
CN104008128A (en) * 2014-04-24 2014-08-27 深圳辉锐天眼科技有限公司 Automatic case information generating and displaying method
CN104199841A (en) * 2014-08-06 2014-12-10 武汉图歌信息技术有限责任公司 Video editing method for generating animation through pictures and splicing and composing animation and video clips
US20150293928A1 (en) * 2014-04-14 2015-10-15 David Mo Chen Systems and Methods for Generating Personalized Video Playlists
US20160014482A1 (en) * 2014-07-14 2016-01-14 The Board Of Trustees Of The Leland Stanford Junior University Systems and Methods for Generating Video Summary Sequences From One or More Video Segments
US20160358036A1 (en) * 2011-05-18 2016-12-08 Microsoft Technology Licensing, Llc Searching for Images by Video
CN106257447A (en) * 2015-06-17 2016-12-28 杭州海康威视系统技术有限公司 The video storage of cloud storage server and search method, video cloud storage system
CN106375862A (en) * 2016-09-22 2017-02-01 维沃移动通信有限公司 GIF picture acquisition method and apparatus, and terminal
CN107402019A (en) * 2016-05-19 2017-11-28 北京搜狗科技发展有限公司 The method, apparatus and server of a kind of video navigation
CN108170817A (en) * 2017-12-29 2018-06-15 努比亚技术有限公司 Differentiation video acquiring method, device and the readable storage medium storing program for executing of photo main body
CN108184060A (en) * 2017-12-29 2018-06-19 上海爱优威软件开发有限公司 A kind of method and terminal device of picture generation video
CN108197265A (en) * 2017-12-29 2018-06-22 深圳市视维科技股份有限公司 A kind of method and system based on short video search complete video

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060227223A1 (en) * 2005-03-01 2006-10-12 Hiroshi Nagata Image reproducing apparatus
US20160358036A1 (en) * 2011-05-18 2016-12-08 Microsoft Technology Licensing, Llc Searching for Images by Video
US20150293928A1 (en) * 2014-04-14 2015-10-15 David Mo Chen Systems and Methods for Generating Personalized Video Playlists
CN104008128A (en) * 2014-04-24 2014-08-27 深圳辉锐天眼科技有限公司 Automatic case information generating and displaying method
US20160014482A1 (en) * 2014-07-14 2016-01-14 The Board Of Trustees Of The Leland Stanford Junior University Systems and Methods for Generating Video Summary Sequences From One or More Video Segments
CN104199841A (en) * 2014-08-06 2014-12-10 武汉图歌信息技术有限责任公司 Video editing method for generating animation through pictures and splicing and composing animation and video clips
CN106257447A (en) * 2015-06-17 2016-12-28 杭州海康威视系统技术有限公司 The video storage of cloud storage server and search method, video cloud storage system
CN107402019A (en) * 2016-05-19 2017-11-28 北京搜狗科技发展有限公司 The method, apparatus and server of a kind of video navigation
CN106375862A (en) * 2016-09-22 2017-02-01 维沃移动通信有限公司 GIF picture acquisition method and apparatus, and terminal
CN108170817A (en) * 2017-12-29 2018-06-15 努比亚技术有限公司 Differentiation video acquiring method, device and the readable storage medium storing program for executing of photo main body
CN108184060A (en) * 2017-12-29 2018-06-19 上海爱优威软件开发有限公司 A kind of method and terminal device of picture generation video
CN108197265A (en) * 2017-12-29 2018-06-22 深圳市视维科技股份有限公司 A kind of method and system based on short video search complete video

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李海莹: "《数码照片变MTV 记录儿子成长点滴》", 《电脑爱好者》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110851625A (en) * 2019-10-16 2020-02-28 联想(北京)有限公司 Video creation method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109151557B (en) 2021-02-19

Similar Documents

Publication Publication Date Title
CN105843650A (en) Application program management method and device in intelligent terminal
CN108242837A (en) The method of the charging of electronic equipment and control electronics
CN108921918B (en) Video creation method and related device
CN110413282B (en) Redundant resource processing method, device, equipment and storage medium
CN108037999A (en) Resource allocation method and Related product
CN108804188A (en) Changing an interface skin method and device
CN111708557B (en) Method, device and storage medium for updating configuration file
CN106031157A (en) Electronic device and method for processing image
CN106296135A (en) Event-prompting method, device and terminal
CN106201624A (en) A kind of recommendation method of application program and terminal
CN111258680B (en) Resource loading method and device, storage medium and electronic device
CN107885535A (en) A kind of system start method, system switching method and device
CN107995099A (en) Friend recommendation method and device
CN108495043A (en) Image processing method and relevant apparatus
CN106412078B (en) Accurate information method for pushing, device and system
CN105871955A (en) Distributed file system-based processing method, server and client
CN110471738A (en) Method for switching theme, device, electronic equipment and the storage medium of application program
CN106293738A (en) The update method of a kind of facial expression image and device
CN105871695A (en) Emoji sending method and device
CN105573757B (en) The language update method and device of android system
CN109117153A (en) Processing method, device, terminal and the storage medium of application program
CN108876782A (en) Recall video creation method and relevant apparatus
CN108762983B (en) Multimedia data recovery method and device
CN107670276B (en) Game application control method and equipment
CN109542878A (en) A kind of list creation techniques and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant