WO2021218311A1 - Video playing progress control method and apparatus, and storage medium and electronic device - Google Patents

Video playing progress control method and apparatus, and storage medium and electronic device Download PDF

Info

Publication number
WO2021218311A1
WO2021218311A1 PCT/CN2021/077368 CN2021077368W WO2021218311A1 WO 2021218311 A1 WO2021218311 A1 WO 2021218311A1 CN 2021077368 W CN2021077368 W CN 2021077368W WO 2021218311 A1 WO2021218311 A1 WO 2021218311A1
Authority
WO
WIPO (PCT)
Prior art keywords
soundtrack
target video
progress
playback
playback progress
Prior art date
Application number
PCT/CN2021/077368
Other languages
French (fr)
Chinese (zh)
Inventor
黄永杰
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2021218311A1 publication Critical patent/WO2021218311A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations

Definitions

  • This application relates to the field of computer technology, and in particular to a method, device, storage medium, and electronic equipment for controlling the progress of video playback.
  • the embodiments of the present application provide a method, device, storage medium and electronic equipment for controlling the progress of video playback.
  • the playback progress of the soundtrack can be used to synchronously control the playback progress of the video, which simplifies the user’s failure to configure the soundtrack for the video. process.
  • the technical solution is as follows:
  • an embodiment of the present application provides a video playback progress control method, the method including:
  • an embodiment of the present application provides a video playback progress control device, the device including:
  • the first soundtrack acquisition module is used to acquire the first soundtrack selected in the soundtrack library for the target video in the soundtrack preview mode;
  • the playback progress adjustment module is configured to receive a progress adjustment instruction input to the playback progress bar of the first soundtrack, and adjust the playback progress of the target video according to the progress adjustment instruction.
  • an embodiment of the present application provides a computer storage medium that stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the above method steps.
  • an embodiment of the present application provides an electronic device, which may include a processor and a memory; wherein the memory stores a computer program, and the computer program is adapted to be loaded by the processor and execute the above method steps .
  • the first soundtrack selected in the soundtrack library for the target video is acquired, the progress adjustment instruction input for the playback progress bar of the first soundtrack is received, and the adjustment instruction is based on the progress Adjust the playback progress of the target video.
  • the playback progress bar of the soundtrack can be used to synchronously control the playback progress of the video, which helps users preview the application effect in the video in real time during the process of selecting the soundtrack. Reasonable decision.
  • FIG. 1 is a schematic flowchart of a method for controlling a video playback progress provided by an embodiment of the present application
  • FIG. 2 is a schematic flowchart of another video playback progress control method provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of an example of controlling the playback progress of a target video through a playback progress bar of a soundtrack according to an embodiment of the present application;
  • FIG. 4 is a schematic structural diagram of a video playback progress control device provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of another video playback progress control device provided by an embodiment of the present application.
  • Fig. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • plural means two or more.
  • “And/or” describes the association relationship of the associated objects, indicating that there can be three types of relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone.
  • the character “/” generally indicates that the associated objects before and after are in an "or” relationship.
  • a method for controlling the progress of video playback is proposed.
  • the method can be implemented by relying on a computer program and can be run on a device for controlling the progress of video playback based on the von Neumann system.
  • the computer program can be integrated in the application or run as an independent tool application.
  • the video playback progress control device may be an electronic device, including but not limited to: wearable devices, handheld devices, personal computers, tablet computers, in-vehicle devices, smart phones, computing devices, or other processing devices connected to wireless modems.
  • the video playback progress control method includes:
  • the soundtrack preview mode can be understood as a mode in which the user selects the soundtrack for the target video. Of course, it can also include a combined soundtrack and video playback mode.
  • the soundtrack can be any audio in the music library, such as accompaniment or song.
  • the target video may be a video saved in the user terminal's gallery, may be a video downloaded from the network, or may be a video transmitted by other terminals through an instant messaging application.
  • the embodiment of this application is applied to the soundtrack preview mode.
  • the target video is opened through the video editing application, and the soundtrack library is displayed on the display interface.
  • the user can select a suitable soundtrack in the soundtrack library to synthesize with the target video to realize the editing function in the video.
  • the soundtrack library may include online soundtracks and local soundtracks, and users can choose according to their own needs and preferences.
  • each soundtrack there is a corresponding selection control.
  • the soundtrack corresponding to the control is selected as the first soundtrack currently selected.
  • the user can also switch the soundtrack. If multiple soundtracks are selected in sequence, the latest soundtrack selected is the first soundtrack.
  • S102 Receive a progress adjustment instruction input for the playback progress bar of the first soundtrack, and adjust the playback progress of the target video according to the progress adjustment instruction.
  • the playback progress bar of the first soundtrack is correspondingly displayed on the display interface.
  • the progress bar can be displayed in the form of a sliding rail, or can be displayed in the form of a waveform graph.
  • the playback progress bar may be displayed below the first soundtrack, or may be displayed in a fixed area set on the interface.
  • the user can adjust the playback progress indicated by the playback progress bar, and the adjustment method may include manually dragging the adjustment controls on the playback progress bar, and may also include voice control adjustment.
  • manual drag adjustment as an example, when the user drags the progress adjustment control on the playback progress bar to slide, the playback progress of the target video is also adjusted synchronously, and finally a certain frame of picture indicated by the stop position of the progress adjustment control is displayed. .
  • the terminal establishes the corresponding relationship between the playback progress of the first soundtrack and the target video based on the playback time of the first soundtrack and the playback time of the target video. Therefore, when adjusting the playback of the first soundtrack, During the progress, the playback progress of the target video can be adjusted.
  • the corresponding playback progress may also be displayed in the corresponding position of the target video, such as 00:00/00:12.
  • the first soundtrack selected in the soundtrack library for the target video is acquired, the progress adjustment instruction input for the playback progress bar of the first soundtrack is received, and the adjustment instruction is based on the progress Adjust the playback progress of the target video.
  • the playback progress bar of the soundtrack can be used to synchronously control the playback progress of the video, helping users to preview the application effect in the video in real time during the process of selecting the soundtrack, simplifying the process of configuring the soundtrack without the video, and making it easier for users to make changes. Reasonable decision.
  • FIG. 2 is a schematic flowchart of another embodiment of a video playback progress control method proposed by the present application. specific:
  • S201 Display the target video in the first area of the display interface, display the soundtrack library in the form of a floating window in the second area of the display interface, and generate a soundtrack preview mode;
  • the target video may be a video saved in the user terminal's gallery, may be a video downloaded from the network, or may be a video transmitted by other terminals through an instant messaging application.
  • the target video is opened through the designated video editing application, the target video is displayed in the first area of the display interface, and the soundtrack library is displayed in the second area below the first area to generate the soundtrack preview mode.
  • the soundtrack library may be displayed in the second area in the form of a floating window, and when the user closes the floating window, the target video may be displayed on the current interface in full screen.
  • the soundtrack library includes network soundtracks and local soundtracks, which can be specifically divided into different types, such as recommendation, Vlog, travel, rhythm, and soothing.
  • a suitable soundtrack needs to be selected for the target video, and the selected soundtrack can be any audio in the music library, such as an accompaniment or a song.
  • the soundtrack library interface displays multiple recommended soundtracks.
  • the user can slide the interface to make selections.
  • Each soundtrack corresponds to a selection control, such as the "use" control.
  • the user clicks on the control the corresponding first soundtrack is selected, and the playback progress bar is displayed in the corresponding area of the soundtrack, as shown in Figure 3.
  • S203 Acquire a first play duration of the first soundtrack and a second play duration of the target video
  • the terminal reads the first playback duration of the first soundtrack, such as 00:49 seconds.
  • the second playback duration of the target video such as 1:38 seconds.
  • the first playback duration is currently read after the user selects the first soundtrack
  • the second playback duration may be currently read after the first soundtrack is selected, or directly read from the cache.
  • S204 Establish a corresponding relationship between the target video and the playback progress of the first soundtrack based on the first playback duration and the second playback duration;
  • the first playback duration is 00:49 seconds
  • the second playback duration is 1:38 seconds. Therefore, the corresponding relationship between the target video and the playback progress of the first soundtrack is: the first soundtrack for 1 second needs to be played for 2 seconds The target video.
  • the user can re-select the first soundtrack as the final composite soundtrack with the target video after changing the soundtrack, there is no need to re-establish the corresponding relationship between the playback progress of the first soundtrack and the target video, but can directly adjust the playback of the target video based on the saved corresponding relationship Progress to improve the user’s audio-visual experience.
  • the progress adjustment instructions entered in the playback progress bar can be input by manually controlling the sliding controls on the progress bar, or by voice input.
  • the manual control of the sliding control input on the progress bar is taken as an example.
  • the user drags the sliding control to move from left to right along the playback progress bar. Of course, it can also move a certain distance to the right. Then move to the left and stay at a certain point, for example, after moving to the right for 20 seconds and then moving to the left for 14 seconds, it will finally stay at 6 seconds. Therefore, the first playback progress of the first soundtrack is 6 seconds.
  • the display screen of the target video changes synchronously. That is to say, based on the corresponding relationship between the target video and the playback progress of the first soundtrack, the first playback progress change is proportional to the second playback progress change, how much the first playback progress is adjusted, and the second playback progress is adaptable Adjustment.
  • the target video will play for 40 seconds.
  • the target video will go back to 28 seconds, which means it will finally stay at 12 seconds. That is, the second playback progress is 12 seconds, and the target video playback progress shown in FIG. 3 is 00:12.
  • S207 Acquire a second soundtrack selected in the soundtrack library for the target video, and acquire a third playing duration of the second soundtrack;
  • the user feels inappropriate or wants to try another soundtrack, he can select the second soundtrack on the display interface of the soundtrack library.
  • the selection method of the second soundtrack is the same as that of the second soundtrack, so I won’t repeat it here. .
  • Play time such as 20 seconds.
  • S209 Receive a confirmation instruction for the first soundtrack, synthesize the target video and the first soundtrack, or receive a confirmation instruction for the second soundtrack, and compare the target video and the second soundtrack. To synthesize.
  • the target video and the first soundtrack can be triggered to synthesize according to the established playback progress correspondence relationship, thereby generating a video carrying the first soundtrack;
  • the first soundtrack selected in the soundtrack library for the target video is acquired, and the corresponding relationship between the playback progress of the first soundtrack and the playback time of the target video is established based on the first soundtrack and the playback time of the target video.
  • the playback progress bar of the soundtrack is adjusted, the playback progress of the target video can be adjusted synchronously.
  • the video playback progress is controlled by controlling the soundtrack playback progress, helping users preview the application effects in the video in real time during the process of selecting the soundtrack, simplifying the process of users not configuring the soundtrack without the video, and reducing the user previewing the soundtrack effect
  • the operation is convenient for users to make more reasonable decisions.
  • even if the user needs to change the soundtrack to experience the playback effect he only needs to re-select the soundtrack in the soundtrack library and adjust the playback progress of the soundtrack, which is simple and convenient, and improves the user experience.
  • FIG. 4 shows a schematic structural diagram of a video playback progress control device provided by an exemplary embodiment of the present application.
  • the video playback progress control device can be implemented as all or a part of the electronic device through software, hardware or a combination of the two.
  • the device 1 includes a first soundtrack acquisition module 10 and a playback progress adjustment module 20.
  • the first soundtrack acquiring module 10 is used to acquire the first soundtrack selected in the soundtrack library for the target video in the soundtrack preview mode;
  • the playback progress adjustment module 20 is configured to receive a progress adjustment instruction input to the playback progress bar of the first soundtrack, and adjust the playback progress of the target video according to the progress adjustment instruction.
  • the playback progress adjustment module 20 is specifically configured to:
  • the device further includes:
  • the playback duration acquiring module 30 is configured to acquire the first playback duration of the first soundtrack and the second playback duration of the target video;
  • the correspondence relationship establishment module 40 is configured to establish a correspondence relationship between the target video and the playback progress of the first soundtrack based on the first playback duration and the second playback duration;
  • the playback progress adjustment module 20 is specifically used for:
  • the playback progress of the target video is adjusted to a second playback progress corresponding to the first playback progress.
  • the device further includes:
  • the second soundtrack acquiring module 50 is configured to acquire the second soundtrack selected in the soundtrack library for the target video, and acquire the third playing duration of the second soundtrack;
  • the second soundtrack setting module 60 is configured to use the second soundtrack as the first soundtrack, and the third playback duration as the first playback duration, and trigger the correspondence relationship establishment module 40 based on the first soundtrack.
  • a playback duration and the second playback duration are used to establish a corresponding relationship between the target video and the playback progress of the first soundtrack.
  • the device further includes:
  • the correspondence relationship saving module 70 is configured to save the correspondence relationship between the target video and the playback progress of the first soundtrack, or save the correspondence relationship between the target video and the playback progress of the second soundtrack.
  • the device further includes:
  • the soundtrack synthesis module 80 is configured to receive a confirmation instruction for the first soundtrack, synthesize the target video and the first soundtrack, or receive a confirmation instruction for the second soundtrack, and compare the target video and the first soundtrack.
  • the second soundtrack is synthesized.
  • the device further includes:
  • the preview mode generating module 90 is configured to display the target video in the first area of the display interface, and display the soundtrack library in the form of floating windows in the second area of the display interface to generate a soundtrack preview mode.
  • the video playback progress control device provided in the above embodiment executes the video playback progress control method
  • only the division of the above functional modules is used as an example for illustration. In actual applications, the above function allocations can be divided according to needs.
  • the function module is completed, that is, the internal structure of the device is divided into different function modules to complete all or part of the functions described above.
  • the video playback progress control device provided in the foregoing embodiment and the video playback progress control method embodiment belong to the same concept, and the implementation process is detailed in the method embodiment, which will not be repeated here.
  • the first soundtrack selected in the soundtrack library for the target video is acquired, and the corresponding relationship between the playback progress of the first soundtrack and the playback time of the target video is established based on the first soundtrack and the playback time of the target video.
  • the playback progress bar of the soundtrack is adjusted, the playback progress of the target video can be adjusted synchronously.
  • the video playback progress is controlled by controlling the soundtrack playback progress, helping users preview the application effects in the video in real time during the process of selecting the soundtrack, simplifying the process of users not configuring the soundtrack without the video, and reducing the user previewing the soundtrack effect
  • the operation is convenient for users to make more reasonable decisions.
  • even if the user needs to change the soundtrack to experience the playback effect he only needs to re-select the soundtrack in the soundtrack library and adjust the playback progress of the soundtrack, which is simple and convenient, and improves the user experience.
  • the embodiment of the present application also provides a computer storage medium, the computer storage medium may store a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the methods of the above-mentioned embodiments shown in FIGS. 1 to 3,
  • the specific execution process please refer to the specific description of the embodiment shown in FIG. 1 to FIG. 3, which will not be repeated here.
  • the electronic device 1000 may include: at least one processor 1001, at least one network interface 1004, a user interface 1003, a memory 1005, and at least one communication bus 1002.
  • the communication bus 1002 is used to implement connection and communication between these components.
  • the user interface 1003 may include a display screen (Display) and a camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • Display display screen
  • Camera Camera
  • the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
  • the processor 1001 may include one or more processing cores.
  • the processor 1001 uses various excuses and lines to connect various parts of the entire server 1000, and executes the server by running or executing instructions, programs, code sets, or instruction sets stored in the memory 1005, and calling data stored in the memory 1005.
  • Various functions and processing data of 1000 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA Programmable Logic Array
  • the processor 1001 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a modem, and the like.
  • the CPU mainly processes the operating system, user interface, and application programs; the GPU is used to render and draw the content that needs to be displayed on the display screen; the modem is used to process wireless communication. It is understandable that the above-mentioned modem may not be integrated into the processor 1001, but may be implemented by a chip alone.
  • the memory 1005 may include random access memory (Random Access Memory, RAM), and may also include read-only memory (Read-Only Memory).
  • the memory 1005 includes a non-transitory computer-readable storage medium.
  • the memory 1005 may be used to store instructions, programs, codes, code sets or instruction sets.
  • the memory 1005 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing the operating system and instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), Instructions and the like used to implement the above method embodiments; the storage data area can store the data and the like involved in the above method embodiments.
  • the memory 1005 may also be at least one storage device located far away from the foregoing processor 1001.
  • the memory 1005, which is a computer storage medium may include an operating system, a network communication module, a user interface module, and a video playback progress control application program.
  • the user interface 1003 is mainly used to provide an input interface for the user to obtain data input by the user; and the processor 1001 can be used to call a video playback progress control application stored in the memory 1005, And specifically perform the following operations:
  • the processor 1001 when the processor 1001 receives a progress adjustment instruction input to the playback progress bar of the first soundtrack, and adjusts the playback progress of the target video according to the progress adjustment instruction, the processor 1001 specifically executes the following operations :
  • the processor 1001 further executes the following operations after acquiring the first soundtrack selected in the soundtrack library for the target video:
  • the playback progress of the target video is adjusted to a second playback progress corresponding to the first playback progress.
  • the processor 1001 is executing, based on the corresponding relationship between the target video and the playback progress of the first soundtrack, adjusting the playback progress of the target video to a second corresponding to the first playback progress. After playing the progress, perform the following steps:
  • the second soundtrack is used as the first soundtrack
  • the third playing duration is used as the first playing duration
  • the establishment of the establishment based on the first playing duration and the second playing duration is performed The step of corresponding relationship between the target video and the playback progress of the first soundtrack.
  • the processor 1001 further executes the following steps:
  • the processor 1001 further executes the following steps:
  • the processor 1001 further executes the following steps before acquiring the first soundtrack selected in the soundtrack library for the target video in the soundtrack preview mode:
  • the target video is displayed in the first area of the display interface, and the soundtrack library is displayed in the form of a floating window in the second area of the display interface to generate a soundtrack preview mode.
  • the first soundtrack selected in the soundtrack library for the target video is acquired, and the corresponding relationship between the playback progress of the first soundtrack and the playback time of the target video is established based on the first soundtrack and the playback time of the target video.
  • the playback progress bar of the soundtrack is adjusted, the playback progress of the target video can be adjusted synchronously.
  • the video playback progress is controlled by controlling the soundtrack playback progress, helping users preview the application effects in the video in real time during the process of selecting the soundtrack, simplifying the process of users not configuring the soundtrack without the video, and reducing the user previewing the soundtrack effect
  • the operation is convenient for users to make more reasonable decisions.
  • even if the user needs to change the soundtrack to experience the playback effect he only needs to re-select the soundtrack in the soundtrack library and adjust the playback progress of the soundtrack, which is simple and convenient, and improves the user experience.
  • the program can be stored in a computer readable storage medium. During execution, it may include the procedures of the above-mentioned method embodiments.
  • the storage medium can be a magnetic disk, an optical disc, a read-only storage memory, or a random storage memory, etc.

Abstract

Disclosed are a video playing progress control method and apparatus, and a storage medium and an electronic device. The method comprises: in an accompanying music preview mode, acquiring a first piece of accompanying music which is selected, from an accompanying music library, for a target video; and receiving a progress adjustment instruction inputted with regard to a playing progress bar of the first piece of accompanying music, and adjusting the playing progress of the target video according to the progress adjustment instruction. By means of the embodiments of the present application, in an accompanying music preview mode, the playing progress of a video can be synchronously controlled by means of a playing progress bar of an accompanying piece of music, thereby helping a user to preview an application effect in the video in real time during the process of selecting an accompanying piece of music, simplifying the process of configuring the accompanying piece of music for the video by a user, and facilitating the user in making a more rational decision.

Description

视频播放进度控制方法、装置、存储介质及电子设备Video playback progress control method, device, storage medium and electronic equipment 技术领域Technical field
本申请涉及计算机技术领域,尤其涉及一种视频播放进度控制方法、装置、存储介质及电子设备。This application relates to the field of computer technology, and in particular to a method, device, storage medium, and electronic equipment for controlling the progress of video playback.
背景技术Background technique
当需要为视频配置合适的配乐时,通过视频编辑应用开启目标视频,在配乐预览模式下选择配乐。而所选择的配乐的播放进度与视频的播放进度单独控制,为了确定所选择的配乐是否合适,则需要对配乐与视频进行合成后进行播放。When it is necessary to configure a suitable soundtrack for the video, open the target video through the video editing application, and select the soundtrack in the soundtrack preview mode. The playback progress of the selected soundtrack is controlled separately from the playback progress of the video. In order to determine whether the selected soundtrack is appropriate, it is necessary to synthesize the soundtrack and the video before playing.
发明内容Summary of the invention
本申请实施例提供了一种视频播放进度控制方法、装置、存储介质及电子设备,在配乐预览模式下,通过配乐的播放进度条可以同步控制视频的播放进度,简化了用户未视频配置配乐的过程。所述技术方案如下:The embodiments of the present application provide a method, device, storage medium and electronic equipment for controlling the progress of video playback. In the soundtrack preview mode, the playback progress of the soundtrack can be used to synchronously control the playback progress of the video, which simplifies the user’s failure to configure the soundtrack for the video. process. The technical solution is as follows:
第一方面,本申请实施例提供了一种视频播放进度控制方法,所述方法包括:In the first aspect, an embodiment of the present application provides a video playback progress control method, the method including:
在配乐预览模式下,获取针对目标视频在配乐库中选择的第一配乐;In the soundtrack preview mode, get the first soundtrack selected in the soundtrack library for the target video;
接收针对所述第一配乐的播放进度条输入的进度调整指令,根据所述进度调整指令调整所述目标视频的播放进度。Receiving a progress adjustment instruction input for the playback progress bar of the first soundtrack, and adjusting the playback progress of the target video according to the progress adjustment instruction.
第二方面,本申请实施例提供了一种视频播放进度控制装置,所述装置包括:In a second aspect, an embodiment of the present application provides a video playback progress control device, the device including:
第一配乐获取模块,用于在配乐预览模式下,获取针对目标视频在配乐库中选择的第一配乐;The first soundtrack acquisition module is used to acquire the first soundtrack selected in the soundtrack library for the target video in the soundtrack preview mode;
播放进度调整模块,用于接收针对所述第一配乐的播放进度条输入的进度调整指令,根据所述进度调整指令调整所述目标视频的播放进度。The playback progress adjustment module is configured to receive a progress adjustment instruction input to the playback progress bar of the first soundtrack, and adjust the playback progress of the target video according to the progress adjustment instruction.
第三方面,本申请实施例提供一种计算机存储介质,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行上述的方法步骤。In a third aspect, an embodiment of the present application provides a computer storage medium that stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the above method steps.
第四方面,本申请实施例提供一种电子设备,可包括:处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行上述的方法步骤。In a fourth aspect, an embodiment of the present application provides an electronic device, which may include a processor and a memory; wherein the memory stores a computer program, and the computer program is adapted to be loaded by the processor and execute the above method steps .
本申请一些实施例提供的技术方案带来的有益效果至少包括:The beneficial effects brought about by the technical solutions provided by some embodiments of the present application include at least:
在本申请实施例中,在配乐预览模式下,获取针对目标视频在配乐库中选择的第一配乐,接收针对所述第一配乐的播放进度条输入的进度调整指令,根据所述进度调整指令调整所述目标视频的播放进度。在配乐预览模式下, 通过配乐的播放进度条可以同步控制视频的播放进度,帮助用户在选择配乐过程中实时预览在视频中的应用效果,简化了用户未视频配置配乐的过程,方便用户进行更合理的决策。In the embodiment of the present application, in the soundtrack preview mode, the first soundtrack selected in the soundtrack library for the target video is acquired, the progress adjustment instruction input for the playback progress bar of the first soundtrack is received, and the adjustment instruction is based on the progress Adjust the playback progress of the target video. In the soundtrack preview mode, the playback progress bar of the soundtrack can be used to synchronously control the playback progress of the video, which helps users preview the application effect in the video in real time during the process of selecting the soundtrack. Reasonable decision.
附图说明Description of the drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
图1是本申请实施例提供的一种视频播放进度控制方法的流程示意图;FIG. 1 is a schematic flowchart of a method for controlling a video playback progress provided by an embodiment of the present application;
图2是本申请实施例提供的另一种视频播放进度控制方法的流程示意图;2 is a schematic flowchart of another video playback progress control method provided by an embodiment of the present application;
图3是本申请实施例提供的一种通过配乐的播放进度条控制目标视频的播放进度的举例示意图;3 is a schematic diagram of an example of controlling the playback progress of a target video through a playback progress bar of a soundtrack according to an embodiment of the present application;
图4是本申请实施例提供的一种视频播放进度控制装置的结构示意图;FIG. 4 is a schematic structural diagram of a video playback progress control device provided by an embodiment of the present application;
图5是本申请实施例提供的另一种视频播放进度控制装置的结构示意图;FIG. 5 is a schematic structural diagram of another video playback progress control device provided by an embodiment of the present application;
图6是本申请实施例提供的一种电子设备的结构示意图。Fig. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
在本申请的描述中,需要理解的是,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。在本申请的描述中,需要说明的是,除非另有明确的规定和限定,“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本申请中的具体含义。此外,在本申请的描述中,除非另有说明,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。In the description of this application, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance. In the description of this application, it should be noted that, unless expressly stipulated and defined otherwise, "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes unlisted steps or units, or optionally also includes Other steps or units inherent to these processes, methods, products or equipment. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood under specific circumstances. In addition, in the description of this application, unless otherwise specified, "plurality" means two or more. "And/or" describes the association relationship of the associated objects, indicating that there can be three types of relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects before and after are in an "or" relationship.
当需要为视频配置合适的配乐时,通过视频编辑应用开启目标视频,在配乐预览模式下选择配乐。而所选择的配乐的播放进度与视频的播放进度单独控制,为了确定所选择的配乐是否合适,则需要对配乐与视频进行合成后进行播放,一旦用户觉得不合适,就需要重新选择配乐再合成,也可能需要多次重复上述过程才能找到合适的配乐,从而导致为视频配置配乐的过程复杂繁琐。When it is necessary to configure a suitable soundtrack for the video, open the target video through the video editing application, and select the soundtrack in the soundtrack preview mode. The playback progress of the selected soundtrack is controlled separately from the playback progress of the video. In order to determine whether the selected soundtrack is suitable, it is necessary to synthesize the soundtrack and the video and then play it. Once the user finds it inappropriate, he needs to re-select the soundtrack and synthesize it. , It may also be necessary to repeat the above process several times to find a suitable soundtrack, which leads to a complicated and tedious process of configuring a soundtrack for the video.
下面结合具体的实施例对本申请进行详细说明。The application will be described in detail below in conjunction with specific embodiments.
在一个实施例中,如图1所示,特提出了一种视频播放进度控制方法,该方法可依赖于计算机程序实现,可运行于基于冯诺依曼体系的视频播放进度控制装置上。该计算机程序可集成在应用中,也可作为独立的工具类应用运行。所述视频播放进度控制装置可以为电子设备,包括但不限于:可穿戴设备、手持设备、个人电脑、平板电脑、车载设备、智能手机、计算设备或连接到无线调制解调器的其它处理设备等。In one embodiment, as shown in FIG. 1, a method for controlling the progress of video playback is proposed. The method can be implemented by relying on a computer program and can be run on a device for controlling the progress of video playback based on the von Neumann system. The computer program can be integrated in the application or run as an independent tool application. The video playback progress control device may be an electronic device, including but not limited to: wearable devices, handheld devices, personal computers, tablet computers, in-vehicle devices, smart phones, computing devices, or other processing devices connected to wireless modems.
具体的,该视频播放进度控制方法包括:Specifically, the video playback progress control method includes:
S101,在配乐预览模式下,获取针对目标视频在配乐库中选择的第一配乐;S101, in the soundtrack preview mode, obtain the first soundtrack selected in the soundtrack library for the target video;
所述配乐预览模式,可以理解为,用户为目标视频选择配乐的模式。当然,还可包括配乐与视频的合成播放模式。The soundtrack preview mode can be understood as a mode in which the user selects the soundtrack for the target video. Of course, it can also include a combined soundtrack and video playback mode.
所述配乐可以为乐库中的任一音频,如伴奏或歌曲。所述目标视频可以为用户终端图库中保存的视频,可以为网络下载的视频,也可以为其他终端通过即时通信应用传输的视频。The soundtrack can be any audio in the music library, such as accompaniment or song. The target video may be a video saved in the user terminal's gallery, may be a video downloaded from the network, or may be a video transmitted by other terminals through an instant messaging application.
本申请实施例应用于配乐预览模式。具体实现中,通过视频编辑应用开启目标视频,并在显示界面上显示配乐库,用户可在配乐库中选择合适的配乐以用于与该目标视频进行合成,实现在视频的编辑功能。The embodiment of this application is applied to the soundtrack preview mode. In the specific implementation, the target video is opened through the video editing application, and the soundtrack library is displayed on the display interface. The user can select a suitable soundtrack in the soundtrack library to synthesize with the target video to realize the editing function in the video.
其中,所述配乐库可以包括在线配乐和本地配乐,用户可根据自己的需求和喜好进行选择。Wherein, the soundtrack library may include online soundtracks and local soundtracks, and users can choose according to their own needs and preferences.
对于每首配乐,对应一选择控件,当用户点击某个选择控件后,该控件对应的配乐被选中,作为当前选择的第一配乐。For each soundtrack, there is a corresponding selection control. When the user clicks a selection control, the soundtrack corresponding to the control is selected as the first soundtrack currently selected.
当然,用户还可对配乐进行切换,如依次选择多个配乐,那么所选择的最新配乐即为第一配乐。Of course, the user can also switch the soundtrack. If multiple soundtracks are selected in sequence, the latest soundtrack selected is the first soundtrack.
S102,接收针对所述第一配乐的播放进度条输入的进度调整指令,根据所述进度调整指令调整所述目标视频的播放进度。S102: Receive a progress adjustment instruction input for the playback progress bar of the first soundtrack, and adjust the playback progress of the target video according to the progress adjustment instruction.
在选中第一配乐后,在显示界面上对应显示第一配乐的播放进度条。所述进度条可以滑轨的形式显示,也可以波形图的形式显示。After the first soundtrack is selected, the playback progress bar of the first soundtrack is correspondingly displayed on the display interface. The progress bar can be displayed in the form of a sliding rail, or can be displayed in the form of a waveform graph.
当然,所述播放进度条可显示在第一配乐的下方,也可显示在界面上设置的固定区域。Of course, the playback progress bar may be displayed below the first soundtrack, or may be displayed in a fixed area set on the interface.
用户可对该播放进度条指示的播放进度进行调整,调整的方式可包括手动拖动该播放进度条上的调整控件,还可包括语音控制调整。以手动拖动调整为例,当用户拖动该播放进度条上的进度调整控件进行滑动时,目标视频的播放进度也同步进行调整,并最终显示在进度调整控件停留位置指示的某一帧图片。The user can adjust the playback progress indicated by the playback progress bar, and the adjustment method may include manually dragging the adjustment controls on the playback progress bar, and may also include voice control adjustment. Taking manual drag adjustment as an example, when the user drags the progress adjustment control on the playback progress bar to slide, the playback progress of the target video is also adjusted synchronously, and finally a certain frame of picture indicated by the stop position of the progress adjustment control is displayed. .
这是因为,在用户选中第一配乐后,终端基于第一配乐的播放时间以及该目标视频的播放时间,建立第一配乐与目标视频的播放进度对应关系,因此,当调节第一配乐的播放进度时,可实现对目标视频的播放进度的调节。This is because after the user selects the first soundtrack, the terminal establishes the corresponding relationship between the playback progress of the first soundtrack and the target video based on the playback time of the first soundtrack and the playback time of the target video. Therefore, when adjusting the playback of the first soundtrack, During the progress, the playback progress of the target video can be adjusted.
可选的,为了提示用户体验,还可在目标视频的对应位置显示相应的播放进度,如00:00/00:12。Optionally, in order to prompt the user experience, the corresponding playback progress may also be displayed in the corresponding position of the target video, such as 00:00/00:12.
在本申请实施例中,在配乐预览模式下,获取针对目标视频在配乐库中选择的第一配乐,接收针对所述第一配乐的播放进度条输入的进度调整指令,根据所述进度调整指令调整所述目标视频的播放进度。在配乐预览模式下,通过配乐的播放进度条可以同步控制视频的播放进度,帮助用户在选择配乐过程中实时预览在视频中的应用效果,简化了用户未视频配置配乐的过程,方便用户进行更合理的决策。In the embodiment of the present application, in the soundtrack preview mode, the first soundtrack selected in the soundtrack library for the target video is acquired, the progress adjustment instruction input for the playback progress bar of the first soundtrack is received, and the adjustment instruction is based on the progress Adjust the playback progress of the target video. In the soundtrack preview mode, the playback progress bar of the soundtrack can be used to synchronously control the playback progress of the video, helping users to preview the application effect in the video in real time during the process of selecting the soundtrack, simplifying the process of configuring the soundtrack without the video, and making it easier for users to make changes. Reasonable decision.
请参见图2,图2是本申请提出的一种视频播放进度控制方法的另一实施例的流程示意图。具体的:Please refer to FIG. 2. FIG. 2 is a schematic flowchart of another embodiment of a video playback progress control method proposed by the present application. specific:
S201,在显示界面的第一区域显示所述目标视频,在所述显示界面的第二区域以浮窗形式显示所述配乐库,生成配乐预览模式;S201: Display the target video in the first area of the display interface, display the soundtrack library in the form of a floating window in the second area of the display interface, and generate a soundtrack preview mode;
所述目标视频可以为用户终端图库中保存的视频,可以为网络下载的视频,也可以为其他终端通过即时通信应用传输的视频。The target video may be a video saved in the user terminal's gallery, may be a video downloaded from the network, or may be a video transmitted by other terminals through an instant messaging application.
具体的,如图3所示,通过指定的视频编辑应用开启目标视频,该目标视频显示在显示界面的第一区域,在第一区域下方的第二区域显示配乐库,生成配乐预览模式。Specifically, as shown in FIG. 3, the target video is opened through the designated video editing application, the target video is displayed in the first area of the display interface, and the soundtrack library is displayed in the second area below the first area to generate the soundtrack preview mode.
其中,所述配乐库可以浮窗形式显示在第二区域,当用户关闭浮窗时,目标视频可全屏显示在当前界面上。Wherein, the soundtrack library may be displayed in the second area in the form of a floating window, and when the user closes the floating window, the target video may be displayed on the current interface in full screen.
所述配乐库包括网络配乐和本地配乐,具体可分为不同的种类,如推荐、Vlog、旅行、节奏、舒缓等。The soundtrack library includes network soundtracks and local soundtracks, which can be specifically divided into different types, such as recommendation, Vlog, travel, rhythm, and soothing.
S202,在配乐预览模式下,获取针对目标视频在配乐库中选择的第一配乐;S202, in the soundtrack preview mode, obtain the first soundtrack selected in the soundtrack library for the target video;
在该配乐预览模式下,需要为目标视频选择合适的配乐,而所选择的配乐可以为乐库中的任一音频,如伴奏或歌曲。In the soundtrack preview mode, a suitable soundtrack needs to be selected for the target video, and the selected soundtrack can be any audio in the music library, such as an accompaniment or a song.
具体的,在进行配乐选择时,首先在网络配乐和本地配乐分类中进行选择,如选择网络配乐,然后在该类配乐中选择种类,如推荐,此时的配乐库界面显示多个推荐配乐,用户可滑动界面进行选择。每首配乐对应一选择控件,如“使用”控件,当用户点击该控件后,对应的第一配乐被选中,并在该配乐的对应区域显示播放进度条,如图3所示。Specifically, when selecting the soundtrack, first choose between the network soundtrack and the local soundtrack category, such as selecting the network soundtrack, and then select the category in this type of soundtrack, such as recommendation. At this time, the soundtrack library interface displays multiple recommended soundtracks. The user can slide the interface to make selections. Each soundtrack corresponds to a selection control, such as the "use" control. When the user clicks on the control, the corresponding first soundtrack is selected, and the playback progress bar is displayed in the corresponding area of the soundtrack, as shown in Figure 3.
S203,获取所述第一配乐的第一播放时长以及所述目标视频的第二播放时长;S203: Acquire a first play duration of the first soundtrack and a second play duration of the target video;
由于不同的配乐对应不同的播放时长,在用户确定第一配乐后,终端读取该第一配乐的第一播放时长,如00:49秒。同时,读取目标视频的第二播放时长,如1:38秒。Since different soundtracks correspond to different playback durations, after the user determines the first soundtrack, the terminal reads the first playback duration of the first soundtrack, such as 00:49 seconds. At the same time, read the second playback duration of the target video, such as 1:38 seconds.
可以理解的是,第一播放时长为用户选中第一配乐后当前读取的,第二播放时长可以为选择第一配乐后当前读取的,也可以直接在缓存中读取的。It is understandable that the first playback duration is currently read after the user selects the first soundtrack, and the second playback duration may be currently read after the first soundtrack is selected, or directly read from the cache.
S204,基于所述第一播放时长以及所述第二播放时长,建立所述目标视频与所述第一配乐的播放进度对应关系;S204: Establish a corresponding relationship between the target video and the playback progress of the first soundtrack based on the first playback duration and the second playback duration;
例如,第一播放时长为00:49秒,第二播放时长为1:38秒,因此,目标视频与所述第一配乐的播放进度对应关系为:播放1秒的第一配乐需要播放2秒的目标视频。For example, the first playback duration is 00:49 seconds, and the second playback duration is 1:38 seconds. Therefore, the corresponding relationship between the target video and the playback progress of the first soundtrack is: the first soundtrack for 1 second needs to be played for 2 seconds The target video.
可选的,保存所述目标视频与所述第一配乐的播放进度对应关系。以便用户在更换配乐后再重新选择第一配乐作为最终与目标视频的合成配乐,则无需重新建立第一配乐与目标视频的播放进度对应关系,而可直接基于保存的对应关系调整目标视频的播放进度,提升用户的视听体验。Optionally, save the corresponding relationship between the target video and the playback progress of the first soundtrack. So that the user can re-select the first soundtrack as the final composite soundtrack with the target video after changing the soundtrack, there is no need to re-establish the corresponding relationship between the playback progress of the first soundtrack and the target video, but can directly adjust the playback of the target video based on the saved corresponding relationship Progress to improve the user’s audio-visual experience.
S205,接收针对所述第一配乐的播放进度条输入的进度调整指令,获取所述进度调整指令对应的移动终点,将所述第一配乐的播放进度调整至所述移动终点指示的第一播放进度;S205. Receive a progress adjustment instruction input for the playback progress bar of the first soundtrack, acquire a moving end point corresponding to the progress adjustment instruction, and adjust the playback progress of the first soundtrack to the first play indicated by the moving end point schedule;
针对播放进度条输入的进度调整指令,可以通过手动控制进度条上的滑动控件输入,也可以通过语音输入。The progress adjustment instructions entered in the playback progress bar can be input by manually controlling the sliding controls on the progress bar, or by voice input.
本申请实施例中,以手动控制进度条上的滑动控件输入为例,如图3所示,用户拖动滑动控件沿着播放进度条从左向右移动,当然也可以向右移动一段距离后再向左移动并停留在某一点,例如向右移动20秒后在向左移动14秒,则最终停留在6秒处,因此,第一配乐的第一播放进度为6秒。In the embodiment of this application, the manual control of the sliding control input on the progress bar is taken as an example. As shown in FIG. 3, the user drags the sliding control to move from left to right along the playback progress bar. Of course, it can also move a certain distance to the right. Then move to the left and stay at a certain point, for example, after moving to the right for 20 seconds and then moving to the left for 14 seconds, it will finally stay at 6 seconds. Therefore, the first playback progress of the first soundtrack is 6 seconds.
S206,基于所述目标视频与所述第一配乐的播放进度对应关系,将所述目标视频的播放进度调整至所述第一播放进度对应的第二播放进度;S206: Based on the corresponding relationship between the target video and the playback progress of the first soundtrack, adjust the playback progress of the target video to a second playback progress corresponding to the first playback progress;
在播放进度条滑动的过程中,目标视频的显示画面同步变化。也就是说,基于所述目标视频与所述第一配乐的播放进度对应关系,第一播放进度变化量与第二播放进度变化量成比例,第一播放进度调整多少,第二播放进度适应性调整。During the sliding process of the playback progress bar, the display screen of the target video changes synchronously. That is to say, based on the corresponding relationship between the target video and the playback progress of the first soundtrack, the first playback progress change is proportional to the second playback progress change, how much the first playback progress is adjusted, and the second playback progress is adaptable Adjustment.
例如,在拖动进度条向右移动到20秒处时,目标视频播放至40秒,当进度条再向左移动14秒时,目标视频后退至28秒,即最终停留在12秒处,也就是第二播放进度为12秒,如图3所示显示的目标视频播放进度为00:12。For example, when you drag the progress bar to the right to 20 seconds, the target video will play for 40 seconds. When the progress bar is moved to the left for another 14 seconds, the target video will go back to 28 seconds, which means it will finally stay at 12 seconds. That is, the second playback progress is 12 seconds, and the target video playback progress shown in FIG. 3 is 00:12.
S207,获取针对所述目标视频在所述配乐库中选择的第二配乐,获取所述第二配乐的第三播放时长;S207: Acquire a second soundtrack selected in the soundtrack library for the target video, and acquire a third playing duration of the second soundtrack;
经过上述播放调整后,若用户觉得不合适或者想再试试其它配乐,则可在配乐库的显示界面上选择第二配乐,第二配乐的选择方式与第二配乐相同,此处不再赘述。After the above playback adjustment, if the user feels inappropriate or wants to try another soundtrack, he can select the second soundtrack on the display interface of the soundtrack library. The selection method of the second soundtrack is the same as that of the second soundtrack, so I won’t repeat it here. .
为了通过第二配乐的播放进度条控制目标视频的播放进度,同样的,需要建立第二配乐与目标视频的播放进度对应关系,则需要按照与第一配乐相同的方式,获取第二配乐的第三播放时长,如20秒。In order to control the playback progress of the target video through the playback progress bar of the second soundtrack, similarly, the corresponding relationship between the playback progress of the second soundtrack and the target video needs to be established, and the second soundtrack needs to be obtained in the same way as the first soundtrack. 3. Play time, such as 20 seconds.
S208,将所述第二配乐作为所述第一配乐,将所述第三播放时长作为所述第一播放时长,并执行所述基于所述第一播放时长以及所述第二播放时长,建立所述目标视频与所述第一配乐的播放进度对应关系的步骤。S208. Use the second soundtrack as the first soundtrack, and use the third playback duration as the first playback duration, and execute the establishment based on the first playback duration and the second playback duration. The step of corresponding relationship between the target video and the playback progress of the first soundtrack.
按照与第一配乐相同的方式,建立第二配乐与目标视频的播放进度对应关系。In the same way as the first soundtrack, the corresponding relationship between the playback progress of the second soundtrack and the target video is established.
当然,每选择一次配乐,都需要重新建立新选择的配乐与目标视频的播放进度对应关系,并可以保存新建立的对应关系。Of course, every time a soundtrack is selected, the corresponding relationship between the newly selected soundtrack and the playback progress of the target video needs to be re-established, and the newly established corresponding relationship can be saved.
S209,接收针对所述第一配乐的确认指令,对所述目标视频以及所述第一配乐进行合成,或接收针对所述第二配乐的确认指令,对所述目标视频以及所述第二配乐进行合成。S209. Receive a confirmation instruction for the first soundtrack, synthesize the target video and the first soundtrack, or receive a confirmation instruction for the second soundtrack, and compare the target video and the second soundtrack. To synthesize.
在用户只选择了第一配乐且认为第一配乐比较合适情况下,或者用户选择了第一配乐和第二配乐但认为第一配乐比较合适的情况下,则针对第一配乐输入确认指令(合成指令),则可触发目标视频与第一配乐按照所建立的播放进度对应关系进行合成,从而生成携带第一配乐的视频;In the case where the user only selects the first soundtrack and thinks the first soundtrack is more appropriate, or the user selects the first soundtrack and the second soundtrack but thinks the first soundtrack is more appropriate, then enter the confirmation command (synthesis) for the first soundtrack. Instruction), the target video and the first soundtrack can be triggered to synthesize according to the established playback progress correspondence relationship, thereby generating a video carrying the first soundtrack;
在用户选择了第一配乐和第二配乐但认为第二配乐比较合适的情况下,则针对第二配乐输入确认指令(合成指令),则可触发目标视频与第二配乐按照所建立的播放进度对应关系进行合成,从而生成携带第二配乐的视频。In the case that the user selects the first soundtrack and the second soundtrack but thinks the second soundtrack is more appropriate, input a confirmation instruction (synthesis instruction) for the second soundtrack to trigger the target video and the second soundtrack to follow the established playback progress The corresponding relationship is synthesized to generate a video with the second soundtrack.
在本申请实施例中,在配乐预览模式下,获取针对目标视频在配乐库中选择的第一配乐,并基于第一配乐与目标视频播放时长建立两者的播放进度对应关系,当控制第一配乐的播放进度条调整时,可同步调整所述目标视频的播放进度。在配乐预览模式下,通过控制配乐播放进度来控制视频播放进度,帮助用户在选择配乐过程中实时预览在视频中的应用效果,简化了用户未视频配置配乐的过程,还可以减少用户预览配乐效果的操作,方便用户进行更合理的决策。此外,即时用户需要更换配乐体验播放效果,只需要在配乐库中重新选择配乐并调整配乐的播放进度即可,简单方便,提升用户体验。In the embodiment of the present application, in the soundtrack preview mode, the first soundtrack selected in the soundtrack library for the target video is acquired, and the corresponding relationship between the playback progress of the first soundtrack and the playback time of the target video is established based on the first soundtrack and the playback time of the target video. When the playback progress bar of the soundtrack is adjusted, the playback progress of the target video can be adjusted synchronously. In the soundtrack preview mode, the video playback progress is controlled by controlling the soundtrack playback progress, helping users preview the application effects in the video in real time during the process of selecting the soundtrack, simplifying the process of users not configuring the soundtrack without the video, and reducing the user previewing the soundtrack effect The operation is convenient for users to make more reasonable decisions. In addition, even if the user needs to change the soundtrack to experience the playback effect, he only needs to re-select the soundtrack in the soundtrack library and adjust the playback progress of the soundtrack, which is simple and convenient, and improves the user experience.
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。The following are device embodiments of this application, which can be used to implement the method embodiments of this application. For details that are not disclosed in the device embodiments of this application, please refer to the method embodiments of this application.
请参见图4,其示出了本申请一个示例性实施例提供的视频播放进度控制装置的结构示意图。该视频播放进度控制装置可以通过软件、硬件或者两者的结合实现成为电子设备的全部或一部分。该装置1包括第一配乐获取模块10和播放进度调整模块20。Please refer to FIG. 4, which shows a schematic structural diagram of a video playback progress control device provided by an exemplary embodiment of the present application. The video playback progress control device can be implemented as all or a part of the electronic device through software, hardware or a combination of the two. The device 1 includes a first soundtrack acquisition module 10 and a playback progress adjustment module 20.
第一配乐获取模块10,用于在配乐预览模式下,获取针对目标视频在配乐库中选择的第一配乐;The first soundtrack acquiring module 10 is used to acquire the first soundtrack selected in the soundtrack library for the target video in the soundtrack preview mode;
播放进度调整模块20,用于接收针对所述第一配乐的播放进度条输入的进度调整指令,根据所述进度调整指令调整所述目标视频的播放进度。The playback progress adjustment module 20 is configured to receive a progress adjustment instruction input to the playback progress bar of the first soundtrack, and adjust the playback progress of the target video according to the progress adjustment instruction.
可选的,所述播放进度调整模块20,具体用于:Optionally, the playback progress adjustment module 20 is specifically configured to:
接收针对所述第一配乐的播放进度条输入的进度调整指令,根据所述进度调整指令调整所述第一配乐的第一播放进度,并同步调整所述目标视频的第二播放进度。Receive a progress adjustment instruction input for the playback progress bar of the first soundtrack, adjust the first playback progress of the first soundtrack according to the progress adjustment instruction, and synchronously adjust the second playback progress of the target video.
可选的,如图5所示,所述装置还包括:Optionally, as shown in FIG. 5, the device further includes:
播放时长获取模块30,用于获取所述第一配乐的第一播放时长以及所述目标视频的第二播放时长;The playback duration acquiring module 30 is configured to acquire the first playback duration of the first soundtrack and the second playback duration of the target video;
对应关系建立模块40,用于基于所述第一播放时长以及所述第二播放时长,建立所述目标视频与所述第一配乐的播放进度对应关系;The correspondence relationship establishment module 40 is configured to establish a correspondence relationship between the target video and the playback progress of the first soundtrack based on the first playback duration and the second playback duration;
所述播放进度调整模块20,具体用于:The playback progress adjustment module 20 is specifically used for:
获取所述进度调整指令对应的移动终点,将所述第一配乐的播放进度调整至所述移动终点指示的第一播放进度;Acquiring the moving end point corresponding to the progress adjustment instruction, and adjusting the playing progress of the first soundtrack to the first playing progress indicated by the moving end point;
基于所述目标视频与所述第一配乐的播放进度对应关系,将所述目标视频的播放进度调整至所述第一播放进度对应的第二播放进度。Based on the corresponding relationship between the target video and the playback progress of the first soundtrack, the playback progress of the target video is adjusted to a second playback progress corresponding to the first playback progress.
可选的,所述装置还包括:Optionally, the device further includes:
第二配乐获取模块50,用于获取针对所述目标视频在所述配乐库中选择的第二配乐,获取所述第二配乐的第三播放时长;The second soundtrack acquiring module 50 is configured to acquire the second soundtrack selected in the soundtrack library for the target video, and acquire the third playing duration of the second soundtrack;
第二配乐设置模块60,用于将所述第二配乐作为所述第一配乐,将所述第三播放时长作为所述第一播放时长,并触发所述对应关系建立模块40基于所述第一播放时长以及所述第二播放时长,建立所述目标视频与所述第一配乐的播放进度对应关系。The second soundtrack setting module 60 is configured to use the second soundtrack as the first soundtrack, and the third playback duration as the first playback duration, and trigger the correspondence relationship establishment module 40 based on the first soundtrack. A playback duration and the second playback duration are used to establish a corresponding relationship between the target video and the playback progress of the first soundtrack.
可选的,如图5所示,所述装置还包括:Optionally, as shown in FIG. 5, the device further includes:
对应关系保存模块70,用于保存所述目标视频与所述第一配乐的播放进度对应关系,或保存所述目标视频与所述第二配乐的播放进度对应关系。The correspondence relationship saving module 70 is configured to save the correspondence relationship between the target video and the playback progress of the first soundtrack, or save the correspondence relationship between the target video and the playback progress of the second soundtrack.
可选的,如图5所示,所述装置还包括:Optionally, as shown in FIG. 5, the device further includes:
配乐合成模块80,用于接收针对所述第一配乐的确认指令,对所述目标视频以及所述第一配乐进行合成,或接收针对所述第二配乐的确认指令,对所述目标视频以及所述第二配乐进行合成。The soundtrack synthesis module 80 is configured to receive a confirmation instruction for the first soundtrack, synthesize the target video and the first soundtrack, or receive a confirmation instruction for the second soundtrack, and compare the target video and the first soundtrack. The second soundtrack is synthesized.
可选的,如图5所示,所述装置还包括:Optionally, as shown in FIG. 5, the device further includes:
预览模式生成模块90,用于在显示界面的第一区域显示所述目标视频,在所述显示界面的第二区域以浮窗形式显示所述配乐库,生成配乐预览模式。The preview mode generating module 90 is configured to display the target video in the first area of the display interface, and display the soundtrack library in the form of floating windows in the second area of the display interface to generate a soundtrack preview mode.
需要说明的是,上述实施例提供的视频播放进度控制装置在执行视频播放进度控制方法时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的视频播放进度控制装置与视频播放进度控制方法实施例属于同一构思,其体现实现过程详见方法实施例,这里不再赘述。It should be noted that when the video playback progress control device provided in the above embodiment executes the video playback progress control method, only the division of the above functional modules is used as an example for illustration. In actual applications, the above function allocations can be divided according to needs. The function module is completed, that is, the internal structure of the device is divided into different function modules to complete all or part of the functions described above. In addition, the video playback progress control device provided in the foregoing embodiment and the video playback progress control method embodiment belong to the same concept, and the implementation process is detailed in the method embodiment, which will not be repeated here.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the foregoing embodiments of the present application are for description only, and do not represent the superiority or inferiority of the embodiments.
在本申请实施例中,在配乐预览模式下,获取针对目标视频在配乐库中选择的第一配乐,并基于第一配乐与目标视频播放时长建立两者的播放进度对应关系,当控制第一配乐的播放进度条调整时,可同步调整所述目标视频的播放进度。在配乐预览模式下,通过控制配乐播放进度来控制视频播放进度,帮助用户在选择配乐过程中实时预览在视频中的应用效果,简化了用户未视频配置配乐的过程,还可以减少用户预览配乐效果的操作,方便用户进行更合理的决策。此外,即时用户需要更换配乐体验播放效果,只需要在配乐库中重新选择配乐并调整配乐的播放进度即可,简单方便,提升用户体验。In the embodiment of the present application, in the soundtrack preview mode, the first soundtrack selected in the soundtrack library for the target video is acquired, and the corresponding relationship between the playback progress of the first soundtrack and the playback time of the target video is established based on the first soundtrack and the playback time of the target video. When the playback progress bar of the soundtrack is adjusted, the playback progress of the target video can be adjusted synchronously. In the soundtrack preview mode, the video playback progress is controlled by controlling the soundtrack playback progress, helping users preview the application effects in the video in real time during the process of selecting the soundtrack, simplifying the process of users not configuring the soundtrack without the video, and reducing the user previewing the soundtrack effect The operation is convenient for users to make more reasonable decisions. In addition, even if the user needs to change the soundtrack to experience the playback effect, he only needs to re-select the soundtrack in the soundtrack library and adjust the playback progress of the soundtrack, which is simple and convenient, and improves the user experience.
本申请实施例还提供了一种计算机存储介质,所述计算机存储介质可以存储有多条指令,所述指令适于由处理器加载并执行如上述图1-图3所示实施例的方法,具体执行过程可以参见图1-图3所示实施例的具体说明,在此不进行赘述。The embodiment of the present application also provides a computer storage medium, the computer storage medium may store a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the methods of the above-mentioned embodiments shown in FIGS. 1 to 3, For the specific execution process, please refer to the specific description of the embodiment shown in FIG. 1 to FIG. 3, which will not be repeated here.
请参见图6,为本申请实施例提供了一种电子设备的结构示意图。如图6所示,所述电子设备1000可以包括:至少一个处理器1001,至少一个网络接口1004,用户接口1003,存储器1005,至少一个通信总线1002。Please refer to FIG. 6, which provides a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in FIG. 6, the electronic device 1000 may include: at least one processor 1001, at least one network interface 1004, a user interface 1003, a memory 1005, and at least one communication bus 1002.
其中,通信总线1002用于实现这些组件之间的连接通信。Among them, the communication bus 1002 is used to implement connection and communication between these components.
其中,用户接口1003可以包括显示屏(Display)、摄像头(Camera),可选用户接口1003还可以包括标准的有线接口、无线接口。The user interface 1003 may include a display screen (Display) and a camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
其中,网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。Among them, the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
其中,处理器1001可以包括一个或者多个处理核心。处理器1001利用各种借口和线路连接整个服务器1000内的各个部分,通过运行或执行存储在 存储器1005内的指令、程序、代码集或指令集,以及调用存储在存储器1005内的数据,执行服务器1000的各种功能和处理数据。可选的,处理器1001可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器1001可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示屏所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器1001中,单独通过一块芯片进行实现。The processor 1001 may include one or more processing cores. The processor 1001 uses various excuses and lines to connect various parts of the entire server 1000, and executes the server by running or executing instructions, programs, code sets, or instruction sets stored in the memory 1005, and calling data stored in the memory 1005. Various functions and processing data of 1000. Optionally, the processor 1001 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA). A kind of hardware form to realize. The processor 1001 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), a modem, and the like. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is used to render and draw the content that needs to be displayed on the display screen; the modem is used to process wireless communication. It is understandable that the above-mentioned modem may not be integrated into the processor 1001, but may be implemented by a chip alone.
其中,存储器1005可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选的,该存储器1005包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器1005可用于存储指令、程序、代码、代码集或指令集。存储器1005可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等;存储数据区可存储上面各个方法实施例中涉及到的数据等。存储器1005可选的还可以是至少一个位于远离前述处理器1001的存储装置。如图6所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及视频播放进度控制应用程序。The memory 1005 may include random access memory (Random Access Memory, RAM), and may also include read-only memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable storage medium. The memory 1005 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 1005 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing the operating system and instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), Instructions and the like used to implement the above method embodiments; the storage data area can store the data and the like involved in the above method embodiments. Optionally, the memory 1005 may also be at least one storage device located far away from the foregoing processor 1001. As shown in FIG. 6, the memory 1005, which is a computer storage medium, may include an operating system, a network communication module, a user interface module, and a video playback progress control application program.
在图6所示的电子设备1000中,用户接口1003主要用于为用户提供输入的接口,获取用户输入的数据;而处理器1001可以用于调用存储器1005中存储的视频播放进度控制应用程序,并具体执行以下操作:In the electronic device 1000 shown in FIG. 6, the user interface 1003 is mainly used to provide an input interface for the user to obtain data input by the user; and the processor 1001 can be used to call a video playback progress control application stored in the memory 1005, And specifically perform the following operations:
在配乐预览模式下,获取针对目标视频在配乐库中选择的第一配乐;In the soundtrack preview mode, get the first soundtrack selected in the soundtrack library for the target video;
接收针对所述第一配乐的播放进度条输入的进度调整指令,根据所述进度调整指令调整所述目标视频的播放进度。Receiving a progress adjustment instruction input for the playback progress bar of the first soundtrack, and adjusting the playback progress of the target video according to the progress adjustment instruction.
在一个实施例中,所述处理器1001在执行接收针对所述第一配乐的播放进度条输入的进度调整指令,根据所述进度调整指令调整所述目标视频的播放进度时,具体执行以下操作:In one embodiment, when the processor 1001 receives a progress adjustment instruction input to the playback progress bar of the first soundtrack, and adjusts the playback progress of the target video according to the progress adjustment instruction, the processor 1001 specifically executes the following operations :
接收针对所述第一配乐的播放进度条输入的进度调整指令,根据所述进度调整指令调整所述第一配乐的第一播放进度,并同步调整所述目标视频的第二播放进度。Receive a progress adjustment instruction input for the playback progress bar of the first soundtrack, adjust the first playback progress of the first soundtrack according to the progress adjustment instruction, and synchronously adjust the second playback progress of the target video.
在一个实施例中,所述处理器1001在执行获取针对目标视频在配乐库中选择的第一配乐之后,还执行以下操作:In an embodiment, the processor 1001 further executes the following operations after acquiring the first soundtrack selected in the soundtrack library for the target video:
获取所述第一配乐的第一播放时长以及所述目标视频的第二播放时长;Acquiring the first playing duration of the first soundtrack and the second playing duration of the target video;
基于所述第一播放时长以及所述第二播放时长,建立所述目标视频与所述第一配乐的播放进度对应关系;Establishing a corresponding relationship between the target video and the playback progress of the first soundtrack based on the first playback duration and the second playback duration;
所述处理器1001在执行根据所述进度调整指令调整所述第一配乐的第一播放进度,并同步调整所述目标视频的第二播放进度时,具体执行以下步骤:When the processor 1001 adjusts the first playback progress of the first soundtrack according to the progress adjustment instruction and synchronously adjusts the second playback progress of the target video, specifically executes the following steps:
获取所述进度调整指令对应的移动终点,将所述第一配乐的播放进度调整至所述移动终点指示的第一播放进度;Acquiring the moving end point corresponding to the progress adjustment instruction, and adjusting the playing progress of the first soundtrack to the first playing progress indicated by the moving end point;
基于所述目标视频与所述第一配乐的播放进度对应关系,将所述目标视频的播放进度调整至所述第一播放进度对应的第二播放进度。Based on the corresponding relationship between the target video and the playback progress of the first soundtrack, the playback progress of the target video is adjusted to a second playback progress corresponding to the first playback progress.
在一个实施例中,所述处理器1001在执行基于所述目标视频与所述第一配乐的播放进度对应关系,将所述目标视频的播放进度调整至所述第一播放进度对应的第二播放进度之后,还执行以下步骤:In one embodiment, the processor 1001 is executing, based on the corresponding relationship between the target video and the playback progress of the first soundtrack, adjusting the playback progress of the target video to a second corresponding to the first playback progress. After playing the progress, perform the following steps:
获取针对所述目标视频在所述配乐库中选择的第二配乐,获取所述第二配乐的第三播放时长;Acquiring a second soundtrack selected in the soundtrack library for the target video, and acquiring a third playing duration of the second soundtrack;
将所述第二配乐作为所述第一配乐,将所述第三播放时长作为所述第一播放时长,并执行所述基于所述第一播放时长以及所述第二播放时长,建立所述目标视频与所述第一配乐的播放进度对应关系的步骤。The second soundtrack is used as the first soundtrack, the third playing duration is used as the first playing duration, and the establishment of the establishment based on the first playing duration and the second playing duration is performed The step of corresponding relationship between the target video and the playback progress of the first soundtrack.
在一个实施例中,所述处理器1001还执行以下步骤:In an embodiment, the processor 1001 further executes the following steps:
保存所述目标视频与所述第一配乐的播放进度对应关系。Save the corresponding relationship between the target video and the playback progress of the first soundtrack.
在一个实施例中,所述处理器1001还执行以下步骤:In an embodiment, the processor 1001 further executes the following steps:
接收针对所述第一配乐的确认指令,对所述目标视频以及所述第一配乐进行合成,或接收针对所述第二配乐的确认指令,对所述目标视频以及所述第二配乐进行合成。Receive a confirmation instruction for the first soundtrack, synthesize the target video and the first soundtrack, or receive a confirmation instruction for the second soundtrack, synthesize the target video and the second soundtrack .
在一个实施例中,所述处理器1001在执行在配乐预览模式下,获取针对目标视频在配乐库中选择的第一配乐之前,还执行以下步骤:In one embodiment, the processor 1001 further executes the following steps before acquiring the first soundtrack selected in the soundtrack library for the target video in the soundtrack preview mode:
在显示界面的第一区域显示所述目标视频,在所述显示界面的第二区域以浮窗形式显示所述配乐库,生成配乐预览模式。The target video is displayed in the first area of the display interface, and the soundtrack library is displayed in the form of a floating window in the second area of the display interface to generate a soundtrack preview mode.
在本申请实施例中,在配乐预览模式下,获取针对目标视频在配乐库中选择的第一配乐,并基于第一配乐与目标视频播放时长建立两者的播放进度对应关系,当控制第一配乐的播放进度条调整时,可同步调整所述目标视频的播放进度。在配乐预览模式下,通过控制配乐播放进度来控制视频播放进度,帮助用户在选择配乐过程中实时预览在视频中的应用效果,简化了用户未视频配置配乐的过程,还可以减少用户预览配乐效果的操作,方便用户进行更合理的决策。此外,即时用户需要更换配乐体验播放效果,只需要在配乐库中重新选择配乐并调整配乐的播放进度即可,简单方便,提升用户体验。In the embodiment of the present application, in the soundtrack preview mode, the first soundtrack selected in the soundtrack library for the target video is acquired, and the corresponding relationship between the playback progress of the first soundtrack and the playback time of the target video is established based on the first soundtrack and the playback time of the target video. When the playback progress bar of the soundtrack is adjusted, the playback progress of the target video can be adjusted synchronously. In the soundtrack preview mode, the video playback progress is controlled by controlling the soundtrack playback progress, helping users preview the application effects in the video in real time during the process of selecting the soundtrack, simplifying the process of users not configuring the soundtrack without the video, and reducing the user previewing the soundtrack effect The operation is convenient for users to make more reasonable decisions. In addition, even if the user needs to change the soundtrack to experience the playback effect, he only needs to re-select the soundtrack in the soundtrack library and adjust the playback progress of the soundtrack, which is simple and convenient, and improves the user experience.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流 程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体或随机存储记忆体等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through a computer program. The program can be stored in a computer readable storage medium. During execution, it may include the procedures of the above-mentioned method embodiments. Wherein, the storage medium can be a magnetic disk, an optical disc, a read-only storage memory, or a random storage memory, etc.
以上所揭露的仅为本申请较佳实施例而已,当然不能以此来限定本申请之权利范围,因此依本申请权利要求所作的等同变化,仍属本申请所涵盖的范围。The above-disclosed are only preferred embodiments of this application, and of course the scope of rights of this application cannot be limited by this. Therefore, equivalent changes made according to the claims of this application still fall within the scope of this application.

Claims (20)

  1. 一种视频播放进度控制方法,其特征在于,所述方法包括:A video playback progress control method, characterized in that the method includes:
    在配乐预览模式下,获取针对目标视频在配乐库中选择的第一配乐;In the soundtrack preview mode, get the first soundtrack selected in the soundtrack library for the target video;
    接收针对所述第一配乐的播放进度条输入的进度调整指令,根据所述进度调整指令调整所述目标视频的播放进度。Receiving a progress adjustment instruction input for the playback progress bar of the first soundtrack, and adjusting the playback progress of the target video according to the progress adjustment instruction.
  2. 根据权利要求1所述的方法,其特征在于,所述接收针对所述第一配乐的播放进度条输入的进度调整指令,根据所述进度调整指令调整所述目标视频的播放进度,包括:The method according to claim 1, wherein the receiving a progress adjustment instruction input for the playback progress bar of the first soundtrack, and adjusting the playback progress of the target video according to the progress adjustment instruction comprises:
    接收针对所述第一配乐的播放进度条输入的进度调整指令,根据所述进度调整指令调整所述第一配乐的第一播放进度,并同步调整所述目标视频的第二播放进度。Receive a progress adjustment instruction input for the playback progress bar of the first soundtrack, adjust the first playback progress of the first soundtrack according to the progress adjustment instruction, and synchronously adjust the second playback progress of the target video.
  3. 根据权利要求2所述的方法,其特征在于,所述获取针对目标视频在配乐库中选择的第一配乐之后,还包括:The method according to claim 2, wherein after the obtaining the first soundtrack selected in the soundtrack library for the target video, the method further comprises:
    获取所述第一配乐的第一播放时长以及所述目标视频的第二播放时长;Acquiring the first playing duration of the first soundtrack and the second playing duration of the target video;
    基于所述第一播放时长以及所述第二播放时长,建立所述目标视频与所述第一配乐的播放进度对应关系;Establishing a corresponding relationship between the target video and the playback progress of the first soundtrack based on the first playback duration and the second playback duration;
    所述根据所述进度调整指令调整所述第一配乐的第一播放进度,并同步调整所述目标视频的第二播放进度,包括:The adjusting the first playback progress of the first soundtrack according to the progress adjustment instruction and synchronously adjusting the second playback progress of the target video includes:
    获取所述进度调整指令对应的移动终点,将所述第一配乐的播放进度调整至所述移动终点指示的第一播放进度;Acquiring the moving end point corresponding to the progress adjustment instruction, and adjusting the playing progress of the first soundtrack to the first playing progress indicated by the moving end point;
    基于所述目标视频与所述第一配乐的播放进度对应关系,将所述目标视频的播放进度调整至所述第一播放进度对应的第二播放进度。Based on the corresponding relationship between the target video and the playback progress of the first soundtrack, the playback progress of the target video is adjusted to a second playback progress corresponding to the first playback progress.
  4. 根据权利要求3所述的方法,其特征在于,所述基于所述目标视频与所述第一配乐的播放进度对应关系,将所述目标视频的播放进度调整至所述第一播放进度对应的第二播放进度之后,还包括:The method according to claim 3, wherein the playback progress of the target video is adjusted to that corresponding to the first playback progress based on the corresponding relationship between the target video and the playback progress of the first soundtrack. After the second playback progress, it also includes:
    获取针对所述目标视频在所述配乐库中选择的第二配乐,获取所述第二配乐的第三播放时长;Acquiring a second soundtrack selected in the soundtrack library for the target video, and acquiring a third playing duration of the second soundtrack;
    将所述第二配乐作为所述第一配乐,将所述第三播放时长作为所述第一播放时长,并执行所述基于所述第一播放时长以及所述第二播放时长,建立所述目标视频与所述第一配乐的播放进度对应关系的步骤。The second soundtrack is used as the first soundtrack, the third playing duration is used as the first playing duration, and the establishment of the establishment based on the first playing duration and the second playing duration is performed The step of corresponding relationship between the target video and the playback progress of the first soundtrack.
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method according to claim 4, wherein the method further comprises:
    保存所述目标视频与所述第一配乐的播放进度对应关系,或保存所述目标视频与所述第二配乐的播放进度对应关系。Save the corresponding relationship between the target video and the playback progress of the first soundtrack, or save the corresponding relationship between the target video and the playback progress of the second soundtrack.
  6. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method according to claim 4, wherein the method further comprises:
    接收针对所述第一配乐的确认指令,对所述目标视频以及所述第一配乐进行合成,或接收针对所述第二配乐的确认指令,对所述目标视频以及所述第二配乐进行合成。Receive a confirmation instruction for the first soundtrack, synthesize the target video and the first soundtrack, or receive a confirmation instruction for the second soundtrack, synthesize the target video and the second soundtrack .
  7. 根据权利要求1所述的方法,其特征在于,所述在配乐预览模式下,获取针对目标视频在配乐库中选择的第一配乐之前,还包括:The method according to claim 1, wherein, in the soundtrack preview mode, before acquiring the first soundtrack selected in the soundtrack library for the target video, the method further comprises:
    在显示界面的第一区域显示所述目标视频,在所述显示界面的第二区域以浮窗形式显示所述配乐库,生成配乐预览模式。The target video is displayed in the first area of the display interface, and the soundtrack library is displayed in the form of a floating window in the second area of the display interface to generate a soundtrack preview mode.
  8. 根据权利要求1所述的方法,其特征在于,所述在配乐预览模式下,获取针对目标视频在配乐库中选择的第一配乐,包括:The method according to claim 1, wherein the obtaining the first soundtrack selected in the soundtrack library for the target video in the soundtrack preview mode comprises:
    在配乐预览模式下,接收针配乐库中的配乐的切换指令;In the soundtrack preview mode, receive the switching instruction of the soundtrack in the soundtrack library;
    基于所述切换指令,确定针对目标视频在所述配乐库中选择的第一配乐。Based on the switching instruction, the first soundtrack selected in the soundtrack library for the target video is determined.
  9. 根据权利要求1所述的方法,其特征在于,所述在配乐预览模式下,获取针对目标视频在配乐库中选择的第一配乐之后,还包括:The method according to claim 1, wherein, in the soundtrack preview mode, after acquiring the first soundtrack selected in the soundtrack library for the target video, the method further comprises:
    在显示界面上对应显示所述第一配乐的播放进度条,所述播放进度条的显示形式包括滑轨形式或波形图形式。The playback progress bar of the first soundtrack is correspondingly displayed on the display interface, and the display form of the playback progress bar includes a slide rail form or a waveform diagram form.
  10. 一种视频播放进度控制装置,其特征在于,所述装置包括:A video playback progress control device, characterized in that the device includes:
    第一配乐获取模块,用于在配乐预览模式下,获取针对目标视频在配乐库中选择的第一配乐;The first soundtrack acquisition module is used to acquire the first soundtrack selected in the soundtrack library for the target video in the soundtrack preview mode;
    播放进度调整模块,用于接收针对所述第一配乐的播放进度条输入的进度调整指令,根据所述进度调整指令调整所述目标视频的播放进度。The playback progress adjustment module is configured to receive a progress adjustment instruction input to the playback progress bar of the first soundtrack, and adjust the playback progress of the target video according to the progress adjustment instruction.
  11. 根据权利要求10所述的装置,其特征在于,所述播放进度调整模块,具体用于:The device according to claim 10, wherein the playback progress adjustment module is specifically configured to:
    接收针对所述第一配乐的播放进度条输入的进度调整指令,根据所述进度调整指令调整所述第一配乐的第一播放进度,并同步调整所述目标视频的第二播放进度。Receive a progress adjustment instruction input for the playback progress bar of the first soundtrack, adjust the first playback progress of the first soundtrack according to the progress adjustment instruction, and synchronously adjust the second playback progress of the target video.
  12. 根据权利要求10所述的装置,其特征在于,所述装置还包括:The device according to claim 10, wherein the device further comprises:
    播放时长获取模块,用于获取所述第一配乐的第一播放时长以及所述目标视频的第二播放时长;A playback duration acquisition module, configured to acquire the first playback duration of the first soundtrack and the second playback duration of the target video;
    对应关系建立模块,用于基于所述第一播放时长以及所述第二播放时长,建立所述目标视频与所述第一配乐的播放进度对应关系;A corresponding relationship establishment module, configured to establish a corresponding relationship between the target video and the playback progress of the first soundtrack based on the first playback duration and the second playback duration;
    所述播放进度调整模块,具体用于:The playback progress adjustment module is specifically used for:
    获取所述进度调整指令对应的移动终点,将所述第一配乐的播放进度调整至所述移动终点指示的第一播放进度;Acquiring the moving end point corresponding to the progress adjustment instruction, and adjusting the playing progress of the first soundtrack to the first playing progress indicated by the moving end point;
    基于所述目标视频与所述第一配乐的播放进度对应关系,将所述目标视频的播放进度调整至所述第一播放进度对应的第二播放进度。Based on the corresponding relationship between the target video and the playback progress of the first soundtrack, the playback progress of the target video is adjusted to a second playback progress corresponding to the first playback progress.
  13. 根据权利要求10所述的装置,其特征在于,所述装置还包括:The device according to claim 10, wherein the device further comprises:
    第二配乐获取模块,用于获取针对所述目标视频在所述配乐库中选择的第二配乐,获取所述第二配乐的第三播放时长;A second soundtrack acquisition module, configured to acquire a second soundtrack selected in the soundtrack library for the target video, and acquire a third playing duration of the second soundtrack;
    第二配乐设置模块,用于将所述第二配乐作为所述第一配乐,将所述第三播放时长作为所述第一播放时长,并触发所述对应关系建立模块40基于所述第一播放时长以及所述第二播放时长,建立所述目标视频与所述第一配乐的播放进度对应关系。The second soundtrack setting module is configured to use the second soundtrack as the first soundtrack, and the third playing duration as the first playing duration, and trigger the corresponding relationship establishment module 40 based on the first soundtrack. The playback duration and the second playback duration establish a corresponding relationship between the playback progress of the target video and the first soundtrack.
  14. 根据权利要求10所述的装置,其特征在于,所述装置还包括:The device according to claim 10, wherein the device further comprises:
    对应关系保存模块,用于保存所述目标视频与所述第一配乐的播放进度对应关系,或保存所述目标视频与所述第二配乐的播放进度对应关系。The correspondence relationship saving module is configured to save the correspondence relationship between the target video and the playback progress of the first soundtrack, or save the correspondence relationship between the target video and the playback progress of the second soundtrack.
  15. 根据权利要求10所述的装置,其特征在于,所述装置还包括:The device according to claim 10, wherein the device further comprises:
    配乐合成模块,用于接收针对所述第一配乐的确认指令,对所述目标视频以及所述第一配乐进行合成,或接收针对所述第二配乐的确认指令,对所述目标视频以及所述第二配乐进行合成。The soundtrack synthesis module is configured to receive a confirmation instruction for the first soundtrack, synthesize the target video and the first soundtrack, or receive a confirmation instruction for the second soundtrack, and compare the target video and the first soundtrack. The second soundtrack is synthesized.
  16. 根据权利要求10所述的装置,其特征在于,所述装置还包括:The device according to claim 10, wherein the device further comprises:
    预览模式生成模块,用于在显示界面的第一区域显示所述目标视频,在所述显示界面的第二区域以浮窗形式显示所述配乐库,生成配乐预览模式。The preview mode generating module is configured to display the target video in the first area of the display interface, and display the soundtrack library in the form of floating windows in the second area of the display interface to generate a soundtrack preview mode.
  17. 根据权利要求10所述的装置,其特征在于,第一配乐获取模块,用于所述在配乐预览模式下,获取针对目标视频在配乐库中选择的第一配乐时,具体用于:The device according to claim 10, wherein the first soundtrack obtaining module is used for obtaining the first soundtrack selected in the soundtrack library for the target video in the soundtrack preview mode, specifically for:
    在配乐预览模式下,接收针配乐库中的配乐的切换指令;In the soundtrack preview mode, receive the switching instruction of the soundtrack in the soundtrack library;
    基于所述切换指令,确定针对目标视频在所述配乐库中选择的第一配乐。Based on the switching instruction, the first soundtrack selected in the soundtrack library for the target video is determined.
  18. 根据权利要求10所述的装置,其特征在于,所述装置还包括:The device according to claim 10, wherein the device further comprises:
    进度条显示模块,用于在配乐预览模式下,获取针对目标视频在配乐库中选择的第一配乐之后,在显示界面上对应显示所述第一配乐的播放进度条,所述播放进度条的显示形式包括滑轨形式或波形图形式。The progress bar display module is used for obtaining the first soundtrack selected in the soundtrack library for the target video in the soundtrack preview mode, and correspondingly displaying the playback progress bar of the first soundtrack on the display interface. The display form includes the slide rail form or the wave form graph form.
  19. 一种计算机存储介质,其特征在于,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行如权利要求1~9任意一项的方法步骤。A computer storage medium, wherein the computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method steps according to any one of claims 1-9.
  20. 一种电子设备,其特征在于,包括:处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行如权利要求1~9任意一项的方法步骤。An electronic device, comprising: a processor and a memory; wherein the memory stores a computer program, and the computer program is adapted to be loaded by the processor and executed as claimed in any one of claims 1-9. Method steps.
PCT/CN2021/077368 2020-04-28 2021-02-23 Video playing progress control method and apparatus, and storage medium and electronic device WO2021218311A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010352407.6 2020-04-28
CN202010352407.6A CN111541945B (en) 2020-04-28 2020-04-28 Video playing progress control method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
WO2021218311A1 true WO2021218311A1 (en) 2021-11-04

Family

ID=71975807

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/077368 WO2021218311A1 (en) 2020-04-28 2021-02-23 Video playing progress control method and apparatus, and storage medium and electronic device

Country Status (2)

Country Link
CN (1) CN111541945B (en)
WO (1) WO2021218311A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125509A (en) * 2021-11-30 2022-03-01 深圳Tcl新技术有限公司 Video playing method and device, electronic equipment and storage medium
CN114598909A (en) * 2022-03-30 2022-06-07 青岛海信宽带多媒体技术有限公司 Intelligent set top box and live program timeline display method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111541945B (en) * 2020-04-28 2022-05-10 Oppo广东移动通信有限公司 Video playing progress control method and device, storage medium and electronic equipment
CN114339429A (en) * 2020-09-30 2022-04-12 华为技术有限公司 Audio and video playing control method, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120177337A1 (en) * 2006-12-18 2012-07-12 Core Wireless Licensing S.A.R.L. Audio routing for audio-video recording
CN104683565A (en) * 2013-11-28 2015-06-03 Lg电子株式会社 Mobile terminal and controlling method thereof
US20160234345A1 (en) * 2015-02-05 2016-08-11 Qwire Holdings Llc Media player distribution and collaborative editing
CN110602550A (en) * 2019-08-09 2019-12-20 咪咕动漫有限公司 Video processing method, electronic equipment and storage medium
CN110677711A (en) * 2019-10-17 2020-01-10 北京字节跳动网络技术有限公司 Video dubbing method and device, electronic equipment and computer readable medium
CN110781349A (en) * 2018-07-30 2020-02-11 优视科技有限公司 Method, equipment, client device and electronic equipment for generating short video
CN111541945A (en) * 2020-04-28 2020-08-14 Oppo广东移动通信有限公司 Video playing progress control method and device, storage medium and electronic equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8244103B1 (en) * 2011-03-29 2012-08-14 Capshore, Llc User interface for method for creating a custom track
US9530452B2 (en) * 2013-02-05 2016-12-27 Alc Holdings, Inc. Video preview creation with link
US9716909B2 (en) * 2013-11-19 2017-07-25 SketchPost, LLC Mobile video editing and sharing for social media
CN106326343A (en) * 2016-08-05 2017-01-11 重庆锐畅科技有限公司 Electronic whiteboard data sharing system based on audio and video data correlation synchronization
CN107786876A (en) * 2017-09-21 2018-03-09 北京达佳互联信息技术有限公司 The synchronous method of music and video, device and mobile terminal
CN108900902B (en) * 2018-07-06 2020-06-09 北京微播视界科技有限公司 Method, device, terminal equipment and storage medium for determining video background music
CN108600825B (en) * 2018-07-12 2019-10-25 北京微播视界科技有限公司 Select method, apparatus, terminal device and the medium of background music shooting video
CN109618229A (en) * 2018-12-21 2019-04-12 广州酷狗计算机科技有限公司 Association playback method, device, server and the storage medium of audio-video
CN110198486B (en) * 2019-05-28 2022-04-05 上海哔哩哔哩科技有限公司 Method for previewing video material, computer equipment and readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120177337A1 (en) * 2006-12-18 2012-07-12 Core Wireless Licensing S.A.R.L. Audio routing for audio-video recording
CN104683565A (en) * 2013-11-28 2015-06-03 Lg电子株式会社 Mobile terminal and controlling method thereof
US20160234345A1 (en) * 2015-02-05 2016-08-11 Qwire Holdings Llc Media player distribution and collaborative editing
CN110781349A (en) * 2018-07-30 2020-02-11 优视科技有限公司 Method, equipment, client device and electronic equipment for generating short video
CN110602550A (en) * 2019-08-09 2019-12-20 咪咕动漫有限公司 Video processing method, electronic equipment and storage medium
CN110677711A (en) * 2019-10-17 2020-01-10 北京字节跳动网络技术有限公司 Video dubbing method and device, electronic equipment and computer readable medium
CN111541945A (en) * 2020-04-28 2020-08-14 Oppo广东移动通信有限公司 Video playing progress control method and device, storage medium and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125509A (en) * 2021-11-30 2022-03-01 深圳Tcl新技术有限公司 Video playing method and device, electronic equipment and storage medium
CN114125509B (en) * 2021-11-30 2024-01-19 深圳Tcl新技术有限公司 Video playing method and device, electronic equipment and storage medium
CN114598909A (en) * 2022-03-30 2022-06-07 青岛海信宽带多媒体技术有限公司 Intelligent set top box and live program timeline display method
CN114598909B (en) * 2022-03-30 2023-12-01 青岛海信宽带多媒体技术有限公司 Intelligent set top box and time axis display method of live program

Also Published As

Publication number Publication date
CN111541945A (en) 2020-08-14
CN111541945B (en) 2022-05-10

Similar Documents

Publication Publication Date Title
WO2021218311A1 (en) Video playing progress control method and apparatus, and storage medium and electronic device
US11450350B2 (en) Video recording method and apparatus, video playing method and apparatus, device, and storage medium
US20230120442A1 (en) Sharing Method and Electronic Device
JP7157177B2 (en) Video Acquisition Method, Apparatus, Terminal and Medium
US20110181521A1 (en) Techniques for controlling z-ordering in a user interface
CN111050203B (en) Video processing method and device, video processing equipment and storage medium
JP6076418B2 (en) Electronic device and comic production method
WO2020010971A1 (en) Video file generation method and device and storage medium
KR20170019242A (en) Method and apparatus for providing user interface in an electronic device
US20200411053A1 (en) Video processing method and apparatus, terminal and medium
JP6068342B2 (en) Composite attribute control method and portable terminal supporting the same
CN110489039A (en) Information processing method, device, storage medium and electronic equipment
US20240089134A1 (en) Conference creation method, conference control method, and electronic device
KR20170018692A (en) Electronic device and operating method thereof
WO2022143525A1 (en) Video playing method and apparatus, and electronic device
WO2023088183A1 (en) Image display method and apparatus, and electronic device
US10575030B2 (en) System, method, and program for distributing video
CN110377220B (en) Instruction response method and device, storage medium and electronic equipment
CN112291615A (en) Audio output method and audio output device
WO2021190135A1 (en) Setting control display method and apparatus, storage medium, and electronic device
WO2023202360A1 (en) Video preview method and apparatus, readable medium, and electronic device
CN113721821A (en) Music playing method and equipment
CN110134305A (en) A kind of word speed adjusting method, device and the device adjusted for word speed
WO2022237491A1 (en) Multimedia data processing method and apparatus, and device, computer-readable storage medium and computer program product
CN114173177B (en) Video processing method, device, equipment and storage medium

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: 21796923

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21796923

Country of ref document: EP

Kind code of ref document: A1