WO2022017450A1 - 效果应用的预览方法、装置、设备及存储介质 - Google Patents
效果应用的预览方法、装置、设备及存储介质 Download PDFInfo
- Publication number
- WO2022017450A1 WO2022017450A1 PCT/CN2021/107816 CN2021107816W WO2022017450A1 WO 2022017450 A1 WO2022017450 A1 WO 2022017450A1 CN 2021107816 W CN2021107816 W CN 2021107816W WO 2022017450 A1 WO2022017450 A1 WO 2022017450A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- video
- preview
- target effect
- style
- virtual
- Prior art date
Links
- 230000000694 effects Effects 0.000 title claims abstract description 194
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000004044 response Effects 0.000 claims abstract description 19
- 230000003068 static effect Effects 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 5
- 230000006870 function Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 230000002452 interceptive effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001151 other effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/02—Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
- G11B27/031—Electronic editing of digitised analogue information signals, e.g. audio or video signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/64—Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
- G11B27/34—Indicating arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/04—Synchronising
Definitions
- the present disclosure relates to the field of video processing, and in particular, to a preview method, device, device and storage medium for effect application.
- the present disclosure provides a preview method, device, device and storage medium for effect application, which can provide users with a complete preview effect of applying a selected effect style to a video, Help users make accurate selections of effect applications and improve user experience.
- the present disclosure provides a preview method for effect application, the method comprising:
- a virtual video frame is generated for the target effect style
- the virtual video frame and at least one video clip corresponding to the virtual video frame on the video track are played synchronously based on the timeline, so as to preview the effect of the target effect style applied to the at least one video clip.
- the length corresponding to the virtual video frame is the same as the display duration of the target effect style, or the length from the start point to the preset end point.
- the method further includes:
- the target effect style is displayed on the video screen being played in the video playback window.
- the position of the pointer on the video track is used as the starting point to generate a virtual video frame for the target effect style, including:
- a virtual video frame is generated on the virtual track for the target effect style; wherein the virtual track and the at least one video track There is a hierarchical relationship between them.
- the target effect style includes an animation type effect style and a static type effect style.
- the present disclosure provides a preview device for effect application, the device comprising:
- a generation module is used to generate a virtual video frame for the target effect style with the position of the pointer on the video track as a starting point in response to the preview trigger operation for the target effect style;
- a playing module is configured to synchronously play the virtual video frame and at least one video clip corresponding to the virtual video frame on the video track based on the timeline, so as to apply the target effect style to the at least one video clip. Preview the effect.
- the device further includes:
- the display module is configured to display the target effect style on the video screen being played in the video playback window in response to the preview triggering operation for the target effect style.
- the generating module is specifically used for:
- a virtual video frame is generated on the virtual track for the target effect style with the position of the pointer on the video track as the starting point, wherein the virtual track is between the virtual track and the at least one video track have a hierarchical relationship.
- the present disclosure provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a terminal device, the terminal device is made to implement the above method.
- the present disclosure provides a device comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, when the processor executes the computer program, Implement the above method.
- the embodiment of the present disclosure provides a preview method for effect application. Specifically, when a preview trigger operation for a target effect style is received, a position of a pointer on a video track is used as a starting point to generate a virtual video frame for the target effect style. Then, the virtual video frame and the video clip corresponding to the virtual video frame on the video track are played synchronously based on the time axis, so as to realize the preview of the effect of the target effect style applied to the video clip.
- the present disclosure adopts the method of generating a virtual video frame for the target effect style and playing it synchronously with the video clip, so as to realize the preview of the complete picture effect of applying the target effect style to the video clip, providing a more realistic preview effect, and helping the user to preview the video Make more satisfying choices when processing effects to improve user experience.
- FIG. 1 is a flowchart of a preview method of an effect application provided by an embodiment of the present disclosure
- FIG. 2 is a schematic diagram of a video processing interface provided by an embodiment of the present disclosure
- FIG. 3 is a schematic structural diagram of a preview device for effect application according to an embodiment of the present disclosure
- FIG. 4 is a schematic structural diagram of a preview device of an effect application provided by an embodiment of the present disclosure.
- the preview function of applying an effect style to a video only supports the effect preview of applying the selected effect style to a certain frame of video, but cannot provide users with a complete preview effect of applying the effect style to a video clip, which is not conducive to users Accurate selection is made when effect processing of the video, which reduces the user experience.
- the present disclosure provides a preview method for an effect application. Specifically, when a preview trigger operation for a target effect style is received, the position of a pointer on a video track is used as a starting point to generate a virtual video frame for the target effect style. . Then, the virtual video frame and the video clip corresponding to the virtual video frame on the video track are played synchronously based on the time axis, so as to realize the preview of the effect of the target effect style applied to the video clip.
- the present disclosure realizes the preview of the complete picture effect of applying the target effect style to the video clip by generating a virtual video frame for the target effect style and playing it synchronously with the video clip, providing a more realistic preview effect, and helping users to preview the video Make more satisfying choices when processing effects, thereby improving the user experience.
- an embodiment of the present disclosure provides a preview method of an effect application.
- FIG. 1 a flowchart of a preview method of an effect application provided by an embodiment of the present disclosure is provided, and the method includes:
- S101 In response to a preview triggering operation for a target effect style, using a position of a pointer on a video track as a starting point, generate a virtual video frame for the target effect style.
- the target effect style may be any selected effect style, which may include animation-type effect styles and static-type effect styles.
- the animation-type effect styles may include special effects, dynamic stickers, and dynamic texts.
- Static type effect styles can include filter, static special effects, static stickers, static text and other effect styles.
- the action position of the effect style can be determined through the pointer on the video track.
- FIG. 2 is a schematic diagram of a video processing interface provided by an embodiment of the present disclosure, in which a user can determine the action position of the effect style by moving the position of the pointer on the video track.
- the target effect style is determined by clicking at least one effect style of multiple effect styles displayed on the interface, and a preview operation of applying the target effect style to the position of the pointer is triggered at the same time.
- a preview operation of applying the target effect style to the position of the pointer can be triggered through a preset preview button.
- the position of the pointer on the video track is used as the starting point to generate a virtual video frame for the target effect style.
- a virtual video frame also called a virtual frame, is generated for the target effect style by sticking to the right position of the pointer on the audio track.
- the length corresponding to the virtual video frame may be the same as the display duration of the target effect style.
- an animation type effect style usually has a display duration parameter, such as a certain animation with a display duration of 1 second.
- the virtual video frame is a continuous frame with the position of the pointer on the video track as the starting point and the display duration of the target effect style as the length.
- the length corresponding to the virtual video frame may be the same as the length from the start point to the preset end point.
- an end point corresponding to the start point positioned by the pointer is predetermined as the end point of the virtual video frame.
- the length corresponding to the virtual video frame is usually determined based on the length from the start point to the preset end point.
- the length corresponding to the virtual video frame is the same as the length from the start point to the preset end point;
- the animation type effect style may use any of the above methods to determine the corresponding length of the virtual video frame.
- the embodiment of the present disclosure when receiving a preview trigger operation for the target effect style, not only generates a virtual video frame for the target effect style, but also can display the virtual video frame on the video screen being played in the video playback window.
- the target effect style is displayed, and the user is provided with a preliminary preview experience by statically applying the target effect style to the preview effect of the video screen positioned by the pointer.
- a target effect style is statically displayed on the video screen in the video playback window at the upper right of the video processing interface.
- a video may include multiple video tracks, such as a main track, a picture-in-picture track, etc.
- the embodiment of the present disclosure may determine the relationship between the virtual track and each video track in this embodiment of the present disclosure.
- the hierarchical relationship between the video tracks, and the method of generating virtual video frames for the target effect style on the virtual track reflect the hierarchical relationship between the target effect style and the video pictures on each video track.
- the virtual track corresponding to the virtual video frame is located on the upper layer of the PIP track and the main track, which clearly reflects the hierarchical relationship between the target effect style on the virtual track and the video images on each video track.
- the virtual track On the first level the PIP track is on the second level, and the main track is on the third level.
- the first level will block the second and third levels of the picture, and the second level will block the third level of the picture.
- S102 Synchronously play the virtual video frame and the video clip on the video track corresponding to the virtual video frame based on the timeline, so as to preview the effect of the target effect style applied to the video clip.
- the virtual video frame and the video clip corresponding to the virtual video frame on the video track are automatically triggered to play synchronously based on the time axis. Provides the user with a preview of the overall effect of applying the target effect style to this video clip.
- a video segment corresponding to the virtual video frame is determined, wherein the video segment includes video frames on each video track having the same time information as the virtual video frame.
- the video segment corresponding to the virtual video frame includes video frames on each video track between the start point and the end point.
- a position of a pointer on a video track is used as a starting point to generate a virtual video frame for the target effect style. Then, the virtual video frame and the video clip corresponding to the virtual video frame on the video track are played synchronously based on the time axis, so as to realize the preview of the effect of the target effect style applied to the video clip.
- the embodiment of the present disclosure realizes the preview of the complete picture effect of applying the target effect style to the video clip by generating a virtual video frame for the target effect style and playing it synchronously with the video clip, provides a more realistic preview effect, and helps the user in the Make more satisfying choices when applying effects to videos, thereby improving the user experience.
- FIG. 3 it is a schematic structural diagram of a preview device for effect application provided by an embodiment of the present disclosure. include:
- the generation module 301 is used for generating a virtual video frame for the target effect style with the position of the pointer on the video track as the starting point in response to the preview trigger operation for the target effect style;
- Playing module 302 configured to synchronously play the virtual video frame and the video clip corresponding to the virtual video frame on the video track based on the timeline, so as to preview the effect of the target effect style applied to the video clip .
- the device further includes:
- the display module is configured to display the target effect style on the video screen being played in the video playback window in response to the preview triggering operation for the target effect style.
- the generating module is specifically used for:
- the position of the pointer on the video track is used as the starting point, and a virtual video frame is generated on the virtual track for the target effect style; hierarchical relationship.
- the target effect style includes an animation type effect style and a static type effect style.
- the length corresponding to the virtual video frame is the same as the display duration of the target effect style, or the length from the start point to the preset end point.
- the position of the pointer on the video track is used as the starting point to generate a virtual video frame for the target effect style. Then, the virtual video frame and the video clip corresponding to the virtual video frame on the video track are played synchronously based on the time axis, so as to realize the preview of the effect of the target effect style applied to the video clip.
- the embodiment of the present disclosure realizes the preview of the complete picture effect of applying the target effect style to the video clip by generating a virtual video frame for the target effect style and playing it synchronously with the video clip, provides a more realistic preview effect, and helps users in Make more satisfying choices when applying effects to videos, thereby improving the user experience.
- an embodiment of the present disclosure also provides a preview device for an effect application, as shown in FIG. 4 , which may include:
- Processor 401 memory 402 , input device 403 and output device 404 .
- the number of processors 401 in the preview device of the effect application may be one or more, and one processor is taken as an example in FIG. 4 .
- the processor 401 , the memory 402 , the input device 403 and the output device 404 may be connected by a bus or in other ways, wherein the connection by a bus is taken as an example in FIG. 4 .
- the memory 402 can be used to store software programs and modules, and the processor 401 executes various functional applications and data processing of the preview device of the effect application by running the software programs and modules stored in the memory 402 .
- the memory 402 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function, and the like. Additionally, memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
- the input device 403 may be used to receive input numerical or character information, and to generate signal input related to user settings and function control of the preview device for effect application.
- the processor 401 loads the executable files corresponding to the processes of one or more application programs into the memory 402 according to the following instructions, and the processor 401 runs the executable files stored in the memory 402 application, so as to realize various functions of the preview device of the above effect application.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
- Processing Or Creating Images (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
本公开提供了一种效果应用的预览方法、装置、设备及存储介质,所述方法包括:响应于针对目标效果样式的预览触发操作,以视频轨道上指针的位置作为起始点,为所述目标效果样式生成虚拟视频帧;基于时间轴同步播放所述虚拟视频帧以及所述视频轨道上与所述虚拟视频帧对应的视频片段,以对所述目标效果样式应用于所述视频片段的效果进行预览。本公开通过为目标效果样式生成虚拟视频帧,并与视频片段同步播放的方式,实现对将目标效果样式应用到视频片段的完整画面效果的预览,以更真实的预览效果帮助用户在对视频进行效果处理时做出更满意的选择,从而提升用户的使用体验。
Description
本申请要求于2020年7月23日递交的中国专利申请第202010718003.4号的优先权,该中国专利申请的全文以引入的方式并入以作为本申请的一部分。
本公开涉及视频处理领域,尤其涉及一种效果应用的预览方法、装置、设备及存储介质。
为了满足用户对视频处理的多样化需求,通过预先制作各种类型的效果样式,并为用户提供将各种类型的效果样式应用于视频的交互功能,保证视频处理过程中的用户体验。
实际应用中,为了保证将被选中的效果样式应用于视频之后的画面效果,在将该效果样式真正的应用于视频之前,首先对将该效果样式应用于视频的画面进行预览。
目前,在将效果样式应用于视频的预览功能时,仅支持将选中的效果样式应用于某一帧视频画面的预览功能,用户无法提前获知该效果样式具体应用于整个视频的哪个片段,也无法提前获知该效果样式在整个视频中的持续时间等信息,因此,目前的预览功能无法给用户提供将效果样式应用于视频中的完整预览效果。
因此,如何为用户提供将选中的效果样式应用于视频的完整预览效果,以帮助用户做出更准确的效果应用选择,从而提升用户体验,是目前亟需解决的技术问题。
发明内容
为了解决上述技术问题或者至少部分地解决上述技术问题,本公开提供了一种效果应用的预览方法、装置、设备及存储介质,能够为用户提供将选中的效果样式应用于视频的完整预览效果,帮助用户做出准确的效果应用选 择,提升用户体验。
第一方面,本公开提供了一种效果应用的预览方法,所述方法包括:
响应于针对目标效果样式的预览触发操作,以视频轨道上指针的位置作为起始点,为所述目标效果样式生成虚拟视频帧;
基于时间轴同步播放所述虚拟视频帧以及所述视频轨道上与所述虚拟视频帧对应的至少一个视频片段,以便对所述目标效果样式应用于所述至少一个视频片段的效果进行预览。
一种可选的实施方式中,所述虚拟视频帧对应的长度与所述目标效果样式的显示持续时间相同,或者与所述起始点到预设结束点的长度相同。
一种可选的实施方式中,所述方法还包括:
响应于针对目标效果样式的预览触发操作,在视频播放窗口中正在播放的视频画面上显示所述目标效果样式。
一种可选的实施方式中,所述响应于针对目标效果样式的预览触发操作,以视频轨道上指针的位置作为起始点,为所述目标效果样式生成虚拟视频帧,包括:
响应于针对目标效果样式的预览触发操作,以视频轨道上指针的位置作为起始点,在虚拟轨道上为所述目标效果样式生成虚拟视频帧;其中,所述虚拟轨道与所述至少一个视频轨道之间具有层级关系。
一种可选的实施方式中,所述目标效果样式包括动画类型效果样式和静态类型效果样式。
第二方面,本公开提供了一种效果应用的预览装置,所述装置包括:
生成模块,用于响应于针对目标效果样式的预览触发操作,以视频轨道上指针的位置作为起始点,为所述目标效果样式生成虚拟视频帧;
播放模块,用于基于时间轴同步播放所述虚拟视频帧以及所述视频轨道上与所述虚拟视频帧对应的至少一个视频片段,以便对所述目标效果样式应用于所述至少一个视频片段的效果进行预览。
一种可选的实施方式中,所述装置还包括:
显示模块,用于响应于针对目标效果样式的预览触发操作,在视频播放窗口中正在播放的视频画面上显示所述目标效果样式。
一种可选的实施方式中,所述生成模块,具体用于:
响应于针对目标效果样式的预览触发操作,以视频轨道上指针的位置作 为起始点,在虚拟轨道上为所述目标效果样式生成虚拟视频帧,其中,所述虚拟轨道与至少一个视频轨道之间具有层级关系。
第三方面,本公开提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令在终端设备上运行时,使得所述终端设备实现上述的方法。
第四方面,本公开提供了一种设备,包括:存储器,处理器,及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时,实现上述的方法。
本公开实施例提供的技术方案与现有技术相比具有如下优点:
本公开实施例提供了一种效果应用的预览方法,具体的,在接收到针对目标效果样式的预览触发操作时,以视频轨道上指针的位置作为起始点,为目标效果样式生成虚拟视频帧。然后,基于时间轴同步播放该虚拟视频帧以及视频轨道上与该虚拟视频帧对应的视频片段,以实现对目标效果样式应用于该视频片段的效果的预览。本公开采用为目标效果样式生成虚拟视频帧,并与视频片段同步播放的方式,实现对将目标效果样式应用到视频片段的完整画面效果的预览,提供更真实的预览效果,帮助用户在对视频进行效果处理时做出更满意的选择,提升用户的使用体验。
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本公开实施例提供的一种效果应用的预览方法的流程图;
图2为本公开实施例提供的一种视频处理界面的示意图;
图3为本公开实施例提供的一种效果应用的预览装置的结构示意图;
图4为本公开实施例提供的一种效果应用的预览设备结构示意图。
为了能够更清楚地理解本公开的上述目的、特征和优点,下面将对本公开的方案进行进一步描述。需要说明的是,在不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合。
在下面的描述中阐述了很多具体细节以便于充分理解本公开,但本公开还可以采用其他不同于在此描述的方式来实施;显然,说明书中的实施例只是本公开的一部分实施例,而不是全部的实施例。
随着用户对视频处理的要求越来越高,针对视频处理的交互功能也越来越多样化,例如,在将某种效果样式真正的应用到视频之前,可以先将该效果样式应用到视频,并对视频的实际画面效果进行预览,以帮助用户做出更满意的选择,进而提升用户使用体验。
目前,将效果样式应用到视频的预览功能,仅支持将选中的效果样式作用于某一帧视频画面的效果预览,而无法为用户提供将效果样式应用于视频片段的完整预览效果,不利于用户在对视频进行效果处理时做出准确的选择,降低了用户的使用体验。
为此,本公开提供了一种效果应用的预览方法,具体的,在接收到针对目标效果样式的预览触发操作时,以视频轨道上指针的位置作为起始点,为目标效果样式生成虚拟视频帧。然后,基于时间轴同步播放该虚拟视频帧以及视频轨道上与该虚拟视频帧对应的视频片段,以实现对目标效果样式应用于该视频片段的效果的预览。本公开通过为目标效果样式生成虚拟视频帧,并与视频片段同步播放的方式,实现对将目标效果样式应用到视频片段的完整画面效果的预览,提供更真实的预览效果,帮助用户在对视频进行效果处理时做出更满意的选择,从而提升用户的使用体验。
基于此,本公开实施例提供了一种效果应用的预览方法,参考图1,为本公开实施例提供的一种效果应用的预览方法的流程图,该方法包括:
S101:响应于针对目标效果样式的预览触发操作,以视频轨道上指针的位置作为起始点,为所述目标效果样式生成虚拟视频帧。
本公开实施例中,目标效果样式可以是被选中的任一种效果样式,其中,可以包括动画类型效果样式和静态类型效果样式,具体的,动画类型效果样式可以包括特效、动态贴纸、动态文字等效果样式,静态类型效果样式可以包括滤镜、静态特效、静态贴纸、静态文字等效果样式。
实际应用中,在触发预览功能之前,首先确定效果样式的作用位置,具 体是指将选中的效果样式应用于视频的哪个片段。本公开实施例可以通过视频轨道上的指针确定效果样式的作用位置。
参考图2,为本公开实施例提供的一种视频处理界面的示意图,其中,用户可以通过移动视频轨道上指针的位置,确定效果样式的作用位置。在确定视频轨道上指针的位置之后,通过点击界面上展示的多种效果样式的至少一种效果样式,确定目标效果样式,同时触发将该目标效果样式应用到指针的位置的预览操作。
一种可选的实施方式中,在确定目标效果样式和视频轨道上指针的位置之后,可以通过预设的预览按钮触发将目标效果样式应用到指针的位置的预览操作。
本公开实施例中,在接收到针对目标效果样式的预览触发操作后,以视频轨道上指针的位置作为起始点,为目标效果样式生成虚拟视频帧。如图2所示,在音频轨道上紧贴指针的右边位置,为目标效果样式生成虚拟视频帧,又称为虚帧。
一种可选的实施方式中,虚拟视频帧对应的长度可以与目标效果样式的显示持续时间相同,例如,动画类型效果样式通常具有显示持续时间参数,如显示持续时间为1秒的某个动画效果,此时虚拟视频帧是以视频轨道上指针的位置为起始点,以目标效果样式的显示持续时间为长度的连续帧。
另一种可选的实施方式中,虚拟视频帧对应的长度可以与起始点到预设结束点的长度相同。其中,在触发预览操作之前,预先确定与指针定位的起始点相对应的结束点,作为虚拟视频帧的结束点。当接收到针对目标效果样式的预览触发操作时,在由指针定位的起始点和预设结束点之间,为目标效果样式生成虚拟视频帧。
实际应用中,对于静态类型效果样式,虚拟视频帧对应的长度通常基于起始点到预设结束点的长度确定,例如虚拟视频帧对应的长度与起始点到预设结束点的长度相同;而对于动画类型效果样式可以采用上述任意一种方式确定虚拟视频帧对应的长度。
一种可选的实施方式中,本公开实施例在接收到针对目标效果样式的预览触发操作时,不仅为目标效果样式生成虚拟视频帧,同时还可以在视频播放窗口中正在播放的视频画面上显示目标效果样式,通过将目标效果样式静态的应用于指针定位的视频画面的预览效果,为用户提供初步的预览感受。 如图2所示,在视频处理界面的右上方的视频播放窗口中的视频画面上静态显示有目标效果样式。
另外,视频可以包括多个视频轨道,如主轨道、画中画轨道等,为了体现目标效果样式与各个视频轨道上的视频画面之间的层级关系,本公开实施例可以通过确定虚拟轨道与各个视频轨道之间的层级关系,以及在虚拟轨道上为目标效果样式生成虚拟视频帧的方式,体现目标效果样式与各个视频轨道上的视频画面之间的层级关系。
如图2所示,虚拟视频帧对应的虚拟轨道位于画中画轨道和主轨道的上层,明确体现出了虚拟轨道上的目标效果样式与各个视频轨道上视频画面的层级关系,例如,虚拟轨道位于第一层级,画中画轨道位于第二层级,主轨道位于第三层级,第一层级会遮挡第二层级和第三层级的画面,第二层级会遮挡第三层级的画面。
S102:基于时间轴同步播放所述虚拟视频帧以及所述视频轨道上与所述虚拟视频帧对应的视频片段,以便对所述目标效果样式应用于所述视频片段的效果进行预览。
本公开实施例中,在生成虚拟视频帧之后,自动触发基于时间轴同步播放虚拟视频帧以及视频轨道上与虚拟视频帧对应的视频片段,通过对虚拟视频帧和该视频片段的同步播放,可以为用户提供将目标效果样式应用于该视频片段的整体效果预览。
实际应用中,在生成虚拟视频帧之后,确定与该虚拟视频帧对应的视频片段,其中,该视频片段包括与该虚拟视频帧具有相同时间信息的各个视频轨道上的视频帧。如图2所示,虚拟视频帧对应的视频片段包括起始点到结束点之间的各个视频轨道上的视频帧。
本公开提供的效果应用的预览方法中,在接收到针对目标效果样式的预览触发操作时,以视频轨道上指针的位置作为起始点,为目标效果样式生成虚拟视频帧。然后,基于时间轴同步播放该虚拟视频帧以及视频轨道上与该虚拟视频帧对应的视频片段,以实现对目标效果样式应用于该视频片段的效果的预览。本公开实施例通过为目标效果样式生成虚拟视频帧,并与视频片段同步播放的方式,实现对将目标效果样式应用到视频片段的完整画面效果的预览,提供更真实的预览效果,帮助用户在对视频进行效果处理时做出更满意的选择,从而提升用户的使用体验。
与上述方法实施例属于同一个发明构思,本公开实施例还提供了一种效果应用的预览装置,参考图3,为本公开实施例提供的一种效果应用的预览装置结构示意图,所述装置包括:
生成模块301,用于响应于针对目标效果样式的预览触发操作,以视频轨道上指针的位置作为起始点,为所述目标效果样式生成虚拟视频帧;
播放模块302,用于基于时间轴同步播放所述虚拟视频帧以及所述视频轨道上与所述虚拟视频帧对应的视频片段,以便对所述目标效果样式应用于所述视频片段的效果进行预览。
一种可选的实施方式中,所述装置还包括:
显示模块,用于响应于针对目标效果样式的预览触发操作,在视频播放窗口中正在播放的视频画面上显示所述目标效果样式。
一种可选的实施方式中,所述生成模块,具体用于:
响应于针对目标效果样式的预览触发操作,以视频轨道上指针的位置作为起始点,在虚拟轨道上为所述目标效果样式生成虚拟视频帧;其中,所述虚拟轨道与各个视频轨道之间具有层级关系。
一种可选的实施方式中,所述目标效果样式包括动画类型效果样式和静态类型效果样式。
一种可选的实施方式中,所述虚拟视频帧对应的长度与所述目标效果样式的显示持续时间相同,或者与所述起始点到预设结束点的长度相同。
本公开实施例提供额效果应用的预览装置中,在接收到针对目标效果样式的预览触发操作时,以视频轨道上指针的位置作为起始点,为目标效果样式生成虚拟视频帧。然后,基于时间轴同步播放该虚拟视频帧以及视频轨道上与该虚拟视频帧对应的视频片段,以实现对目标效果样式应用于该视频片段的效果的预览。本公开实施例通过为目标效果样式生成虚拟视频帧,并与视频片段同步播放的方式,实现对将目标效果样式应用到视频片段的完整画面效果的预览,提供更真实的预览效果,帮助用户在对视频进行效果处理时做出更满意的选择,从而提升用户的使用体验。
另外,本公开实施例还提供了一种效果应用的预览设备,参见图4所示,可以包括:
处理器401、存储器402、输入装置403和输出装置404。效果应用的预览设备中的处理器401的数量可以一个或多个,图4中以一个处理器为例。 在本发明的一些实施例中,处理器401、存储器402、输入装置403和输出装置404可通过总线或其它方式连接,其中,图4中以通过总线连接为例。
存储器402可用于存储软件程序以及模块,处理器401通过运行存储在存储器402的软件程序以及模块,从而执行效果应用的预览设备的各种功能应用以及数据处理。存储器402可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等。此外,存储器402可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。输入装置403可用于接收输入的数字或字符信息,以及产生与效果应用的预览设备的用户设置以及功能控制有关的信号输入。
具体在本实施例中,处理器401会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器402中,并由处理器401来运行存储在存储器402中的应用程序,从而实现上述效果应用的预览设备的各种功能。
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不会被限制于本文所述的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。
Claims (10)
- 一种效果应用的预览方法,其特征在于,所述方法包括:响应于针对目标效果样式的预览触发操作,以视频轨道上指针的位置作为起始点,为所述目标效果样式生成虚拟视频帧;基于时间轴同步播放所述虚拟视频帧以及所述视频轨道上与所述虚拟视频帧对应的至少一个视频片段,以对所述目标效果样式应用于所述至少一个视频片段的效果进行预览。
- 根据权利要求1所述的方法,其特征在于,所述虚拟视频帧对应的长度与所述目标效果样式的显示持续时间相同,或者与所述起始点到预设结束点的长度相同。
- 根据权利要求1或2所述的方法,其特征在于,所述响应于针对目标效果样式的预览触发操作,以视频轨道上指针的位置作为起始点,为所述目标效果样式生成虚拟视频帧,包括:响应于针对所述目标效果样式的所述预览触发操作,以所述视频轨道上指针的位置作为起始点,在虚拟轨道上为所述目标效果样式生成所述虚拟视频帧,其中,所述虚拟轨道与所述至少一个视频轨道之间具有层级关系。
- 根据权利要求1-3任一项所述的方法,其特征在于,所述目标效果样式包括动画类型效果样式和静态类型效果样式。
- 根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:响应于针对所述目标效果样式的所述预览触发操作,在视频播放窗口中正在播放的视频画面上显示所述目标效果样式。
- 一种效果应用的预览装置,其特征在于,所述装置包括:生成模块,用于响应于针对目标效果样式的预览触发操作,以视频轨道上指针的位置作为起始点,为所述目标效果样式生成虚拟视频帧;播放模块,用于基于时间轴同步播放所述虚拟视频帧以及所述视频轨道上与所述虚拟视频帧对应的至少一个视频片段,以对所述目标效果样式应用于所述至少一个视频片段的效果进行预览。
- 根据权利要求6所述的装置,其特征在于,所述生成模块,具体用于:响应于针对所述目标效果样式的所述预览触发操作,以所述视频轨道上指针的位置作为起始点,在虚拟轨道上为所述目标效果样式生成所述虚拟视频帧,其中,所述虚拟轨道与所述至少一个视频轨道之间具有层级关系。
- 根据权利要求6或7所述的装置,其特征在于,所述装置还包括:显示模块,用于响应于针对所述目标效果样式的所述预览触发操作,在视频播放窗口中正在播放的视频画面上显示所述目标效果样式。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有指令,当所述指令在终端设备上运行时,使得所述终端设备实现如权利要求1-5任一项所述的方法。
- 一种设备,其特征在于,包括:存储器,处理器,及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时,实现如权利要求1-5任一项所述的方法。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP21846137.4A EP4171006A4 (en) | 2020-07-23 | 2021-07-22 | PREVIEW METHOD AND DEVICE FOR EFFECT APPLICATION AND DEVICE AND STORAGE MEDIUM |
US18/087,667 US11941728B2 (en) | 2020-07-23 | 2022-12-22 | Previewing method and apparatus for effect application, and device, and storage medium |
US18/435,760 US20240177365A1 (en) | 2020-07-23 | 2024-02-07 | Previewing method and apparatus for effect application, and device, and storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010718003.4 | 2020-07-23 | ||
CN202010718003.4A CN111756952A (zh) | 2020-07-23 | 2020-07-23 | 一种效果应用的预览方法、装置、设备及存储介质 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US18/087,667 Continuation US11941728B2 (en) | 2020-07-23 | 2022-12-22 | Previewing method and apparatus for effect application, and device, and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022017450A1 true WO2022017450A1 (zh) | 2022-01-27 |
Family
ID=72711749
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/107816 WO2022017450A1 (zh) | 2020-07-23 | 2021-07-22 | 效果应用的预览方法、装置、设备及存储介质 |
Country Status (4)
Country | Link |
---|---|
US (2) | US11941728B2 (zh) |
EP (1) | EP4171006A4 (zh) |
CN (1) | CN111756952A (zh) |
WO (1) | WO2022017450A1 (zh) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111756952A (zh) * | 2020-07-23 | 2020-10-09 | 北京字节跳动网络技术有限公司 | 一种效果应用的预览方法、装置、设备及存储介质 |
CN114245174B (zh) * | 2021-12-08 | 2024-04-09 | 惠州Tcl移动通信有限公司 | 视频预览方法以及相关设备 |
CN117714774B (zh) * | 2024-02-06 | 2024-04-19 | 北京美摄网络科技有限公司 | 视频特效封面的制作方法、装置、电子设备及存储介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050264669A1 (en) * | 2004-05-31 | 2005-12-01 | Tomohiro Ota | Apparatus and method for image processing |
CN108022279A (zh) * | 2017-11-30 | 2018-05-11 | 广州市百果园信息技术有限公司 | 视频特效添加方法、装置及智能移动终端 |
CN109379623A (zh) * | 2018-11-08 | 2019-02-22 | 北京微播视界科技有限公司 | 视频内容生成方法、装置、计算机设备和存储介质 |
CN109495791A (zh) * | 2018-11-30 | 2019-03-19 | 北京字节跳动网络技术有限公司 | 一种视频贴纸的添加方法、装置、电子设备及可读介质 |
CN110636382A (zh) * | 2019-09-17 | 2019-12-31 | 北京达佳互联信息技术有限公司 | 在视频中添加可视对象的方法、装置、电子设备及存储介质 |
CN111756952A (zh) * | 2020-07-23 | 2020-10-09 | 北京字节跳动网络技术有限公司 | 一种效果应用的预览方法、装置、设备及存储介质 |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4131300B2 (ja) * | 1998-06-26 | 2008-08-13 | ソニー株式会社 | 編集リスト作成装置 |
US8701007B2 (en) * | 2009-04-30 | 2014-04-15 | Apple Inc. | Edit visualizer for modifying and evaluating uncommitted media content |
US8555169B2 (en) * | 2009-04-30 | 2013-10-08 | Apple Inc. | Media clip auditioning used to evaluate uncommitted media content |
US8744239B2 (en) * | 2010-08-06 | 2014-06-03 | Apple Inc. | Teleprompter tool for voice-over tool |
US9852768B1 (en) * | 2016-06-03 | 2017-12-26 | Maverick Co., Ltd. | Video editing using mobile terminal and remote computer |
EP3399438A1 (en) * | 2017-05-04 | 2018-11-07 | Buzzmusiq Inc. | Method for creating preview track and apparatus using same |
US11922540B2 (en) * | 2020-02-14 | 2024-03-05 | Perfect Mobile Corp. | Systems and methods for segment-based virtual application of facial effects to facial regions displayed in video frames |
CN111327933A (zh) * | 2020-02-18 | 2020-06-23 | 展讯通信(上海)有限公司 | 设备唤醒方法、装置和电子设备 |
US11423652B2 (en) * | 2020-06-10 | 2022-08-23 | Snap Inc. | Adding beauty products to augmented reality tutorials |
-
2020
- 2020-07-23 CN CN202010718003.4A patent/CN111756952A/zh active Pending
-
2021
- 2021-07-22 WO PCT/CN2021/107816 patent/WO2022017450A1/zh unknown
- 2021-07-22 EP EP21846137.4A patent/EP4171006A4/en active Pending
-
2022
- 2022-12-22 US US18/087,667 patent/US11941728B2/en active Active
-
2024
- 2024-02-07 US US18/435,760 patent/US20240177365A1/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050264669A1 (en) * | 2004-05-31 | 2005-12-01 | Tomohiro Ota | Apparatus and method for image processing |
CN108022279A (zh) * | 2017-11-30 | 2018-05-11 | 广州市百果园信息技术有限公司 | 视频特效添加方法、装置及智能移动终端 |
CN109379623A (zh) * | 2018-11-08 | 2019-02-22 | 北京微播视界科技有限公司 | 视频内容生成方法、装置、计算机设备和存储介质 |
CN109495791A (zh) * | 2018-11-30 | 2019-03-19 | 北京字节跳动网络技术有限公司 | 一种视频贴纸的添加方法、装置、电子设备及可读介质 |
CN110636382A (zh) * | 2019-09-17 | 2019-12-31 | 北京达佳互联信息技术有限公司 | 在视频中添加可视对象的方法、装置、电子设备及存储介质 |
CN111756952A (zh) * | 2020-07-23 | 2020-10-09 | 北京字节跳动网络技术有限公司 | 一种效果应用的预览方法、装置、设备及存储介质 |
Non-Patent Citations (1)
Title |
---|
See also references of EP4171006A4 |
Also Published As
Publication number | Publication date |
---|---|
US20240177365A1 (en) | 2024-05-30 |
EP4171006A4 (en) | 2023-11-22 |
US11941728B2 (en) | 2024-03-26 |
CN111756952A (zh) | 2020-10-09 |
US20230129509A1 (en) | 2023-04-27 |
EP4171006A1 (en) | 2023-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022017450A1 (zh) | 效果应用的预览方法、装置、设备及存储介质 | |
KR102710712B1 (ko) | 생방송 데이터 표시 방법 및 장치, 디바이스 및 저장 매체 | |
WO2022063176A1 (zh) | 用于发布视频或图像的方法、装置、设备和介质 | |
WO2017140229A1 (zh) | 移动终端的视频录制方法和装置 | |
KR101365829B1 (ko) | 대화형 멀티미디어 프리젠테이션을 재생하는 방법을 수행하는 컴퓨터 실행가능 명령어들이 인코딩된 컴퓨터 판독가능 매체, 및 대화형 멀티미디어 프리젠테이션을 재생하는 프리젠테이션 시스템 및 장치 | |
KR102339205B1 (ko) | 가상 장면 디스플레이 방법 및 디바이스, 및 저장 매체 | |
WO2017113730A1 (zh) | 复合用户界面控件的生成和控制方法及系统 | |
US8020084B2 (en) | Synchronization aspects of interactive multimedia presentation management | |
JP2010507140A (ja) | パーソナライズドスライドショー生成 | |
WO2017157155A1 (zh) | 一种播放中视频的截取方法及装置 | |
KR20080019255A (ko) | 상호작용 멀티미디어 프리젠테이션을 위한 상태 기초타이밍 | |
GB2587544A (en) | Video acquisition method and device, terminal and medium | |
WO2022017451A1 (zh) | 视频配音方法、装置、设备及存储介质 | |
CN108259923B (zh) | 一种视频直播方法、系统及设备 | |
WO2023116661A1 (zh) | 一种直播间的资源处理方法、装置、设备以及存储介质 | |
EP4333443A1 (en) | Video processing method and apparatus, device, and storage medium | |
JP2023535639A (ja) | ビデオによるインタラクション方法、装置、デバイス及び記憶媒体 | |
WO2022194070A1 (zh) | 应用程序的视频处理方法和电子设备 | |
WO2023273692A1 (zh) | 信息回复方法、装置、电子设备、计算机存储介质和产品 | |
WO2017140226A1 (zh) | 视频处理方法及其设备 | |
WO2024131577A1 (zh) | 用于创建特效的方法、装置、设备和介质 | |
US12114060B2 (en) | Method, apparatus, device and storage medium for content capturing | |
TWI741198B (zh) | 視頻展示方法及裝置 | |
CN113559503B (zh) | 视频生成方法、设备及计算机可读介质 | |
US10769354B2 (en) | System and method for triggering state changes in content with initiation of multi-media playback |
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: 21846137 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2021846137 Country of ref document: EP Effective date: 20230118 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |