WO2022037348A1 - 视频生成方法及装置 - Google Patents
视频生成方法及装置 Download PDFInfo
- Publication number
- WO2022037348A1 WO2022037348A1 PCT/CN2021/106911 CN2021106911W WO2022037348A1 WO 2022037348 A1 WO2022037348 A1 WO 2022037348A1 CN 2021106911 W CN2021106911 W CN 2021106911W WO 2022037348 A1 WO2022037348 A1 WO 2022037348A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- video
- cover
- target image
- image frame
- area
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 230000004044 response Effects 0.000 claims abstract description 88
- 230000002194 synthesizing effect Effects 0.000 claims abstract description 13
- 238000012545 processing Methods 0.000 claims description 42
- 238000003672 processing method Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 16
- 239000003550 marker Substances 0.000 description 11
- 238000004891 communication Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000015572 biosynthetic process Effects 0.000 description 3
- 238000003786 synthesis reaction Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000001308 synthesis method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/27—Server based end-user applications
- H04N21/274—Storing end-user multimedia data in response to end-user request, e.g. network recorder
- H04N21/2743—Video hosting of uploaded data from client
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/854—Content authoring
- H04N21/8549—Creating video summaries, e.g. movie trailer
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Definitions
- the present disclosure relates to the field of Internet technologies, and in particular, to a video generation method and apparatus.
- the user terminal uses the short video application to shoot the video to be processed, enters the cover editing interface to determine the video cover, and combines the video cover and the to-be-processed video into the target video.
- the proportion of the video cover is consistent with the proportion of the video to be processed, that is, the video cover and the video content in the target video are in the same proportion, and the proportion of the video cover cannot be adjusted.
- a video generation method including:
- the ratio of the target image frame is edited to obtain the video cover of the video to be processed
- the target video is obtained by synthesizing the video cover and the to-be-processed video.
- the ratio of the target image frame is edited to obtain a video cover, including:
- the cover editing interface includes at least a scale area and a preview area, the scale area is used to display a plurality of preset scales, and the preview area is used to display the target image frame;
- a cropping operation is performed on the target image frame in the preview area according to the current preset ratio to obtain the video cover of the to-be-processed video.
- performing a processing operation on the preview area according to the first preset ratio includes:
- a mask layer is added outside the video cover frame in the layer, and the preview image is displayed in the video cover frame.
- the cover editing interface further includes a thumbnail area; wherein the thumbnail area displays thumbnails of multiple image frames in the video to be processed;
- the acquisition of the target image frame in the video to be processed includes:
- a target image frame corresponding to the thumbnail is displayed in the preview area.
- the cover editing interface further includes a cover title style area; the cover title style area displays a variety of cover title styles;
- the method also includes:
- the method further includes adjusting the target image frame
- the adjusting the target image frame includes:
- the size of the target image frame is adjusted so that different preview images are displayed in the video cover frame.
- the method further includes:
- a processing operation is performed on the preview area according to the second preset ratio, and a preview image conforming to the second preset ratio is displayed in the preview area.
- the method in response to adding a cover title to the target image frame, the method further includes at least one of the following operations:
- a video generation apparatus including:
- an acquisition unit configured to acquire the target image frame in the video to be processed
- an editing unit configured to perform, in response to receiving an editing instruction for the target image frame, editing the ratio of the target image frame to obtain a video cover of the video to be processed;
- the synthesizing unit is configured to perform synthesizing the video cover and the to-be-processed video to obtain a target video.
- the editing unit includes:
- a display unit configured to display a cover editing interface; wherein, the cover editing interface includes at least a scale area and a preview area, the scale area is used to display a plurality of preset proportions, and the preview area is used to display the target image frame;
- a processing unit configured to perform a selection operation in response to a first preset scale in the scale area, perform a processing operation on the preview area according to the first preset scale, and display in the preview area a preview image of the first preset ratio;
- the cropping unit is configured to perform a cropping operation on the target image frame in the preview area according to the current preset ratio in response to the editing completion operation, so as to obtain the video cover of the video to be processed.
- processing unit is further configured to:
- a mask layer is added outside the video cover frame in the layer, and the preview image is displayed in the video cover frame.
- the cover editing interface further includes a thumbnail area; wherein the thumbnail area displays thumbnails of multiple image frames in the video to be processed;
- the acquiring unit is further configured to, in response to a selection operation of a thumbnail in the thumbnail area, display the target image frame corresponding to the thumbnail in the preview area.
- the cover editing interface further includes a cover title style area; the cover title style area displays a variety of cover title styles;
- the device also includes:
- the adding unit is configured to perform a selection operation of a cover title style in the cover title style area, display the cover title style in the preview area; perform an editing operation on the cover title style, and add a cover title.
- the apparatus further includes an adjustment unit configured to perform adjustment of the target image frame;
- the adjustment unit is specifically configured as:
- the size of the target image frame is adjusted so that different preview images are displayed in the video cover frame.
- the device also includes:
- a selection unit configured to perform a selection operation in response to a second preset scale in the scale area, and clear the processing operation performed on the preview area according to the first preset scale
- the processing unit is further configured to perform a processing operation on the preview area according to the second preset ratio, and display a preview image conforming to the second preset ratio in the preview area.
- the adjustment unit in response to the target image frame being added with a cover title, is further configured to perform at least one of the following operations:
- an electronic device including:
- a memory for storing the processor-executable instructions
- the processor is configured to execute the instructions to implement the video generation method of any one of the first aspects.
- a non-volatile storage medium when the instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute any one of the first aspect. video generation method.
- a computer program product that, when executed by a processor of an electronic device, can execute the video generation method according to any one of the first aspects.
- the present disclosure provides a video generation method, which can acquire a target image frame in a video to be processed and provide an editing instruction for editing the target image frame, and a short video application can respond to the editing instruction on the target image frame, so as to adjust the target image frame , so as to obtain a video cover with a different scale than the video to be processed. Synthesize the video cover and the to-be-processed video to obtain the target video.
- the present disclosure can adjust the ratio of the video cover, thereby synthesizing a target video having a different ratio between the video cover and the video to be processed, thereby improving flexibility.
- FIG. 1 is a flowchart of Embodiment 1 of a video generation method according to an exemplary embodiment
- FIG. 2 is a flowchart of Embodiment 2 of a video generation method according to an exemplary embodiment
- Fig. 3a is a schematic diagram showing a cover editing interface according to an exemplary embodiment
- Fig. 3b is a schematic diagram showing yet another cover editing interface according to an exemplary embodiment
- FIG. 4a is a schematic diagram of yet another cover page editing interface shown according to an exemplary embodiment
- Fig. 4b is a schematic diagram of yet another cover editing interface shown according to an exemplary embodiment
- FIG. 5 is a schematic diagram of yet another cover page editing interface shown according to an exemplary embodiment
- FIG. 6 is a flowchart of Embodiment 3 of a video generation method according to an exemplary embodiment
- FIG. 7 is a block diagram of a video generation apparatus according to an exemplary embodiment
- FIG. 8 is a block diagram of a non-volatile storage medium according to an exemplary embodiment
- Fig. 9 is a block diagram of an electronic device according to an exemplary embodiment.
- the ratio proposed in the present disclosure is the ratio of the width and height of the video to be processed, the target image frame, the video cover frame, and the video cover, and the following process will not be repeated.
- FIG. 1 is a flowchart of Embodiment 1 of a video generation method according to an exemplary embodiment.
- the video generation method is used in a short video application of a user terminal, and includes the following steps.
- step S101 a target image frame in the video to be processed is acquired.
- the user can shoot a video or select a video locally, and use the video as the video to be processed.
- the first image frame of the video frame to be processed is used as the target image frame, and an image frame from the video to be processed may also be selected as the target image frame in response to a user's selection operation.
- step S102 in response to receiving an editing instruction for the target image frame, the ratio of the target image frame is edited to obtain a video cover of the video to be processed.
- the target image frame still has the same scale as the video to be processed before the target image frame is not edited.
- the short video application can respond to the editing instruction of the target image frame, so that the scale of the target image frame can be edited, thereby adjusting the scale of the target image frame, so that the adjusted target image frame and the video to be processed have different scales .
- step S103 the video cover and the to-be-processed video are synthesized to obtain a target video.
- the video cover and the to-be-processed video are synthesized to obtain the target video.
- the video cover and the video content in the target video have different proportions.
- the present disclosure provides a video generation method, which can acquire a target image frame in a video to be processed and provide an editing instruction for editing the target image frame, and a short video application can respond to the editing instruction on the target image frame to adjust the image frame. ratio, so as to obtain a video cover with a different ratio than the video to be processed. Synthesize the video cover and the to-be-processed video to obtain the target video.
- the present disclosure can adjust the ratio of the video cover, thereby synthesizing a target video having a different ratio between the video cover and the video to be processed, thereby improving flexibility.
- FIG. 2 is a flowchart of Embodiment 2 of a video generation method according to an exemplary embodiment.
- the video generation method is used in a short video application of a user terminal, and includes the following steps.
- step S201 the video to be processed is acquired.
- the user can shoot a video or select a video locally, and use the video as the video to be processed.
- special effects may be added to the entire video to be processed or some video frames, or, of course, special effects may not be added to the video to be processed (determined by the user), and then the cover editing interface can be entered.
- the ratio of the target image frame is edited to obtain the video cover of the to-be-processed video, which may be achieved by adopting the following steps S202-204.
- step S202 the cover editing interface is displayed, and the target video frame is determined.
- a cover editing interface is displayed, wherein the cover editing interface includes at least a scale area and a preview area, the scale area is used for displaying a plurality of preset scales, and the preview area is used for displaying the target image frame.
- Fig. 3a is a schematic diagram of a cover editing interface according to an exemplary embodiment, the cover editing interface includes at least a scale area 11 and a preview area 12, the scale area 11 is used to display multiple preset scales, the The preview area is used to display the target image frame.
- Multiple preset ratios include original ratio, 1:1, 16:9, 9:16, 4:3 and/or 3:4, by default, the preview area will display the first image frame of the video to be processed, and , defaults to the original scale. It is also possible to select an image frame from the video to be processed as the target image frame in response to the user's selection operation, and the original scale is adopted by default.
- step S203 in response to the selection operation of the first preset scale in the scale area, a processing operation is performed on the preview area according to the first preset scale, and a display in the preview area that conforms to the first scale Preview image at preset scale.
- the user can click a preset ratio from the ratio area, which is called the first preset ratio for convenience of description.
- the user terminal In response to the selection operation of the first preset ratio, the user terminal performs a processing operation on the preview area according to the first preset ratio, and displays a preview image conforming to the first preset ratio in the preview area.
- This step can be implemented by the following steps:
- Step S1 In the preview area, construct a layer above the target image frame.
- Step S2 In the layer, with the center of the preview area as the center, construct a video cover frame conforming to the first preset ratio. See the video cover box in Figure 3b.
- Step S3 adding a mask layer outside the video cover frame in the layer, and displaying the preview image in the video cover frame.
- cropping is not performed directly on the target image frame, but a layer is added on the target image frame, and a video cover frame conforming to the first preset ratio is set on the layer, and the video cover frame is Transparent so that a preview image conforming to the first preset ratio can be displayed from within the video cover frame.
- the target image frame is still at its original scale.
- the mask layer has a certain perspective, and the user can still see the image outside the video cover frame in the target image frame through the mask layer, so that the user can adjust the target image frame according to their own preferences (by zooming or dragging). to adjust the target image frame), so that the desired preview image is displayed in the video cover frame.
- Fig. 3b is a schematic diagram of a cover editing interface according to an exemplary embodiment, the left side is the preview image of the preview area in the original ratio, and the right side is the preview of the preview area in the 9:16 (width:height) ratio image.
- the user can repeatedly click a certain preset ratio from the ratio area, and the short video application can repeatedly perform step S203.
- step S203 The following describes the process of repeatedly executing step S203 by taking the user selecting the second preset ratio after selecting the first preset ratio as an example.
- the short video application clears the processing operation performed on the preview area according to the first preset scale, and performs the preview according to the second preset scale.
- a processing operation is performed in the area, and a preview image conforming to the second preset ratio is displayed in the preview area.
- the second preset ratio is used as the first preset ratio, and S1-S3 are re-executed, thereby constructing a layer conforming to the second preset ratio, so that the preview area displays a preview image conforming to the second preset ratio.
- step S204 in response to the editing completion operation, a cropping operation is performed on the target image frame in the preview area according to the current preset ratio to obtain the video cover of the video to be processed.
- the short video application completes the operation in response to the editing, and determines the current preset ratio after adjusting the preset ratio one or more times, and the current target image frame in the preview area after adjusting the target image frame one or more times.
- a cropping operation is performed on the current target image frame in the preview area, so as to cut off redundant images, and only the preview image displayed in the preview area is retained. After cropping the target image frame, the video cover of the video to be processed is obtained.
- step S205 the video cover and the to-be-processed video are synthesized to obtain a target video.
- the present disclosure adds a scale area in the cover editing interface, and the scale area is used to display multiple preset scales for the user to select different preset scales.
- a preview image that conforms to the preset ratio is displayed in the preview area, and when the user clicks the edit to complete the operation, the current target image frame in the preview area can be executed according to the current preset ratio in response to the completion of the edit operation. Crop operation to get the video cover of the video to be processed.
- the present disclosure can adjust the ratio of the video cover, thereby synthesizing a target video having a different ratio between the video cover and the video to be processed, thereby improving flexibility.
- a step of adjusting the target image frame may be added after displaying the preview image conforming to the first preset ratio in the preview area in step S203.
- the adjusting the target image frame includes:
- the position of the target image frame is adjusted so that different preview images are displayed in the video cover frame.
- the user can perform a drag operation on the target image frame in the preview area, and the target image frame can change its position with the drag operation, so that different preview images are displayed in the video cover frame.
- the size of the target image frame is adjusted so that different preview images are displayed in the video cover frame.
- the user can perform a zoom-in gesture through the display screen (two sets of fingers are kept away from each other on the display screen), and the short video application performs a zoom-in operation on the target image frame in response to the zoom-in gesture.
- the user can perform a zoom-out gesture through the display screen (two groups of fingers are close to each other on the display screen), and the short video application performs a zoom-out operation on the target image frame in response to the zoom-out gesture.
- the size of the target image frame can be changed by zooming in and zooming out, so that different preview images are displayed in the video cover frame.
- Fig. 4a and Fig. 4b are schematic diagrams showing a cover editing interface according to an exemplary embodiment.
- the scale area further includes a first sign area for miniaturizing the scale area.
- the use of "retracted" indicates the first marking area.
- the short video application is further configured to hide the scale area and display a second mark area in response to the selection operation of the first mark area, and the second mark area is smaller than the scale area.
- Fig. 4b is a schematic diagram showing a cover page editing interface according to an exemplary embodiment, including a second identification area. "Scale” is used in Figure 4b to represent the second marker area.
- the short video application is further configured to hide the second marker area and display the scale area in response to the selection operation of the second marker area.
- the first marker area is the area marked with "stow”, after the user clicks on the first marker area, the scale area is hidden, and then the second marker area is displayed, that is, the area marked with "proportion" in FIG. 4b , in this way, the effect of collapsing multiple preset ratios can be realized, so as to present a more concise cover editing interface to the user.
- FIG. 5 is a schematic diagram of a cover editing interface according to an exemplary embodiment.
- the cover editing interface further includes a thumbnail area 13 and a cover title style area 14 .
- the thumbnail area displays thumbnails of multiple image frames in the video
- the cover title style area displays multiple cover title styles
- the cover title style area displays multiple cover title styles.
- the short video application may display the image frame corresponding to the thumbnail, that is, the target image frame, in the preview area in response to a selection operation of a thumbnail in the thumbnail area.
- the user can select different image frames from the thumbnail area according to their own preferences, and each time a thumbnail is selected, the preview area will be changed to the image frame corresponding to the thumbnail, that is, the target image frame.
- the preview area displays the target image frame instead of the thumbnail, in order to make the subsequent video cover clearer.
- step S203 may be re-entered, so as to readjust the preset ratio of the video cover frame.
- the short video application is further configured to display the cover title style in the preview area in response to a selection operation of a cover title style in the cover title style area, and perform an operation on the cover title style.
- the edit operation gets the cover title.
- the user can select different cover title styles to add to the preview area according to their own preferences, and can also edit the cover title style, that is, add text, adjust the position and size to the cover title style, and obtain the cover title after editing.
- Adding a cover title to the video cover can make the video cover more flexible and improve the user experience.
- the cover title can be adjusted at the same time as the target image frame is adjusted to realize synchronous adjustment.
- the cover title is controlled to move with the center point of the target image frame.
- the cover title in response to a zoom operation on the image frame, the cover title is controlled to perform a zoom operation following the target image frame, and the size of the cover title is adjusted.
- the position of the cover title in the first preset scale corresponds to the preview image, Adjust the position of the cover title in the preview image corresponding to the second preset ratio.
- the cover title is located at the center point (or the upper right corner), then in the preview image corresponding to the second preset ratio, the cover title is also adjusted to be located at the center point (or the upper right corner). angular position).
- FIG. 6 is a flow chart of Embodiment 2 of a video generation method according to an exemplary embodiment. As shown in FIG. 6 , the video generation method is used in a short video application of a user terminal, and includes the following steps.
- step S600 the latest scale data is downloaded from the server.
- the user terminal periodically downloads the latest ratio data from the server, and updates the local ratio data when the latest ratio data is inconsistent with the local ratio data, otherwise it does not update; wherein, the ratio data includes: original ratio, 1:1 , 16:9, 9:16, 4:3 and/or 3:4.
- step S601 after the video to be processed is determined in the short video application, a cover editing interface is displayed, and a target image frame is determined.
- the cover editing interface includes at least a scale area and a preview area, the scale area is used to display a plurality of preset scales, and the preview area is used to display the target image frame.
- step S602 in response to a selection operation of a first preset scale in the scale area, a processing operation is performed on the preview area according to the first preset scale, and a display in the preview area that conforms to the first scale Preview image at preset scale.
- step S603 in response to the editing completion operation, a cropping operation is performed on the target image frame in the preview area according to the current preset ratio to obtain the video cover of the video to be processed.
- step S601-step S603 may refer to step S202-step S204, and details are not repeated here.
- step S604 a target video is obtained by synthesizing the video cover and the video to be processed, and the target video is sent to the server.
- the user can match the target video with a text description, and send the target video and the text description to the server together. It can be understood that information such as the timestamp of the video cover in the to-be-processed video, the title style used by the video cover, the location where the title style is added, and the added content can also be sent.
- Fig. 7 is a block diagram of a video generating apparatus according to an exemplary embodiment.
- the apparatus includes an acquisition unit 71 , a determination module 72 and a synthesis unit 73 .
- the obtaining unit 71 is configured to obtain the target image frame in the video to be processed.
- the editing unit 72 is configured to perform, in response to receiving an editing instruction for the target image frame, editing the ratio of the target image frame to obtain a video cover of the video to be processed.
- the synthesis unit 73 is configured to perform synthesis of the video cover and the to-be-processed video to obtain a target video.
- the editing unit 72 includes:
- the display unit 721 is configured to execute a display cover editing interface; wherein, the cover editing interface includes at least a scale area and a preview area, the scale area is used to display a plurality of preset proportions, and the preview area is used to display the target image frame.
- the processing unit 722 is configured to perform a selection operation in response to a first preset scale in the scale area, perform a processing operation on the preview area according to the first preset scale, and display in the preview area a The preview image of the first preset ratio is described.
- the cropping unit 723 is configured to perform a cropping operation on the target image frame in the preview area according to the current preset ratio in response to the editing completion operation to obtain the video cover of the video to be processed.
- the proportional area further includes a first marking area for miniaturizing the proportional area
- the hiding unit 724 is configured to perform a selection operation in response to the first marker area, hide the scale area and display a second marker area, and the second marker area is smaller than the scale area; in response to the The selection operation of the second marker area hides the second marker area and displays the scale area.
- processing unit is further configured to:
- a mask layer is added outside the video cover frame in the layer, and the preview image is displayed in the video cover frame.
- the cover editing interface further includes a thumbnail area; wherein the thumbnail area displays thumbnails of multiple image frames in the video to be processed;
- the obtaining unit 71 is further configured to, in response to a selection operation of a thumbnail in the thumbnail area, display the target image frame corresponding to the thumbnail in the preview area.
- the cover editing interface further includes a cover title style area; the cover title style area displays a variety of cover title styles;
- the device also includes:
- the adding unit 725 is configured to perform a selection operation in response to a cover title style in the cover title style area, display the cover title style in the preview area; perform an editing operation on the cover title style, and add a cover title .
- the apparatus further includes an adjustment unit 726 configured to perform adjustment of the target image frame; wherein the adjustment of the target image frame includes:
- the size of the target image frame is adjusted so that different preview images are displayed in the video cover frame.
- the device also includes:
- a selection unit 727 configured to perform a selection operation in response to a second preset scale in the scale area, and clear the processing operation performed on the preview area according to the first preset scale;
- the processing unit 722 is further configured to perform a processing operation on the preview area according to the second preset ratio, and display a preview image conforming to the second preset ratio in the preview area.
- the adjustment unit 726 is further configured to perform at least one of the following operations:
- FIG. 8 is a block diagram of a non-volatile storage medium according to an exemplary embodiment.
- a non-volatile storage medium 800 including instructions such as a memory 810 including instructions, is also provided, and the instructions are executable by the processor 820 of the apparatus 800 to complete the video generation method described above.
- the non-volatile storage medium may be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape , floppy disks and optical data storage devices.
- FIG. 9 is a block diagram of an electronic device 900 according to an exemplary embodiment.
- the electronic device 900 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet fitness device, a personal digital assistant, and the like.
- an electronic device 900 may include one or more of the following components: a processing component 902, a memory 904, a power supply component 906, a multimedia component 908, an audio component 910, an input/output (I/O) interface 912, a sensor component 914 , and the communication component 916 .
- the processing component 902 generally controls the overall operation of the electronic device 900, such as operations associated with display, phone calls, data communications, camera operations, and recording operations.
- the processing component 902 may include one or more processors 920 to execute instructions to perform all or some of the steps of the methods described above.
- processing component 902 may include one or more modules to facilitate interaction between processing component 902 and other components.
- processing component 902 may include a multimedia module to facilitate interaction between multimedia component 908 and processing component 902.
- Memory 904 is configured to store various types of data to support operation at electronic device 900 .
- Examples of such data include instructions for any application or method operating on electronic device 900, contact data, phonebook data, messages, pictures, videos, and the like.
- Memory 904 may be implemented by any type of volatile or non-volatile storage device or combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
- SRAM static random access memory
- EEPROM electrically erasable programmable read only memory
- EPROM erasable Programmable Read Only Memory
- PROM Programmable Read Only Memory
- ROM Read Only Memory
- Magnetic Memory Flash Memory
- Magnetic or Optical Disk any type of volatile or non-volatile storage device or combination thereof.
- Power supply assembly 906 provides power to various components of electronic device 900 .
- Power supply components 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 900 .
- Multimedia component 908 includes a screen that provides an output interface between the electronic device 900 and the user.
- the screen may include a liquid crystal display (LCD) and a touch panel (TP).
- LCD liquid crystal display
- TP touch panel
- the screen may be implemented as a touch screen to receive input signals from a user.
- the touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel.
- the touch sensor may not only sense the boundaries of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action.
- the multimedia component 908 includes a front-facing camera and/or a rear-facing camera.
- the front camera and/or the rear camera may receive external multimedia data.
- Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.
- Audio component 910 is configured to output and/or input audio signals.
- audio component 910 includes a microphone (MIC) that is configured to receive external audio signals when electronic device 900 is in operating modes, such as calling mode, recording mode, and voice recognition mode. The received audio signal may be further stored in memory 904 or transmitted via communication component 916 .
- audio component 910 also includes a speaker for outputting audio signals.
- the I/O interface 912 provides an interface between the processing component 902 and a peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.
- Sensor assembly 914 includes one or more sensors for providing status assessments of various aspects of electronic device 900 .
- the sensor assembly 914 can detect the open/closed state of the electronic device 900, the relative positioning of the components, such as the display and the keypad of the electronic device 900, the sensor assembly 914 can also detect the electronic device 900 or one of the electronic devices 900 Changes in the position of components, presence or absence of user contact with the electronic device 900 , orientation or acceleration/deceleration of the electronic device 900 and changes in the temperature of the electronic device 900 .
- Sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact.
- Sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
- the sensor assembly 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
- Communication component 916 is configured to facilitate wired or wireless communication between apparatus 900 and other devices.
- Electronic device 900 may access wireless networks based on communication standards, such as WiFi, carrier networks (eg, 2G, 3G, 4G, or 5G), or a combination thereof.
- communication standards such as WiFi, carrier networks (eg, 2G, 3G, 4G, or 5G), or a combination thereof.
- the communication component 916 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel.
- the communication component 916 also includes a near field communication (NFC) module to facilitate short-range communication.
- NFC near field communication
- the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
- RFID radio frequency identification
- IrDA infrared data association
- UWB ultra-wideband
- Bluetooth Bluetooth
- electronic device 900 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programmed gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation is used to perform the above method.
- ASICs application specific integrated circuits
- DSPs digital signal processors
- DSPDs digital signal processing devices
- PLDs programmable logic devices
- FPGA field programmable A programmed gate array
- controller microcontroller, microprocessor or other electronic component implementation is used to perform the above method.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
一种视频生成方法及装置,其中方法包括:获取待处理视频中的目标图像帧;响应于接收到对所述目标图像帧的编辑指令,对所述目标图像帧的比例进行编辑得到所述待处理视频的视频封面;合成所述视频封面和所述待处理视频,获得目标视频。
Description
相关申请的交叉引用
本申请基于申请号为202010833590.1、申请日为2020年8月18日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
本公开涉及互联网技术领域,尤其涉及视频生成方法及装置。
目前应用市场中有许多短视频应用,用户终端可以安装短视频应用。用户终端使用短视频应用拍摄待处理视频并进入封面编辑界面确定视频封面,将视频封面与待处理视频合成目标视频。相关技术中,视频封面的比例与待处理视频的比例是一致的,也即目标视频中视频封面和视频内容为相同比例,无法调整视频封面的比例。
发明内容
根据本公开实施例的一方面,提供一种视频生成方法,包括:
获取待处理视频中的目标图像帧;
响应于接收到对所述目标图像帧的编辑指令,对所述目标图像帧的比例进行编辑得到所述待处理视频的视频封面;
合成所述视频封面和所述待处理视频,获得目标视频。
其中,所述响应于接收到对所述目标图像帧的编辑指令,对所述目标图像帧的比例进行编辑得到视频封面,包括:
展示封面编辑界面;其中,所述封面编辑界面至少包括比例区域和预览区域,所述比例区域用于展示多个预设比例,所述预览区域用于展示所述目标图像帧;
响应于所述比例区域中第一预设比例的选中操作,按照所述第一预设比例对所述预览区域执行处理操作,并在所述预览区域展示符合所述第一预设比例的预览图像;
响应于编辑完成操作,按当前的预设比例对所述预览区域中目标图像帧执行裁剪操作,获得所述待处理视频的视频封面。
其中,按照所述第一预设比例对所述预览区域执行处理操作包括:
在所述预览区域内,构建位于所述目标图像帧之上的图层;
在所述图层中,以所述预览区域的中心为中心,构建符合所述第一预设比例的视频封面框;
在所述图层中于所述视频封面框之外添加蒙层,且,所述视频封面框内展示所述预览图像。
其中,所述封面编辑界面还包括缩略图区域;其中所述缩略图区域展示所述待处理视频中多个图像帧的缩略图;
所述获取待处理视频中的目标图像帧,包括:
响应于所述缩略图区域中一幅缩略图的选中操作,在所述预览区域展示该缩略图对应的目标图像帧。
其中,所述封面编辑界面还包括封面标题样式区域;所述封面标题样式区域展示多种封面标题样式;
所述方法,还包括:
响应于所述封面标题样式区域中一个封面标题样式的选中操作,在所述预览区域展示所述封面标题样式;
对所述封面标题样式进行编辑操作,添加封面标题。
其中,所述方法,还包括调整所述目标图像帧;
其中所述调整所述目标图像帧包括:
响应于对所述目标图像帧的拖动操作,调整所述目标图像帧的位置,以使所述视频封面框内展示不同的预览图像;
和/或,
响应于对所述目标图像帧的缩放操作,调整所述目标图像帧的大小,以使所述视频封面框内展示不同的预览图像。
其中,所述方法,还包括:
响应于所述比例区域中第二预设比例的选中操作,清除按照所述第一预设比例对所述预览区域执行的处理操作;
按照所述第二预设比例对所述预览区域执行处理操作,并在所述预览区域展示符合所述第二预设比例的预览图像。
其中,响应于所述目标图像帧添加有封面标题,所述方法还包括以下操作的至少一个:
响应于对所述目标图像帧的拖动操作,控制所述封面标题跟随所述目标图像帧的中心点移动;
响应于对所述目标图像帧的缩放操作,对所述封面标题执行缩放操作,调整所述封面标题的大小;
响应于所述比例区域中第二预设比例的选中操作,按所述封面标题于所述第一预设比例中的位置关系,调整所述封面标题于所述第二预设比例中的位置。
根据本公开实施例的一方面,提供一种视频生成装置,包括:
获取单元,被配置为获取待处理视频中的目标图像帧;
编辑单元,被配置为执行响应于接收到对所述目标图像帧的编辑指令,对所述目标图像帧的比例进行编辑得到所述待处理视频的视频封面;
合成单元,被配置为执行合成所述视频封面和所述待处理视频,获得目标视频。
其中,所述编辑单元包括:
展示单元,被配置为执行展示封面编辑界面;其中,所述封面编辑界面至少包括比例区域和预览区域,所述比例区域用于展示多个预设比例,所述预览区域用于展示所述目标图像帧;
处理单元,被配置为执行响应于所述比例区域中第一预设比例的选中操作,按照所述第一预设比例对所述预览区域执行处理操作,并在所述预览区域展示符合所述第一预设比例的预览图像;
裁剪单元,被配置为执行响应于编辑完成操作,按当前的预设比例对所述预览区域中目标图像帧执行裁剪操作,获得所述待处理视频的视频封面。
其中,所述处理单元还被配置为:
在所述预览区域内,构建位于所述目标图像帧之上的图层;
在所述图层中,以所述预览区域的中心为中心,构建符合所述第一预设比例的视频封面框;
在所述图层中于所述视频封面框之外添加蒙层,且,所述视频封面框内展示所述预览图像。
其中,所述封面编辑界面还包括缩略图区域;其中所述缩略图区域展示所述待处理视频中多个图像帧的缩略图;
所述获取单元,还被配置为响应于所述缩略图区域中一幅缩略图的选中操作,在所述预览区域展示该缩略图对应的目标图像帧。
其中,所述封面编辑界面还包括封面标题样式区域;所述封面标题样式区域展示多种封面标题样式;
所述装置还包括:
添加单元,被配置为执行响应于所述封面标题样式区域中一个封面标题样式的选中操作,在所述预览区域展示所述封面标题样式;对所述封面标题样式进行编辑操作,添加封面标题。
其中,所述装置还包括调整单元,被配置为执行调整所述目标图像帧;
其中所述调整单元具体被配置为:
响应于对所述目标图像帧的拖动操作,调整所述目标图像帧的位置,以使所述视频封面框内展示不同的预览图像;
和/或,
响应于对所述目标图像帧的缩放操作,调整所述目标图像帧的大小,以使所述视频封面框内展示不同的预览图像。
其中,所述装置还包括:
选中单元,被配置为执行响应于所述比例区域中第二预设比例的选中操作,清除按照所述第一预设比例对所述预览区域执行的处理操作;
所述处理单元,还被配置为按照所述第二预设比例对所述预览区域执行处理操作,并在所述预览区域展示符合所述第二预设比例的预览图像。
其中,响应于所述目标图像帧添加有封面标题,所述调整单元还被配置为执行以下操作的至少一个:
响应于对所述目标图像帧的拖动操作,控制所述封面标题跟随所述目标图像帧的中心点移动;
响应于对所述目标图像帧的缩放操作,对所述封面标题执行缩放操作,调整所述封面标题的大小;
响应于所述比例区域中第二预设比例的选中操作,按所述封面标题于所述第一预设比例中的位置关系,调整所述封面标题于所述第二预设比例中的位置。
根据本公开实施例的一方面,提供一种电子设备,包括:
处理器;
用于存储所述处理器可执行指令的存储器;
其中,所述处理器被配置为执行所述指令,以实现第一方面中任一项所述的视频生成 方法。
根据本公开实施例的一方面,提供一种非易失性存储介质,当所述存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行第一方面中任一项所述的视频生成方法。
根据本公开实施例的一方面,提供一种计算机程序产品,计算机程序产品由电子设备的处理器执行时,能够执行第一方面中任一项所述的视频生成方法。
本公开提供一种视频生成方法,可以获取待处理视频中的目标图像帧并提供对目标图像帧进行编辑的编辑指令,短视频应用可以响应于对目标图像帧的编辑指令,以便调整目标图像帧的比例,从而获得与待处理视频不同比例的视频封面。合成视频封面和所述待处理视频,获得目标视频。
本公开可以调整视频封面比例,从而可以合成视频封面与待处理视频具有不同比例的目标视频,从而提高灵活性。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理,并不构成对本公开的不当限定。
图1是根据一示例性实施例示出的一种视频生成方法实施例一的流程图;
图2是根据一示例性实施例示出的一种视频生成方法实施例二的流程图;
图3a是根据一示例性实施例示出的一种封面编辑界面的示意图;
图3b是根据一示例性实施例示出的又一种封面编辑界面的示意图;
图4a是根据一示例性实施例示出的又一种封面编辑界面的示意图;
图4b是根据一示例性实施例示出的又一种封面编辑界面的示意图;
图5是根据一示例性实施例示出的又一种封面编辑界面的示意图;
图6是根据一示例性实施例示出的一种视频生成方法实施例三的流程图;
图7是根据一示例性实施例示出的一种视频生成装置框图;
图8是根据一示例性实施例示出的一种非易失性存储介质的框图;
图9是根据一示例性实施例示出的一种电子设备的框图。
为了使本领域普通人员更好地理解本公开的技术方案,下面将结合附图,对本公开实 施例中的技术方案进行清楚、完整地描述。
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开的实施例能够以除了在这里图示或描述的那些以外的顺序实施。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
需要指出的是,本公开中所提出的比例,为待处理视频、目标图像帧、视频封面框、视频封面的宽与高的比例,下述过程不再重复赘述。
图1是根据一示例性实施例示出的一种视频生成方法实施例一的流程图,视频生成方法用于用户终端的短视频应用中,包括以下步骤。
在步骤S101中,获取待处理视频中的目标图像帧。
在短视频应用中用户可以拍摄一段视频或者从本地选择一段视频,将该视频作为待处理视频。默认情况下,以待处理视频帧第一个图像帧作为目标图像帧,还可以响应于用户的选择操作,从待处理视频中选择一个图像帧作为目标图像帧。
在步骤S102中,响应于接收到对所述目标图像帧的编辑指令,对所述目标图像帧的比例进行编辑得到所述待处理视频的视频封面。
在未编辑目标图像帧之前目标图像帧仍然与待处理视频具有相同比例。在实施例中短视频应用可以响应于对目标图像帧的编辑指令,以便可以对目标图像帧的比例进行编辑,从而调整目标图像帧的比例,使得调整后目标图像帧与待处理视频具有不同比例。将调整后的目标图像帧作为待处理视频的视频封面。
在步骤S103中,合成所述视频封面和所述待处理视频,获得目标视频。
按照视频封面和待处理视频的合成方式,合成视频封面和待处理视频,从而获得目标视频。在实施例中,目标视频中视频封面与视频内容具有不同比例。
本公开提供一种视频生成方法,可以获取待处理视频中的目标图像帧并提供对目标图像帧进行编辑的编辑指令,短视频应用可以响应于对目标图像帧的编辑指令,以便调整图像帧的比例,从而获得与待处理视频不同比例的视频封面。合成视频封面和所述待处理视频,获得目标视频。
本公开可以调整视频封面比例,从而可以合成视频封面与待处理视频具有不同比例的目标视频,从而提高灵活性。
图2是根据一示例性实施例示出的一种视频生成方法实施例二的流程图,视频生成方法用于用户终端的短视频应用中,包括以下步骤。
在步骤S201中,获取待处理视频。
在短视频应用中用户可以拍摄一段视频或者从本地选择一段视频,将该视频作为待处理视频。在确定待处理视频后还可以对整个待处理视频或者部分视频帧添加特效,或者,当然也可以不对待处理视频添加特效(由用户个人决定),然后可以进入封面编辑界面。
响应于接收到对所述目标图像帧的编辑指令,对所述目标图像帧的比例进行编辑得到所述待处理视频的视频封面,可以采用下述步骤S202~204实现。
在步骤S202中,展示封面编辑界面,确定目标视频帧。
展示封面编辑界面,其中,所述封面编辑界面至少包括比例区域和预览区域,所述比例区域用于展示多个预设比例,所述预览区域用于展示所述目标图像帧。图3a是根据一示例性实施例示出的一种封面编辑界面的示意图,所述封面编辑界面至少包括比例区域11和预览区域12,所述比例区域11用于展示多个预设比例,所述预览区域用于展示所述目标图像帧。
多个预设比例包括原始比例、1:1、16:9、9:16、4:3和/或3:4,默认情况下,预览区域会展示待处理视频的第一个图像帧,且,默认采用原始比例。还可以响应于用户的选择操作,从待处理视频中选择一个图像帧作为目标图像帧,且,默认采用原始比例。
在步骤S203中,响应于所述比例区域中第一预设比例的选中操作,按照所述第一预设比例对所述预览区域执行处理操作,并在所述预览区域展示符合所述第一预设比例的预览图像。
用户可以从比例区域点击某一预设比例,为了便于描述,称为第一预设比例。用户终端会响应于第一预设比例的选中操作,然后按照第一预设比例对预览区域执行处理操作,并在预览区域展示符合第一预设比例的预览图像。
本步骤可以采用下述步骤来实现:
步骤S1:在所述预览区域内,构建位于所述目标图像帧之上的图层。
步骤S2:在所述图层中,以所述预览区域的中心为中心,构建符合所述第一预设比例的视频封面框。参见图3b中的视频封面框。
步骤S3:在所述图层中于所述视频封面框之外添加蒙层,且,所述视频封面框内展示所述预览图像。
在实施例中并未直接在目标图像帧上进行裁剪,而是,在目标图像帧之上添加图层, 在图层上设置有符合第一预设比例的视频封面框,视频封面框内为透明,以便可以从视频封面框内显示符合第一预设比例的预览图像。此情况下目标图像帧仍为原始比例。
在视频封面框外添加蒙层,这样可以突出预览图像。蒙层具有一定的透视性,用户仍然可以透过蒙层看到目标图像帧中视频封面框之外的图像,以便用户可以根据自己喜好来调整目标图像帧(采用缩放操作或拖动操作的方式来调整目标图像帧),从而使得视频封面框内显示所需要的预览图像。
图3b是根据一示例性实施例示出的一种封面编辑界面的示意图,左侧为预览区域在原始比例下的预览图像,右侧为预览区域在9:16(宽:高)比例下的预览图像。
可以理解的是,用户可以反复多次从比例区域点击某一预设比例,短视频应用可以重复执行步骤S203。
下面以用户在选中第一预设比例之后又选中第二预设比例为例,对重复执行步骤S203的过程进行介绍。
短视频应用响应于所述比例区域中第二预设比例的选中操作,清除按照所述第一预设比例对所述预览区域执行的处理操作,按照所述第二预设比例对所述预览区域执行处理操作,并在所述预览区域展示符合所述第二预设比例的预览图像。
参见S1-S3,由于在第一预设比例的情况下,已经在目标图像帧之上增加符合第一预设比例的图层,为了适应第二预设比例,需要清除按照第一预设比例对所述预览区域执行的处理操作,也即清除之前构建的符合第一预设比例的图层。
然后,将第二预设比例作为第一预设比例,重新执行S1-S3,从而构建符合第二预设比例的图层,使得预览区域展示符合第二预设比例的预览图像。
在步骤S204中,响应于编辑完成操作,按当前的预设比例对所述预览区域中目标图像帧执行裁剪操作,获得所述待处理视频的视频封面。
在用户点击封面编辑界面的确定区域,则表示用户触发编辑完成操作。短视频应用响应于编辑完成操作,并确定一次或多次调整预设比例后当前的预设比例,以及,一次或多次调整目标图像帧后预览区域中当前的目标图像帧。
按照当前的预设比例,对所述预览区域中当前的目标图像帧执行裁剪操作,以裁减掉多余图像,仅保留预览区域所显示的预览图像。对目标图像帧裁剪后获得待处理视频的视频封面。
在步骤S205中,合成所述视频封面和所述待处理视频,获得目标视频。
本公开在封面编辑界面添加比例区域,且,比例区域用于展示多个预设比例,以供用 户选择不同的预设比例。根据用户选中的预设比例,在预览区域展示符合预设比例的预览图像,在用户点击编辑完成操作,可以响应于编辑完成操作,按当前的预设比例对预览区域中当前的目标图像帧执行裁剪操作,获得待处理视频的视频封面。
本公开可以调整视频封面比例,从而可以合成视频封面与待处理视频具有不同比例的目标视频,从而提高灵活性。
为了使得视频封面框内的预览图像更加合适,可以在步骤S203中预览区域展示符合所述第一预设比例的预览图像之后,增加调整所述目标图像帧的步骤。
其中所述调整所述目标图像帧包括:
响应于对所述目标图像帧的拖动操作,调整所述目标图像帧的位置,以使所述视频封面框内展示不同的预览图像。用户可以在预览区域对目标图像帧执行拖动操作,目标图像帧可以随着拖动操作来改变位置,从而使得视频封面框内显示不同预览图像。
和/或,
响应于对所述目标图像帧的缩放操作,调整所述目标图像帧的大小,以使所述视频封面框内展示不同的预览图像。用户可以通过显示屏幕执行放大手势(两组手指在显示屏幕上彼此远离),短视频应用响应于放大手势,对目标图像帧执行放大操作。用户可以通过显示屏幕执行缩小手势(两组手指在显示屏幕上彼此靠近),短视频应用响应于缩小手势,对目标图像帧执行缩小操作。
通过放大操作和缩小操作可以改变目标图像帧的大小,从而使得视频封面框内显示不同预览图像。
图4a和图4b是根据一示例性实施例示出的一种封面编辑界面的示意图,在图3a基础上,所述比例区域内还包括用于小型化所述比例区域的第一标志区域,图4a中采用“收起”表示第一标志区域。
短视频应用还用于响应于所述第一标志区域的选中操作,隐藏所述比例区域并展示第二标志区域,且,所述第二标志区域小于所述比例区域。
图4b是根据一示例性实施例示出的一种封面编辑界面的示意图,包括第二标识区域。图4b中采用“比例”来表示第二标志区域。
短视频应用还用于响应于所述第二标志区域的选中操作,隐藏所述第二标志区域并展示所述比例区域。
参见图4a,第一标志区域也即标注有“收起”的区域,在用户点击第一标志区域后,隐藏比例区域,然后展示第二标志区域也即图4b中标注有“比例”的区域,这样可以实 现收起多个预设比例的效果,以便为用户展现更加简洁的封面编辑界面。
在用户点击图4b中的第二标志区域后,隐藏第二标志区域并显示比例区域,也即实现展开多个预设比例的效果,以供用户从多个不同的预设比例中选择需要的预设比例。
图5是根据一示例性实施例示出的一种封面编辑界面的示意图,所述封面编辑界面还包括缩略图区域13和封面标题样式区域14。其中所述缩略图区域展示所述视频中多个图像帧的缩略图,所述封面标题样式区域展示多种封面标题样式,所述封面标题样式区域展示多种封面标题样式。
在确定目标图像帧时,短视频应用可以响应于所述缩略图区域中一幅缩略图的选中操作,在所述预览区域展示该缩略图对应的图像帧,也即目标图像帧。
也即用户可以从缩略图区域根据自己喜好选择不同的图像帧,每次选中缩略图后,预览区域则会更改为缩略图对应的图像帧,也即目标图像帧。预览区域显示目标图像帧而非缩略图,是为了使得后续获得的视频封面更加清晰。
可以理解的是,在切换目标图像帧后可以重新进入步骤S203,以便重新调整视频封面框的预设比例。
在所述响应于编辑完成操作之前,短视频应用还用于响应于所述封面标题样式区域中一个封面标题样式的选中操作,在所述预览区域展示所述封面标题样式并对封面标题样式进行编辑操作获得封面标题。
也即用户可以根据自己喜好,选择不同的封面标题样式添加至预览区域,并且,还可以对封面标题样式进行编辑,也即为封面标题样式添加文字、调整位置和大小,编辑完成获得封面标题。为视频封面增加封面标题可以使得视频封面更加有灵活性,提升用户体验。
可以理解的是,在目标图像帧添加有封面标题的情况下,可以在调整目标图像帧的同时,一并对封面标题进行调整,实现同步调整。
在所述目标图像帧添加有封面标题的情况下,响应于对所述目标图像帧的拖动操作,控制所述封面标题跟随所述目标图像帧的中心点移动。
在所述目标图像帧添加有封面标题的情况下,响应于对所述图像帧的缩放操作,控制所述封面标题跟随所述目标图像帧执行缩放操作,调整所述封面标题的大小。
在所述目标图像帧添加有封面标题的情况下,响应于所述比例区域中第二预设比例的选中操作,按所述封面标题于所述第一预设比例对应预览图像中的位置,调整所述封面标题于所述第二预设比例对应预览图像的位置。
例如,在第一预设比例对应预览图像中,封面标题位于中心点位置(或者右上角位置), 则在第二预设比例对应的预览图像中,同样调整封面标题位于中心点位置(或右上角位置)。
图6是根据一示例性实施例示出的一种视频生成方法实施例二的流程图,如图6所示,视频生成方法用于用户终端的短视频应用中,包括以下步骤。
在步骤S600中,从服务器下载最新的比例数据。
用户终端定期从服务器下载最新的比例数据,在最新的比例数据与本地的比例数据不一致的情况下,更新本地的比例数据,否则不更新;其中,所述比例数据包括:原始比例、1:1、16:9、9:16、4:3和/或3:4。
在步骤S601中,在短视频应用中确定待处理视频后展示封面编辑界面,并确定目标图像帧。其中,所述封面编辑界面至少包括比例区域和预览区域,所述比例区域用于展示多个预设比例,所述预览区域用于展示所述目标图像帧。
在步骤S602中,响应于所述比例区域中第一预设比例的选中操作,按照所述第一预设比例对所述预览区域执行处理操作,并在所述预览区域展示符合所述第一预设比例的预览图像。
在步骤S603中,响应于编辑完成操作,按当前的预设比例对所述预览区域中目标图像帧执行裁剪操作,获得所述待处理视频的视频封面。
步骤S601-步骤S603的具体实现可以详见步骤S202-步骤S204,在此不再赘述。
在步骤S604中,合成所述视频封面和待处理视频获得目标视频,并发送目标视频至服务器。
在获得目标视频后,用户可以对目标视频搭配文字说明,一并发送目标视频和文字说明至服务器。可以理解的是,还可以发送视频封面于待处理视频中的时间戳、视频封面所使用的标题样式、标题样式添加位置以及添加的内容等信息。
图7是根据一示例性实施例示出的一种视频生成装置框图。参照图7,该装置包括获取单元71,确定模块72和合成单元73。
获取单元71,被配置为获取待处理视频中的目标图像帧。
编辑单元72,被配置为执行响应于接收到对所述目标图像帧的编辑指令,对所述目标图像帧的比例进行编辑得到所述待处理视频的视频封面。
合成单元73,被配置为执行合成所述视频封面和所述待处理视频,获得目标视频。
其中,所述编辑单元72包括:
展示单元721,被配置为执行展示封面编辑界面;其中,所述封面编辑界面至少包括 比例区域和预览区域,所述比例区域用于展示多个预设比例,所述预览区域用于展示所述目标图像帧。
处理单元722,被配置为执行响应于所述比例区域中第一预设比例的选中操作,按照所述第一预设比例对所述预览区域执行处理操作,并在所述预览区域展示符合所述第一预设比例的预览图像。
裁剪单元723,被配置为执行响应于编辑完成操作,按当前的预设比例对所述预览区域中目标图像帧执行裁剪操作,获得所述待处理视频的视频封面。
其中,所述比例区域内还包括用于小型化所述比例区域的第一标志区域;
隐藏单元724,被配置为执行响应于所述第一标志区域的选中操作,隐藏所述比例区域并展示第二标志区域,且,所述第二标志区域小于所述比例区域;响应于所述第二标志区域的选中操作,隐藏所述第二标志区域并展示所述比例区域。
其中,所述处理单元还被配置为:
在所述预览区域内,构建位于所述目标图像帧之上的图层;
在所述图层中,以所述预览区域的中心为中心,构建符合所述第一预设比例的视频封面框;
在所述图层中于所述视频封面框之外添加蒙层,且,所述视频封面框内展示所述预览图像。
所述封面编辑界面还包括缩略图区域;其中所述缩略图区域展示所述待处理视频中多个图像帧的缩略图;
所述获取单元71,还被配置为响应于所述缩略图区域中一幅缩略图的选中操作,在所述预览区域展示该缩略图对应的目标图像帧。
所述封面编辑界面还包括封面标题样式区域;所述封面标题样式区域展示多种封面标题样式;
所述装置还包括:
添加单元725,被配置为执行响应于所述封面标题样式区域中一个封面标题样式的选中操作,在所述预览区域展示所述封面标题样式;对所述封面标题样式进行编辑操作,添加封面标题。
所述装置还包括调整单元726,被配置为执行调整所述目标图像帧;其中所述调整所述目标图像帧包括:
响应于对所述目标图像帧的拖动操作,调整所述目标图像帧的位置,以使所述视频封 面框内展示不同的预览图像;
和/或,
响应于对所述目标图像帧的缩放操作,调整所述目标图像帧的大小,以使所述视频封面框内展示不同的预览图像。
所述装置还包括:
选中单元727,被配置为执行响应于所述比例区域中第二预设比例的选中操作,清除按照所述第一预设比例对所述预览区域执行的处理操作;
所述处理单元722,还被配置为按照所述第二预设比例对所述预览区域执行处理操作,并在所述预览区域展示符合所述第二预设比例的预览图像。
在所述目标图像帧添加有封面标题的情况下,所述调整单元726还被配置为执行以下操作的至少一个:
响应于对所述目标图像帧的拖动操作,控制所述封面标题跟随所述目标图像帧的中心点移动;
响应于对所述目标图像帧的缩放操作,对所述封面标题执行缩放操作,调整所述封面标题的大小;
响应于所述比例区域中第二预设比例的选中操作,按所述封面标题于所述第一预设比例中的位置关系,调整所述封面标题于所述第二预设比例中的位置。
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。
图8是根据一示例性实施例示出的一种非易失性存储介质的框图。
在示例性实施例中,还提供一种包括指令的非易失性存储介质800,例如包括指令的存储器810,上述指令可由装置800的处理器820执行以完成上述视频生成方法。在实施例中,非易失性存储介质可以是非临时性计算机可读存储介质,例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
图9是根据一示例性实施例示出的一种电子设备900的框图。例如,电子设备900可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备健身设备,个人数字助理等。
参照图9,电子设备900可以包括以下一个或多个组件:处理组件902,存储器904,电源组件906,多媒体组件908,音频组件910,输入/输出(I/O)的接口912,传感器组 件914,以及通信组件916。
处理组件902通常控制电子设备900的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件902可以包括一个或多个处理器920来执行指令,以完成上述的方法的全部或部分步骤。
此外,处理组件902可以包括一个或多个模块,便于处理组件902和其他组件之间的交互。例如,处理组件902可以包括多媒体模块,以方便多媒体组件908和处理组件902之间的交互。
存储器904被配置为存储各种类型的数据以支持在电子设备900的操作。这些数据的示例包括用于在电子设备900上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。
存储器904可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件906为电子设备900的各种组件提供电力。电源组件906可以包括电源管理系统,一个或多个电源,及其他与为电子设备900生成、管理和分配电力相关联的组件。
多媒体组件908包括在所述电子设备900和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。
如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。
在一些实施例中,多媒体组件908包括一个前置摄像头和/或后置摄像头。当电子设备900处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件910被配置为输出和/或输入音频信号。例如,音频组件910包括一个麦克风(MIC),当电子设备900处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器904或经由通信组件916发送。在一些实施例中,音频组件910还包括一个扬声器,用于输出 音频信号。
I/O接口912为处理组件902和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件914包括一个或多个传感器,用于为电子设备900提供各个方面的状态评估。例如,传感器组件914可以检测到电子设备900的打开/关闭状态,组件的相对定位,例如所述组件为电子设备900的显示器和小键盘,传感器组件914还可以检测电子设备900或电子设备900一个组件的位置改变,用户与电子设备900接触的存在或不存在,电子设备900方位或加速/减速和电子设备900的温度变化。
传感器组件914可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件914还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件914还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件916被配置为便于装置900和其他设备之间有线或无线方式的通信。电子设备900可以接入基于通信标准的无线网络,如WiFi,运营商网络(如2G、3G、4G或5G),或它们的组合。
在一个示例性实施例中,通信组件916经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件916还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,电子设备900可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可 以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。
本公开所有实施例均可以单独被执行,也可以与其他实施例相结合被执行,均视为本公开要求的保护范围。
Claims (18)
- 一种视频生成方法,包括:获取待处理视频中的目标图像帧;响应于接收到对所述目标图像帧的编辑指令,对所述目标图像帧的比例进行编辑得到所述待处理视频的视频封面;合成所述视频封面和所述待处理视频,获得目标视频。
- 如权利要求1所述的视频生成方法,其中,所述响应于接收到对所述目标图像帧的编辑指令,对所述目标图像帧的比例进行编辑得到视频封面,包括:展示封面编辑界面;其中,所述封面编辑界面至少包括比例区域和预览区域,所述比例区域用于展示多个预设比例,所述预览区域用于展示所述目标图像帧;响应于所述比例区域中第一预设比例的选中操作,按照所述第一预设比例对所述预览区域执行处理操作,并在所述预览区域展示符合所述第一预设比例的预览图像;响应于编辑完成操作,按当前的预设比例对所述预览区域中目标图像帧执行裁剪操作,获得所述待处理视频的视频封面。
- 如权利要求2所述的视频生成方法,其中,所述按照所述第一预设比例对所述预览区域执行处理操作包括:在所述预览区域内,构建位于所述目标图像帧之上的图层;在所述图层中,以所述预览区域的中心为中心,构建符合所述第一预设比例的视频封面框;在所述图层中于所述视频封面框之外添加蒙层,且,所述视频封面框内展示所述预览图像。
- 如权利要求2所述的视频生成方法,其中,所述封面编辑界面还包括缩略图区域;其中所述缩略图区域展示所述待处理视频中多个图像帧的缩略图;所述获取待处理视频中的目标图像帧,包括:响应于所述缩略图区域中一幅缩略图的选中操作,在所述预览区域展示该缩略图对应的目标图像帧。
- 如权利要求2所述的视频生成方法,其中,所述封面编辑界面还包括封面标题样式区域;所述封面标题样式区域展示多种封面标题样式;所述视频生成方法还包括:响应于所述封面标题样式区域中一个封面标题样式的选中操作,在所述预览区域展示所述封面标题样式;对所述封面标题样式进行编辑操作,添加封面标题。
- 如权利要求2所述的图像处理方法,还包括调整所述目标图像帧;其中所述调整所述目标图像帧包括:响应于对所述目标图像帧的拖动操作,调整所述目标图像帧的位置,以使所述视频封面框内展示不同的预览图像;和/或,响应于对所述目标图像帧的缩放操作,调整所述目标图像帧的大小,以使所述视频封面框内展示不同的预览图像。
- 如权利要求5所述的视频生成方法,还包括:响应于所述比例区域中第二预设比例的选中操作,清除按照所述第一预设比例对所述预览区域执行的处理操作;按照所述第二预设比例对所述预览区域执行处理操作,并在所述预览区域展示符合所述第二预设比例的预览图像。
- 如权利要求7所述的视频生成方法,其中,响应于所述目标图像帧添加有封面标题,所述方法还包括以下操作的至少一个:响应于对所述目标图像帧的拖动操作,控制所述封面标题跟随所述目标图像帧的中心点移动;响应于对所述目标图像帧的缩放操作,对所述封面标题执行缩放操作,控制所述封面标题跟随所述目标图像帧执行缩放操作;响应于所述比例区域中第二预设比例的选中操作,按所述封面标题于所述第一预设比例对应预览图像中的位置,调整所述封面标题于所述第二预设比例对应预览图像的位置。
- 一种视频生成装置,包括:获取单元,被配置为获取待处理视频中的目标图像帧;编辑单元,被配置为执行响应于接收到对所述目标图像帧的编辑指令,对所述目标图像帧的比例进行编辑得到所述待处理视频的视频封面;合成单元,被配置为执行合成所述视频封面和所述待处理视频,获得目标视频。
- 如权利要求9所述的视频生成装置,其中,所述编辑单元包括:展示单元,被配置为执行展示封面编辑界面;其中,所述封面编辑界面至少包括比例 区域和预览区域,所述比例区域用于展示多个预设比例,所述预览区域用于展示所述目标图像帧;处理单元,被配置为执行响应于所述比例区域中第一预设比例的选中操作,按照所述第一预设比例对所述预览区域执行处理操作,并在所述预览区域展示符合所述第一预设比例的预览图像;裁剪单元,被配置为执行响应于编辑完成操作,按当前的预设比例对所述预览区域中目标图像帧执行裁剪操作,获得所述待处理视频的视频封面。
- 如权利要求10所述的视频生成装置,其中,所述处理单元还被配置为:在所述预览区域内,构建位于所述目标图像帧之上的图层;在所述图层中,以所述预览区域的中心为中心,构建符合所述第一预设比例的视频封面框;在所述图层中于所述视频封面框之外添加蒙层,且,所述视频封面框内展示所述预览图像。
- 如权利要求10所述的视频生成装置,其中,所述封面编辑界面还包括缩略图区域;其中所述缩略图区域展示所述待处理视频中多个图像帧的缩略图;所述获取单元,还被配置为响应于所述缩略图区域中一幅缩略图的选中操作,在所述预览区域展示该缩略图对应的目标图像帧。
- 如权利要求10所述的视频生成装置,其中,所述封面编辑界面还包括封面标题样式区域;所述封面标题样式区域展示多种封面标题样式;所述装置还包括:添加单元,被配置为执行响应于所述封面标题样式区域中一个封面标题样式的选中操作,在所述预览区域展示所述封面标题样式;对所述封面标题样式进行编辑操作,添加封面标题。
- 如权利要求10所述的图像处理装置,其中,所述装置还包括调整单元,被配置为执行调整所述目标图像帧;其中所述调整单元具体被配置为:响应于对所述目标图像帧的拖动操作,调整所述目标图像帧的位置,以使所述视频封面框内展示不同的预览图像;和/或,响应于对所述目标图像帧的缩放操作,调整所述目标图像帧的大小,以使所述视频封 面框内展示不同的预览图像。
- 如权利要求13所述的视频生成装置,其中,所述装置还包括:选中单元,被配置为执行响应于所述比例区域中第二预设比例的选中操作,清除按照所述第一预设比例对所述预览区域执行的处理操作;所述处理单元,还被配置为按照所述第二预设比例对所述预览区域执行处理操作,并在所述预览区域展示符合所述第二预设比例的预览图像。
- 如权利要求15所述的视频生成装置,其中,响应于所述目标图像帧添加有封面标题,所述调整单元还被配置为执行以下操作的至少一个:响应于对所述目标图像帧的拖动操作,控制所述封面标题跟随所述目标图像帧的中心点移动;响应于对所述目标图像帧的缩放操作,对所述封面标题执行缩放操作,调整所述封面标题的大小;响应于所述比例区域中第二预设比例的选中操作,按所述封面标题于所述第一预设比例中的位置关系,调整所述封面标题于所述第二预设比例中的位置。
- 一种电子设备,包括:处理器;用于存储所述处理器可执行指令的存储器;其中,所述处理器被配置为执行所述指令,以实现以下步骤:获取待处理视频中的目标图像帧;响应于接收到对所述目标图像帧的编辑指令,对所述目标图像帧的比例进行编辑得到所述待处理视频的视频封面;合成所述视频封面和所述待处理视频,获得目标视频。
- 一种非易失性存储介质,所述存储介质中的指令响应于由电子设备的处理器执行,使得电子设备能够执行以下步骤:获取待处理视频中的目标图像帧;响应于接收到对所述目标图像帧的编辑指令,对所述目标图像帧的比例进行编辑得到所述待处理视频的视频封面;合成所述视频封面和所述待处理视频,获得目标视频。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010833590.1 | 2020-08-18 | ||
CN202010833590.1A CN111918131A (zh) | 2020-08-18 | 2020-08-18 | 视频生成方法及装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022037348A1 true WO2022037348A1 (zh) | 2022-02-24 |
Family
ID=73279454
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/106911 WO2022037348A1 (zh) | 2020-08-18 | 2021-07-16 | 视频生成方法及装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111918131A (zh) |
WO (1) | WO2022037348A1 (zh) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111918131A (zh) * | 2020-08-18 | 2020-11-10 | 北京达佳互联信息技术有限公司 | 视频生成方法及装置 |
CN112689187A (zh) * | 2020-12-17 | 2021-04-20 | 北京达佳互联信息技术有限公司 | 视频处理方法及装置、电子设备及存储介质 |
CN113065319B (zh) * | 2021-03-23 | 2023-11-28 | 北京达佳互联信息技术有限公司 | 文本生成方法及装置 |
CN113157972B (zh) * | 2021-04-14 | 2023-09-19 | 北京达佳互联信息技术有限公司 | 视频封面文案的推荐方法、装置、电子设备及存储介质 |
CN113918766B (zh) * | 2021-08-12 | 2023-10-13 | 荣耀终端有限公司 | 视频缩略图的显示方法、设备和存储介质 |
CN114666669B (zh) * | 2022-03-10 | 2024-03-19 | 北京达佳互联信息技术有限公司 | 视频处理方法、装置、设备及存储介质 |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103150745A (zh) * | 2011-12-06 | 2013-06-12 | 腾讯科技(深圳)有限公司 | 在线编辑图片的方法和装置 |
CN104103085A (zh) * | 2013-04-11 | 2014-10-15 | 三星电子株式会社 | 屏幕图像中的对象 |
CN105335925A (zh) * | 2014-07-30 | 2016-02-17 | 北京畅游天下网络技术有限公司 | 一种图片的裁剪方法和浏览器装置 |
US20170178685A1 (en) * | 2015-12-22 | 2017-06-22 | Le Holdings (Beijing) Co., Ltd. | Method for intercepting video animation and electronic device |
CN108875670A (zh) * | 2018-06-28 | 2018-11-23 | 咪咕动漫有限公司 | 信息处理方法、装置和存储介质 |
WO2019071548A1 (zh) * | 2017-10-13 | 2019-04-18 | 深圳传音通讯有限公司 | 终端拍照控制方法、移动终端及可读储存介质 |
CN305751071S (zh) * | 2019-11-15 | 2020-05-01 | ||
CN111918131A (zh) * | 2020-08-18 | 2020-11-10 | 北京达佳互联信息技术有限公司 | 视频生成方法及装置 |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009244415A (ja) * | 2008-03-28 | 2009-10-22 | Sanyo Electric Co Ltd | 投写型映像表示装置 |
CN106021405A (zh) * | 2016-05-12 | 2016-10-12 | 北京奇虎科技有限公司 | 生成相册封面的方法及装置 |
CN110392280A (zh) * | 2018-04-18 | 2019-10-29 | 北京视联动力国际信息技术有限公司 | 一种视频封面的更换方法和装置 |
CN109815352B (zh) * | 2019-01-17 | 2021-07-09 | 网易传媒科技(北京)有限公司 | 封面图像选取方法、介质、装置和计算设备 |
CN110377204B (zh) * | 2019-06-30 | 2021-07-09 | 华为技术有限公司 | 一种生成用户头像的方法及电子设备 |
TW202103021A (zh) * | 2019-07-12 | 2021-01-16 | 大陸商信泰光學(深圳)有限公司 | 視訊封面編輯方法、系統及其電腦程式產品 |
CN110399848A (zh) * | 2019-07-30 | 2019-11-01 | 北京字节跳动网络技术有限公司 | 视频封面生成方法、装置及电子设备 |
-
2020
- 2020-08-18 CN CN202010833590.1A patent/CN111918131A/zh active Pending
-
2021
- 2021-07-16 WO PCT/CN2021/106911 patent/WO2022037348A1/zh active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103150745A (zh) * | 2011-12-06 | 2013-06-12 | 腾讯科技(深圳)有限公司 | 在线编辑图片的方法和装置 |
CN104103085A (zh) * | 2013-04-11 | 2014-10-15 | 三星电子株式会社 | 屏幕图像中的对象 |
CN105335925A (zh) * | 2014-07-30 | 2016-02-17 | 北京畅游天下网络技术有限公司 | 一种图片的裁剪方法和浏览器装置 |
US20170178685A1 (en) * | 2015-12-22 | 2017-06-22 | Le Holdings (Beijing) Co., Ltd. | Method for intercepting video animation and electronic device |
WO2019071548A1 (zh) * | 2017-10-13 | 2019-04-18 | 深圳传音通讯有限公司 | 终端拍照控制方法、移动终端及可读储存介质 |
CN108875670A (zh) * | 2018-06-28 | 2018-11-23 | 咪咕动漫有限公司 | 信息处理方法、装置和存储介质 |
CN305751071S (zh) * | 2019-11-15 | 2020-05-01 | ||
CN111918131A (zh) * | 2020-08-18 | 2020-11-10 | 北京达佳互联信息技术有限公司 | 视频生成方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
CN111918131A (zh) | 2020-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022037348A1 (zh) | 视频生成方法及装置 | |
CN109600659B (zh) | 播放视频时的操作方法、装置、设备及存储介质 | |
US11094110B2 (en) | Method, apparatus and electronic device for processing image | |
WO2022160674A1 (zh) | 用于作品编辑提示的方法和装置 | |
CN104869308A (zh) | 拍摄照片的方法及装置 | |
US11770497B2 (en) | Method and device for processing video, and storage medium | |
WO2022199038A1 (zh) | 画面调节参数调整方法及装置 | |
WO2022205930A1 (zh) | 图像效果的预览方法及图像效果的预览装置 | |
EP4160540A1 (en) | Method and apparatus for producing special effect, electronic device and storage medium | |
KR20150072689A (ko) | 이동 단말기 및 이의 제어 방법 | |
WO2018053722A1 (zh) | 全景照片拍摄方法及装置 | |
CN108322673B (zh) | 视频生成方法和视频生成装置 | |
CN106527886B (zh) | 图片显示方法及装置 | |
WO2022160699A1 (zh) | 视频处理方法和视频处理装置 | |
CN115134505B (zh) | 预览画面生成方法及装置、电子设备、存储介质 | |
CN105808102B (zh) | 添加边框的方法及装置 | |
KR101557117B1 (ko) | 영상 편집을 위한 타임 라인 조절 방법 및 영상 편집 장치 | |
EP4161054A1 (en) | Anchor point information processing method, apparatus and device and storage medium | |
CN117119260A (zh) | 视频的控制处理方法及装置 | |
US20120188412A1 (en) | Imaging device, control method thereof, imaging system, and non-transitory computer readable medium storing program | |
CN113364999A (zh) | 视频生成方法、装置、电子设备及存储介质 | |
CN114943791A (zh) | 动画播放方法、装置、设备及存储介质 | |
CN113973172A (zh) | 拍摄方法、装置、存储介质及电子设备 | |
CN114430457A (zh) | 拍摄方法、装置、电子设备和存储介质 | |
CN107295229B (zh) | 移动终端的拍照方法和装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21857443 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 21/07/2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21857443 Country of ref document: EP Kind code of ref document: A1 |