WO2025256375A1 - 视频编辑方法、装置及终端设备 - Google Patents
视频编辑方法、装置及终端设备Info
- Publication number
- WO2025256375A1 WO2025256375A1 PCT/CN2025/096449 CN2025096449W WO2025256375A1 WO 2025256375 A1 WO2025256375 A1 WO 2025256375A1 CN 2025096449 W CN2025096449 W CN 2025096449W WO 2025256375 A1 WO2025256375 A1 WO 2025256375A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- video
- video material
- editing
- draft
- proxy
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-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
Definitions
- This disclosure relates to the field of video editing technology, and in particular to a video editing method, apparatus, and terminal device.
- video proxies are created by copying or transcoding original high-definition video footage to obtain a proxy file with a lower resolution than the original video file. Editing this proxy file can improve the efficiency of video editing.
- This disclosure provides a video editing method, apparatus, and terminal device to solve the technical problem of resource waste in existing terminal devices.
- this disclosure provides a video editing method, which includes:
- the draft for video editing includes at least one video clip
- a first video material is determined, wherein the first video material is a video material whose decoding time is greater than or equal to a preset duration;
- a second video material is determined, wherein the resolution and/or bitrate of the second video material is less than that of the first video material;
- the second video footage is used instead of the first video footage for rendering.
- this disclosure provides a video editing apparatus, which includes...
- the module comprises an acquisition module, a first determination module, a second determination module, and a replacement module, wherein:
- the acquisition module is used to acquire a draft of the video editing, wherein the draft of the video editing includes at least one video material;
- the first determining module is used to determine a first video material among the at least one video material, wherein the first video material is a video material whose decoding time is greater than or equal to a preset duration;
- the second determining module is used to determine a second video material based on the first video material, wherein the resolution and/or bitrate of the second video material is less than that of the first video material;
- the substitution module is used to render the draft by replacing the first video material with the second video material.
- embodiments of this disclosure provide a terminal device including: a processor and a memory;
- the memory stores computer-executed instructions
- the processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the video editing methods described in the first aspect above and various possible aspects of the first aspect.
- embodiments of this disclosure provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the video editing methods described in the first aspect and various possible aspects thereof.
- the terminal device can acquire a draft of the video editing, wherein the draft may include at least one video clip.
- the terminal device can determine a first video clip from the at least one video clip, wherein the first video clip is a video clip whose decoding time is greater than or equal to a preset duration.
- the terminal device can determine a second video clip based on the first video clip, wherein the resolution and/or bitrate of the second video clip is lower than that of the first video clip.
- the terminal device can use the second video clip instead of the first video clip for rendering when previewing the draft.
- Figure 1 is a schematic diagram of an application scenario provided by an embodiment of this disclosure.
- Figure 2 is a flowchart illustrating a video editing method provided in an embodiment of this disclosure
- Figure 3 is a schematic diagram of a process for dividing multiple interval segments according to an embodiment of the present disclosure
- Figure 4 is a schematic diagram of a process for determining the first video material according to an embodiment of this disclosure
- Figure 5 is a schematic diagram of a video proxy method provided in an embodiment of this disclosure.
- Figure 6 is a schematic diagram of a process for stopping a video proxy according to an embodiment of this disclosure.
- Figure 7 is a schematic diagram of a method for determining a second video material according to an embodiment of this disclosure.
- Figure 8 is a schematic diagram of an architecture for implementing a video editing method according to an embodiment of this disclosure.
- Figure 9 is a schematic diagram of a video editing method provided in an embodiment of this disclosure.
- Figure 10 is a schematic diagram of the structure of a video editing device provided in an embodiment of this disclosure.
- Figure 11 is a schematic diagram of the structure of a terminal device provided in an embodiment of this disclosure.
- a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information.
- This allows the user to independently choose whether to provide personal information to the software or hardware, such as the terminal device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.
- sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format.
- the pop-up window can also include a selection control allowing the user to choose "agree” or "disagree” to provide personal information to the terminal device.
- Terminal device A device with wireless transceiver capabilities. Terminal devices can be deployed on land, including indoors or outdoors, handheld, wearable, or vehicle-mounted. These terminal devices can be mobile phones, tablets, computers with wireless transceiver capabilities, virtual reality (VR) terminal devices, augmented reality (AR) terminal devices, wireless terminals in industrial control, vehicle-mounted terminal devices, wireless terminals in self-driving, remote medical, smart grid, transportation safety, smart city, smart home, wearable terminal devices, etc.
- VR virtual reality
- AR augmented reality
- the terminal equipment involved in the embodiments of this disclosure may also be referred to as a terminal, user equipment (UE), access terminal equipment, vehicle-mounted terminal, industrial control terminal, UE unit, UE station, mobile station, mobile station, remote station, remote terminal equipment, mobile device, UE terminal equipment, wireless communication equipment, UE agent, or UE device, etc.
- the terminal equipment may also be fixed or mobile.
- video proxying involves replicating or transcoding original high-definition video footage to obtain proxy files. These proxy files are smaller in size and have lower resolution than the original video files, allowing users to edit the video smoothly.
- terminal devices can apply video proxies to video footage based on user selection. For example, a terminal device can provide a video proxy selection window; if the user selects a video proxy during video editing, the device can apply it to all video footage.
- video proxying requires user activation, and the terminal device can only apply it to all video footage, leading to wasted device resources and limited flexibility.
- a terminal device can acquire a draft of the video editing, and within the draft's video material, identify a first video material whose decoding time is greater than or equal to a preset duration.
- the terminal device can acquire the resolution of the first video material and, based on its resolution, determine its video proxy priority.
- the terminal device can then perform video proxying on the first video material according to the proxy priority to obtain a second video material corresponding to the first video material.
- the resolution and/or bitrate of the second video material is lower than that of the first video material.
- the terminal device can perform video proxying on the first video material with a longer decoding time in the video editing draft, that is, obtain the second video material with a lower resolution and/or bitrate corresponding to the first video material, the terminal device can accurately perform video proxying on the video material in the draft, thereby improving the resource utilization of the terminal device and saving terminal device resources. Furthermore, since the terminal device can perform video proxying on multiple first video materials according to the video proxy priority, the flexibility of video proxying can be improved. Moreover, the terminal device uses the second video material to proxy the first video material for rendering, thereby avoiding video editing stuttering and improving the efficiency and smoothness of video editing.
- Figure 1 is a schematic diagram of an application scenario provided by an embodiment of this disclosure. Referring to Figure 1, it includes: track 1 and track 2, where track 1 and track 2 are video tracks on a video editing page. Track 1 includes video material A and video material B, and track 2 includes video material C. Video material A, video material B, and video material C are all video materials in the draft of the video editing. If the terminal device (not shown in Figure 1) determines that the decoding time of video material C is greater than a preset duration, the terminal device can perform video proxy on video material C to obtain video material D.
- the video content of video material D is the same as the video content of video material C, but the resolution of video material D is lower than the resolution of video material C, and the bitrate of video material D is lower than the bitrate of video material C.
- the terminal device can replace video material C in track 2 with video material D. This improves the accuracy and flexibility of video proxy and increases the efficiency of video editing.
- Figure 1 is merely an example of an application scenario of the embodiments of this disclosure, and is not intended to limit the application scenarios of the embodiments of this disclosure.
- Figure 2 is a flowchart illustrating a video editing method provided in an embodiment of this disclosure. Referring to Figure 2, the method may include:
- the execution entity of this disclosure can be a terminal device or a video editing device installed in the terminal device.
- the video editing device can be implemented based on software, or it can be implemented based on a combination of software and hardware; this disclosure does not limit this approach.
- Drafts can be preliminary or incomplete versions during the video editing process.
- a draft can be a temporary stage in the video editing process, used to record the current progress of video editing and the user's editing operations on multimedia materials (such as video and audio materials) in the draft.
- the video editing draft may include at least one video clip.
- the video editing draft may include one video clip or multiple video clips; this disclosure does not limit this.
- the video clip may be an unedited video file or a video file that has undergone preliminary editing; this disclosure does not limit this.
- the terminal device can retrieve video editing drafts from its memory.
- the video editing application's page may include a draft display area, which can include multiple drafts (multiple drafts pre-stored in memory).
- the terminal device can identify the clicked draft as the video editing draft. For instance, after a user clicks on a draft, the terminal device can navigate to the video editing page and load the clicked draft, allowing the user to continue video editing on that draft within the video editing page.
- the terminal device can also obtain the video editing draft according to any other feasible implementation method (e.g., the terminal device can receive the video editing draft sent by the server), and this disclosure embodiment does not limit this.
- the first video material is a video material whose decoding time is greater than or equal to a preset duration.
- the first video material can also be a video material with decoding performance problems.
- decoding performance problems may include problems such as long decoding time, video material playback stuttering, and video material playback frame dropping, which are not limited in this embodiment.
- the terminal device may include a performance information acquisition module, which can determine the first video clip.
- the performance information acquisition module can collect and analyze each video clip, media resource information (media resource format, etc.), decoding performance information (decoding capability, etc.), and decoding pressure (e.g., high-resolution video has high decoding pressure) in the current timeline playback scenario.
- the performance information acquisition module can identify the first video clip in the draft that has decoding performance problems, and the performance information acquisition module can report the first video clip.
- the terminal device can also obtain the first video clip from the performance information acquisition module.
- the terminal device may determine the first video material from at least one video material according to the following feasible implementation method: dividing the video editing draft into multiple intervals, determining the target interval where decoding frame loss occurs among the multiple intervals, and determining the first video material based on the video material fragments in the target interval.
- Each segment can include at least one clip of video footage.
- a terminal device can divide a video editing draft into segment 1, segment 2, and segment 3.
- Segment 1 can include a clip of video footage A
- segment 2 can include clips of both video footage A and video footage B
- segment 3 can include a clip of video footage B.
- the terminal device divides the video editing draft into multiple segments. This can be done by: loading the draft in the video editing page, which includes a timeline; determining the division points in the timeline; and dividing the video editing draft into multiple segments at the division points.
- the timeline of the video editing page can include the video footage from the draft and the video editing footage. Users can then edit the draft video on the video editing page.
- Dividing points can be used to divide a video editing draft into multiple segments.
- a dividing point can be a point on the timeline, which can be used to divide the draft into multiple segments of different time periods.
- the terminal device can determine the points where video clips change along the timeline as segmentation points. For example, on the timeline, if time point 1-time point 2 includes a segment of video clip A, time point 2-time point 3 includes a segment of video clip A and a segment of video clip B, and time point 3-time point 4 includes a segment of video clip A, then the terminal device can determine time points 2 and 3 as segmentation points and divide the draft into three segments based on time points 2 and 3.
- Figure 3 is a schematic diagram of a process for dividing multiple segments according to an embodiment of this disclosure. Referring to Figure 3, it includes a timeline.
- the timeline includes video footage A, video footage B, video footage C, and video footage D.
- Video footage A, video footage B, video footage C, and video footage D are all video footage from a draft video editing file.
- a terminal device (not shown in Figure 3) can determine segmentation points 1, 2, 3, and 4 on the timeline.
- split point 1 To the left of split point 1 is a segment of video material A, and to the right of split point 1 are segments of video material A and video material B. To the left of split point 2 are segments of video material A and video material B, and to the right of split point 2 are segments of video material B and video material C.
- segment 3 To the left of segment 3 are segments of video material B and video material C, and to the right of segment 3 are segments of video material B, video material C, and video material D. To the left of segment 4 are segments of video material B, video material C, and video material D, and to the right of segment 4 are segments of video material C and video material D.
- the terminal device can divide the draft into segments a, b, c, d, and e based on segmentation points 1, 2, 3, and 4.
- Segment a includes a segment of video material A.
- Segment b includes a segment of both video material A and video material B.
- Segment c includes segments of video footage B and video footage C.
- Segment d includes segments of video footage B, video footage C, and video footage D.
- Segment e includes segments of video footage C and video footage D.
- the terminal device can divide the draft into multiple segments based on the changes of the video footage along the timeline, improving the accuracy of the segments and thus improving the accuracy of determining the first video footage.
- the target interval can be an interval where decoding frame drops occur.
- the terminal device can determine the target interval according to the following feasible implementation method: preview the draft of the video editing, and for any interval, if any video material segment in the interval drops frames during playback, then the interval is determined as the target interval.
- a segment may include at least one video clip. If a video clip experiences frame drops, the terminal device can designate that segment as the target segment. For example, a draft may include segment 1 and segment 2. During the user's preview of the draft, if any video clip in segment 1 experiences frame drops, while no video clip in segment 2 experiences frame drops, the terminal device can designate segment 1 as the target segment. For example, during the user's preview of the draft, after each segment is played, the terminal device can determine if there are any frame drops within that segment. If so, it indicates that the video clip within that segment needs video proxying, and the terminal device can mark that segment. This allows the terminal device to accurately identify the first video clip requiring video proxying, improving the accuracy of the first video clip's performance.
- the terminal device determines the first video material based on the video material segments in the target interval. Specifically, it can be done by: identifying the target segment among the video material segments in the target interval, and determining the video material corresponding to the target segment as the first video material.
- the target segment has a resolution greater than or equal to a first threshold.
- the target segment may include segments of video material 1, video material 2, and video material 3. If the resolution of the segment of video material 1 and the resolution of the segment of video material 2 are greater than or equal to the first threshold, the terminal device can identify the segment of video material 1 and the segment of video material 2 as the target segment.
- the terminal device can determine that the video material corresponding to the target segment has a higher resolution. Therefore, the terminal device can identify this video material as the first video material and perform video proxying on the first video material.
- the target segment may include a segment of video material 1 and a segment of video material 2. If the target segment is a segment of video material 1, the terminal device can identify the first video material as video material 1; if the target segment is a segment of video material 2, the terminal device can identify the first video material as video material 2.
- Figure 4 is a schematic diagram illustrating a process for determining a first video clip according to an embodiment of this disclosure. Referring to Figure 4, it includes a timeline.
- the timeline includes video clips A, B, C, and D.
- Video clips A, B, C, and D are all video clips from a draft video editing file.
- a terminal device (not shown in Figure 4) can determine intervals a, b, c, d, and e on the timeline.
- the terminal device can identify video clips B, C, and D within segment d as candidate clips.
- the terminal device determines that the resolution of video clip C is greater than a first threshold; therefore, it can identify video clip C as the target clip and designate video clip C as the first video clip. In this way, the terminal device can identify video clips with frame dropping during preview as the first video clip, improving the accuracy of the first video clip and thus improving the accuracy of the video proxy.
- the resolution and/or bitrate of the second video clip are lower than those of the first video clip.
- the first and second video clips may have the same video content, but the resolution and bitrate of the second video clip are lower than those of the first video clip.
- the second video clip is a proxy for the first video clip, it maintains consistency with the first video clip.
- the timestamp of the first video clip is the same as the videotamp of the second video clip; the start time of the audio and video playback of the first video clip is the same as the start time of the audio and video playback of the second video clip; the color space (e.g., RGB) of the first video clip is the same as the color space of the second video clip; the metadata of the first video clip is the same as the metadata of the second video clip; the end time of the audio and video playback of the first video clip is the same as the end time of the audio and video playback of the second video clip; the time base (used for timestamp calculation and conversion) of the first video clip is the same as the time base of the second video clip; the average frame rate of the first video clip is the same as the average frame rate of the second video clip; and the base frame rate of the first video clip is the same as the base frame rate of the second video clip.
- the color space e.g., RGB
- the terminal device may perform video proxying on the first video material according to the following feasible implementation method: obtain the video information of the first video material, determine the target proxy mode in the first proxy mode and the second proxy mode according to the video information, and perform video proxying on the first video material according to the target proxy mode.
- the video information may include any information such as the complexity, compatibility, and video format of the first video material, and this embodiment does not limit this.
- the first proxy mode can be a mode in which a hardware or software device proxies the first video material.
- a terminal device can use a hardware device to proxy and forward the video stream of the first video material, improving the efficiency of video proxying.
- the first proxy mode can focus on file transcoding capabilities.
- the first proxy mode can extract frames without relying on the requested timestamp.
- the first proxy mode can extract frames in the order of the video frames (i.e., frame by frame), thus ensuring that the timestamps of the video frames obtained by the terminal device are consistent with the timestamps of the video frames in the original video material.
- the second proxy mode can be a mode that proxies the first video material via command line.
- the terminal device can use ffmpeg (an open-source multimedia processing toolkit used for recording and converting videos) to perform transcoding and other operations on the first video material, thereby proxying the first video material.
- ffmpeg an open-source multimedia processing toolkit used for recording and converting videos
- the terminal device determines, based on the video information, that the first video material can be proxied by the first proxy mode (target proxy mode)
- the terminal device can proximate the first video material using the first proxy mode. If the terminal device determines, based on the video information, that the first video material cannot be proxied by the first proxy mode, then the terminal device can proximate the first video material using the second proxy mode.
- the terminal device when the terminal device performs video proxying on the first video material through the first proxy mode, if the terminal device fails to perform video proxying on the first video material through the first proxy mode, the terminal device can perform video proxying on the first video material through the second proxy mode.
- FIG. 5 is a schematic diagram of a video proxy method provided in an embodiment of this disclosure. Referring to Figure 5, it includes: video information of a first video clip and a proxy task selector.
- the proxy task selector can be used to determine the video proxy method based on the video information. Specifically, the proxy task selector can determine whether the video proxy method for the first video clip is hardware or software proxy, or whether the video proxy method for the first video clip is command-line proxy, based on the video information of the first video clip. If hardware or software fails to perform video proxy on the first video clip, a terminal device (not shown in Figure 5) can perform video proxy on the first video clip through command-line proxy.
- the video editing process can be the main process, and the video proxy process can be a child process.
- the video proxy task will not affect the main process of video editing, thereby improving the stability of the video proxy.
- the above video editing method further includes: obtaining the device resources required for performing video proxy on the first video material, and stopping the video proxy on the first video material when the device resources are greater than or equal to a second threshold.
- the device resources can include the resources required for the terminal device to perform video proxying. For example, since the video proxying process consumes certain device resources, the terminal device can determine a second threshold for the device resources used by the video proxy. If the device resources used by the terminal device for video proxying exceed this second threshold, the terminal device can stop video proxying the first video material (e.g., suspend the video proxy task or delete the video proxy task).
- the device resources can include the central processing unit (CPU), memory, and graphics processing unit (GPU). This can avoid problems such as memory leaks, high CPU usage, and high GPU usage in video proxying that affect the main process of video editing, thereby improving the reliability of video proxying and enhancing the user experience.
- the terminal device may include a process resource monitoring module, which can monitor the device resources used by the video proxy.
- the process resource monitoring module can send a prompt message to the proxy task scheduling module (used to manage video proxy tasks) in the terminal device.
- the proxy task scheduling module can stop video proxying of the first video material according to the prompt message.
- FIG. 6 is a schematic diagram illustrating a process for stopping a video proxy according to an embodiment of this disclosure.
- the process includes a process resource monitoring module, a proxy task scheduling module, and a video proxy task.
- Both the process resource monitoring module and the proxy task scheduling module are modules within the terminal device (not shown in Figure 6).
- the process resource monitoring module monitors the device resources in use. When the used device resources exceed a second threshold, the process resource monitoring module sends a prompt message to the proxy task scheduling module. Upon receiving the prompt message, the proxy task scheduling module can stop the video proxy task. In this way, the terminal device, through the process resource monitoring module, can avoid the video proxy affecting video editing, improving video editing efficiency and enhancing the user experience.
- the first video clip in the draft may include video clip A and video clip B.
- the terminal device performs video proxy on video clip A to obtain video clip a (the second video clip), and performs video proxy on video clip B to obtain video clip b (the second video clip).
- the terminal device previews the draft it can replace video clip A with video clip a for rendering, and replace video clip B with video clip b for rendering.
- a terminal device can acquire a draft video for editing, divide the draft into multiple segments, and identify target segments with decoding frame drops within these segments. Within the target segments, the terminal device can identify target segments with resolutions greater than or equal to a first threshold, and designate the corresponding video material as the first video material. The terminal device can then perform video proxying on the first video material to obtain a second video material. When previewing the draft, the second video material is used instead of the first video material for rendering. This allows the terminal device to accurately identify the first video material requiring video proxying within the draft, improving the accuracy and flexibility of the first video material, saving terminal device resources, and improving video editing efficiency and preview smoothness by using the second video material instead of the first video material for rendering during draft preview.
- Figure 7 is a schematic diagram of a method for determining a second video material according to an embodiment of this disclosure. Referring to Figure 7, the method flow includes:
- the terminal device may obtain the resolution of the first video material according to any feasible implementation method, and this embodiment does not limit this.
- the terminal device can perform video proxy on the first video material. If the number of first video materials is greater than 1, the terminal device can sort the multiple first video materials to obtain the order of video proxy, and then perform video proxy on the multiple first video materials according to the order of video proxy.
- the resolution of the first video clip is proportional to its video proxy priority. For example, the higher the resolution of the first video clip, the higher its video proxy priority; conversely, the lower the resolution of the first video clip, the lower its video proxy priority. For instance, if the resolution of first video clip 1 is lower than that of first video clip 2, the terminal device can determine that the video proxy priority of first video clip 1 is higher than that of first video clip 2.
- the terminal device can perform video proxying on multiple first video clips according to the video proxy priority of the first video clips to obtain the second video clip corresponding to each first video clip. For example, the higher the video proxy priority, the earlier the video proxying order; the lower the video proxy priority, the later the video proxying order. For example, if the video proxy priority of first video clip 1 is higher than that of first video clip 2, then when the terminal device performs video proxying on the first video clips, the terminal device can prioritize performing video proxying on first video clip 1, and only after the terminal device finishes performing video proxying on first video clip 1 will it perform video proxying on first video clip 2.
- the terminal device can perform video proxying on the multiple first video materials according to the order of video proxy priorities.
- the terminal device can perform video proxying on the multiple first video materials according to the following feasible implementation method: obtain the editing mode corresponding to the video editing draft, and perform video proxying on the first video materials according to the editing mode.
- the editing modes include proxy mode and non-proxy mode.
- proxy mode allows the terminal device to proxy the first video clip, while non-proxy mode does not.
- proxy mode could be a performance mode, where the terminal device prioritizes ensuring smoothness during video editing.
- Non-proxy mode could be a quality mode, where the terminal device prioritizes maintaining image quality during editing; therefore, in quality mode, the terminal device will not actively proxy the first video clip to avoid degrading its image quality.
- the terminal device may determine the editing mode corresponding to the draft according to any feasible implementation method, and this embodiment of the disclosure does not limit this.
- the terminal device performs video proxying on the first video clip based on the editing mode. If the editing mode is proxy mode, then the first video clip is proxied; if the editing mode is non-proxy mode, then in response to the switching operation of the editing mode, the first video clip is proxied. This allows the terminal device to flexibly perform video proxying on the first video clip, improving the accuracy and flexibility of the proxying process.
- the terminal device may include a proxy task scheduling module and a proxy task execution module.
- the proxy task scheduling module can be used to manage video proxy tasks, and the proxy task execution module can be used to execute video proxy tasks (e.g., the method of the embodiment shown in Figure 5 executes video proxy).
- the proxy task scheduling module can decide whether to perform video proxy on the first video material based on the editing mode configured in the draft. If the proxy task scheduling module determines to perform video proxy on the first video material, it can notify the proxy task execution module to perform video proxy on the first video material.
- the proxy task scheduling module can notify the proxy task execution module to perform video proxy on the first video material.
- the terminal device can replace the first video material with the second video material corresponding to the first video material in the draft.
- the terminal device can display an editing mode switching window and prompt the user that there is a decoding performance problem with the video material in the draft. If the user chooses to switch from non-agent mode to agent mode, the agent task scheduling module can notify the agent task execution module to perform video proxy on the first video material. If the editing mode is switched from non-agent mode to agent mode, the agent task scheduling module can obtain the video material in the counted interval and the video material in the uncounted interval from the performance information collection module. In this way, after determining the first video material, the agent task scheduling module can notify the agent task execution module to perform video proxy on the first video material.
- the terminal device can replace the second video material in the draft with the first video material corresponding to the second video material, thereby improving the image quality during the video editing process.
- the resolution of the second video clip can be 0.5 times that of the current full-screen window. This can reduce the impact of video proxy on image quality and improve the user experience.
- This disclosure provides a method for determining a second video clip.
- the method involves obtaining the resolution of a first video clip, determining the video proxy priority of the first video clip based on its resolution, and then performing video proxying on the first video clip according to the video proxy priority to obtain the second video clip corresponding to the first video clip.
- the terminal device can prioritize video proxying of the higher-resolution first video clip, thereby improving the effectiveness of the video proxy.
- the terminal device can combine the draft-configured editing mode with video proxying of the first video clip, thereby increasing the flexibility of the video proxy.
- Figure 8 is a schematic diagram of the architecture of a video editing method provided in an embodiment of this disclosure. Referring to Figure 8, it includes a control layer and an implementation layer.
- the control layer includes a proxy task scheduling module
- the implementation layer includes decoding link 1, decoding link 2, ..., decoding link n, an information acquisition module, a proxy task execution module, and a process resource monitoring module.
- Each decoding link can decode one video clip, and the decoding process is driven by an engine.
- the information acquisition module can obtain decoding information for each decoding link and identify the first video clip with decoding performance issues.
- the information acquisition module can report the first video clip to the proxy task scheduling module.
- the proxy task scheduling module can also actively obtain the first video clip from the information acquisition module.
- the proxy task scheduling module can control the video proxy task to perform inter-process communication (IPC), thereby enabling the proxy task execution module to perform video proxying on the first video material.
- the process resource monitoring module can monitor the device resources used by the proxy task execution module during video proxying. If the device resources are excessive, the process resource monitoring module can send a prompt message to the proxy task scheduling module, causing the proxy task scheduling module to control the proxy task execution module to stop video proxying on the first video material.
- Figure 9 is a schematic diagram of a video editing method provided in an embodiment of this disclosure. Referring to Figure 9, it includes a timeline.
- the timeline includes video footage from a draft, specifically video footage A, video footage B, video footage C, and video footage D.
- a terminal device (not shown in Figure 9) can determine segmentation points 1, 2, 3, and 4 on the timeline.
- the terminal device can divide the draft into segments a, b, c, d, and e based on segmentation points 1, 2, 3, and 4.
- Segment a includes a segment of video material A.
- Segment b includes segments of video material A and video material B.
- Segment c includes segments of video material B and video material C.
- Segment d includes segments of video material B, video material C, and video material D.
- Segment e includes segments of video material C and video material D.
- the terminal device can identify segments of video material B, video material C, and video material D in segment d as candidate segments.
- the terminal device determines that the resolution of video material C is greater than a first threshold; therefore, the terminal device can perform video proxying on video material C to obtain video material E.
- the terminal device can replace video material C with video material E.
- video material E has a lower resolution, which ensures the smoothness of the user's preview of the draft.
- the terminal device can accurately and flexibly determine the first video material that needs to be proxied, the accuracy and flexibility of the video proxy can be improved, and the device resources of the video proxy can be saved.
- FIG 10 is a schematic diagram of a video editing device provided in an embodiment of this disclosure.
- the video editing device 1000 includes an acquisition module 1001, a first determination module 1002, a second determination module 1003, and a substitution module 1004, wherein:
- the acquisition module 1001 is used to acquire a draft of video editing, wherein the draft of video editing includes at least one video material;
- the first determining module 1002 is used to determine a first video material among the at least one video material, wherein the first video material is a video material whose decoding time is greater than or equal to a preset duration;
- the second determining module 1003 is used to determine a second video material based on the first video material, wherein the resolution and/or bitrate of the second video material is less than that of the first video material;
- the substitution module 1004 is used to render the first video material instead of the second video material when previewing the draft.
- the first determining module 1002 is specifically used for:
- the video editing draft is divided into multiple segments, each segment including at least one video clip.
- a target interval segment with decoded frame loss is identified
- the first video material is determined based on the video material segments within the target interval.
- the first determining module 1002 is specifically used for:
- the draft is loaded into a video editing page, which includes a timeline;
- the draft of the video editing is divided into multiple segments.
- the first determining module 1002 is specifically used for:
- the points where the segments of the video material change along the time axis are determined as the segmentation points.
- the first determining module 1002 is specifically used for:
- any segment of video material within that interval loses a frame during playback, then that interval is designated as the target interval.
- the first determining module 1002 is specifically used for:
- the video material corresponding to the target segment is determined as the first video material.
- the second determining module 1003 is specifically used for:
- the first video material is proxied to obtain the second video material corresponding to the first video material.
- the editing mode corresponding to the draft of the video edit, wherein the editing mode includes proxy mode and non-proxy mode;
- the first video material is proxied.
- the second determining module 1003 is specifically used for:
- the editing mode is proxy mode, then the first video material is proxied
- the editing mode is non-proxy mode, then in response to the editing mode switching operation, the first video material is proxied.
- the second determining module 1003 is further configured to:
- the terminal device 1100 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 1101, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 1102 or a program loaded from storage device 1108 into random access memory (RAM) 1103.
- the RAM 1103 also stores various programs and data required for the operation of the terminal device 1100.
- the processing unit 1101, ROM 1102, and RAM 1103 are interconnected via a bus 1104.
- An input/output (I/O) interface 1105 is also connected to the bus 1104.
- the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof.
- a computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof.
- the aforementioned computer-readable medium may be included in the aforementioned terminal device; or it may exist independently and not assembled into the terminal device.
- the aforementioned computer-readable medium carries one or more programs, which, when executed by the terminal device, cause the terminal device to perform the method shown in the above embodiments.
- This disclosure provides a computer program product, including a computer program that, when executed by a processor, implements various methods that may be involved in the above embodiments.
- Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages.
- the program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server.
- the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
- LAN Local Area Network
- WAN Wide Area Network
- each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function.
- the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved.
- each block in the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
- the units described in the embodiments of this disclosure can be implemented in software or in hardware.
- the name of a unit does not necessarily limit the unit itself; for example, the first acquisition unit can also be described as "a unit that acquires at least two Internet Protocol addresses".
- exemplary types of hardware logic components include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
- FPGAs Field Programmable Gate Arrays
- ASICs Application-Specific Integrated Circuits
- ASSPs Application Standard Products
- SoCs System-on-Chip
- CPLDs Complex Programmable Logic Devices
- a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
- a machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium.
- a machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing.
- machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
- RAM random access memory
- ROM read-only memory
- EPROM or flash memory erasable programmable read-only memory
- CD-ROM compact disk read-only memory
- magnetic storage devices or any suitable combination of the foregoing.
- Data may include information, parameters, and messages, such as flow control instructions.
- embodiments of this disclosure provide a video editing method, the video editing method comprising:
- the draft for video editing includes at least one video clip
- a first video material is determined, wherein the first video material is a video material whose decoding time is greater than or equal to a preset duration;
- a second video material is determined, wherein the resolution and/or bitrate of the second video material is less than that of the first video material;
- the second video footage is used instead of the first video footage for rendering.
- determining a first video material among the at least one video material includes:
- the video editing draft is divided into multiple segments, each segment including at least one video clip.
- a target interval segment with decoded frame loss is identified
- the first video material is determined based on the video material segments within the target interval.
- the draft of the video editing is divided into multiple segments, including:
- the draft is loaded into a video editing page, which includes a timeline;
- the draft of the video editing is divided into multiple segments.
- determining a segmentation point in the time axis includes:
- the points where the segments of the video material change along the time axis are determined as the segmentation points.
- determining a target interval segment where decoding frame loss occurs includes:
- any segment of video material within that interval loses a frame during playback, then that interval is designated as the target interval.
- determining the first video material based on segments of video material within the target interval segment includes:
- a target segment is determined, wherein the resolution of the target segment is greater than or equal to a first threshold.
- the video material corresponding to the target segment is determined as the first video material.
- determining a second video material based on the first video material includes:
- the first video material is proxied to obtain the second video material corresponding to the first video material.
- video proxying of the first video material includes:
- the editing mode corresponding to the draft of the video edit, wherein the editing mode includes proxy mode and non-proxy mode;
- the first video material is proxied.
- video proxying is performed on the first video material according to the editing mode, including:
- the editing mode is proxy mode, then the first video material is proxied
- the editing mode is non-proxy mode, then in response to the editing mode switching operation, the first video material is proxied.
- the method when performing video proxying on the first video material, the method further includes:
- this disclosure provides a video editing apparatus, which includes an acquisition module, a determination module, a processing module, and a replacement module, wherein:
- the acquisition module is used to acquire a draft of the video editing, wherein the draft of the video editing includes at least one video material;
- the first determining module is used to determine a first video material among the at least one video material, wherein the first video material is a video material whose decoding time is greater than or equal to a preset duration;
- the second determining module is used to determine a second video material based on the first video material, wherein the resolution and/or bitrate of the second video material is less than that of the first video material;
- the substitution module is used to render the draft by replacing the first video material with the second video material.
- the first determining module is specifically used for:
- the video editing draft is divided into multiple segments, each segment including at least one video clip.
- a target interval segment with decoded frame loss is identified
- the first video material is determined based on the video material segments within the target interval.
- the first determining module is specifically used for:
- the draft is loaded into a video editing page, which includes a timeline;
- the draft of the video editing is divided into multiple segments.
- the first determining module is specifically used for:
- the points where the segments of the video material change along the time axis are determined as the segmentation points.
- the first determining module is specifically used for:
- any segment of video material within that interval loses a frame during playback, then that interval is designated as the target interval.
- the first determining module is specifically used for:
- a target segment is determined, wherein the resolution of the target segment is greater than or equal to a first threshold.
- the video material corresponding to the target segment is determined as the first video material.
- the second determining module is specifically used for:
- the first video material is proxied to obtain the second video material corresponding to the first video material.
- the second determining module is specifically used for:
- the editing mode corresponding to the draft of the video edit, wherein the editing mode includes proxy mode and non-proxy mode;
- the first video material is proxied.
- the second determining module is specifically used for:
- the editing mode is proxy mode, then the first video material is proxied
- the editing mode is non-proxy mode, then in response to the editing mode switching operation, the first video material is proxied.
- the second determining module is further configured to:
- embodiments of this disclosure provide a terminal device including: a processor and a memory;
- the memory stores computer-executed instructions
- the processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the video editing methods described in the first aspect above and various possible aspects of the first aspect.
- embodiments of this disclosure provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the video editing methods described in the first aspect and various possible aspects thereof.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
本公开提供一种视频编辑方法、装置及终端设备。该方法包括:获取视频编辑的草稿,所述视频编辑的草稿中包括至少一个视频素材;在所述至少一个视频素材中,确定第一视频素材,所述第一视频素材为解码耗时大于或等于预设时长的视频素材;根据所述第一视频素材,确定第二视频素材,所述第二视频素材的分辨率和/或码率小于所述第一视频素材;在对所述草稿进行预览时,以所述第二视频素材代替所述第一视频素材进行渲染。
Description
相关申请的交叉引用
本申请要求于2024年06月14日提交的,申请号为202410773974.7、发明名称为“视频编辑方法、装置及终端设备”的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
本公开实施例涉及视频编辑技术领域,尤其涉及一种视频编辑方法、装置及终端设备。
在视频编辑领域,视频代理是对原始高清视频素材进行复刻或转码,得到比原始视频文件的分辨率低的代理文件,对该代理文件进行视频编辑可以提高视频编辑的效率。
本公开提供一种视频编辑方法、装置及终端设备,用于解决现有技术中的终端设备的资源的浪费的技术问题。
第一方面,本公开提供一种视频编辑方法,该视频编辑方法包括:
获取视频编辑的草稿,所述视频编辑的草稿中包括至少一个视频素材;
在所述至少一个视频素材中,确定第一视频素材,所述第一视频素材为解码耗时大于或等于预设时长的视频素材;
根据所述第一视频素材,确定第二视频素材,所述第二视频素材的分辨率和/或码率小于所述第一视频素材;
在对所述草稿进行预览时,以所述第二视频素材代替所述第一视频素材进行渲染。
第二方面,本公开提供一种视频编辑装置,该视频编辑装置包括
获取模块、第一确定模块、第二确定模块和代替模块,其中:
所述获取模块用于,获取视频编辑的草稿,所述视频编辑的草稿中包括至少一个视频素材;
所述第一确定模块用于,在所述至少一个视频素材中,确定第一视频素材,所述第一视频素材为解码耗时大于或等于预设时长的视频素材;
所述第二确定模块用于,根据所述第一视频素材,确定第二视频素材,所述第二视频素材的分辨率和/或码率小于所述第一视频素材;
所述代替模块用于,在对所述草稿进行预览时,以所述第二视频素材代替所述第一视频素材进行渲染。
第三方面,本公开实施例提供一种终端设备包括:处理器和存储器;
所述存储器存储计算机执行指令;
所述处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行如上第一方面以及第一方面各种可能涉及的所述视频编辑方法。
第四方面,本公开实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如上第一方面以及第一方面各种可能涉及的所述视频编辑方法。
本公开提供一种视频编辑方法、装置及终端设备,终端设备可以获取视频编辑的草稿,其中,草稿中可以包括至少一个视频素材,终端设备可以在至少一个视频素材中,确定第一视频素材,其中,第一视频素材为解码耗时大于或等于预设时长的视频素材,终端设备可以根据第一视频素材,确定第二视频素材,其中,第二视频素材的分辨率和/或码率小于第一视频素材,终端设备可以在对草稿进行预览时,以第二视频素材代替第一视频素材进行渲染。
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本公开实施例提供的一种应用场景示意图;
图2为本公开实施例提供的一种视频编辑方法的流程示意图;
图3为本公开实施例提供的一种划分多个区间段的过程示意图;
图4为本公开实施例提供的一种确定第一视频素材的过程示意图;
图5为本公开实施例提供的一种视频代理的方法示意图;
图6为本公开实施例提供的一种停止视频代理的过程示意图;
图7为本公开实施例提供的一种确定第二视频素材的方法示意图;
图8为本公开实施例提供的一种实现视频编辑方法的架构示意图;
图9为本公开实施例提供的一种视频编辑方法的过程示意图;
图10为本公开实施例提供的一种视频编辑装置的结构示意图;
图11为本公开实施例提供的一种终端设备的结构示意图。
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。
可以理解的是,在使用本公开各实施例公开的技术方案之前,均应当依据相关法律法规通过恰当的方式对本公开所涉及个人信息的类型、使用范围、使用场景等告知用户并获得用户的授权。
例如,在响应于接收到用户的主动请求时,向用户发送提示信息,以明确地提示用户,其请求执行的操作将需要获取和使用到用户的个人信息。从而,使得用户可以根据提示信息来自主地选择是否向执行本公开技术方案的操作的终端设备、应用程序、服务器或存储介质等软件或硬件提供个人信息。
作为一种可选的但非限定性的实现方式,响应于接收到用户的主动请求,向用户发送提示信息的方式例如可以是弹窗的方式,弹窗中可以以文字的方式呈现提示信息。此外,弹窗中还可以承载供用户选择“同意”或者“不同意”向终端设备提供个人信息的选择控件。
可以理解的是,上述通知和获取用户授权过程仅是示意性的,不对本公开的实现方式构成限定,其它满足相关法律法规的方式也可应用于本公开的实现方式中。
为了便于理解,下面,对本公开实施例涉及的概念进行说明。
终端设备:是一种具有无线收发功能的设备。终端设备可以部署在陆地上,包括室内或室外、手持、穿戴或车载。所述终端设备可以是手机(mobile phone)、平板电脑(Pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端设备、增强现实(augmented reality,AR)终端设备、工业控制(industrial control)中的无线终端、车载终端设备、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端设备、智能电网(smart grid)中的无线终端设备、运输安全(transportation safety)中的无线终端设备、智慧城市(smart city)中的无线终端设备、智慧家庭(smart home)中的无线终端设备、可穿戴终端设备等。本公开实施例所涉及的终端设备还可以称为终端、用户设备(user equipment,UE)、接入终端设备、车载终端、工业控制终端、UE单元、UE站、移动站、移动台、远方站、远程终端设备、移动设备、UE终端设备、无线通信设备、UE代理或UE装置等。终端设备也可以是固定的或者移动的。
在相关技术中,视频代理是对原始高清视频素材进行复刻或转码,得到代理文件,其中,代理文件的数据大小比原始视频文件小,分辨率也较低,因此,用户可以对代理文件进行视频编辑,保证视频编辑的流畅度。目前,终端设备可以基于用户的选择,对视频素材进行视频代理。例如,终端设备可以向用户提供视频代理的选择窗口,若用户在视频编辑过程中选择视频代理,则终端设备可以对所有的视频素材进行视频代理。但是,视频代理需要用户启用,并且,终端设备只能对所有的视频素材进行视频代理,这样会导致终端设备的资源浪费,并且视频代理的灵活度较低。
为了解决相关技术中的技术问题,本公开实施例提供一种视频编辑方法,终端设备可以获取视频编辑的草稿,并在草稿的视频素材中,确定解码耗时大于或等于预设时长的第一视频素材,终端设备可以获取第一视频素材的分辨率,并根据第一视频素材的分辨率,确定第一视频素材的视频代理优先级,终端设备可以根据视频代理优先级,对第一视频素材进行视频代理,得到第一视频素材对应的第二视频素材,其中,第二视频素材的分辨率和/或码率小于第一视频素材,终端设备对草稿进行预览时,以第二视频素材代替第一视频素材进行渲染。在上述方法中,由于终端设备可以在视频编辑的草稿中,对解码耗时较长的第一视频素材进行视频代理,即,获取第一视频素材对应的分辨率和/或码率较低的第二视频素材,这样,终端设备可以准确的对草稿中的视频素材进行视频代理,提高终端设备的资源利用率,节约终端设备的资源,并且,由于终端设备可以根据视频代理优先级,对多个第一视频素材进行视频代理,进而可以提高视频代理的灵活度,并且,终端设备以第二视频素材代理第一视频素材进行渲染,进而可以避免视频编辑的卡顿现象,提高视频编辑的效率和流畅度。
下面,结合图1,对本公开实施例的应用场景进行说明。
图1为本公开实施例提供的一种应用场景示意图。请参见图1,包括:轨道1和轨道2,其中,轨道1和轨道2为视频编辑页面中的视频轨道,轨道1中包括视频素材A和视频素材B,轨道B中包括视频素材C,视频素材A、视频素材B和视频素材C都为视频编辑的草稿中的视频素材。若终端设备(图1未示出)确定视频素材C的解码耗时大于预设时长,则终端设备可以对视频素材C进行视频代理,得到视频素材D,其中,视频素材D的视频内容与视频素材C的视频内容相同,视频素材D的分辨率小于视频素材C的分辨率,视频素材D的码率小于视频素材C的码率。终端设备可以将轨道2中的视频素材C替换为视频素材D。这样,可以提高视频代理的准确度和灵活度,提高视频编辑的效率。
需要说明的是,图1只是对本公开实施例的应用场景的示例,并非对本公开实施例的应用场景的限定。
下面以具体地实施例对本公开的技术方案以及本公开的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本公开的实施例进行描述。
图2为本公开实施例提供的一种视频编辑方法的流程示意图。请参见图2,该方法可以包括:
S201、获取视频编辑的草稿,视频编辑的草稿中包括至少一个视频素材。
本公开实施例的执行主体可以为终端设备,也可以为设置在终端设备中的视频编辑装置。其中,视频编辑装置可以基于软件实现,视频编辑装置也可以基于软件和硬件的结合实现,本公开实施例对此不作限定。
其中,草稿可以为视频编辑过程中的初步编辑的版本或未完成的版本。例如,草稿可以为视频编辑过程中的临时阶段,草稿可以用于记录当前视频编辑的进度、用户对草稿中的多媒体素材(如,视频素材、音频素材等)的编辑操作等。
其中,视频编辑的草稿中可以包括至少一个视频素材。例如,视频编辑的草稿中可以包括一个视频素材,也可以包括多个视频素材,本公开实施例对此不作限定。例如,视频素材可以为未经编辑的视频文件,视频素材也可以为已经过初步编辑的视频文件,本公开实施例对此不作限定。
可选的,终端设备可以在存储器中获取视频编辑的草稿。例如,视频编辑应用的页面中可以包括草稿显示区域,草稿显示区域中可以包括多个草稿(存储器中预先存储的多个草稿),响应于用户对任意一个草稿的点击操作,终端设备可以将用户点击的草稿,确定为视频编辑的草稿。例如,用户点击草稿之后,终端设备可以跳转至视频编辑页面,并加载用户点击的草稿,用户可以在视频编辑页面中对该草稿继续进行视频编辑。
需要说明的是,终端设备也可以根据其它任意可行的实现方式,获取视频编辑的草稿(如,终端设备可以接收服务器发送的视频编辑的草稿),本公开实施例对此不作限定。
S202、在至少一个视频素材中,确定第一视频素材。
其中,第一视频素材为解码耗时大于或等于预设时长的视频素材。例如,第一视频素材也可以为存在解码性能问题的视频素材。例如,解码性能问题可以包括解码耗时较长、视频素材播放卡顿和视频素材播放丢帧等问题,本公开实施例对此不作限定。
可选的,终端设备中可以包括性能信息采集模块,终端设备可以通过性能信息采集模块,确定第一视频素材。例如,性能信息采集模块可以收集、分析出当前时间线播放场景下的每个视频素材、媒体资源信息(媒体资源格式等)、解码性能信息(解码能力等)、解码压力情况(如,高分辨率视频的解码压力大)等,这样,性能信息采集模块可以确定草稿中存在解码性能问题的第一视频素材,并且,性能信息采集模块可以上报第一视频素材,终端设备也可以在性能信息采集模块中获取第一视频素材。
可选的,终端设备可以根据如下可行的实现方式,在至少一个视频素材中,确定第一视频素材:将视频编辑的草稿划分为多个区间段,在多个区间段中,确定存在解码丢帧的目标区间段,根据目标区间段中的视频素材的片段,确定第一视频素材。
其中,每个区间段可以包括至少一个视频素材的片段。例如,终端设备可以将视频编辑的草稿划分为区间段1、区间段2和区间段3,其中,区间段1可以包括视频素材A的片段,区间段2可以包括视频素材A的片段和视频素材B的片段,区间段3可以包括视频素材B的片段。
其中,终端设备将视频编辑的草稿划分为多个区间段,具体可以为:在视频编辑页面中加载草稿,其中,视频编辑页面中包括时间轴,在时间轴中确定分割点,在分割点的位置,对视频编辑的草稿进行分割,将视频编辑的草稿划分为多个区间段。
其中,视频编辑页面加载草稿之后,视频编辑页面的时间轴上可以包括草稿中的视频素材和视频编辑素材,用户可以在视频编辑页面中对草稿进行视频编辑。
其中,分割点可以用于将视频编辑的草稿划分为多个区间段。例如,分割点可以为时间线上的点,通过分割点,可以将草稿划分为不同时间段的多个区间段。
可选的,终端设备可以沿着时间轴的方向,将视频素材的片段发生变化的位置,确定为分割点。例如,在时间轴上,若时间点1-时间点2之间包括视频素材A的片段,时间点2-时间点3之间包括视频素材A的片段和视频素材B的片段,时间点3-时间点4之间包括视频素材A的片段,则终端设备可以将时间点2和时间点3确定为分割点,并基于时间点2和时间点3,将草稿划分为3个区间段。
下面,结合图3,对划分多个区间段的过程进行说明。
图3为本公开实施例提供的一种划分多个区间段的过程示意图。请参见图3,包括:时间轴。其中,时间轴上包括视频素材A、视频素材B、视频素材C和视频素材D。其中,视频素材A、视频素材B、视频素材C和视频素材D都为视频编辑的草稿中的视频素材。终端设备(图3未示出)可以在时间轴上确定分割点1、分割点2、分割点3和分割点4。
请参见图3,分割点1左侧包括视频素材A的片段,分割点1的右侧包括视频素材A的片段和视频素材B的片段。分割点2的左侧包括视频素材A的片段和视频素材B的片段,分割点2的右侧包括视频素材B的片段和视频素材C的片段。
请参见图3,分割点3的左侧包括视频素材B的片段和视频素材C的片段,分割点3的右侧包括视频素材B的片段、视频素材C的片段和视频素材D的片段。分割点4的左侧包括视频素材B的片段、视频素材C的片段和视频素材D的片段,分割点4的右侧包括视频素材C的片段和视频素材D的片段。
请参见图3,终端设备可以基于分割点1、分割点2、分割点3和分割点4,将草稿划分为区间段a、区间段b、区间段c、区间段d和区间段e。其中,区间段a中包括视频素材A的片段。区间段b中包括视频素材A的片段和视频素材B的片段。
请参见图3,区间段c中包括视频素材B的片段和视频素材C的片段。区间段d中包括视频素材B的片段、视频素材C的片段和视频素材D的片段。区间段e中包括视频素材C的片段和视频素材D的片段。这样,终端设备可以基于视频素材在时间轴上的变化,将草稿划分为多个区间段,提高区间段的准确度,进而提高确定第一视频素材的准确度。
其中,目标区间段可以为存在解码丢帧的区间段。可选的,终端设备可以根据如下可行的实现方式,确定目标区间段:对视频编辑的草稿进行预览操作,针对于任意一个区间段,若区间段中的任意一个视频素材的片段在播放过程中丢帧,则将区间段确定为目标区间段。
例如,区间段中可以包括至少一个视频素材的片段,若该视频素材的片段发生丢帧现象,则终端设备可以将该区间段确定为目标区间段。例如,草稿中可以包括区间段1和区间段2,在用户对草稿进行预览的过程中,若区间段1中的任意一个视频素材的片段发生丢帧现象,区间段2中的每个视频素材的片段都未发生丢帧现象,则终端设备可以将区间段1确定为目标区间段。例如,在用户对草稿进行预览的过程中,每当时间播放一个区间后,终端设备可以确定该区间是否存在掉帧行为,若存在,则说明该区间内的视频素材需要进行视频代理,终端设备可以标记该区间,这样,终端设备可以准确的确定需要视频代理的第一视频素材,提高第一视频素材的准确度。
可选的,终端设备根据目标区间段中的视频素材的片段,确定第一视频素材,具体可以为:在目标区间段中的视频素材的片段中,确定目标片段,并将目标片段对应的视频素材,确定为第一视频素材。
其中,目标片段的分辨率大于或等于第一阈值。例如,目标区间段中可以包括视频素材1的片段、视频素材2的片段和视频素材3的片段,若视频素材1的片段的分辨率和视频素材2的片段的分辨率大于或等于第一阈值,则终端设备可以将视频素材1的片段和视频素材2的片段,确定为目标片段。
可选的,终端设备确定目标片段之后,可以确定该目标片段对应的视频素材的分辨率较高,因此,终端设备可以将该视频素材确定为第一视频素材,并对该第一视频素材进行视频代理。例如,目标区间段中可以包括视频素材1的片段和视频素材2的片段,若目标片段为视频素材1的片段,则终端设备可以确定第一视频素材为视频素材1,若目标片段为视频素材2的片段,则终端设备可以确定第一视频素材为视频素材2。
下面,结合图4,对终端设备确定第一视频素材的过程进行说明。
图4为本公开实施例提供的一种确定第一视频素材的过程示意图。请参见图4,包括:时间轴。其中,时间轴上包括视频素材A、视频素材B、视频素材C和视频素材D。其中,视频素材A、视频素材B、视频素材C和视频素材D都为视频编辑的草稿中的视频素材。终端设备(图4未示出)可以在时间轴上确定区间段a、区间段b、区间段c、区间段d和区间段e。
请参见图4,在对草稿进行预览的过程中,区间段d发生丢帧现象,因此,终端设备可以将区间段d中的视频素材B的片段、视频素材C的片段和视频素材D的片段确定为候选的片段。终端设备确定视频素材C的片段的分辨率大于第一阈值,因此,终端设备可以将视频素材C的片段确定为目标片段,并将视频素材C确定为第一视频素材。这样,终端设备可以将预览丢帧的视频素材确定为第一视频素材,提高第一视频素材的准确度,提高视频代理的准确度。
S203、根据第一视频素材,确定第二视频素材。
其中,第二视频素材的分辨率和/或码率小于第一视频素材。例如,第一视频素材与第二视频素材的视频内容相同,第二视频素材的分辨率小于第一视频素材的分辨率,第二视频素材的码率小于第一视频素材的码率。例如,由于第二视频素材为第一视频素材的视频代理的结果,因此,第二视频素材与第一视频素材保持一致性。例如,第一视频素材的时间戳与第二视频素材的视频戳相同,第一视频素材的音视频的开始播放的时间点与第二视频素材的音视频的开始播放的时间点相同,第一视频素材的颜色空间(如,RGB等)与第二视频素材的颜色空间相同,第一视频素材的元数据与第二视频素材的元数据相同,第一视频素材的音视频的结束播放的时间点与第二视频素材的音视频的结束播放的时间点相同,第一视频素材的时间基(用于时间戳的计算和转换)与第二视频素材的时间基相同,第一视频素材的平均帧率与第二视频素材的平均帧率相同,第一视频素材的基本帧率与第二视频素材的基本帧率相同。
可选的,终端设备可以根据如下可行的实现方式,对第一视频素材进行视频代理:获取第一视频素材的视频信息,根据视频信息,在第一代理模式和第二代理模式中,确定目标代理模式,并根据目标代理模式,对第一视频素材进行视频代理。
其中,视频信息可以包括第一视频素材的复杂度、兼容性、视频格式等任意信息,本公开实施例对此不作限定。
其中,第一代理模式可以为硬件设备或软件设备对第一视频素材进行代理的模式。例如,终端设备可以通过硬件设备,对第一视频素材的视频流进行代理转发,提高视频代理的效率。例如,第一代理模式可以侧重于文件转码能力,在解码和缓存侧,第一代理模式取帧可以不依据请求时间戳的方式取帧,第一代理模式可以按视频帧的顺序进行取帧(即,一帧一帧的取帧),这样,可以保证终端设备获取的视频帧的时间戳与原视频素材中的视频帧的时间戳一致。
其中,第二代理模式可以为通过命令行对第一视频素材进行代理的模式。例如,终端设备可以基于ffmpeg(开源的多媒体处理工具集,用于记录转换视频),对第一视频素材进行转码等操作,进而对第一视频素材进行视频代理。
可选的,若终端设备根据视频信息,判断第一视频素材可以由第一代理模式(目标代理模式)进行视频代理,则终端设备可以通过第一代理模式对第一视频素材进行视频代理,若终端设备根据视频信息,判断第一视频素材无法由第一代理模式进行视频代理,则终端设备可以通过第二代理模式对第一视频素材进行视频代理。
可选的,在终端设备通过第一代理模式对第一视频素材进行视频代理时,若终端设备通过第一代理模型对第一视频素进行视频材代理失败,则终端设备可以通过第二代理模式对第一视频素材进行视频代理。
下面,结合图5,对终端设备对第一视频素材进行视频代理的方法进行说明。
图5为本公开实施例提供的一种视频代理的方法示意图。请参见图5,包括:第一视频素材的视频信息和代理任务选择器。其中,代理任务选择器可以用于根据视频信息,确定视频代理方式。其中,代理任务选择器可以根据第一视频素材的视频信息,确定第一视频素材的视频代理方式为硬件或软件代理,或者,确定第一视频素材的视频代理方式为命令行代理。其中,若硬件或软件对第一视频素材进行视频代理失败时,终端设备(图5未示出)可以通过命令行代理,对第一视频素材进行视频代理。
可选的,视频编辑的进程可以为主进程,视频代理的进程可以为子进程,这样,视频代理任务不会对视频编辑的主进程产生影响,进而提高视频代理的稳定性。
可选的,终端设备对第一视频素材进行视频代理时,上述视频编辑方法还包括:获取对第一视频素材进行视频代理所需的设备资源,在设备资源大于或等于第二阈值时,停止对第一视频素材进行视频代理。
其中,设备资源可以包括终端设备进行视频代理所需的资源。例如,由于视频代理的进程存在一定的设备资源消耗,因此,终端设备可以确定视频代理使用的设备资源的第二阈值,若终端设备进行视频代理使用的设备资源大于该第二阈值,则终端设备可以停止对第一视频素材进行视频代理(如,暂停视频代理任务或删除视频代理任务等),其中,设备资源可以包括中央处理器CPU、内存和图形处理器GPU,这样可以避免视频代理出现内存泄漏、CPU占用过高、GPU占用过高等影响到主进程的视频编辑的问题,进而提高视频代理的可靠性,提高用户的体验。
可选的,终端设备可以包括进程资源监控模块,其中,该进程资源监控模块可以对视频代理使用的设备资源进行监控,在设备资源大于或等于第二阈值时,该进程资源监控模块可以向终端设备中的代理任务调度模块(用于管理视频代理任务)发送提示消息,代理任务调度模块可以根据该提示消息,停止对第一视频素材进行视频代理。
下面,结合图6,对停止第一视频素材进行视频代理的过程进行说明。
图6为本公开实施例提供的一种停止视频代理的过程示意图。请参见图6,包括进程资源监控模块、代理任务调度模块和视频代理任务。其中,进程资源监控模块和代理任务调度模块都为终端设备(图6未示出)中的模块。进程资源监控模块可以监控使用的设备资源,在使用的设备资源大于第二阈值时,进程资源监控模块可以向代理任务调度模块发送提示消息,代理任务调度模块接收到提示消息之后,可以停止该视频代理任务。这样,终端设备通过进程资源监控模块,可以避免视频代理对视频编辑造成影响,提高视频编辑的效率,提高用户的体验。
S204、在对草稿进行预览时,以第二视频素材代替第一视频素材进行渲染。
其中,终端设备对草稿进行预览时,可以通过第二视频素材代替第一视频素材进行渲染,这样可以避免预览卡顿等问题。例如,草稿中的第一视频素材可以包括视频素材A和视频素材B,终端设备对视频素材A进行视频代理,得到视频素材a(第二视频素材),终端设备对视频素材B进行视频代理,得到视频素材b(第二视频素材),终端设备对草稿进行预览时,可以将视频素材A替换为视频素材a进行渲染,将视频素材B替换为视频素材b进行渲染。
本公开实施例提供一种视频编辑方法,终端设备可以获取视频编辑的草稿,将视频编辑的草稿划分为多个区间段,并在多个区间段中,确定存在解码丢帧的目标区间段,终端设备可以在目标区间段中,确定分辨率大于或等于第一阈值的目标片段,并将目标片段对应的视频素材,确定为第一视频素材,终端设备可以对第一视频素材进行视频代理,得到第二视频素材,并在对草稿进行预览时,以第二视频素材代替第一视频素材进行渲染。这样,终端设备可以准确的在草稿中,确定需要进行视频代理的第一视频素材,提高第一视频素材的准确度和灵活度,节约终端设备的资源,并且,在对草稿进行预览时,终端设备以第二视频素材代替第一视频素材进行渲染,进而可以提高视频编辑的效率,提高预览的流畅度。
在图2所示的实施例的基础上,下面,结合图7,对上述视频编辑方法中,根据第一视频素材,确定第二视频素材的方法进行详细的说明。
图7为本公开实施例提供的一种确定第二视频素材的方法示意图。请参见图7,该方法流程包括:
S701、获取第一视频素材的分辨率。
其中,终端设备可以根据任意可行的实现方式,获取第一视频素材的分辨率,本公开实施例对此不作限定。
S702、根据第一视频素材的分辨率,确定第一视频素材的视频代理优先级。
可选的,若第一视频素材的数量为1,则终端设备可以对该第一视频素材进行视频代理,若第一视频素材的数量大于1,则终端设备可以对多个第一视频素材进行排序,得到视频代理的顺序,进而根据该视频代理的顺序,对多个第一视频素材进行视频代理。
可选的,第一视频素材的分辨率与第一视频素材的视频代理优先级成正比。例如,第一视频素材的分辨率越大,第一视频素材的视频代理优先级越高,第一视频素材的分辨率越小,第一视频素材的视频代理优先级越低。例如,第一视频素材1的分辨率小于第一视频素材2的分辨率,终端设备可以确定第一视频素材1的视频代理优先级高于第一视频素材2的视频代理优先级。
S703、根据视频代理优先级,对第一视频素材进行视频代理,得到第一视频素材对应的第二视频素材。
可选的,终端设备可以按照第一视频素材的视频代理优先级,对多个第一视频素材进行视频代理,得到每个第一视频素材对应的第二视频素材。例如,视频代理优先级越高,视频代理的顺序越靠前,视频代理优先级越低,视频代理的顺序越靠后。例如,若第一视频素材1的视频代理优先级高于第一视频素材2的视频代理优先级,则终端设备对第一视频素材进行视频代理时,终端设备可以优先对第一视频素材1进行视频代理,在终端设备对第一视频素材1进行视频代理结束之后,终端设备再对第一视频素材2进行视频代理。
可选的,终端设备确定多个第一视频素材的多个视频代理优先级之后,终端设备可以按照视频代理优先级的顺序,对多个第一视频素材进行视频代理,其中,终端设备可以根据如下可行的实现方式,对多个第一视频素材进行视频代理:获取视频编辑的草稿对应的编辑模式,根据编辑模式,对第一视频素材进行视频代理。
其中,编辑模式包括代理模式和非代理模式。例如,代理模式为终端设备可以对第一视频素材进行视频代理的模式,非代理模式为终端设备不会主动对第一视频素材进行视频代理的模式。例如,代理模式可以为性能模式,在编辑模式为性能模式时,终端设备侧重于保证用户进行视频编辑过程中的流畅度,非代理模式可以为画质模式,在编辑模式为画质模式时,终端设备侧重保证编辑过程中的画质效果,因此,在画质模式下,终端设备不会主动对第一视频素材进行视频代理,避免第一视频素材的画质效果降低。
可选的,终端设备可以根据任意可行的实现方式,确定草稿对应的编辑模式,本公开实施例对此不作限定。
其中,终端设备根据编辑模式,对第一视频素材进行视频代理,具体可以为:若编辑模式为代理模式,则对第一视频素材进行视频代理,若编辑模式为非代理模式,则响应于对编辑模式的切换操作,对第一视频素材进行视频代理。这样,终端设备可以灵活的对第一视频素材进行视频代理,提高视频代理的准确度和灵活度。
可选的,终端设备可以包括代理任务调度模块和代理任务执行模块,其中,代理任务调度模块可以用于管理视频代理任务,代理任务执行模块可以用于执行视频代理任务(如,图5所示的实施例的方法执行视频代理)。例如,代理任务调度模块可以根据草稿配置的编辑模式,决策是否对第一视频素材进行视频代理,若代理任务调度模块确定对第一视频素材进行视频代理,则代理任务调度模块可以通知代理任务执行模块对该第一视频素材进行视频代理。
其中,若草稿对应的编辑模式为代理模式,则代理任务调度模块可以通知代理任务执行模块对第一视频素材进行视频代理,在视频代理结束之后,终端设备可以在草稿中,将第一视频素材替换为第一视频素材对应的第二视频素材。
其中,若草稿对应的编辑模式为非代理模式,则终端设备可以显示编辑模式切换的窗口,并提示用户草稿中的视频素材存在解码性能问题,若用户选择将非代理模式切换为代理模式,则代理任务调度模块可以通知代理任务执行模块对第一视频素材进行视频代理,其中,若编辑模式由非代理模式切换为代理模式,则代理任务调度模块可以在性能信息采集模块中,获取已统计的区间段内的视频素材、以及未统计区间段内的视频素材,这样,在确定第一视频素材之后,代理任务调度模块可以通知代理任务执行模块对第一视频素材进行视频代理。
需要说明的是,若用户将草稿的编辑模式由代理模式切换为非代理模式,则终端设备可以将草稿中的第二视频素材,替换为第二视频素材对应的第一视频素材,进而提高视频编辑过程中的画质效果。
可选的,第二视频素材的分辨率可以为当前全屏窗口的0.5倍,这样可以降低视频代理对画质效果的影响,提高用户的体验。
本公开实施例提供一种确定第二视频素材的方法,获取第一视频素材的分辨率,根据第一视频素材的分辨率,确定第一视频素材的视频代理优先级,根据视频代理优先级,对第一视频素材进行视频代理,得到第一视频素材对应的第二视频素材。这样,终端设备可以优先对分辨率较高的第一视频素材进行视频代理,进而提高视频代理的效果,并且,终端设备可以结合草稿配置的编辑模式,对第一视频素材进行视频代理,进而可以提高视频代理的灵活度。
在上述任意一个实施例的基础上,下面,结合图8,对上述视频编辑方法的实现架构进行详细的说明。
图8为本公开实施例提供的一种实现视频编辑方法的架构示意图。请参见图8,包括:控制层和实现层。控制层中包括代理任务调度模块,实现层中包括解码链路1、解码链路2、……、解码链路n、信息采集模块、代理任务执行模块和进程资源监控模块,其中,每个解码链路可以解码一个视频素材,解码过程由引擎驱动。
请参见图8,信息采集模块可以获取每个解码链路的解码信息,并确定存在解码性能问题的第一视频素材。信息采集模块可以向代理任务调度模块上报第一视频素材,可选的,代理任务调度模块也可以主动从信息采集模块中获取第一视频素材。
请参见图8,代理任务调度模块可以控制视频代理任务进行进程间通信(Inter-Process Communication,IPC),进而使得代理任务执行模块对第一视频素材进行视频代理。起重工,进程资源监控模块可以监控代理任务执行模块在执行视频代理的过程中,使用的设备资源。若该设备资源较大时,进程资源监控模块可以向代理任务调度模块发送提示信息,以使得代理任务调度模块控制代理任务执行模块停止对第一视频素材的视频代理。
在上述任意一个实施例的基础上,下面,结合图9,对上述视频编辑方法的过程进行说明。
图9为本公开实施例提供的一种视频编辑方法的过程示意图。请参见图9,包括:时间轴。其中,时间轴上包括草稿中的视频素材,其中,草稿中的视频素材包括视频素材A、视频素材B、视频素材C和视频素材D。终端设备(图9未示出)可以在时间轴上确定分割点1、分割点2、分割点3和分割点4。
请参见图9,终端设备可以基于分割点1、分割点2、分割点3和分割点4,将草稿划分为区间段a、区间段b、区间段c、区间段d和区间段e。其中,区间段a中包括视频素材A的片段。区间段b中包括视频素材A的片段和视频素材B的片段。区间段c中包括视频素材B的片段和视频素材C的片段。区间段d中包括视频素材B的片段、视频素材C的片段和视频素材D的片段。区间段e中包括视频素材C的片段和视频素材D的片段。
请参见图9,在对草稿进行预览的过程中,若区间段d发生丢帧现象,则终端设备可以将区间段d中的视频素材B的片段、视频素材C的片段和视频素材D的片段确定为候选的片段。终端设备确定视频素材C的片段的分辨率大于第一阈值,因此,终端设备可以对视频素材C进行视频代理,得到视频素材E。
请参见图9,终端设备可以将视频素材C替换为视频素材E。这样,在对草稿进行预览时,视频素材E的分辨率较低,进而可以保证用户对草稿进行预览的流畅度,并且,由于终端设备可以准确、灵活的确定需要进行视频代理的第一视频素材,进而可以提高视频代理的准确度和灵活度,并且可以节约视频代理的设备资源。
图10为本公开实施例提供的一种视频编辑装置的结构示意图。请参见图10,该视频编辑装置1000包括获取模块1001、第一确定模块1002、第二确定模块1003和代替模块1004,其中:
所述获取模块1001用于,获取视频编辑的草稿,所述视频编辑的草稿中包括至少一个视频素材;
所述第一确定模块1002用于,在所述至少一个视频素材中,确定第一视频素材,所述第一视频素材为解码耗时大于或等于预设时长的视频素材;
所述第二确定模块1003用于,根据所述第一视频素材,确定第二视频素材,所述第二视频素材的分辨率和/或码率小于第一视频素材;
所述代替模块1004用于,在对所述草稿进行预览时,以所述第二视频素材代替为所述第一视频素材进行渲染。
根据本公开一个或多个实施例,所述第一确定模块1002具体用于:
将所述视频编辑的草稿划分为多个区间段,所述区间段包括至少一个视频素材的片段;
在所述多个区间段中,确定存在解码丢帧的目标区间段;
根据所述目标区间段中的视频素材的片段,确定所述第一视频素材。
根据本公开一个或多个实施例,所述第一确定模块1002具体用于:
在视频编辑页面中加载所述草稿,所述视频编辑页面中包括时间轴;
在所述时间轴中确定分割点;
在所述分割点的位置,对所述视频编辑的草稿进行分割,将所述视频编辑的草稿划分为多个区间段。
根据本公开一个或多个实施例,所述第一确定模块1002具体用于:
沿着所述时间轴的方向,将所述视频素材的片段发生变化的位置,确定为所述分割点。
根据本公开一个或多个实施例,所述第一确定模块1002具体用于:
对所述视频编辑的草稿进行预览操作;
针对于任意一个区间段,若所述区间段中的任意一个视频素材的片段在播放过程中丢帧,则将所述区间段确定为目标区间段。
根据本公开一个或多个实施例,所述第一确定模块1002具体用于:
在所述目标区间段中的视频素材的片段中,确定目标片段,所述目标片段的分辨率大于或等于第一阈值;
将所述目标片段对应的视频素材,确定为所述第一视频素材。
根据本公开一个或多个实施例,所述第二确定模块1003具体用于:
获取所述第一视频素材的分辨率;
根据所述第一视频素材的分辨率,确定所述第一视频素材的视频代理优先级;
根据所述视频代理优先级,对所述第一视频素材进行视频代理,得到所述第一视频素材对应的第二视频素材。
根据本公开一个或多个实施例,所述第二确定模块1003具体用于:
获取所述视频编辑的草稿对应的编辑模式,所述编辑模式包括代理模式和非代理模式;
根据所述编辑模式,对所述第一视频素材进行视频代理。
根据本公开一个或多个实施例,所述第二确定模块1003具体用于:
若所述编辑模式为代理模式,则对所述第一视频素材进行视频代理;
若所述编辑模式为非代理模式,则响应于对编辑模式切换操作,对所述第一视频素材进行视频代理。
根据本公开一个或多个实施例,所述第二确定模块1003还用于:
获取对所述第一视频素材进行视频代理所需的设备资源;
在所述设备资源大于或等于第二阈值时,停止对所述第一视频素材进行视频代理。
本公开实施例提供的视频编辑装置,可用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,本实施例此处不再赘述。
图11为本公开实施例提供的一种终端设备的结构示意图。请参见图11,其示出了适于用来实现本公开实施例的终端设备1100的结构示意图。其中,终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,简称PDA)、平板电脑(Portable Android Device,简称PAD)、便携式多媒体播放器(Portable Media Player,简称PMP)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图11示出的终端设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图11所示,终端设备1100可以包括处理装置(例如中央处理器、图形处理器等)1101,其可以根据存储在只读存储器(Read Only Memory,简称ROM)1102中的程序或者从存储装置1108加载到随机访问存储器(Random Access Memory,简称RAM)1103中的程序而执行各种适当的动作和处理。在RAM 1103中,还存储有终端设备1100操作所需的各种程序和数据。处理装置1101、ROM 1102以及RAM 1103通过总线1104彼此相连。输入/输出(I/O)接口1105也连接至总线1104。
通常,以下装置可以连接至I/O接口1105:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置1106;包括例如液晶显示器(Liquid Crystal Display,简称LCD)、扬声器、振动器等的输出装置1107;包括例如磁带、硬盘等的存储装置1108;以及通信装置1109。通信装置1109可以允许终端设备1100与其他设备进行无线或有线通信以交换数据。虽然图11示出了具有各种装置的终端设备1100,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置1109从网络上被下载和安装,或者从存储装置1108被安装,或者从ROM 1102被安装。在该计算机程序被处理装置1101执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
上述计算机可读介质可以是上述终端设备中所包含的;也可以是单独存在,而未装配入该终端设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该终端设备执行时,使得该终端设备执行上述实施例所示的方法。
本公开实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如上实施例各种可能涉及的方法。
本公开实施例提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上实施例各种可能涉及的方法。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(Local Area Network,简称LAN)或广域网(Wide Area Network,简称WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,第一获取单元还可以被描述为“获取至少两个网际协议地址的单元”。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
可以理解的是,本技术方案所涉及的数据(包括但不限于数据本身、数据的获取或使用)应当遵循相应法律法规及相关规定的要求。数据可以包括信息、参数和消息等,如切流指示信息。
第一方面,本公开实施例提供一种视频编辑方法,该视频编辑方法包括:
获取视频编辑的草稿,所述视频编辑的草稿中包括至少一个视频素材;
在所述至少一个视频素材中,确定第一视频素材,所述第一视频素材为解码耗时大于或等于预设时长的视频素材;
根据所述第一视频素材,确定第二视频素材,所述第二视频素材的分辨率和/或码率小于所述第一视频素材;
在对所述草稿进行预览时,以所述第二视频素材代替所述第一视频素材进行渲染。
根据本公开一个或多个实施例,在所述至少一个视频素材中,确定第一视频素材,包括:
将所述视频编辑的草稿划分为多个区间段,所述区间段包括至少一个视频素材的片段;
在所述多个区间段中,确定存在解码丢帧的目标区间段;
根据所述目标区间段中的视频素材的片段,确定所述第一视频素材。
根据本公开一个或多个实施例,将所述视频编辑的草稿划分为多个区间段,包括:
在视频编辑页面中加载所述草稿,所述视频编辑页面中包括时间轴;
在所述时间轴中确定分割点;
在所述分割点的位置,对所述视频编辑的草稿进行分割,将所述视频编辑的草稿划分为多个区间段。
根据本公开一个或多个实施例,在所述时间轴中确定分割点,包括:
沿着所述时间轴的方向,将所述视频素材的片段发生变化的位置,确定为所述分割点。
根据本公开一个或多个实施例,在所述多个区间段中,确定存在解码丢帧的目标区间段,包括:
对所述视频编辑的草稿进行预览操作;
针对于任意一个区间段,若所述区间段中的任意一个视频素材的片段在播放过程中丢帧,则将所述区间段确定为目标区间段。
根据本公开一个或多个实施例,根据所述目标区间段中的视频素材的片段,确定所述第一视频素材,包括:
在所述目标区间段中的视频素材的片段中,确定目标片段,所述目标片段的分辨率大于或等于第一阈值;
将所述目标片段对应的视频素材,确定为所述第一视频素材。
根据本公开一个或多个实施例,根据所述第一视频素材,确定第二视频素材,包括:
获取所述第一视频素材的分辨率;
根据所述第一视频素材的分辨率,确定所述第一视频素材的视频代理优先级;
根据所述视频代理优先级,对所述第一视频素材进行视频代理,得到所述第一视频素材对应的第二视频素材。
根据本公开一个或多个实施例,对所述第一视频素材进行视频代理,包括:
获取所述视频编辑的草稿对应的编辑模式,所述编辑模式包括代理模式和非代理模式;
根据所述编辑模式,对所述第一视频素材进行视频代理。
根据本公开一个或多个实施例,根据所述编辑模式,对所述第一视频素材进行视频代理,包括:
若所述编辑模式为代理模式,则对所述第一视频素材进行视频代理;
若所述编辑模式为非代理模式,则响应于对编辑模式切换操作,对所述第一视频素材进行视频代理。
根据本公开一个或多个实施例,对所述第一视频素材进行视频代理时,所述方法还包括:
获取对所述第一视频素材进行视频代理所需的设备资源;
在所述设备资源大于或等于第二阈值时,停止对所述第一视频素材进行视频代理。
第二方面,本公开提供一种视频编辑装置,该视频编辑装置包括获取模块、确定模块、处理模块和替换模块,其中:
所述获取模块用于,获取视频编辑的草稿,所述视频编辑的草稿中包括至少一个视频素材;
所述第一确定模块用于,在所述至少一个视频素材中,确定第一视频素材,所述第一视频素材为解码耗时大于或等于预设时长的视频素材;
所述第二确定模块用于,根据所述第一视频素材,确定第二视频素材,所述第二视频素材的分辨率和/或码率小于所述第一视频素材;
所述代替模块用于,在对所述草稿进行预览时,以所述第二视频素材代替所述第一视频素材进行渲染。
根据本公开一个或多个实施例,所述第一确定模块具体用于:
将所述视频编辑的草稿划分为多个区间段,所述区间段包括至少一个视频素材的片段;
在所述多个区间段中,确定存在解码丢帧的目标区间段;
根据所述目标区间段中的视频素材的片段,确定所述第一视频素材。
根据本公开一个或多个实施例,所述第一确定模块具体用于:
在视频编辑页面中加载所述草稿,所述视频编辑页面中包括时间轴;
在所述时间轴中确定分割点;
在所述分割点的位置,对所述视频编辑的草稿进行分割,将所述视频编辑的草稿划分为多个区间段。
根据本公开一个或多个实施例,所述第一确定模块具体用于:
沿着所述时间轴的方向,将所述视频素材的片段发生变化的位置,确定为所述分割点。
根据本公开一个或多个实施例,所述第一确定模块具体用于:
对所述视频编辑的草稿进行预览操作;
针对于任意一个区间段,若所述区间段中的任意一个视频素材的片段在播放过程中丢帧,则将所述区间段确定为目标区间段。
根据本公开一个或多个实施例,所述第一确定模块具体用于:
在所述目标区间段中的视频素材的片段中,确定目标片段,所述目标片段的分辨率大于或等于第一阈值;
将所述目标片段对应的视频素材,确定为所述第一视频素材。
根据本公开一个或多个实施例,所述第二确定模块具体用于:
获取所述第一视频素材的分辨率;
根据所述第一视频素材的分辨率,确定所述第一视频素材的视频代理优先级;
根据所述视频代理优先级,对所述第一视频素材进行视频代理,得到所述第一视频素材对应的第二视频素材。
根据本公开一个或多个实施例,所述第二确定模块具体用于:
获取所述视频编辑的草稿对应的编辑模式,所述编辑模式包括代理模式和非代理模式;
根据所述编辑模式,对所述第一视频素材进行视频代理。
根据本公开一个或多个实施例,所述第二确定模块具体用于:
若所述编辑模式为代理模式,则对所述第一视频素材进行视频代理;
若所述编辑模式为非代理模式,则响应于对编辑模式切换操作,对所述第一视频素材进行视频代理。
根据本公开一个或多个实施例,所述第二确定模块还用于:
获取对所述第一视频素材进行视频代理所需的设备资源;
在所述设备资源大于或等于第二阈值时,停止对所述第一视频素材进行视频代理。
第三方面,本公开实施例提供一种终端设备包括:处理器和存储器;
所述存储器存储计算机执行指令;
所述处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行如上第一方面以及第一方面各种可能涉及的所述视频编辑方法。
第四方面,本公开实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如上第一方面以及第一方面各种可能涉及的所述视频编辑方法。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。
Claims (13)
- 一种视频编辑方法,包括:获取视频编辑的草稿,所述视频编辑的草稿中包括至少一个视频素材;在所述至少一个视频素材中,确定第一视频素材,所述第一视频素材为解码耗时大于或等于预设时长的视频素材;根据所述第一视频素材,确定第二视频素材,所述第二视频素材的分辨率和/或码率小于所述第一视频素材;以及在对所述草稿进行预览时,以所述第二视频素材代替所述第一视频素材进行渲染。
- 根据权利要求1所述的方法,其中在所述至少一个视频素材中,确定第一视频素材,包括:将所述视频编辑的草稿划分为多个区间段,所述区间段包括至少一个视频素材的片段;在所述多个区间段中,确定存在解码丢帧的目标区间段;以及根据所述目标区间段中的视频素材的片段,确定所述第一视频素材。
- 根据权利要求2所述的方法,其中将所述视频编辑的草稿划分为多个区间段,包括:在视频编辑页面中加载所述草稿,所述视频编辑页面中包括时间轴;在所述时间轴中确定分割点;以及在所述分割点的位置,对所述视频编辑的草稿进行分割,将所述视频编辑的草稿划分为多个区间段。
- 根据权利要求3所述的方法,其中在所述时间轴中确定分割点,包括:沿着所述时间轴的方向,将视频素材的片段发生变化的位置,确定为所述分割点。
- 根据权利要求2-4任一项所述的方法,其中在所述多个区间段中,确定存在解码丢帧的目标区间段,包括:对所述视频编辑的草稿进行预览操作;以及针对于任意一个区间段,若所述区间段中的任意一个视频素材的片段在播放过程中丢帧,则将所述区间段确定为目标区间段。
- 根据权利要求2所述的方法,其中根据所述目标区间段中的视频素材的片段,确定所述第一视频素材,包括:在所述目标区间段中的视频素材的片段中,确定目标片段,所述目标片段的分辨率大于或等于第一阈值;以及将所述目标片段对应的视频素材,确定为所述第一视频素材。
- 根据权利要求1-4任一项所述的方法,其中根据所述第一视频素材,确定第二视频素材,包括:获取所述第一视频素材的分辨率;根据所述第一视频素材的分辨率,确定所述第一视频素材的视频代理优先级;以及根据所述视频代理优先级,对所述第一视频素材进行视频代理,得到所述第一视频素材对应的第二视频素材。
- 根据权利要求7所述的方法,其中对所述第一视频素材进行视频代理,包括:获取所述视频编辑的草稿对应的编辑模式,所述编辑模式包括代理模式和非代理模式;以及根据所述编辑模式,对所述第一视频素材进行视频代理。
- 根据权利要求8所述的方法,其中根据所述编辑模式,对所述第一视频素材进行视频代理,包括:若所述编辑模式为代理模式,则对所述第一视频素材进行视频代理;以及若所述编辑模式为非代理模式,则响应于对编辑模式切换操作,对所述第一视频素材进行视频代理。
- 根据权利要求1-4任一项所述的方法,还包括:对所述第一视频素材进行视频代理时,获取对所述第一视频素材进行视频代理所需的设备资源;以及在所述设备资源大于或等于第二阈值时,停止对所述第一视频素材进行视频代理。
- 一种视频编辑装置,包括获取模块、第一确定模块、第二确定模块和代替模块,其中:所述获取模块用于,获取视频编辑的草稿,所述视频编辑的草稿中包括至少一个视频素材;所述第一确定模块用于,在所述至少一个视频素材中,确定第一视频素材,所述第一视频素材为解码耗时大于或等于预设时长的视频素材;所述第二确定模块用于,根据所述第一视频素材,确定第二视频素材,所述第二视频素材的分辨率和/或码率小于所述第一视频素材;以及所述代替模块用于,在对所述草稿进行预览时,以所述第二视频素材代替所述第一视频素材进行渲染。
- 一种终端设备,包括:处理器和存储器;所述存储器存储计算机执行指令;所述处理器执行所述存储器存储的计算机执行指令,使得所述处理器执行如权利要求1-10任一项所述的视频编辑方法。
- 一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如权利要求1-10任一项所述的视频编辑方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410773974.7 | 2024-06-14 | ||
| CN202410773974.7A CN121194010A (zh) | 2024-06-14 | 2024-06-14 | 视频编辑方法、装置及终端设备 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025256375A1 true WO2025256375A1 (zh) | 2025-12-18 |
Family
ID=98050113
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2025/096449 Pending WO2025256375A1 (zh) | 2024-06-14 | 2025-05-22 | 视频编辑方法、装置及终端设备 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN121194010A (zh) |
| WO (1) | WO2025256375A1 (zh) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105262957A (zh) * | 2015-09-23 | 2016-01-20 | 新奥特(北京)视频技术有限公司 | 视频图像的处理方法和装置 |
| US20190251999A1 (en) * | 2016-07-05 | 2019-08-15 | Sakura Eiki Co., Ltd. | Real-time editing system |
| CN113411633A (zh) * | 2021-04-30 | 2021-09-17 | 成都东方盛行电子有限责任公司 | 一种基于非编工程的模板编辑方法及其应用 |
| CN114157910A (zh) * | 2021-12-01 | 2022-03-08 | 深圳创维-Rgb电子有限公司 | 视频非编系统和视频非编方法 |
-
2024
- 2024-06-14 CN CN202410773974.7A patent/CN121194010A/zh active Pending
-
2025
- 2025-05-22 WO PCT/CN2025/096449 patent/WO2025256375A1/zh active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105262957A (zh) * | 2015-09-23 | 2016-01-20 | 新奥特(北京)视频技术有限公司 | 视频图像的处理方法和装置 |
| US20190251999A1 (en) * | 2016-07-05 | 2019-08-15 | Sakura Eiki Co., Ltd. | Real-time editing system |
| CN113411633A (zh) * | 2021-04-30 | 2021-09-17 | 成都东方盛行电子有限责任公司 | 一种基于非编工程的模板编辑方法及其应用 |
| CN114157910A (zh) * | 2021-12-01 | 2022-03-08 | 深圳创维-Rgb电子有限公司 | 视频非编系统和视频非编方法 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN121194010A (zh) | 2025-12-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101689170B (zh) | 用于数字媒体处理的接口 | |
| US20230093621A1 (en) | Search result display method, readable medium, and terminal device | |
| WO2020233142A1 (zh) | 多媒体文件播放方法、装置、电子设备和存储介质 | |
| CN114666666B (zh) | 视频跳转播放方法、装置、终端设备及存储介质 | |
| JP7766825B2 (ja) | ビデオ編集のための方法及びデバイス | |
| CN115802104A (zh) | 视频跳转播放方法、装置、电子设备及存储介质 | |
| CN117177010A (zh) | 媒体内容展示方法、装置及电子设备 | |
| CN116600164A (zh) | 媒体内容的发布方法、装置、电子设备和存储介质 | |
| CN111385599B (zh) | 视频处理方法和装置 | |
| WO2025256375A1 (zh) | 视频编辑方法、装置及终端设备 | |
| WO2025161736A1 (zh) | 视频处理方法、装置及终端设备 | |
| CN109951737B (zh) | 视频处理方法、装置、电子设备和计算机可读存储介质 | |
| WO2024140126A1 (zh) | 在线视频编辑方法、装置、电子设备及存储介质 | |
| WO2025001953A9 (zh) | 视频处理方法、装置及电子设备 | |
| CN118741242A (zh) | 视频编辑方法、装置、设备及介质 | |
| US7289169B2 (en) | Storage of projected presentations | |
| WO2024140069A1 (zh) | 视频处理方法、装置及电子设备 | |
| CN121462830A (zh) | 快速视频渲染方法、装置、设备、存储介质及程序产品 | |
| US20250365482A1 (en) | Method, apparatus and server for video processing | |
| CN111813994B (zh) | 一种基于互动白板的数据处理、文件回放方法及装置 | |
| WO2025045187A1 (zh) | 视频处理方法、装置及电子设备 | |
| WO2026056401A1 (zh) | 多媒体编辑方法、装置及终端设备 | |
| WO2025246677A1 (zh) | 视频编辑方法、设备及存储介质 | |
| CN118741147A (zh) | 解码设备控制方法、设备、存储介质及程序产品 | |
| WO2025067525A1 (zh) | 转场特效处理方法、装置、电子设备以及存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 25821052 Country of ref document: EP Kind code of ref document: A1 |