CN108833787A - Method and apparatus for generating short-sighted frequency - Google Patents

Method and apparatus for generating short-sighted frequency Download PDF

Info

Publication number
CN108833787A
CN108833787A CN201810795656.5A CN201810795656A CN108833787A CN 108833787 A CN108833787 A CN 108833787A CN 201810795656 A CN201810795656 A CN 201810795656A CN 108833787 A CN108833787 A CN 108833787A
Authority
CN
China
Prior art keywords
video
user
icon
thumbnail
duration
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
CN201810795656.5A
Other languages
Chinese (zh)
Other versions
CN108833787B (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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201810795656.5A priority Critical patent/CN108833787B/en
Publication of CN108833787A publication Critical patent/CN108833787A/en
Application granted granted Critical
Publication of CN108833787B publication Critical patent/CN108833787B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The embodiment of the present application discloses the method and apparatus for generating short-sighted frequency.One specific embodiment of this method includes:Video record icon in the default interface of short video editing application is selected in response to user, local camera is opened and starts recorded video;In response to stopping recording icon in user's selection default interface during video record, stops recorded video, the corresponding thumbnail of the video of recording is presented on video thumbnails display area;The displaying local photo album icon in default interface is selected in response to user, opens photograph album interface;The video icon presented in photograph album interface is selected in response to user, and the corresponding thumbnail of video that user selects is presented on video thumbnails display area;It selects to generate short video icon in default interface in response to user, splices video corresponding to each thumbnail shown in video thumbnails display area, generate short-sighted frequency.This embodiment improves the freedom degrees of short video production.

Description

Method and apparatus for generating short-sighted frequency
Technical field
The invention relates to field of computer technology, and in particular to the method and apparatus for generating short-sighted frequency.
Background technique
Short-sighted frequency, also known as " short-movie video " refer to that playing duration is less than or equal to the view of preset duration (for example, 5 minutes) Frequently.Presently, there are the applications for largely generating short-sighted frequency, but source video sequence only can be in most of application for generating short-sighted frequency The one of which for the video that the video or selection that shooting obtains are locally stored, for this purpose, generally also only supporting to one of number (for example, addition special efficacy etc.) is edited according to the whole section of video in source, editing and processing can not be carried out to the different fragments in video, Cause the freedom degree of whole video production low, is unable to satisfy personalized and complicated short-sighted frequency authoring needs.
Summary of the invention
The embodiment of the present application proposes the method and apparatus for generating short-sighted frequency.
In a first aspect, the embodiment of the present application provides a kind of method for generating short-sighted frequency, this method includes:In response to It detects the selection operation of video record icon in default interface that user applies short video editing, opens local camera and open Beginning recorded video;In response to detecting that user grasps the selection for stopping recording icon in default interface during video record Make, stops recorded video, the corresponding thumbnail of the video of recording is presented on to the video thumbnails display area of default interface;It rings Ying Yu detects user to the selection operation for showing local photo album icon in default interface, and opening system is for showing local photograph album Photograph album interface;In response to detecting selection operation of the user to the video icon presented in photograph album interface, by user's selection The corresponding thumbnail of video indicated by video icon is presented on the video thumbnails display area of default interface;In response to detection To user to the selection operation for generating short video icon in default interface, splice each contracting shown in video thumbnails display area Video corresponding to sketch map generates short-sighted frequency.
In some embodiments, this method further includes:In response to detecting user to contracting in video thumbnails display area The selection operation of sketch map plays the corresponding video of thumbnail of user's selection in the video preview region of default interface.
In some embodiments, default interface further includes at least one special efficacy icon, a kind of each view of special efficacy icons association Frequency special efficacy;And open local camera and start recorded video, including:It is set as at least one special efficacy icon that shape not may be selected State, and open local camera and start recorded video.
In some embodiments, this method further includes:In response to detecting user to contracting in video thumbnails display area The selection operation of sketch map sets at least one special efficacy icon in default interface state may be selected.
In some embodiments, this method further includes:In response to detecting that user selects special effect graph target in default interface Operation is selected, to the associated special video effect of special efficacy icon of the corresponding video addition user's selection of the thumbnail of user's selection;Response In the clicking operation for detecting display area of the user in default interface except special efficacy icon, the thumbnail pair that user is selected The video answered is updated to the corresponding video of thumbnail of user's selection after addition special efficacy, and continues to broadcast in video preview region Put the corresponding video of thumbnail of user's selection.
In some embodiments, this method further includes:In response to determining that it is any that video thumbnails display area is not shown Thumbnail sets zero for current video duration;And open local camera and start recorded video, including:Open local take the photograph As head starts recorded video, during recorded video in the progress bar of default interface real-time display current video duration with The sum of recorded video duration, and in response to determine the sum of current video duration and recorded video duration reach pre- setting video it is total when It is long, stop recorded video, the corresponding thumbnail of the video of recording is presented on to the video thumbnails display area of default interface.
In some embodiments, stopping recorded video, the corresponding thumbnail of the video of recording is presented on default interface Video thumbnails display area after, this method further includes:Current video duration is updated to current video duration and is recorded The sum of the playing duration of video.
In some embodiments, the corresponding thumbnail of video indicated by the video icon of user's selection is presented on default The video thumbnails display area at interface, including:The difference of pre- setting video total duration and current video duration is determined as remaining view Frequency duration;Target video is presented in video intercepting interface, wherein target video is indicated by the video icon of user's selection Video;In response to detecting intercept operation of the user at video intercepting interface to target video, by the target video pair after interception The thumbnail answered is presented on the video thumbnails display area of default interface, wherein the corresponding duration of target video after interception Less than or equal to remaining video duration.
In some embodiments, the corresponding thumbnail of video obtains as follows:It extracts in video at least One key frame images;The corresponding thumbnail of video is generated at least one extracted key frame images.
Second aspect, the embodiment of the present application provide a kind of for generating the device of short-sighted frequency, which includes:Video record Unit processed is configured in response to detect the selection of video record icon in default interface that user applies short video editing Operation opens local camera and starts recorded video;First display unit is configured in response to examine during video record User is measured to the selection operation for stopping recording icon in default interface, stops recorded video, by the corresponding contracting of the video of recording Sketch map is presented on the video thumbnails display area of default interface;Photograph album opening unit is configured in response to detect user To the selection operation for showing local photo album icon in default interface, opening system is used to show the photograph album interface of local photograph album;The Two display units are configured in response to detect selection operation of the user to the video icon presented in photograph album interface, will use The corresponding thumbnail of video indicated by the video icon of family selection is presented on the video thumbnails display area of default interface;Depending on Frequency generation unit is configured in response to detect user to the selection operation for generating short video icon in default interface, splicing Video corresponding to each thumbnail shown in video thumbnails display area, generates short-sighted frequency.
In some embodiments, which further includes:Video playback unit is configured in response to detect user to view The selection operation of thumbnail in frequency thumbnail display area plays the breviary of user's selection in the video preview region of default interface Scheme corresponding video.
In some embodiments, default interface further includes at least one special efficacy icon, a kind of each view of special efficacy icons association Frequency special efficacy;And video record unit is further configured to be set as at least one special efficacy icon that state not may be selected, with And it opens local camera and starts recorded video.
In some embodiments, which further includes:First setting unit is configured in response to detect user to view The selection operation of thumbnail in frequency thumbnail display area, sets optional at least one special efficacy icon in default interface State.
In some embodiments, which further includes:Special efficacy adding unit is configured in response to detect user to silent Special effect graph target selection operation in interface is recognized, to the special efficacy icon of the corresponding video addition user's selection of the thumbnail of user's selection Associated special video effect;Video updating unit is configured in response to detect user in default interface except special efficacy icon Display area clicking operation, by user select the corresponding video of thumbnail be updated to addition special efficacy after user select The corresponding video of thumbnail, and continue video preview region play user selection the corresponding video of thumbnail.
In some embodiments, which further includes:Second setting unit is configured in response to determine video thumbnails Display area does not show any thumbnail, sets zero for current video duration;And video record unit is further matched It is set to:It opens local camera and starts recorded video, shown in real time in the progress bar of default interface during recorded video Show the sum of current video duration and recorded video duration, and in response to determining the sum of current video duration and recorded video duration Reach pre- setting video total duration, stops recorded video, the corresponding thumbnail of the video of recording is presented on to the video of default interface Thumbnail display area.
In some embodiments, which further includes:Duration updating unit is configured to stopping recorded video, will record The corresponding thumbnail of the video of system is presented on after the video thumbnails display area of default interface, and current video duration is updated For the sum of current video duration and the playing duration of video of recording.
In some embodiments, the second display unit is further configured to:By pre- setting video total duration and current video The difference of duration is determined as remaining video duration;Target video is presented in video intercepting interface, wherein target video is user's choosing Video indicated by the video icon selected;In response to detecting intercept operation of the user at video intercepting interface to target video, The corresponding thumbnail of target video after interception is presented on to the video thumbnails display area of default interface, wherein after interception The corresponding duration of target video be less than or equal to remaining video duration.
In some embodiments, the corresponding thumbnail of video obtains as follows:It extracts in video at least One key frame images;The corresponding thumbnail of video is generated at least one extracted key frame images.
The third aspect, the embodiment of the present application provide a kind of terminal device, including:One or more processors;Storage dress It sets, is stored thereon with one or more programs, when said one or multiple programs are executed by said one or multiple processors, So that said one or multiple processors realize the method as described in implementation any in first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey Sequence, wherein realized when the computer program is executed by one or more processors such as implementation description any in first aspect Method.
Method and apparatus provided by the embodiments of the present application for generating short-sighted frequency, it is silent by being applied in short video editing Recognize in interface and video record and local video are provided choose function, and user can repeatedly recorded video or choose local Video, and the multistage video that final splicing user records and locally chooses, thus by being edited simultaneously to multistage video Short-sighted frequency is obtained after splicing, improves the freedom degree of short video production, can satisfy the personalized and complexity short of user Video authoring needs.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is that one embodiment of the application can be applied to exemplary system architecture figure therein;
Fig. 2 is the flow chart according to one embodiment of the method for generating short-sighted frequency of the application;
Fig. 3 A-3E is the schematic diagram according to an application scenarios of the method for generating short-sighted frequency of the application;
Fig. 4 is the flow chart according to another embodiment of the method for generating short-sighted frequency of the application;
Fig. 5 is the flow chart according to another embodiment of the method for generating short-sighted frequency of the application;
Fig. 6 is the structural schematic diagram according to one embodiment of the device for generating short-sighted frequency of the application;
Fig. 7 is adapted for the structural schematic diagram for the computer system for realizing the terminal device of the embodiment of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 shows the method for generating short-sighted frequency or the device for generating short-sighted frequency that can apply the application The exemplary system architecture 100 of embodiment.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network 104 and server 105. Network 104 between terminal device 101,102,103 and server 105 to provide the medium of communication link.Network 104 can be with Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101,102,103 and be interacted by network 104 with server 105, to receive or send out Send message etc..Various telecommunication customer end applications can be installed, such as short video editing class is answered on terminal device 101,102,103 With, web browser applications, shopping class application, searching class application, instant messaging tools, mailbox client, social platform software Deng.
Terminal device 101,102,103 can be hardware, be also possible to software.When terminal device 101,102,103 is hard When part, it can be the various electronic equipments with camera and display screen, including but not limited to smart phone, tablet computer, knee Mo(u)ld top half portable computer and desktop computer etc..When terminal device 101,102,103 is software, above-mentioned institute may be mounted at In the electronic equipment enumerated.Multiple softwares or software module (such as providing short-sighted frequency editing service) may be implemented into it, Also single software or software module may be implemented into.It is not specifically limited herein.
Server 105 can be to provide the server of various services, such as to showing on terminal device 101,102,103 Short video editing class application provides the background server supported.Background server can to receive short video distribution request etc. Data carry out the processing such as analyzing, and processing result (such as issuing successful message) is fed back to terminal device.
It should be noted that for generating the method for short-sighted frequency generally by terminal device provided by the embodiment of the present application 101, it 102,103 executes, correspondingly, the device for generating short-sighted frequency is generally positioned in terminal device 101,102,103.
It should be noted that server 105 can be hardware, it is also possible to software.It, can when server 105 is hardware To be implemented as the distributed server cluster that multiple servers form, individual server also may be implemented into.When server is soft When part, multiple softwares or software module (such as providing short video distribution service) may be implemented into, list also may be implemented into A software or software module.It is not specifically limited herein.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization need It wants, can have any number of terminal device, network and server.
With continued reference to Fig. 2, it illustrates the streams according to one embodiment of the method for generating short-sighted frequency of the application Journey 200.The method for being used to generate short-sighted frequency, includes the following steps:
Step 201, in response to detecting the choosing of video record icon in default interface that user applies short video editing Operation is selected, local camera is opened and starts recorded video.
In the present embodiment, in the executing subject (such as terminal device shown in FIG. 1) for generating the method for short-sighted frequency Short video editing application can be installed, video record icon can be presented in the default interface of short video editing application.This In, above-mentioned executing subject can in detecting the default interface that user applies short video editing video record icon selection In the case where operation, opens local camera and start recorded video.Wherein, in the default interface that user applies short video editing The selection operation of video record icon can be it is any be related to the operation of video record icon, such as can be click, Finger slips over or long-pressing etc..
Step 202, in response to detecting choosing of the user to stopping recording icon in default interface during video record Operation is selected, stops recorded video, the corresponding thumbnail of the video of recording is presented on to the video thumbnails viewing area of default interface Domain.
In the present embodiment, stopping can also be presented in the default interface of short video editing application record icon, and It can also include video thumbnails display area in the default interface of short video editing application.Here, video thumbnails viewing area Domain is for showing the corresponding thumbnail of video.In this way, above-mentioned executing subject can detect user couple during video record In the case where the selection operation for stopping recording icon in default interface, stops recorded video first, then obtain the video of recording The corresponding thumbnail of the video of recording can be finally presented on the video thumbnails viewing area of default interface by corresponding thumbnail Domain.Wherein, the corresponding thumbnail of video may include at least frame image in video.
In some optional implementations of the present embodiment, the corresponding thumbnail of video can be to be obtained as follows It arrives:
The first step can extract at least one key frame images in video.For example, can be in video every designated frame Number extracts a frame image as key frame images.
Second step generates the corresponding thumbnail of video at least one extracted key frame images.For example, can by institute Vertical appearance sequence is from left to right in video according to each key frame images at least one key frame images extracted Arrangement generates the corresponding thumbnail of video.
In some optional implementations of the present embodiment, stop recording icon and can be being located at video record icon Two different icons of different location in the default interface of short video editing application.
In some optional implementations of the present embodiment, stops recording icon and be also possible to and video record icon position Two different icons of same position in the default interface of short video editing application.In this way, above-mentioned executing subject can be During video record, video record icon is not shown and shows stopping and records icon and do not show after stopping recorded video Stop recording icon and only showing video record icon.
It should be noted that above-mentioned executing subject can execute step 201 and step 202 repeated multiple timesly.
Step 203, in response to detecting that user to the selection operation for showing local photo album icon in default interface, opens system The photograph album interface united for showing local photograph album.
In the present embodiment, the local photo album icon of displaying can also be presented in the default interface of short video editing application. In this way, above-mentioned executing subject can detect the case where user is to the selection operation for showing local photo album icon in default interface Under, opening system is used to show the photograph album interface of local photograph album.In photograph album interface, above-mentioned executing subject local institute can be presented The icon of the image of storage and the icon of video, user can select some icon in photograph album interface and choose icon corresponding Image or video.
Step 204, in response to detecting selection operation of the user to the video icon presented in photograph album interface, user is selected The corresponding thumbnail of video indicated by the video icon selected is presented on the video thumbnails display area of default interface.
In the present embodiment, above-mentioned executing subject can detect user to the video icon presented in photograph album interface In the case where selection operation, video indicated by the video icon of user's selection is obtained first, then by acquired video pair The thumbnail answered is presented on the video thumbnails display area of the default interface of short video editing application.
It is understood that above-mentioned executing subject can execute step 203 and step 204 repeated multiple timesly.
Step 205, in response to detecting that user to the selection operation for generating short video icon in default interface, splices video Video corresponding to each thumbnail shown in thumbnail display area, generates short-sighted frequency.
In the present embodiment, it can also be presented in the default interface of short video editing application and generate short video icon.By One or more than one video thumbnails can be presented in video thumbnails display area, wherein each video thumbnails It is corresponding with video.In this way, above-mentioned executing subject can detect selection of the user to short video icon is generated in default interface In the case where operation, using view corresponding to each thumbnail shown in various implementations splicing video thumbnails display area Frequently, short-sighted frequency is generated.For example, the time that can be shown for the first time in video thumbnails display area according to each thumbnail is suitable Sequence splices video corresponding to each thumbnail.In another example can also be according to each thumbnail in video thumbnails display area The sequence of the position of display from left to right, splices video corresponding to each thumbnail.
It should be noted that it is above-mentioned for generate short-sighted frequency method can according to step 201, step 202, step 203, Step 204 and step 205 execute sequence, can also be according to step 203, step 204, step 201, step 202 and step 205 Execute sequence, sequence can also be executed according to step 205, step 201, step 202, step 203 and step 204, this Shen Please in the execution sequence between step 201, step 202, step 203, step 204 and step 205 is not specifically limited, it is real It tramples the different operation in the default interface that can be applied according to user to short video editing and generates the different sequences that executes, and And each step can also be performed a number of times in step 201, step 202, step 203, step 204 and step 205.
With continued reference to Fig. 3, Fig. 3 A- Fig. 3 D is the application scenarios according to the method for generating short-sighted frequency of the present embodiment One schematic diagram.In figure 3 a, local photo album icon, view are presented in the default interface of the short video editing application of terminal device Frequency records icon and video thumbnails display area 303, default circle that user applies in the short video editing of terminal device first Video record icon is clicked in face.Then, the local camera of terminal device unlatching starts recorded video.Later, Fig. 3 B's In application scenarios, user clicks stopping in the default interface that short video editing is applied and records icon, and terminal device stops record Video processed, and the corresponding thumbnail 302 of the video of recording is presented on to the video thumbnails display area 301 of default interface.Again Then, as shown in Figure 3 C, user clicks local photo album icon in the default interface that short video editing is applied.Later, as schemed Shown in 3D, terminal device opens the photograph album interface that system is used to show local photograph album, also, user clicks in photograph album interface Local video icon 303.Followed by, as shown in FIGURE 3 E, by the corresponding contracting of video indicated by the video icon 303 of user's selection Sketch map 304 is also presented in the video thumbnails display area 301 of default interface.Finally, user is in default circle as shown in FIGURE 3 E It is clicked in face and generates short video icon, then the terminal device splicing corresponding video of thumbnail 302 and the corresponding view of thumbnail 304 Short-sighted frequency generated is obtained after frequency.
The method provided by the above embodiment of the application is by providing video in the default interface that short video editing is applied It records and chooses function with local video, and user repeatedly recorded video or can choose local video, and final The multistage video that splicing user records and locally chooses, thus by carrying out editor to multistage video and being obtained after splicing Short-sighted frequency improves the freedom degree of short video production, can satisfy the personalization of user and the short-sighted frequency authoring needs of complexity.
With further reference to Fig. 4, it illustrates the processes 400 of another embodiment of the method for generating short-sighted frequency.It should For generating the process 400 of the method for short-sighted frequency, include the following steps:
Step 401, in response to detecting the choosing of video record icon in default interface that user applies short video editing Operation is selected, is set as at least one special efficacy icon that state not may be selected, local camera is opened and starts recorded video.
In the present embodiment, in the executing subject (such as terminal device shown in FIG. 1) for generating the method for short-sighted frequency Short video editing application can be installed, video record icon can be presented in the default interface of short video editing application, it is short It can also include at least one special efficacy icon in the default interface of video editing application, wherein each special efficacy icons association is a kind of Special video effect.In this way, above-mentioned executing subject can record video in detecting the default interface that user applies short video editing It in the case where target selection operation of charting, is set as at least one special efficacy icon that state not may be selected, and opens local take the photograph As head starts recorded video.
Here, the selection operation of video record icon can be any in the default interface that user applies short video editing It is a kind of to be related to the operation of video record icon, for example, can be click, finger slips over or long-pressing etc..
Here, the associated special video effect of special efficacy icon can be the video spy of any currently known or following exploitation Effect.
Here, if being set as at least one special efficacy icon that state not may be selected, user can not select special efficacy icon. Here, above-mentioned executing subject can be set as at least one special efficacy icon that state not may be selected using various implementations.Example Such as, at least one special efficacy icon can not be shown in default interface, alternatively, can also show that each special efficacy icon is corresponding not The special efficacy icon for the state of may be selected, for example, the grayscale image etc. of special display effect icon.
Step 402, in response to detecting choosing of the user to stopping recording icon in default interface during video record Operation is selected, stops recorded video, the corresponding thumbnail of the video of recording is presented on to the video thumbnails viewing area of default interface Domain.
In the present embodiment, the basic phase of operation of the concrete operations of step 402 and step 202 in embodiment shown in Fig. 2 Together, details are not described herein.
It should be noted that above-mentioned executing subject can execute step 401 and step 402 repeated multiple timesly.
Step 403, in response to detecting that user to the selection operation for showing local photo album icon in default interface, opens system The photograph album interface united for showing local photograph album.
Step 404, in response to detecting selection operation of the user to the video icon presented in photograph album interface, user is selected The corresponding thumbnail of video indicated by the video icon selected is presented on the video thumbnails display area of default interface.
In the present embodiment, the concrete operations of step 403 and step 404 and step 203 in embodiment shown in Fig. 2 and step Rapid 204 operation is essentially identical, and details are not described herein.
It should be noted that above-mentioned executing subject can execute step 403 and step 404 repeated multiple timesly.
Step 405, in response to detecting that user to the selection operation of thumbnail in video thumbnails display area, is defaulting It sets at least one special efficacy icon in interface state may be selected, and plays user in the video preview region of default interface The corresponding video of the thumbnail of selection.
It here, may include video preview region in the default interface of short video editing application, video preview region can be with Carry out video playing preview.In this way, above-mentioned executing subject can detect user to breviary in video thumbnails display area In the case where the selection operation of figure, set optional at least one special efficacy icon in the default interface of short video editing application Select state, and the default interface in short video editing application video preview region play user's selection thumbnail it is corresponding Video.
Here, if setting at least one special efficacy icon to state may be selected, user can choose special efficacy icon.On At least one special efficacy icon can be set to using various implementations that state may be selected by stating executing subject.For example, can be At least one special efficacy icon is shown in default interface, alternatively, the corresponding optional state of each special efficacy icon can also be shown Special efficacy icon, for example, the cromogram etc. of special display effect icon.
Step 406, in response to detecting contracting of the user to special effect graph target selection operation in default interface, to user's selection The associated special video effect of special efficacy icon of the corresponding video addition user's selection of sketch map.
In the present embodiment, above-mentioned executing subject can detect user to special effect graph target selection behaviour in default interface In the case where work, to the associated special video effect of special efficacy icon of the corresponding video addition user's selection of the thumbnail of user's selection.
Step 407, in response to detecting the clicking operation of display area of the user in default interface except special efficacy icon, The corresponding video of thumbnail that user selects is updated to the corresponding video of thumbnail of user's selection after addition special efficacy, and Continue to play the corresponding video of thumbnail of user's selection in video preview region.
In the present embodiment, above-mentioned executing subject can detect that user is aobvious except special efficacy icon in default interface In the case where the clicking operation for showing region, by user select the corresponding video of thumbnail be updated to addition special efficacy after user The corresponding video of the thumbnail of selection, and continue to play the corresponding video of thumbnail of user's selection in video preview region.
Optionally, above-mentioned executing subject can be will not show at least one special efficacy after step 407 in default interface Icon is set as that state not may be selected.
It should be noted that above-mentioned executing subject can execute step 405, step 406 and step 407 repeated multiple timesly.
For example, it is assumed that video thumbnails display area shows thumbnail 1 and thumbnail 2, user has selected thumbnail 1, Then above-mentioned executing subject is first in default interface by 3 special efficacy icons:Special efficacy icon 1, special efficacy icon 2 and special efficacy icon 3 are arranged For state may be selected, the corresponding video of thumbnail 1 then is played in the video preview region of default interface.Then, user selects Special efficacy icon 2, then the associated special video effect of special efficacy icon 2 can be added to the corresponding view of thumbnail 1 by above-mentioned executing subject Frequently.Later, user clicks the display area except 3 special efficacy icons, then above-mentioned executing subject can be corresponding by thumbnail 1 Video is updated to the corresponding video of thumbnail 1 after addition special efficacy, and continues corresponding in video preview region broadcasting thumbnail 1 Video.Subsequently, user has selected thumbnail 2, then above-mentioned executing subject is first in default interface by 3 special efficacy icons:It is special Effect icon 1, special efficacy icon 2 and special efficacy icon 3 are set as that state may be selected, and then play in the video preview region of default interface The corresponding video of thumbnail 2.Then, user has selected special efficacy icon 3, then special efficacy icon 3 can be associated with by above-mentioned executing subject Special video effect be added to the corresponding video of thumbnail 2.Later, user clicks the display area except 3 special efficacy icons, that Above-mentioned executing subject the corresponding video of thumbnail 2 can be updated to addition special efficacy after the corresponding video of thumbnail 2, and after Continue and plays the corresponding video of thumbnail 2 in video preview region.
Step 408, in response to detecting that user to the selection operation for generating short video icon in default interface, splices video Video corresponding to each thumbnail shown in thumbnail display area, generates short-sighted frequency.
In the present embodiment, the basic phase of operation of the concrete operations of step 408 and step 205 in embodiment shown in Fig. 2 Together, details are not described herein.
Figure 4, it is seen that the side for being used to generate short-sighted frequency compared with the corresponding embodiment of Fig. 2, in the present embodiment The process 400 of method, which has had more, is presented the step that special effect graph is marked with and adds special video effect to the corresponding video of thumbnail of user's selection Suddenly.More personalized and more complicated short-sighted frequency editting function may be implemented in the scheme of the present embodiment description as a result,.
With further reference to Fig. 5, it illustrates the processes 500 of another embodiment of the method for generating short-sighted frequency.It should For generating the process 500 of the method for short-sighted frequency, include the following steps:
Step 501, in response to determining that video thumbnails display area does not show any thumbnail, by current video duration It is set as zero.
In the present embodiment, in the executing subject (such as terminal device shown in FIG. 1) for generating the method for short-sighted frequency Short video editing application can be installed, may include video thumbnails viewing area in the default interface of short video editing application Domain, video thumbnails display area is for showing the corresponding thumbnail of video.If video thumbnails display area is not shown Any thumbnail shows that user does not record any video or user and do not select video in any local photograph album.So, Above-mentioned executing subject can be in response to determining that video thumbnails display area does not show any thumbnail, by current video duration It is set as zero.Here, current video duration is current each video thumbnails shown by video thumbnails display area The sum of the playing duration of corresponding video.
Step 502, in response to detecting the choosing of video record icon in default interface that user applies short video editing Operation is selected, is set as at least one special efficacy icon that state not may be selected, local camera is opened and starts recorded video, Yi Ji During recorded video in the progress bar of default interface the sum of real-time display current video duration and recorded video duration.
In the present embodiment, progress bar can be shown in the default interface of short video editing application.Here, progress bar is used In instruction the sum of current video duration and the duration of recorded video.In this way, above-mentioned executing subject can detect user to short In the default interface of video editing application in the case where the selection operation of video record icon, first by least one special efficacy icon It is set as that state not may be selected, is then turned on local camera and starts recorded video, and silent during recorded video Recognize the sum of real-time display current video duration and recorded video duration in the progress bar at interface.
Step 503, in response to determine the sum of current video duration and recorded video duration reach pre- setting video total duration and/ Or detect that user to the selection operation for stopping recording icon in default interface, stops recorded video, the video of recording is corresponding Thumbnail be presented on the video thumbnails display area of default interface.
In the present embodiment, above-mentioned executing subject can reach determining the sum of current video duration and recorded video duration Pre- setting video total duration and/or detect user in default interface stop record icon selection operation in the case where, stop The corresponding thumbnail of the video of recording is presented on the video thumbnails display area of default interface, has executed step by recorded video Step 504 is gone to after rapid 503.
Optionally, pre- setting video total duration can be the duration being set in advance by technical staff, for example, it can be set to being 1 Minute.
Optionally, above-mentioned executing subject can be provided for setting the interface of pre- setting video total duration, then above-mentioned The duration value of user's input is received in interface for setting pre- setting video total duration as pre- setting video total duration.
Step 504, current video duration is updated to the sum of the playing duration of video of current video duration and recording.
In the present embodiment, above-mentioned executing subject can stop recorded video, by the corresponding thumbnail of the video of recording It is presented on after the video thumbnails display area of default interface, current video duration is updated to current video duration and records The sum of the playing duration of video.
It should be noted that above-mentioned executing subject can execute step 502, step 503 and step 504 repeated multiple timesly.
Step 505, in response to detecting that user to the selection operation for showing local photo album icon in default interface, opens system The photograph album interface united for showing local photograph album.
In the present embodiment, the basic phase of operation of the concrete operations of step 505 and step 403 in embodiment shown in Fig. 4 Together, details are not described herein.
Step 506, in response to detecting selection operation of the user to the video icon presented in photograph album interface, by default view The difference of frequency total duration and current video duration is determined as remaining video duration.
In the present embodiment, above-mentioned executing subject can detect user to the video icon presented in photograph album interface In the case where selection operation, the difference of pre- setting video total duration and current video duration is determined as remaining video duration, has been executed Step 507 is executed after step 506.
Step 507, target video is presented in video intercepting interface.
In the present embodiment, above-mentioned executing subject can open video intercepting interface and at open video intercepting interface Target video is presented.Here, above-mentioned target video is indicated by user selects in photograph album interface in step 506 video icon Video, execute the step and execute step 508 after 507.
Here, user can carry out intercept operation to the video presented at video intercepting interface.
Step 508, in response to detecting intercept operation of the user at video intercepting interface to target video, after interception The corresponding thumbnail of target video is presented on the video thumbnails display area of default interface.
In the present embodiment, above-mentioned executing subject can cut target video at video intercepting interface detecting user In the case where extract operation, the corresponding thumbnail of target video after interception is presented on to the video thumbnails viewing area of default interface Domain.Wherein, the corresponding duration of target video after interception is less than or equal to remaining video duration.
It should be noted that above-mentioned executing subject can execute repeated multiple timesly step 505, step 506, step 507 and Step 508.
Step 509, in response to detecting that user to the selection operation of thumbnail in video thumbnails display area, is defaulting It sets at least one special efficacy icon in interface state may be selected, and plays user in the video preview region of default interface The corresponding video of the thumbnail of selection.
Step 510, in response to detecting contracting of the user to special effect graph target selection operation in default interface, to user's selection The associated special video effect of special efficacy icon of the corresponding video addition user's selection of sketch map.
Step 511, in response to detecting the clicking operation of display area of the user in default interface except special efficacy icon, The corresponding video of thumbnail that user selects is updated to the corresponding video of thumbnail of user's selection after addition special efficacy, and Continue to play the corresponding video of thumbnail of user's selection in video preview region.
Step 512, in response to detecting that user to the selection operation for generating short video icon in default interface, splices video Video corresponding to each thumbnail shown in thumbnail display area, generates short-sighted frequency.
In the present embodiment, the concrete operations of step 509, step 510, step 511 and step 512 and reality shown in Fig. 4 The operation for applying step 405 in example, step 406, step 407 and step 408 is essentially identical, and details are not described herein.
From figure 5 it can be seen that the side for being used to generate short-sighted frequency compared with the corresponding embodiment of Fig. 4, in the present embodiment The process 500 of method has had more the step of limiting the playing duration of short-sighted frequency generated.The present embodiment describes as a result, Scheme can control the playing duration of short-sighted frequency generated within pre- setting video total duration.
With further reference to Fig. 6, as the realization to method shown in above-mentioned each figure, it is short for generating that this application provides one kind One embodiment of the device of video, the Installation practice is corresponding with embodiment of the method shown in Fig. 2, which specifically can be with Applied in various electronic equipments.
As shown in fig. 6, the device 600 for generating short-sighted frequency of the present embodiment includes:Video record unit 601, first Display unit 602, photograph album opening unit 603, the second display unit 604 and video generation unit 605.Wherein, video record list Member 601 is configured in response to detect the selection of video record icon in default interface that user applies short video editing Operation opens local camera and starts recorded video;First display unit 602, is configured in response in video record process In detect above-mentioned user in above-mentioned default interface stop record icon selection operation, stop recorded video, by recording The corresponding thumbnail of video is presented on the video thumbnails display area of above-mentioned default interface;Photograph album opening unit 603, is configured At in response to detecting above-mentioned user to the selection operation for showing local photo album icon in above-mentioned default interface, opening system is used for Show the photograph album interface of local photograph album;Second display unit 604 is configured in response to detect above-mentioned user to above-mentioned photograph album The selection operation of the video icon presented in interface, the corresponding breviary of video indicated by the video icon that above-mentioned user is selected Figure is presented on the video thumbnails display area of above-mentioned default interface;Video generation unit 605 is configured in response to detect Above-mentioned user splices in above-mentioned video thumbnails display area the selection operation that short video icon is generated in above-mentioned default interface Video corresponding to each thumbnail of display, generates short-sighted frequency.
In the present embodiment, for generating video record unit 601, the first display unit of the device 600 of short-sighted frequency 602, the specific processing and its brought skill of photograph album opening unit 603, the second display unit 604 and video generation unit 605 Art effect can be related to step 205 with reference to step 201, step 202, step 203, step 204 in Fig. 2 corresponding embodiment respectively Illustrate, details are not described herein.
In some optional implementations of the present embodiment, above-mentioned apparatus can also include:Video playback unit (is not shown Out), be configured in response to detect above-mentioned user to the selection operation of thumbnail in above-mentioned video thumbnails display area, The video preview region of above-mentioned default interface plays the corresponding video of thumbnail of above-mentioned user's selection.
In some optional implementations of the present embodiment, above-mentioned default interface can also include at least one special effect graph Mark, a kind of each special video effect of special efficacy icons association;And above-mentioned video record unit can be further configured to:It will be above-mentioned At least one special efficacy icon is set as that state not may be selected, and opens local camera and start recorded video.
In some optional implementations of the present embodiment, above-mentioned apparatus can also include:First setting unit (does not show Out), be configured in response to detect above-mentioned user to the selection operation of thumbnail in above-mentioned video thumbnails display area, It sets at least one above-mentioned special efficacy icon in above-mentioned default interface state may be selected.
In some optional implementations of the present embodiment, above-mentioned apparatus can also include:Special efficacy adding unit (is not shown Out), it is configured in response to detect above-mentioned user to special effect graph target selection operation in above-mentioned default interface, to above-mentioned user The corresponding video of the thumbnail of selection adds the associated special video effect of special efficacy icon of above-mentioned user's selection;Video updating unit (not shown) is configured in response to detect display area of the above-mentioned user in above-mentioned default interface except special efficacy icon The corresponding video of thumbnail that above-mentioned user selects is updated to the contracting of the above-mentioned user selection after addition special efficacy by clicking operation The corresponding video of sketch map, and continue to play the corresponding video of thumbnail of above-mentioned user's selection in above-mentioned video preview region.
In some optional implementations of the present embodiment, above-mentioned apparatus can also include:Second setting unit (does not show Out), it is configured in response to determine that above-mentioned video thumbnails display area does not show any thumbnail, by current video duration It is set as zero;And above-mentioned video record unit can be further configured to:It opens local camera and starts recorded video, When the above-mentioned current video duration of real-time display is with recorded video in the progress bar of above-mentioned default interface during recorded video It is the sum of long, and reach pre- setting video total duration in response to the sum of the above-mentioned current video duration of determination and recorded video duration, stop The corresponding thumbnail of the video of recording is presented on the video thumbnails display area of above-mentioned default interface by only recorded video.
In some optional implementations of the present embodiment, above-mentioned apparatus can also include:Duration updating unit (does not show Out), it is configured to stopping recorded video, the video that the corresponding thumbnail of the video of recording is presented on above-mentioned default interface is contracted After sketch map display area, when above-mentioned current video duration is updated to the broadcasting of the video of above-mentioned current video duration and recording It is the sum of long.
In some optional implementations of the present embodiment, above-mentioned second display unit can be further configured to: The difference of above-mentioned pre- setting video total duration and above-mentioned current video duration is determined as remaining video duration;In video intercepting interface Target video is presented, wherein above-mentioned target video is video indicated by the video icon of above-mentioned user's selection;In response to detection To above-mentioned user at above-mentioned video intercepting interface to the intercept operation of above-mentioned target video, by the above-mentioned target video pair after interception The thumbnail answered is presented on the video thumbnails display area of above-mentioned default interface, wherein the above-mentioned target video pair after interception The duration answered is less than or equal to above-mentioned remaining video duration.
In some optional implementations of the present embodiment, the corresponding thumbnail of video can be to be obtained as follows It arrives:Extract at least one key frame images in video;It is corresponding that video is generated at least one extracted key frame images Thumbnail.
It should be noted that provided by the embodiments of the present application for generating the realization details of each unit in the device of short-sighted frequency Can be with reference to the explanation of other embodiments in the application with technical effect, details are not described herein.
Below with reference to Fig. 7, it illustrates the computer systems 700 for the terminal device for being suitable for being used to realize the embodiment of the present application Structural schematic diagram.Terminal device shown in Fig. 7 is only an example, should not function and use scope to the embodiment of the present application Bring any restrictions.
As shown in fig. 7, computer system 700 includes central processing unit (CPU, Central Processing Unit) 701, it can be according to the program being stored in read-only memory (ROM, Read Only Memory) 702 or from storage section 708 programs being loaded into random access storage device (RAM, Random Access Memory) 703 and execute various appropriate Movement and processing.In RAM 703, also it is stored with system 700 and operates required various programs and data.CPU 701,ROM 702 and RAM 703 is connected with each other by bus 704.Input/output (I/O, Input/Output) interface 705 is also connected to Bus 704.
I/O interface 705 is connected to lower component:Importation 706 including keyboard, mouse etc.;It is penetrated including such as cathode Spool (CRT, Cathode Ray Tube), liquid crystal display (LCD, Liquid Crystal Display) etc. and loudspeaker Deng output par, c 707;Storage section 708 including hard disk etc.;And including such as LAN (local area network, Local Area Network) the communications portion 709 of the network interface card of card, modem etc..Communications portion 709 is via such as internet Network executes communication process.Driver 710 is also connected to I/O interface 705 as needed.Detachable media 711, such as disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 710, in order to from the calculating read thereon Machine program is mounted into storage section 708 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communications portion 709, and/or from detachable media 711 are mounted.When the computer program is executed by central processing unit (CPU) 701, limited in execution the present processes Above-mentioned function.It should be noted that computer-readable medium described herein can be computer-readable signal media or Computer readable storage medium either the two any combination.Computer readable storage medium for example can be --- but Be not limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination. The more specific example of computer readable storage medium can include but is not limited to:Electrical connection with one or more conducting wires, Portable computer diskette, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only deposit Reservoir (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory Part or above-mentioned any appropriate combination.In this application, computer readable storage medium, which can be, any include or stores The tangible medium of program, the program can be commanded execution system, device or device use or in connection.And In the application, computer-readable signal media may include in a base band or the data as the propagation of carrier wave a part are believed Number, wherein carrying computer-readable program code.The data-signal of this propagation can take various forms, including but not It is limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer Any computer-readable medium other than readable storage medium storing program for executing, the computer-readable medium can send, propagate or transmit use In by the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to:Wirelessly, electric wire, optical cable, RF etc., Huo Zheshang Any appropriate combination stated.
The calculating of the operation for executing the application can be write with one or more programming languages or combinations thereof Machine program code, described program design language include object oriented program language-such as Java, Smalltalk, C+ +, further include conventional procedural programming language-such as " C " language or similar programming language.Program code can Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit also can be set in the processor, for example, can be described as:A kind of processor packet Include video record unit, the first display unit, photograph album opening unit, the second display unit and video generation unit.Wherein, these The title of unit does not constitute the restriction to the unit itself under certain conditions, for example, video record unit can also be retouched It states as " unit that the local camera of unlatching starts recorded video ".
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be Included in device described in above-described embodiment;It is also possible to individualism, and without in the supplying device.Above-mentioned calculating Machine readable medium carries one or more program, when said one or multiple programs are executed by the device, so that should Device:In response to detecting the selection operation of video record icon in default interface that user applies short video editing, open Local camera starts recorded video;In response to detecting user to stopping recording figure in default interface during video record Target selection operation stops recorded video, the corresponding thumbnail of the video of recording is presented on to the video thumbnails of default interface Display area;In response to detecting user to the selection operation for showing local photo album icon in default interface, opening system is used for Show the photograph album interface of local photograph album;In response to detecting selection operation of the user to the video icon presented in photograph album interface, The corresponding thumbnail of video indicated by the video icon of user's selection is presented on to the video thumbnails viewing area of default interface Domain;In response to detecting that user to the selection operation for generating short video icon in default interface, splices video thumbnails viewing area Video corresponding to each thumbnail shown in domain, generates short-sighted frequency.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (20)

1. a kind of method for generating short-sighted frequency, including:
In response to detecting the selection operation of video record icon in default interface that user applies short video editing, this is opened Ground camera starts recorded video;
In response to detecting that the user grasps the selection for stopping recording icon in the default interface during video record Make, stops recorded video, the corresponding thumbnail of the video of recording is presented on to the video thumbnails viewing area of the default interface Domain;
In response to detecting that the user to the selection operation for showing local photo album icon in the default interface, opens system and uses In the photograph album interface for showing local photograph album;
In response to detecting selection operation of the user to the video icon presented in the photograph album interface, the user is selected The corresponding thumbnail of video indicated by the video icon selected is presented on the video thumbnails display area of the default interface;
In response to detecting that the user to the selection operation for generating short video icon in the default interface, splices the video Video corresponding to each thumbnail shown in thumbnail display area, generates short-sighted frequency.
2. according to the method described in claim 1, wherein, the method also includes:
In response to detecting the user to the selection operation of thumbnail in the video thumbnails display area, in the default The video preview region at interface plays the corresponding video of thumbnail of user's selection.
3. according to the method described in claim 2, wherein, the default interface further includes at least one special efficacy icon, Mei Gete Imitate a kind of special video effect of icons association;And
The local camera of the unlatching starts recorded video, including:
It is set as at least one described special efficacy icon that state not may be selected, and opens local camera and start recorded video.
4. according to the method described in claim 3, wherein, the method also includes:
In response to detecting the user to the selection operation of thumbnail in the video thumbnails display area, in the default It sets at least one described special efficacy icon in interface state may be selected.
5. according to the method described in claim 4, wherein, the method also includes:
In response to detecting contracting of the user to special effect graph target selection operation in the default interface, to user selection The corresponding video of sketch map adds the associated special video effect of special efficacy icon of user's selection;
In response to detecting the clicking operation of display area of the user in the default interface except special efficacy icon, by institute The corresponding video of thumbnail for stating user's selection is updated to the corresponding view of thumbnail of the user selection after addition special efficacy Frequently, and continue to play the corresponding video of thumbnail of user's selection in the video preview region.
6. according to the method described in claim 5, wherein, the method also includes:
Any thumbnail is not shown in response to the determination video thumbnails display area, sets current video duration to Zero;And
The local camera of the unlatching starts recorded video, including:
It opens local camera and starts recorded video, during recorded video in the progress bar of the default interface in real time It shows the sum of the current video duration and recorded video duration, and in response to the determination current video duration and records view The sum of frequency duration reaches pre- setting video total duration, stops recorded video, the corresponding thumbnail of the video of recording is presented on described The video thumbnails display area of default interface.
7. according to the method described in claim 6, wherein, stopping recorded video, being in by the corresponding thumbnail of the video of recording After the video thumbnails display area of the present default interface, the method also includes:
The current video duration is updated to the sum of described current video duration and the playing duration of video of recording.
8. according to the method described in claim 7, wherein, video pair indicated by the video icon that the user is selected The thumbnail answered is presented on the video thumbnails display area of the default interface, including:
The difference of the pre- setting video total duration and the current video duration is determined as remaining video duration;
Target video is presented in video intercepting interface, wherein the target video is the video icon institute of user's selection The video of instruction;
In response to detecting intercept operation of the user at the video intercepting interface to the target video, after interception The corresponding thumbnail of the target video is presented on the video thumbnails display area of the default interface, wherein after interception The corresponding duration of the target video is less than or equal to the remaining video duration.
9. any method in -8 according to claim 1, wherein the corresponding thumbnail of video is to obtain as follows 's:
Extract at least one key frame images in video;
The corresponding thumbnail of video is generated at least one extracted key frame images.
10. it is a kind of for generating the device of short-sighted frequency, including:
Video record unit is configured in response to detect video record in default interface that user applies short video editing The selection operation of icon opens local camera and starts recorded video;
First display unit is configured in response to detect the user in the default interface during video record The selection operation for stopping recording icon, stops recorded video, the corresponding thumbnail of the video of recording is presented on default circle The video thumbnails display area in face;
Photograph album opening unit is configured in response to detect the user to the local photo album icon of displaying in the default interface Selection operation, opening system is used to show the photograph album interface of local photograph album;
Second display unit is configured in response to detect the user to the video icon presented in the photograph album interface The corresponding thumbnail of video indicated by video icon that the user selects is presented on the default interface by selection operation Video thumbnails display area;
Video generation unit is configured in response to detect the user to generating short video icon in the default interface Selection operation splices video corresponding to each thumbnail shown in the video thumbnails display area, generates short-sighted frequency.
11. device according to claim 10, wherein described device further includes:
Video playback unit is configured in response to detect the user to thumbnail in the video thumbnails display area Selection operation, play the corresponding video of thumbnail of user selection in the video preview region of the default interface.
12. device according to claim 11, wherein the default interface further includes at least one special efficacy icon, each A kind of special video effect of special efficacy icons association;And
The video record unit is further configured to:
It is set as at least one described special efficacy icon that state not may be selected, and opens local camera and start recorded video.
13. device according to claim 12, wherein described device further includes:
First setting unit is configured in response to detect the user to thumbnail in the video thumbnails display area Selection operation, in the default interface by least one described special efficacy icon be set as may be selected state.
14. device according to claim 13, wherein described device further includes:
Special efficacy adding unit is configured in response to detect the user to special effect graph target selection behaviour in the default interface Make, the associated special video effect of special efficacy icon of user's selection is added to the corresponding video of thumbnail of user selection;
Video updating unit is configured in response to detect that the user is aobvious except special efficacy icon in the default interface The clicking operation for showing region, the user corresponding video of thumbnail that the user selects being updated to after addition special efficacy The corresponding video of the thumbnail of selection, and the thumbnail for continuing to play user's selection in the video preview region is corresponding Video.
15. device according to claim 14, wherein described device further includes:
Second setting unit is configured in response to determine that the video thumbnails display area does not show any thumbnail, Zero is set by current video duration;And
The video record unit is further configured to:
It opens local camera and starts recorded video, during recorded video in the progress bar of the default interface in real time It shows the sum of the current video duration and recorded video duration, and in response to the determination current video duration and records view The sum of frequency duration reaches pre- setting video total duration, stops recorded video, the corresponding thumbnail of the video of recording is presented on described The video thumbnails display area of default interface.
16. device according to claim 15, wherein described device further includes:
Duration updating unit is configured to stopping recorded video, the corresponding thumbnail of the video of recording is presented on described silent Recognize after the video thumbnails display area at interface, the current video duration is updated to the current video duration and records The sum of the playing duration of video.
17. device according to claim 16, wherein second display unit is further configured to:
The difference of the pre- setting video total duration and the current video duration is determined as remaining video duration;
Target video is presented in video intercepting interface, wherein the target video is the video icon institute of user's selection The video of instruction;
In response to detecting intercept operation of the user at the video intercepting interface to the target video, after interception The corresponding thumbnail of the target video is presented on the video thumbnails display area of the default interface, wherein after interception The corresponding duration of the target video is less than or equal to the remaining video duration.
18. any device in 0-17 according to claim 1, wherein the corresponding thumbnail of video is as follows It obtains:
Extract at least one key frame images in video;
The corresponding thumbnail of video is generated at least one extracted key frame images.
19. a kind of terminal device, including:
One or more processors;
Storage device is stored thereon with one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors Realize the method as described in any in claim 1-9.
20. a kind of computer readable storage medium, is stored thereon with computer program, wherein the computer program is by one Or multiple processors realize the method as described in any in claim 1-9 when executing.
CN201810795656.5A 2018-07-19 2018-07-19 Method and apparatus for generating short video Active CN108833787B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810795656.5A CN108833787B (en) 2018-07-19 2018-07-19 Method and apparatus for generating short video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810795656.5A CN108833787B (en) 2018-07-19 2018-07-19 Method and apparatus for generating short video

Publications (2)

Publication Number Publication Date
CN108833787A true CN108833787A (en) 2018-11-16
CN108833787B CN108833787B (en) 2021-06-01

Family

ID=64140771

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810795656.5A Active CN108833787B (en) 2018-07-19 2018-07-19 Method and apparatus for generating short video

Country Status (1)

Country Link
CN (1) CN108833787B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110662104A (en) * 2019-09-30 2020-01-07 北京金山安全软件有限公司 Method and device for generating video dragging bar
CN110784652A (en) * 2019-11-15 2020-02-11 北京达佳互联信息技术有限公司 Video shooting method and device, electronic equipment and storage medium
WO2020062683A1 (en) * 2018-09-30 2020-04-02 北京微播视界科技有限公司 Video acquisition method and device, terminal and medium
CN112153288A (en) * 2020-09-25 2020-12-29 北京字跳网络技术有限公司 Method, apparatus, device and medium for distributing video or image
CN113015005A (en) * 2021-05-25 2021-06-22 腾讯科技(深圳)有限公司 Video clipping method, device and equipment and computer readable storage medium
CN113111195A (en) * 2021-03-31 2021-07-13 北京达佳互联信息技术有限公司 Multimedia information editing method and related device
CN113422912A (en) * 2021-05-25 2021-09-21 深圳市大头兄弟科技有限公司 Short video interaction generation method, device, equipment and storage medium
CN114697724A (en) * 2020-12-31 2022-07-01 华为技术有限公司 Media playing method and electronic equipment
WO2023160238A1 (en) * 2022-02-28 2023-08-31 荣耀终端有限公司 Image display method and related electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103700292A (en) * 2013-12-25 2014-04-02 广州鸿根信息科技有限公司 System for making teaching video
CN104811629A (en) * 2015-04-21 2015-07-29 上海极食信息科技有限公司 Method and system for acquiring video materials on same interface and conducting production on video materials
CN105262959A (en) * 2015-10-16 2016-01-20 北京易视通科技有限公司 Micro video generation system and method based on '' Internet + '' mode
CN106572380A (en) * 2016-10-19 2017-04-19 上海传英信息技术有限公司 User terminal and video dynamic thumbnail generating method
CN107256117A (en) * 2017-04-19 2017-10-17 上海卓易电子科技有限公司 The method and its mobile terminal of a kind of video editing
US20180176636A1 (en) * 2016-12-15 2018-06-21 Guangzhou Ucweb Computer Technology Co., Ltd Method, device, and electronic terminal for video recording

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103700292A (en) * 2013-12-25 2014-04-02 广州鸿根信息科技有限公司 System for making teaching video
CN104811629A (en) * 2015-04-21 2015-07-29 上海极食信息科技有限公司 Method and system for acquiring video materials on same interface and conducting production on video materials
CN105262959A (en) * 2015-10-16 2016-01-20 北京易视通科技有限公司 Micro video generation system and method based on '' Internet + '' mode
CN106572380A (en) * 2016-10-19 2017-04-19 上海传英信息技术有限公司 User terminal and video dynamic thumbnail generating method
US20180176636A1 (en) * 2016-12-15 2018-06-21 Guangzhou Ucweb Computer Technology Co., Ltd Method, device, and electronic terminal for video recording
CN107256117A (en) * 2017-04-19 2017-10-17 上海卓易电子科技有限公司 The method and its mobile terminal of a kind of video editing

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020062683A1 (en) * 2018-09-30 2020-04-02 北京微播视界科技有限公司 Video acquisition method and device, terminal and medium
GB2587544B (en) * 2018-09-30 2023-07-05 Beijing Microlive Vision Tech Co Ltd Video acquisition method and device, terminal and medium
GB2587544A (en) * 2018-09-30 2021-03-31 Beijing Microlive Vision Tech Co Ltd Video acquisition method and device, terminal and medium
US11670339B2 (en) 2018-09-30 2023-06-06 Beijing Microlive Vision Technology Co., Ltd Video acquisition method and device, terminal and medium
CN110662104B (en) * 2019-09-30 2022-05-31 北京金山安全软件有限公司 Video dragging bar generation method and device, electronic equipment and storage medium
CN110662104A (en) * 2019-09-30 2020-01-07 北京金山安全软件有限公司 Method and device for generating video dragging bar
US11165950B2 (en) 2019-11-15 2021-11-02 Beijing Dajia Internet Information Technology Co., Ltd. Method and apparatus for shooting video, and storage medium
CN110784652A (en) * 2019-11-15 2020-02-11 北京达佳互联信息技术有限公司 Video shooting method and device, electronic equipment and storage medium
WO2022063176A1 (en) * 2020-09-25 2022-03-31 北京字跳网络技术有限公司 Method and apparatus for publishing videos or images, device, and medium
CN112153288A (en) * 2020-09-25 2020-12-29 北京字跳网络技术有限公司 Method, apparatus, device and medium for distributing video or image
CN112153288B (en) * 2020-09-25 2023-10-13 北京字跳网络技术有限公司 Method, apparatus, device and medium for distributing video or image
EP4171013A4 (en) * 2020-09-25 2023-11-29 Beijing Zitiao Network Technology Co., Ltd. Method and apparatus for publishing videos or images, device, and medium
US11941708B2 (en) * 2020-09-25 2024-03-26 Beijing Zitiao Network Technology Co., Ltd. Method, apparatus, device and medium for posting a video or image
CN114697724A (en) * 2020-12-31 2022-07-01 华为技术有限公司 Media playing method and electronic equipment
CN113111195A (en) * 2021-03-31 2021-07-13 北京达佳互联信息技术有限公司 Multimedia information editing method and related device
WO2022205798A1 (en) * 2021-03-31 2022-10-06 北京达佳互联信息技术有限公司 Multimedia information editing method and apparatus therefor
CN113422912A (en) * 2021-05-25 2021-09-21 深圳市大头兄弟科技有限公司 Short video interaction generation method, device, equipment and storage medium
CN113015005B (en) * 2021-05-25 2021-08-31 腾讯科技(深圳)有限公司 Video clipping method, device and equipment and computer readable storage medium
CN113422912B (en) * 2021-05-25 2023-05-23 深圳市闪剪智能科技有限公司 Interactive generation method, device and equipment of short video and storage medium
CN113015005A (en) * 2021-05-25 2021-06-22 腾讯科技(深圳)有限公司 Video clipping method, device and equipment and computer readable storage medium
WO2023160238A1 (en) * 2022-02-28 2023-08-31 荣耀终端有限公司 Image display method and related electronic device

Also Published As

Publication number Publication date
CN108833787B (en) 2021-06-01

Similar Documents

Publication Publication Date Title
CN108833787A (en) Method and apparatus for generating short-sighted frequency
US11682150B2 (en) Systems and methods for publishing and/or sharing media presentations over a network
US11354022B2 (en) Multi-directional and variable speed navigation of collage multi-media
US8799300B2 (en) Bookmarking segments of content
US8364020B2 (en) Solution for capturing and presenting user-created textual annotations synchronously while playing a video recording
US20100005417A1 (en) Position editing tool of collage multi-media
CN110324718A (en) Audio-video generation method, device, electronic equipment and readable medium
CN110058854B (en) Method, terminal device and computer-readable medium for generating application
CN109547841A (en) Processing method, device and the electronic equipment of short video data
KR20180111981A (en) Edit real-time content with limited interaction
JP2023539815A (en) Minutes interaction methods, devices, equipment and media
US20210081595A1 (en) Position editing tool of collage multi-media
CN109862100A (en) Method and apparatus for pushed information
CN109743245A (en) The method and apparatus for creating group
CN112584250A (en) Video preview method and device, terminal equipment and storage medium
CN112752132A (en) Cartoon picture bullet screen display method and device, medium and electronic equipment
US10277538B2 (en) Method and apparatus for creating booklets and the use of the same
CN108984260B (en) Method and apparatus for handling information
CN115981769A (en) Page display method, device, equipment, computer readable storage medium and product
JP2024521940A (en) Multimedia processing method, apparatus, device and medium
KR101426918B1 (en) System for sharing gui edited by user, and apparatus for editing gui
CN110096392B (en) Method and device for outputting information
CN110703971A (en) Method and device for publishing information
CN110708574B (en) Method and device for publishing information
CN111258465B (en) Method and equipment for displaying and viewing information

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