WO2022105898A1 - 视频处理方法、电子装置及存储介质 - Google Patents

视频处理方法、电子装置及存储介质 Download PDF

Info

Publication number
WO2022105898A1
WO2022105898A1 PCT/CN2021/131938 CN2021131938W WO2022105898A1 WO 2022105898 A1 WO2022105898 A1 WO 2022105898A1 CN 2021131938 W CN2021131938 W CN 2021131938W WO 2022105898 A1 WO2022105898 A1 WO 2022105898A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
target reference
information
server
target
Prior art date
Application number
PCT/CN2021/131938
Other languages
English (en)
French (fr)
Inventor
文龙凯
王学智
李锦敏
张兴华
李正达
梁昊
Original Assignee
北京字节跳动网络技术有限公司
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 北京字节跳动网络技术有限公司 filed Critical 北京字节跳动网络技术有限公司
Publication of WO2022105898A1 publication Critical patent/WO2022105898A1/zh

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/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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/783Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content

Definitions

  • the present application relates to video technology, and in particular, to a video processing method, an electronic device, and a storage medium.
  • the present application provides a video processing method, an electronic device and a storage medium.
  • an embodiment of the present application provides a video processing method, applied to a terminal, including:
  • Acquire video information of the target video where the video information includes one or more of video resolution, frame rate, bit rate, video duration and encoding format;
  • the server determines a target reference video that matches the video information, and sends the target reference video to a video playback device so that the video playback device is based on the Target reference video for video playback.
  • the above method further includes:
  • the uploading of the video information to the server includes:
  • the server determines a target reference video that matches the video information, and sends the target reference video and the performance information to the server
  • a video playback device wherein the video playback device performs video playback based on the target reference video, and during the video playback process, simulates the environment of the terminal according to the performance information.
  • the above method further includes:
  • the uploading of the video information to the server includes:
  • the server determines a target reference video that matches the video information, and sends the target reference video and the processing operation to the server
  • a video playback device wherein the video playback device performs video playback based on the target reference video, and in the video playback process, performs corresponding processing operations on the target reference video according to the processing operations.
  • the uploading the video information to the server includes:
  • the video information is uploaded to the server under a preset condition, where the preset condition includes receiving an upload request triggered by a user, or receiving an upload instruction sent by the server.
  • the embodiments of the present application provide another video processing method, applied to a server, including:
  • the video information includes one or more of video resolution, frame rate, bit rate, video duration and encoding format
  • the video information determine a target reference video that matches the video information
  • the target reference video is sent to a video playback device, wherein the video playback device performs video playback based on the target reference video.
  • the above method further includes:
  • the sending the target reference video to the video playback device includes:
  • the video playback device performs video playback based on the target reference video, and during the video playback, simulates the performance information according to the performance information. the environment of the terminal.
  • the above method further includes:
  • the sending the target reference video to the video playback device includes:
  • the target reference video and the processing operation are sent to the video playback device, wherein the video playback device performs video playback based on the target reference video, and during the video playback, according to the processing operation,
  • the target reference video performs corresponding processing operations.
  • the method further includes:
  • the determining, according to the video information, a target reference video that matches the video information includes:
  • the video information determine whether there is a target reference video matching the video information in the pre-stored reference video
  • the target reference video exists in the pre-stored reference video
  • the target reference video is acquired from the pre-stored reference video.
  • the above method further includes:
  • the target reference video does not exist in the pre-stored reference video
  • the target reference video is generated according to the video information and the pre-stored reference video.
  • an embodiment of the present application provides an electronic device, applied to a terminal, including:
  • a first acquisition module used to acquire the target video
  • a second acquisition module configured to acquire video information of the target video, where the video information includes one or more of video resolution, frame rate, bit rate, video duration and encoding format;
  • an uploading module for uploading the video information to a server, wherein the server determines a target reference video that matches the video information, and sends the target reference video to a video playback device, so that the video The playback device performs video playback based on the target reference video.
  • the second obtaining module is further configured to:
  • the uploading module is specifically used for:
  • the server determines a target reference video that matches the video information, and sends the target reference video and the performance information to the server
  • a video playback device wherein the video playback device performs video playback based on the target reference video, and during the video playback process, simulates the environment of the terminal according to the performance information.
  • the obtaining module is further used for:
  • the uploading module is specifically used for:
  • the server determines a target reference video that matches the video information, and sends the target reference video and the processing operation to the server
  • a video playback device wherein the video playback device performs video playback based on the target reference video, and in the video playback process, performs corresponding processing operations on the target reference video according to the processing operations.
  • the uploading module is specifically used for:
  • the video information is uploaded to the server under a preset condition, where the preset condition includes receiving an upload request triggered by a user, or receiving an upload instruction sent by the server.
  • an embodiment of the present application provides another electronic device, which is applied to a server, including:
  • a receiving module configured to receive video information of the target video uploaded by the terminal, where the video information includes one or more of video resolution, frame rate, bit rate, video duration and encoding format;
  • a determining module configured to determine, according to the video information, a target reference video that matches the video information
  • a sending module configured to send the target reference video to a video playback device, wherein the video playback device performs video playback based on the target reference video.
  • the receiving module is further configured to receive the performance information uploaded by the terminal;
  • the sending module is further configured to send the target reference video and the performance information to the video playback device, wherein the video playback device performs video playback based on the target reference video, and during the video playback process , and simulate the environment of the terminal according to the performance information.
  • the receiving module is further configured to receive a processing operation corresponding to the target video uploaded by the terminal in the processing process;
  • the sending module is further configured to send the target reference video and the processing operation to the video playback device, wherein the video playback device performs video playback based on the target reference video, and during the video playback process , and according to the processing operation, perform a corresponding processing operation on the target reference video.
  • the sending module is further configured to:
  • the determining module is specifically used for:
  • the video information determine whether there is a target reference video matching the video information in the pre-stored reference video
  • the target reference video exists in the pre-stored reference video
  • the target reference video is acquired from the pre-stored reference video.
  • the determining module is specifically used for:
  • the target reference video does not exist in the pre-stored reference video
  • the target reference video is generated according to the video information and the pre-stored reference video.
  • an embodiment of the present application provides a terminal, including:
  • the computer program is stored in the memory and configured to be executed by the processor, the computer program comprising instructions for performing the method of the first aspect.
  • an embodiment of the present application provides a server, including:
  • the computer program is stored in the memory and configured to be executed by the processor, the computer program comprising instructions for performing the method of the second aspect.
  • an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and the computer program enables a terminal to execute the method of the first aspect.
  • an embodiment of the present application provides another computer-readable storage medium, where the computer-readable storage medium stores a computer program, and the computer program causes a server to execute the method of the second aspect.
  • an embodiment of the present application provides a computer program product, including computer instructions, which implement the method of the first aspect when the computer instructions are executed by a processor.
  • the embodiments of the present application provide another computer program product, including computer instructions, which implement the method of the second aspect when the computer instructions are executed by a processor.
  • an embodiment of the present application provides a computer program, which implements the method described in the first aspect when the computer program is executed by a processor.
  • an embodiment of the present application provides another computer program, which implements the method described in the second aspect when the computer program is executed by a processor.
  • the video processing method, electronic device, and storage medium provided by the embodiments of the present application do not require the user to actively upload the corresponding video, but only need to obtain the video information of the corresponding video through the terminal and upload it to the server, thereby enabling the server to determine the target based on the video information.
  • reference video and send the target reference video to the video playback device
  • the video playback device performs playback based on the target reference video, reproduces the user's video processing process
  • the server can locate the above-mentioned problems in the video playback process, thereby solving the problem in the video playback process.
  • the problems in the video processing process can be solved without involving user privacy, and the corresponding video processing software can be further based on this problem. Optimization to improve the performance of video processing software to meet application needs.
  • FIG. 1 is a schematic diagram of the architecture of a video processing system provided by an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a video processing method provided by an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of another video processing method provided by an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of still another video processing method provided by an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of another video processing method provided by an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of another video processing method provided by an embodiment of the present application.
  • FIG. 7 is a schematic flowchart of another video processing method provided by an embodiment of the present application.
  • FIG. 8 is a schematic flowchart of another video processing method provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of another electronic device provided by an embodiment of the present application.
  • 11A is a schematic diagram of a basic hardware architecture of a terminal provided by the application.
  • FIG. 11B is a schematic diagram of a basic hardware architecture of a server provided by this application.
  • the video playback involved in the embodiments of the present application refers to determining a target reference video that matches the video information of the target video, and performing video playback on the target reference video without the user providing the corresponding video. Without affecting user privacy, it is impossible to effectively solve the problem of playback positioning.
  • the video processing method provided in the embodiment of the present application may be applied in a video processing scenario, where the video processing scenario may be a video playback or video editing scenario, which is not particularly limited in this embodiment of the present application.
  • the video processing scenario may be a video playback or video editing scenario, which is not particularly limited in this embodiment of the present application.
  • the above-mentioned video processing process can be played back through the video processing method provided in the embodiment of the present application, so as to locate and solve the problem.
  • FIG. 1 only describes a possible application scenario of the video processing method provided by the embodiment of the present application, and the application scenario of the video processing method provided by the embodiment of the present application is not limited to the application scenario shown in FIG. 1 .
  • FIG. 1 is a schematic diagram of a video processing system architecture.
  • the above architecture may include a terminal 11 , a server 12 and a video playback device 13 .
  • the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the video processing architecture.
  • the above architecture may include more or less components than shown in the figure, or combine some components, or separate some components, or arrange different components, depending on the actual application. The scene is determined, and there is no restriction here.
  • the components shown in Figure 1 may be implemented in hardware, software, or a combination of software and hardware.
  • video processing software is installed on the terminal 11, and the video processing software is used to process the video (for example, edit the video), and obtain the video information of the video, such as video resolution, frame rate, bit rate, video duration and encoding format, etc.
  • the video processing software suddenly appears abnormal during the video editing process, the user can trigger an upload request on the terminal 11, or the terminal 11 uploads the information of the video problem to the server 12 or the server 12 detects that the video editing process in the terminal 11 occurs.
  • the server 12 can send an upload instruction to the terminal 11 .
  • the terminal 11 uploads the above-mentioned video information to the server 12 according to the above-mentioned upload request or the above-mentioned upload instruction.
  • the server 12 determines a reference video matching the above-mentioned video information, and sends the reference video to the video playback device 13 .
  • the video playback device 13 performs video playback of the above-mentioned reference video.
  • the server 12 locates the problem that occurs in the process of replaying the above-mentioned target reference video by the video playback device 13, that is, the problem that occurs in the above-mentioned video processing process, and then solves the problem, and can optimize the video processing software installed on the above-mentioned terminal 11 based on this problem. , so that the optimized video processing software will no longer have the above problems, and the performance will be more perfect.
  • the above-mentioned terminal may be a handheld device, a vehicle-mounted device, a wearable device, a computing device, a smart home device, etc., as well as various forms of user equipment (User Equipment, UE) and other devices with video processing functions.
  • the aforementioned video playback device may be a terminal, such as the aforementioned handheld device, vehicle-mounted device, wearable device, computing device, smart home device, and the like.
  • the above-mentioned video playback device can be integrated and deployed in the above-mentioned server, or can be independently deployed outside the above-mentioned server, and can be specifically set according to the actual situation, which is not particularly limited in this embodiment of the present application.
  • system architecture and business scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute limitations on the technical solutions provided by the embodiments of the present application.
  • the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
  • FIG. 2 is a schematic flowchart of a video processing method provided by an embodiment of the present application.
  • the execution body of this embodiment may be the terminal 11 in FIG. 1 , and the specific execution body may be determined according to an actual application scenario.
  • This embodiment of the present application does not make special restrictions.
  • the video processing method provided by the embodiment of the present application may include the following steps:
  • S202 Acquire video information of the target video, where the video information includes one or more of video resolution, frame rate, bit rate, video duration, and encoding format.
  • the above-mentioned target video may be a video currently being processed on the terminal, for example, a video being edited by video processing software on the terminal, which may be specifically determined according to the actual situation, which is not particularly limited in this embodiment of the present application.
  • the terminal acquires video information such as video resolution, frame rate, bit rate, video duration, and encoding format of the target video.
  • the specific video information acquired by the terminal may be determined according to the actual situation, which is not particularly limited in this embodiment of the present application.
  • Subsequent video playback based on the above-mentioned video information in the embodiments of the present application can eliminate video-specific factors (such as specific resolution or frame rate, etc.), quickly perform video playback, and locate corresponding problems, which is suitable for application.
  • the terminal may also store the acquired video information in a corresponding file, for example, store the acquired video information in a user operation log file, so that subsequent terminals can directly access the above-mentioned files from the file. Obtain corresponding information and upload the information to the server, thereby making the operation simpler and more convenient.
  • S203 Upload the above-mentioned video information to the server, wherein the server determines a target reference video that matches the above-mentioned video information, and sends the target reference video to a video playback device, so that the video playback device performs video based on the above-mentioned target reference video. playback.
  • the terminal uploads the above video information to the server, which may include:
  • the terminal uploads the above-mentioned video information to the server, and the preset condition includes receiving an upload request triggered by a user, or receiving an upload instruction sent by the server.
  • the terminal will upload the above-mentioned video information to the server, which can reduce the waste of resources in data transmission, and is suitable for application.
  • the above-mentioned specific conditions may be that the terminal receives an upload request triggered by a user, or receives an upload instruction sent by a server.
  • the above-mentioned specific conditions may also include other situations, which can be determined according to actual conditions. This embodiment of the present application There is no special restriction on this.
  • the terminal uploads the above video information to the server, and after receiving the above video information, the server determines, according to the above video information, a target reference video that matches the above video information, that is, the video information of the target reference video is the same as the above
  • the video information is matched, and the target reference video is sent to the video playback device, and the video playback device performs video playback according to the target reference video.
  • matching can be understood as the same or similar.
  • performing video playback by the above-mentioned video playback device according to the above-mentioned target reference video may include:
  • the above-mentioned video playback device imports the above-mentioned target reference video into corresponding video processing software, and plays back the above-mentioned target reference video.
  • This embodiment of the present application does not require the user to actively upload the corresponding video, but only needs to obtain the corresponding video information through the terminal and upload it to the server, so that the server determines the target reference video based on the video information, and sends the target reference video to the video playback device.
  • the playback device performs playback based on the target reference video, and reproduces the video processing process of the user.
  • the server can locate the problems that occur in the process of playing back the target reference video by the video playback device, and then determine the problems that occur in the processing process of the target video, so as to solve the problem. In the case of not collecting user videos, it is impossible to effectively perform playback and positioning. Furthermore, the problems in the video processing process can be solved without involving user privacy, and the corresponding video processing can be further based on this problem.
  • the software is optimized to improve the performance of video processing software to meet application needs.
  • FIG. 3 is a schematic flowchart of another video processing method proposed by an embodiment of the present application. As shown in Figure 3, the method includes:
  • S302 Acquire video information of the target video, where the video information includes one or more of video resolution, frame rate, bit rate, video duration, and encoding format.
  • steps S301-S302 are implemented in the same manner as the above-mentioned steps S201-S202, and are not repeated here.
  • the above-mentioned terminal processes the above-mentioned target video
  • the above-mentioned performance information includes one of central processing unit (Central Processing Unit, CPU) fluctuation, memory fluctuation and user interface (User Interface, UI) frame rate on the terminal during the processing of the above-mentioned target video. or multiple performance parameters.
  • CPU Central Processing Unit
  • UI User Interface
  • the above-mentioned terminal obtains its performance parameters, and specifically, real-time monitoring or timing monitoring can be used, which can be determined according to the actual situation, which is not particularly limited in this embodiment of the present application.
  • the above-mentioned performance parameters are also reserved in the above-mentioned performance information.
  • the corresponding time that is, the above-mentioned performance information also includes the time corresponding to one or more performance parameters in the CPU fluctuation, memory fluctuation and UI frame rate monitored on the terminal.
  • the terminal acquires performance parameters such as CPU fluctuation, memory fluctuation, and UI frame rate on the terminal during the processing of the target video, and the specific performance parameters acquired by the terminal can be determined according to the actual situation.
  • This embodiment of the present application does not specifically limit this.
  • the above-mentioned terminal may also store the acquired information in a corresponding file, for example, store the acquired information in a performance file, so that subsequent terminals can directly acquire the corresponding information from the above-mentioned file, and store the acquired information in a corresponding file.
  • the information is uploaded to the server, which makes the operation simpler and more convenient.
  • S304 Upload the above-mentioned performance information and video information to the server, wherein the server determines a target reference video that matches the above-mentioned video information, and sends the target reference video and the above-mentioned performance information to a video playback device, wherein the video playback device Video playback is performed based on the target reference video, and during the video playback process, the operating environment of the terminal is simulated according to the performance information.
  • the terminal uploads the file
  • the server can first parse the file to obtain the above-mentioned performance information and video information, and can determine the above-mentioned performance information in the above-mentioned performance information. parameter and its corresponding time.
  • the server may send the target reference video and the above performance information to the video playback device.
  • the video playback device imports the above-mentioned target reference video and the above-mentioned performance information into corresponding video processing software, plays back the target reference video, and simulates the terminal of the above-mentioned target video in the processing process according to the performance parameters in the above-mentioned performance information and the corresponding time.
  • the performance is to simulate the environment of the above-mentioned terminal, improve the accuracy of video playback, and then enable the subsequent server to more accurately locate the problem based on the video played back by the video playback device.
  • the embodiment of the present application while the video playback device plays back the target reference video, the environment of the terminal is simulated by using the performance information of the terminal, so as to improve the accuracy of video playback. Moreover, the embodiment of the present application does not require the user to actively upload the corresponding video, and only needs to pass
  • the terminal acquires the video information of the corresponding video and uploads it to the server, so that the server determines the target reference video based on the video information, and sends the target reference video to the playback device for playback, reproduces the user's video processing process, and further locates the occurrence of Then, determine the problems that occur in the above-mentioned target video processing process, solve the problem that playback and positioning problems cannot be effectively performed without collecting user videos, and then solve the problems that occur in the video processing process, and can be based on this problem.
  • the problem is to optimize the corresponding video processing software, such as video editing software or video playback software, to improve the performance of the video processing software to meet application needs.
  • FIG. 4 is a schematic flowchart of another video processing method proposed by an embodiment of the present application. As shown in Figure 4, the method includes:
  • S402 Acquire video information of the target video, where the video information includes one or more of video resolution, frame rate, bit rate, video duration, and encoding format.
  • steps S401-S402 are implemented in the same manner as the above-mentioned steps S201-S202, and are not repeated here.
  • the processing operation includes a video playback operation, a video editing operation, and the like.
  • the video editing operations may include splitting, shifting, rotating, reversing, adding filters, adding special effects, and the like.
  • the terminal acquires the processing operations corresponding to the target video in the processing process.
  • the corresponding processing operations may include speed change, rotation selection, etc.
  • the specific processing operations acquired by the terminal may be Determined according to the actual situation. This embodiment of the present application does not specifically limit this.
  • the terminal may also acquire the occurrence time of the above-mentioned processing operations, so as to subsequently perform corresponding processing operations on the replayed video according to the acquired time sequence, so that the replayed video is closer to the processing of the above-mentioned target video process. That is, the above processing operation also includes the time corresponding to the above processing operation.
  • the terminal may also store the acquired information in a corresponding file, for example, store the acquired information in a user operation log file, so that the subsequent terminal can directly retrieve the information from the above-mentioned operations.
  • the corresponding information is obtained from the file, and the information is uploaded to the server, thereby making the operation simpler and more convenient.
  • S404 Upload the above-mentioned processing operation and video information to the server, wherein the server determines a target reference video that matches the above-mentioned video information, and sends the above-mentioned target reference video and processing operation to a video playback device, wherein the video playback device is based on The target reference video is subjected to video playback, and during the video playback process, corresponding processing operations are performed on the target reference video according to the above processing operations.
  • the terminal uploads the file, and after the server receives the file, it can parse the file, obtain the above-mentioned processing operations and video information, and can determine The above processing operation corresponds to the time.
  • a certain file for example, an operation log file
  • the server may send the target reference video and the above-mentioned processing operation to the video playback device.
  • the video playback device imports the above-mentioned target reference video and the above-mentioned processing operation into the corresponding video processing software, plays back the target reference video, and simulates the specific processing of the above-mentioned target video in the processing process through the above-mentioned processing operation, and triggers the above-mentioned video processing software to perform corresponding functions. , thereby improving the accuracy of video playback, so that the subsequent server can more accurately locate the problem based on the video played back by the video playback device, and can optimize the video processing software installed in the terminal according to the located problem.
  • the above processing operations are used to simulate the specific processing of the target video in the processing process, so as to improve the accuracy of video playback.
  • the user does not need to actively upload the corresponding video , only need to obtain the video information of the corresponding video through the terminal and upload it to the server, so that the server can determine the target reference video based on the video information to play back, reproduce the user's video processing process, and locate the problem, and then determine the above target.
  • the problems that occur in the video processing process solve the problem that the playback and positioning cannot be effectively performed without collecting user videos.
  • the problems in the video processing process can be solved without involving user privacy, and further Based on this problem, the corresponding video processing software is optimized to improve the performance of the video processing software and meet the application needs.
  • the terminal uploads the above-mentioned video information, the above-mentioned performance information and the above-mentioned processing operation to the server.
  • the server determines the target reference video that matches the above-mentioned video information, and sends the target reference video, the above-mentioned performance information and the above-mentioned processing operation to the video playback device, so that the video playback device performs video playback based on the above-mentioned target reference video, and in During the video playback, the environment of the terminal is simulated according to the performance information, and corresponding processing operations are performed on the target reference video according to the processing operations to achieve video playback with high accuracy. The user does not need to actively upload the corresponding video, thereby solving the problem that the playback and positioning cannot be effectively performed without collecting the user's video.
  • the server may send the target reference video, the above performance information and the above processing operation to the video playback device.
  • the above-mentioned performance information includes one or more character parameters of CPU fluctuation, memory fluctuation and UI frame rate on the terminal during the processing of the above-mentioned target video.
  • the performance information also includes the time corresponding to the monitoring of the performance parameter.
  • the above processing operations include video playback operations, video editing operations, and the like.
  • the above-mentioned processing operation further includes the time corresponding to the above-mentioned processing operation.
  • the above-mentioned video playback device imports the above-mentioned target reference video, the above-mentioned performance information and the above-mentioned processing operation into corresponding video processing software, plays back the target reference video, and simulates the above-mentioned target according to the performance parameters and the corresponding time in the above-mentioned performance information.
  • the terminal performance during the video processing process that is, to simulate the environment of the above-mentioned terminal, and simulate the specific processing operation of the above-mentioned target video in the video processing process through the above-mentioned processing operation and the time corresponding to the above-mentioned processing operation, and trigger the above-mentioned video processing software to execute.
  • the corresponding processing operation function improves the accuracy of video playback, and further enables the subsequent server to more accurately locate the problem based on the video played back by the video playback device.
  • the server may locate the problem that occurs in the video playback device playback process of the target reference video.
  • the above-mentioned server can judge whether the video stutter, blur, etc. occurs during the playback of the above-mentioned target reference video by the above-mentioned video playback device.
  • the problems that occur in the above-mentioned target video processing process, such as the video editing process, are further determined.
  • the server may also determine whether the parameters are abnormal according to the performance information and the preset performance parameter range. If it is determined that the parameter is abnormal, the server obtains the abnormal parameter, and determines the problem that occurs during the processing of the target video according to the abnormal parameter and the above processing operation.
  • the above processing operations include video playback operations, video editing operations, etc., and the above processing operations also include time corresponding to the above processing operations.
  • the above-mentioned preset performance parameter range may be determined according to the performance information of the terminal normally processing video.
  • the above-mentioned server may determine whether the above-mentioned performance information is within the preset performance parameter range, and if not, determine that the parameter is abnormal.
  • the above server obtains the abnormal parameter, and further obtains the occurrence time of the abnormal parameter.
  • the server determines the processing operation corresponding to the occurrence time according to the processing operation and the time corresponding to the processing operation, and determines the problem that occurs during the processing of the target video according to the processing operation.
  • the server may locate the problem that occurs during the playback of the target reference video by the video playback device, and determine the problem that occurs during the processing of the target video.
  • the server can locate the problem that occurs in the process of processing the target video by combining the above two methods.
  • the positioning method is accurate and flexible, does not involve user privacy, and can meet the application of different application scenarios. need.
  • FIG. 5 is a schematic flowchart of another video processing method provided by an embodiment of the present application.
  • the execution body of this embodiment may be the server 12 in FIG. 1 .
  • the method may include the following steps:
  • S501 Receive video information of a target video uploaded by a terminal, where the video information includes one or more of video resolution, frame rate, bit rate, video duration, and encoding format.
  • S502 Determine a target reference video matching the above video information according to the above video information.
  • the above-mentioned server determines, according to the above-mentioned video information, a target reference video that matches the above-mentioned video information, including:
  • the above-mentioned video information determine whether there is a target reference video that matches the above-mentioned video information in the pre-stored reference video;
  • the target reference video exists in the pre-stored reference video
  • the target reference video is acquired from the pre-stored reference video.
  • the server after receiving the video information of the target video uploaded by the terminal, the server first selects a target reference video whose video information matches the video information of the received target video from the pre-stored reference videos. If the target reference video exists in the pre-stored reference video, the target reference video is directly obtained from the pre-stored reference video.
  • the server If the target reference video does not exist in the pre-stored reference video, the server generates the target reference video according to the video information and the pre-stored reference video.
  • the server may select a reference video, and perform operations such as transcoding and cropping on the reference video according to the video information of the target video by using a video coding and decoding technology to generate a target reference video matching the video information.
  • a simulated video can be generated by using a video coding and decoding technology according to the video information of the above target video, that is, a target reference video matching the above video information can be generated to meet various application needs.
  • S503 Send the target reference video to a video playback device, where the video playback device performs video playback based on the target reference video.
  • the above-mentioned video playback device performing video playback according to the target reference video may include:
  • the embodiment of the present application does not require the user to actively upload the corresponding video, but only needs to obtain the video information of the corresponding video through the terminal and upload it to the server, so that the server determines the target reference video based on the video information, and sends the target reference video to the video playback device. Playback and reproduce the video processing process of the user, so that the server can locate the problems that occur in the process of replaying the target reference video by the above-mentioned video playback device, and then determine the problems that occur in the above-mentioned target video processing process, and solve the problem of not collecting user videos. Therefore, the problem of video processing can be solved without involving user privacy, and the corresponding video processing software can be further optimized based on this problem to improve the video processing software. performance to meet application needs.
  • FIG. 6 is a schematic flowchart of another video processing method proposed by an embodiment of the present application. As shown in Figure 6, the method includes:
  • S601 Receive video information of a target video uploaded by a terminal, where the video information includes one or more of video resolution, frame rate, bit rate, video duration, and encoding format.
  • S602 Receive the performance information uploaded by the foregoing terminal.
  • the above-mentioned target video is running on the above-mentioned terminal
  • the above-mentioned performance information includes one or more performance parameters of CPU fluctuation, memory fluctuation and UI frame rate on the above-mentioned terminal during the processing of the target video.
  • the performance information also includes the time corresponding to the monitoring of the performance parameters, that is, the performance information also includes the time corresponding to one or more performance parameters of the CPU fluctuation, memory fluctuation and UI frame rate monitored on the terminal.
  • step S603 is the same as that of the foregoing step S502, and details are not repeated here.
  • S604 Send the target reference video and the performance information to a video playback device, where the video playback device performs video playback based on the target reference video, and simulates the environment of the terminal according to the performance information during the video playback process.
  • the server may send the target reference video and the above-mentioned performance information to the video playback device.
  • the video playback device imports the above-mentioned target reference video and the above-mentioned performance information into corresponding video processing software, plays back the target reference video, and simulates the performance of the above-mentioned target video in the processing process according to the performance parameters in the above-mentioned performance information and the corresponding time, That is, the running environment of the above target video is simulated, the accuracy of video playback is improved, and the video played back by the subsequent server based on the video playback device can more accurately locate the problem.
  • the operating environment of the above-mentioned target video is simulated to improve the accuracy of video playback.
  • the user does not need to actively upload the corresponding video, but only needs to obtain the corresponding video through the terminal.
  • the video information is uploaded to the server, so that the server determines the target reference video based on the video information, and sends the target reference video to the playback device for playback, reproduces the user's video processing process, locates problems, and then determines
  • the above-mentioned problems in the target video processing process solve the problem that the playback and positioning cannot be effectively performed without collecting user videos, and further solve the problems in the video processing process, and the corresponding video processing can be based on this problem.
  • the software is optimized to improve the performance of video processing software to meet application needs.
  • FIG. 7 is a schematic flowchart of another video processing method proposed by an embodiment of the present application. As shown in Figure 7, the method includes:
  • S701 Receive video information of a target video uploaded by a terminal, where the video information includes one or more of video resolution, frame rate, bit rate, video duration, and encoding format.
  • S702 Receive a processing operation corresponding to the processing of the target video uploaded by the terminal.
  • the above-mentioned processing operations include video playback operations, video editing operations, and the like.
  • the video editing operations may include splitting, shifting, rotating, reversing, adding filters, adding special effects, and the like.
  • step S703 is the same as that of the above-mentioned step S502, which will not be repeated here.
  • S704 Send the above-mentioned target reference video and the above-mentioned processing operation to a video playback device, wherein the video playback device performs video playback based on the above-mentioned target reference video, and in the video playback process, according to the above-mentioned processing operation, the above-mentioned target reference video is played corresponding processing operation.
  • the server may send the target reference video and the above-mentioned processing operation to the video playback device.
  • the video playback device imports the above-mentioned target reference video and the above-mentioned processing operation into the corresponding video processing software, plays back the target reference video, and simulates the specific processing of the above-mentioned target video in the processing process through the above-mentioned processing operation, and triggers the above-mentioned video processing software to perform corresponding functions. , thereby improving the accuracy of video playback, so that the server can more accurately locate the problem based on the video played back by the video playback device.
  • the above-mentioned processing operation further includes the time corresponding to the above-mentioned processing operation. That is, while acquiring the above-mentioned processing operation, the terminal can also acquire the occurrence time of the above-mentioned processing operation, and send the above-mentioned processing operation and the occurrence time of the above-mentioned processing operation to the server, and then the server sends the above-mentioned processing operation and the occurrence time of the above-mentioned processing operation to the server.
  • Send a video playback device, and the video playback device performs corresponding processing operations on the played back video according to the obtained time sequence, so that the played back video is closer to the processing process of the above target video.
  • the above processing operations are used to simulate the specific processing of the target video in the processing process, so as to improve the accuracy of video playback.
  • the user does not need to actively upload the corresponding video , it is only necessary to obtain the video information of the corresponding video through the terminal and upload it to the server, so that the server determines the target reference video based on the video information for playback, reproduces the user's video processing process, locates the problem, and then determines the above target video.
  • the problems in the processing process solve the problem that the playback and positioning cannot be effectively performed without collecting user videos.
  • the problems in the video processing process can be solved without involving user privacy, and can be further improved. Based on this problem, the corresponding video processing software is optimized to improve the performance of the video processing software and meet the application needs.
  • the server in this embodiment of the present application not only receives the video information of the target video uploaded by the terminal, but also receives the performance information uploaded by the terminal and the processing operation corresponding to the target video in the processing process. Further, the server determines a target reference video that matches the above-mentioned video information, and sends the target reference video, the above-mentioned performance information and the above-mentioned processing operation to a video playback device, and the video playback device performs video playback based on the above-mentioned target reference video, and in the During the video playback, the environment of the terminal is simulated according to the performance information, and corresponding processing operations are performed on the target reference video according to the processing operations to achieve video playback with high accuracy. The user does not need to actively upload the corresponding video, thereby solving the problem that the playback and positioning cannot be effectively performed without collecting the user's video.
  • the server may send the target reference video, the above performance information and the above processing operation to the video playback device.
  • the above-mentioned performance information includes one or more performance parameters of CPU fluctuation, memory fluctuation and UI frame rate on the terminal during the processing of the above-mentioned target video.
  • the above-mentioned performance information further includes the time corresponding to the above-mentioned performance parameter.
  • the above processing operations include video playback operations, video editing operations, and the like.
  • the above-mentioned processing operation further includes the time corresponding to the above-mentioned processing operation.
  • the above-mentioned video playback device imports the above-mentioned target reference video, the above-mentioned performance information and the above-mentioned processing operation into corresponding video processing software, plays back the target reference video, and according to the performance parameters in the above-mentioned performance information and the time corresponding to the above-mentioned performance parameters, Simulate the terminal performance of the above-mentioned target video in the processing process, that is, simulate the environment of the above-mentioned terminal, and simulate the specific processing of the above-mentioned target video in the processing process through the above-mentioned processing operation and the time corresponding to the above-mentioned processing operation, and trigger the above-mentioned video processing software. Corresponding functions are executed to improve the accuracy of video playback, thereby enabling the subsequent server to more accurately locate the problem based on the video played back by the video playback device.
  • the server may locate the problem that occurs in the video playback device playback process of the target reference video.
  • the above-mentioned server can judge whether the video stutter, blur, etc. occurs during the playback of the above-mentioned target reference video by the above-mentioned video playback device.
  • the problems that occur in the above-mentioned target video processing process, such as the video editing process, are further determined.
  • the server may also determine whether the parameters are abnormal according to the performance information and the preset performance parameter range. If it is determined that the parameter is abnormal, the server obtains the abnormal parameter, and determines the problem that occurs during the processing of the target video according to the abnormal parameter and the above processing operation.
  • the above processing operations include video playback operations, video editing operations, etc., and the above processing operations also include time corresponding to the above processing operations.
  • the above-mentioned preset performance parameter range may be determined according to the performance information of the terminal normally processing video, for example, according to the performance information of the terminal normally editing the video.
  • the above-mentioned server may determine whether the above-mentioned performance information is within the preset performance parameter range, and if not, determine that the parameter is abnormal.
  • the above server obtains the abnormal parameter, and further obtains the occurrence time of the abnormal parameter.
  • the server determines the processing operation corresponding to the occurrence time according to the processing operation and the time corresponding to the processing operation, and determines the problem that occurs during the processing of the target video according to the processing operation.
  • the server may locate the problem that occurs during the playback of the target reference video by the video playback device, and determine the problem that occurs during the processing of the target video.
  • the embodiments of the present application also provide another video processing method, which is described from the interaction of a terminal, a server, and a video playback device.
  • the terminal Before uploading the video information of the target video to the server, the terminal also obtains the performance information of the terminal and the corresponding processing operations in the process of processing the target video, and uploads them.
  • the server not only receives the video information of the target video uploaded by the terminal
  • it will also receive the performance information uploaded by the terminal and the corresponding processing operations in the process of processing the target video, so that these information are sent to the video playback device for video playback, as shown in Figure 8, the method may include:
  • the terminal acquires video information of the target video, where the video information includes one or more of video resolution, frame rate, bit rate, video duration and encoding format.
  • the terminal obtains its performance information, where the target video runs on the terminal, and the performance information includes one or more performance parameters of CPU fluctuation, memory fluctuation and UI frame rate on the terminal during processing of the target video. Moreover, the performance information also includes the time corresponding to the performance parameter, that is, the performance information also includes the time corresponding to one or more performance parameters of CPU fluctuation, memory fluctuation and UI frame rate monitored on the terminal.
  • the terminal acquires the processing operation corresponding to the target video in the processing process, and the processing operation includes a video playing operation, a video editing operation, and the like.
  • the video editing operations may include splitting, shifting, rotating, reversing, adding filters, adding special effects, and the like.
  • the terminal may also acquire the occurrence time of the above-mentioned processing operation, that is, the above-mentioned processing operation also includes the time corresponding to the above-mentioned processing operation.
  • the terminal may also store the acquired information in a corresponding file.
  • the video information and processing operations may be stored in In the operation log file, the terminal performance information can be stored in the performance file, so that the corresponding information can be directly obtained from the above file in the future, and the processing process is simpler and more convenient.
  • S804 The terminal uploads the above video information, performance information and processing operation to the server.
  • the terminal uploads the above-mentioned video information to the server under a preset condition, where the preset condition includes that the terminal receives an upload request triggered by a user, or receives an upload instruction sent by the server, and the like.
  • S805 The server determines a target reference video that matches the above video information.
  • the server can parse the two files respectively to obtain the above-mentioned video information, performance information and processing operations, and can determine the time corresponding to the above-mentioned performance information and the corresponding processing operations. time.
  • the server after receiving the video information of the target video uploaded by the terminal, the server first selects a target reference video whose video information matches the video information of the received target video from the pre-stored reference videos. If the target reference video exists in the pre-stored reference video, the target reference video is directly obtained from the pre-stored reference video. If the above-mentioned pre-stored reference video does not have the above-mentioned target reference video, then according to the video information of the above-mentioned target video, a simulated video can be generated through video coding and decoding technology, that is, a target reference video matching the above-mentioned video information can be generated to meet the needs of various applications. .
  • S806 The server sends the target reference video, the performance information, and the processing operation to the video playback device.
  • the video playback device performs video playback based on the target reference video, and during the video playback, simulates the running environment of the target reference video according to the performance information, and performs corresponding processing operations on the target reference video according to the processing operation.
  • S808 The server locates the problem that occurs during the playback of the target reference video by the video playback device.
  • the server may send the target reference video, the above-mentioned performance information and the above-mentioned processing operation to the video playback device, and the video playback device sends the above-mentioned target reference video, the above-mentioned performance information and the above-mentioned processing operation to the video playback device.
  • the operation imports the corresponding video processing software, plays back the target reference video, and simulates the performance of the above target video in the processing process according to the performance parameters in the above performance information and the time corresponding to the above performance parameters, that is, simulate the operation of the above target video. environment, and simulate the specific processing operation of the target video in the video processing process through the above processing operation and the time corresponding to the above processing operation, trigger the above video processing software to perform the corresponding processing operation function, and improve the accuracy of video playback.
  • the embodiment of the present application does not require the user to actively upload the corresponding video, but only needs to obtain the video information of the corresponding video through the terminal and upload it to the server, so that the server determines the target reference video based on the video information, and sends the target reference video to the video playback device. Playback, reproduce the user's video processing process, and locate the problem, which solves the problem that the playback and positioning cannot be effectively performed without collecting the user's video. Furthermore, the video processing can be solved without involving user privacy. The problem occurs in the process, and the corresponding video processing software can be further optimized based on the problem, so as to improve the performance of the video processing software and meet the application needs.
  • FIG. 9 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device 90 includes: a first acquisition module 901 , a second acquisition module 902 , and an upload module 903 .
  • the electronic device here may be the terminal itself, or a chip or an integrated circuit that implements the functions of the terminal. It should be noted here that the division of the first acquisition module, the second acquisition module, and the uploading module is only a logical function division, and the two may be physically integrated or independent.
  • the first obtaining module 901 is used to obtain the target video.
  • the second obtaining module 902 is configured to obtain video information of the target video, where the video information includes one or more of video resolution, frame rate, bit rate, video duration and encoding format.
  • An uploading module 903 configured to upload the video information to a server, wherein the server determines a target reference video that matches the video information, and sends the target reference video to a video playback device, so that the The video playback device performs video playback based on the target reference video.
  • the second obtaining module 902 is further configured to:
  • the uploading module 903 is specifically used for:
  • the server determines a target reference video that matches the video information, and sends the target reference video and the performance information to the server
  • a video playback device wherein the video playback device performs video playback based on the target reference video, and during the video playback process, simulates the environment of the terminal according to the performance information.
  • the second obtaining module 902 is further configured to:
  • the uploading module 903 is specifically used for:
  • the server determines a target reference video that matches the video information, and sends the target reference video and the processing operation to the server
  • a video playback device wherein the video playback device performs video playback based on the target reference video, and in the video playback process, performs corresponding processing operations on the target reference video according to the processing operations.
  • the uploading module 903 is specifically used for:
  • the video information is uploaded to the server under a preset condition, where the preset condition includes receiving an upload request triggered by a user, or receiving an upload instruction sent by the server.
  • the apparatus provided in the embodiment of the present application can be used to implement the technical solution of the method embodiment in FIG. 2 , FIG. 3 , or FIG. 4 , and the implementation principle and technical effect thereof are similar, and are not described again in the embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
  • the electronic device 100 includes: a receiving module 1001 , a determining module 1002 and a sending module 1003 .
  • the electronic device here may be the above-mentioned server itself, or a chip or an integrated circuit that implements the functions of the above-mentioned server. It should be noted here that the division of the receiving module, the determining module and the transmitting module is only a division of logical functions, and the two may be physically integrated or independent.
  • the receiving module 1001 is configured to receive video information of a target video uploaded by a terminal, where the video information includes one or more of video resolution, frame rate, bit rate, video duration and encoding format.
  • the determining module 1002 is configured to determine, according to the video information, a target reference video matching the video information.
  • a sending module 1003 configured to send the target reference video to a video playback device, wherein the video playback device performs video playback based on the target reference video.
  • the receiving module 1001 is further configured to receive the performance information uploaded by the terminal;
  • the sending module 1003 is further configured to send the target reference video and the performance information to the video playback device, wherein the video playback device performs video playback based on the target reference video, and performs video playback during the video playback process. , simulate the environment of the terminal according to the performance information.
  • the receiving module 1001 is further configured to receive a processing operation corresponding to the target video uploaded by the terminal in the processing process;
  • the sending module 1003 is further configured to send the target reference video and the processing operation to the video playback device, wherein the video playback device performs video playback based on the target reference video, and performs video playback during the video playback process. , according to the processing operation, perform a corresponding processing operation on the target reference video.
  • the sending module 1003 is further configured to:
  • the determining module 1002 is specifically configured to:
  • the video information determine whether there is a target reference video matching the video information in the pre-stored reference video
  • the target reference video exists in the pre-stored reference video
  • the target reference video is acquired from the pre-stored reference video.
  • the determining module 1002 is specifically configured to:
  • the target reference video does not exist in the pre-stored reference video
  • the target reference video is generated according to the video information and the pre-stored reference video.
  • the apparatus provided in this embodiment of the present application can be used to implement the technical solutions of the above method embodiment in FIG. 5 , FIG. 6 , or FIG. 7 , and its implementation principle and technical effect are similar, and details are not described herein again in this embodiment of the present application.
  • FIGS. 11A and 11B schematically provide a possible basic hardware architecture of the terminal and server described in this application, respectively.
  • the terminal and the server respectively include at least one processor 1101 and a communication interface 1103 . Further optionally, a memory 1102 and a bus 1104 may also be included.
  • the number of processors 1101 may be one or more, and only one of the processors 1101 is illustrated in FIGS. 11A and 11B .
  • the processor 1101 may be a central processing unit (CPU), a graphics processing unit (graphics processing unit, GPU) or a digital signal processor (digital signal processor, DSP). If the terminal and the server have multiple processors 1101, the types of the multiple processors 1101 may be different, or may be the same.
  • the multiple processors 1101 of the terminal and the server may also be integrated into a multi-core processor.
  • the memory 1102 stores computer instructions and data; the memory 1102 may store computer instructions and data required to implement the above-mentioned video processing methods provided in this application, for example, the memory 1102 stores instructions for implementing the steps of the above-mentioned video processing methods.
  • the memory 1102 may be any one or any combination of the following storage media: non-volatile memory (eg, Read-Only Memory (ROM), Solid State Drive (SSD), Hard Disk Drive, HDD), CD-ROM), volatile memory.
  • Communication interface 1103 may provide information input/output for the at least one processor. It may also include any one or any combination of the following devices: a network interface (eg, an Ethernet interface), a wireless network card, and other devices with network access functions.
  • the communication interface 1103 may also be used for the terminal and the server to perform data communication with other computing devices or terminals.
  • the bus 1104 is represented by a thick line in FIGS. 11A and 11B.
  • the bus 1104 may connect the processor 1101 with the memory 1102 and the communication interface 1103 .
  • the processor 1101 can access the memory 1102, and can also use the communication interface 1103 to perform data interaction with other computing devices or terminals.
  • the terminal executes the computer instructions in the memory 1102, so that the terminal implements the video processing method described in the above-mentioned FIG. 2, FIG. 3 or FIG. 4 provided in this application, or the terminal is deployed or implemented as described in the above-mentioned FIG. 9. electronic device.
  • the server executes the computer instructions in the memory 1102, so that the server implements the video processing method described in FIG. 5, FIG. 6 or FIG. 7 provided in this application, or makes the server deploy the electronic device described in FIG. 10.
  • memory 1102 may store computer instructions.
  • the video processing methods described in FIG. 2 , FIG. 3 or FIG. 4 can be implemented respectively.
  • the memory 1102 stores computer instructions, where the computer instructions stored in the memory can respectively implement the video processing methods described in FIG. 5 , FIG. 6 or FIG. 7 when executed.
  • the above-mentioned terminal and server can be implemented as a hardware module, or as a circuit unit, in addition to being implemented by software as in the above-mentioned FIGS. 11A and 11B .
  • the present application provides a computer-readable storage medium, and the computer program product includes computer instructions, and the computer instructions instruct a computing device to execute the video processing method described in FIG. 2 , FIG. 3 or FIG. 4 provided in the present application.
  • the present application provides another computer-readable storage medium, and the computer program product includes computer instructions, and the computer instructions instruct a computing device to execute the video processing method described in FIG. 5 , FIG. 6 or FIG. 7 provided in the present application.
  • An embodiment of the present application provides a computer program product, including computer instructions, which, when executed by a processor, implement the video processing method described in FIG. 2 , FIG. 3 , or FIG. 4 .
  • An embodiment of the present application provides another computer program product, including computer instructions, which, when executed by a processor, implement the video processing method described in FIG. 5 , FIG. 6 , or FIG. 7 .
  • An embodiment of the present application provides a computer program, which implements the video processing method described in FIG. 2 , FIG. 3 or FIG. 4 when the computer program is executed by a processor.
  • the embodiment of the present application provides another computer program, which implements the video processing method described in FIG. 5 , FIG. 6 or FIG. 7 when the computer program is executed by a processor.
  • the present application provides a chip comprising at least one processor and a communication interface, wherein the communication interface provides information input and/or output for the at least one processor. Further, the chip may also include at least one memory for storing computer instructions. The at least one processor is configured to invoke and execute the computer instructions to execute the above-mentioned video processing method of FIG. 2 , FIG. 3 or FIG. 4 provided in this application.
  • the present application provides another chip comprising at least one processor and a communication interface, wherein the communication interface provides information input and/or output for the at least one processor.
  • the chip may also include at least one memory for storing computer instructions.
  • the at least one processor is configured to invoke and execute the computer instructions to execute the above-mentioned video processing method of FIG. 5 , FIG. 6 or FIG. 7 provided in this application.
  • the disclosed apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.

Landscapes

  • Engineering & Computer Science (AREA)
  • Library & Information Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本申请提供一种视频处理方法、电子装置及存储介质,该方法无需用户主动上传相应视频,只需通过终端获取相应视频的视频信息并上传至服务器,从而,使得服务器基于该视频信息确定目标基准视频,并将该目标基准视频发送至视频回放设备,视频回放设备基于该目标基准视频进行回放,复现用户的视频处理过程,服务器能够定位上述视频回放过程中出现的问题,从而解决了在不收集用户视频的情况下,无法有效进行回放定位问题的难题,进而,可以在不涉及用户隐私的情况下解决视频处理过程出现的问题,并可以进一步地基于该问题对相应的视频处理软件进行优化,提高视频处理软件性能,满足应用需要。

Description

视频处理方法、电子装置及存储介质
本申请要求于2020年11月20日提交中国专利局、申请号为202011311792.6、申请名称为“视频处理方法、电子装置及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及视频技术,尤其涉及一种视频处理方法、电子装置及存储介质。
背景技术
随着网络技术的发展和网络影响的扩大,越来越多的用户使用终端处理视频,例如通过手机上安装的视频处理软件处理视频。在视频处理过程中,有时候会出现问题,例如以上述播放视频为例,在播放过程中视频突然中断,导致完整的视频无法成功播放,进而用户无法观看完整视频。再以编辑视频为例,在编辑过程中软件突然出现问题,导致无法正常编辑,影响用户体验。
相关技术中,为了定位视频处理过程中出现的问题,通常采用视频回放的方式,即回放上述视频处理过程。
然而,上述视频回放需要用户提供相应视频,涉及用户隐私,用户配合度较低,导致视频回放失败,进而无法定位问题,使得该问题一直持续,影响更多用户对上述视频的处理。
发明内容
为解决现有技术中存在的问题,本申请提供一种视频处理方法、电子装置及存储介质。
第一方面,本申请实施例提供一种视频处理方法,应用于终端,包括:
获取目标视频;
获取所述目标视频的视频信息,所述视频信息包括视频分辨率、帧率、码率、视频时长和编码格式中一个或多个;
将所述视频信息上传至服务器,其中,所述服务器确定与所述视频信息相匹配的目标基准视频,并将所述目标基准视频发送至视频回放设备,以使所述视频回放设备基于所述目标基准视频进行视频回放。
在一种可能的实现方式中,上述方法还包括:
获取所述终端的性能信息;
所述将所述视频信息上传至服务器,包括:
将所述性能信息和所述视频信息上传至所述服务器,其中,所述服务器确定与所述视频信息相匹配的目标基准视频,并将所述目标基准视频和所述性能信息发送至所述视频回放设备,其中,所述视频回放设备基于所述目标基准视频进行视频回放,并在视频回放过程中,根据所述性能信息模拟所述终端的环境。
在一种可能的实现方式中,上述方法还包括:
获取所述目标视频在处理过程中对应的处理操作;
所述将所述视频信息上传至服务器,包括:
将所述处理操作和所述视频信息上传至所述服务器,其中,所述服务器确定与所述视频信息相匹配的目标基准视频,并将所述目标基准视频和所述处理操作发送至所述视频回放设备,其中,所述视频回放设备基于所述目标基准视频进行视频回放,并在视频回放过程中,根据所述处理操作,对所述目标基准视频进行相应的处理操作。
在一种可能的实现方式中,所述将所述视频信息上传至服务器,包括:
在预设条件下,将所述视频信息上传至所述服务器,所述预设条件包括接收到用户触发的上传请求,或者接收到所述服务器发送的上传指令。
第二方面,本申请实施例提供另一种视频处理方法,应用于服务器,包括:
接收终端上传的目标视频的视频信息,所述视频信息包括视频分辨率、帧率、码率、视频时长和编码格式中一个或多个;
根据所述视频信息,确定与所述视频信息相匹配的目标基准视频;
将所述目标基准视频发送至视频回放设备,其中,所述视频回放设备基于所述目标基准视频进行视频回放。
在一种可能的实现方式中,上述的方法,还包括:
接收所述终端上传的性能信息;
所述将所述目标基准视频发送至视频回放设备,包括:
将所述目标基准视频和所述性能信息发送至所述视频回放设备,其中,所述视频回放设备基于所述目标基准视频进行视频回放,并在视频回放过程中,根据所述性能信息模拟所述终端的环境。
在一种可能的实现方式中,上述的方法,还包括:
接收所述终端上传的所述目标视频在处理过程中对应的处理操作;
所述将所述目标基准视频发送至视频回放设备,包括:
将所述目标基准视频和所述处理操作发送至所述视频回放设备,其中,所述视频回放设备基于所述目标基准视频进行视频回放,并在视频回放过程中,根据所述处理操作,对所述目标基准视频进行相应的处理操作。
在一种可能的实现方式中,在所述将所述目标基准视频发送至视频回放设备之后,还包括:
定位所述视频回放设备回放所述目标基准视频过程中出现的问题。
在一种可能的实现方式中,所述根据所述视频信息,确定与所述视频信息相匹配的目标基准视频,包括:
根据所述视频信息,在预存的基准视频中确定是否存在与所述视频信息相匹配的目标基准视频;
若在所述预存的基准视频中存在所述目标基准视频,则从所述预存的基准视频获取所述目标基准视频。
在一种可能的实现方式中,上述的方法,还包括:
若在所述预存的基准视频中不存在所述目标基准视频,则根据所述视频信息和所述预存的基准视频,生成所述目标基准视频。
第三方面,本申请实施例提供一种电子装置,应用于终端,包括:
第一获取模块,用于获取目标视频;
第二获取模块,用于获取所述目标视频的视频信息,所述视频信息包括视频分辨率、帧率、码率、视频时长和编码格式中一个或多个;
上传模块,用于将所述视频信息上传至服务器,其中,所述服务器确定与所述视频信息相匹配的目标基准视频,并将所述目标基准视频发送至视频回放设备,以使所述视频回放设备基于所述目标基准视频进行视频回放。
在一种可能的实现方式中,所述第二获取模块,还用于:
获取所述终端的性能信息;
所述上传模块,具体用于:
将所述性能信息和所述视频信息上传至所述服务器,其中,所述服务器确定与所述视频信息相匹配的目标基准视频,并将所述目标基准视频和所述性能信息发送至所述视频回 放设备,其中,所述视频回放设备基于所述目标基准视频进行视频回放,并在视频回放过程中,根据所述性能信息模拟所述终端的环境。
在一种可能的实现方式中,所述获取模块,还用于:
获取所述目标视频在处理过程中对应的处理操作;
所述上传模块,具体用于:
将所述处理操作和所述视频信息上传至所述服务器,其中,所述服务器确定与所述视频信息相匹配的目标基准视频,并将所述目标基准视频和所述处理操作发送至所述视频回放设备,其中,所述视频回放设备基于所述目标基准视频进行视频回放,并在视频回放过程中,根据所述处理操作,对所述目标基准视频进行相应的处理操作。
在一种可能的实现方式中,所述上传模块,具体用于:
在预设条件下,将所述视频信息上传至所述服务器,所述预设条件包括接收到用户触发的上传请求,或者接收到所述服务器发送的上传指令。
第四方面,本申请实施例提供另一种电子装置,应用于服务器,包括:
接收模块,用于接收终端上传的目标视频的视频信息,所述视频信息包括视频分辨率、帧率、码率、视频时长和编码格式中一个或多个;
确定模块,用于根据所述视频信息,确定与所述视频信息相匹配的目标基准视频;
发送模块,用于将所述目标基准视频发送至视频回放设备,其中,所述视频回放设备基于所述目标基准视频进行视频回放。
在一种可能的实现方式中,所述接收模块,还用于接收所述终端上传的性能信息;
所述发送模块,还用于将所述目标基准视频和所述性能信息发送至所述视频回放设备,其中,所述视频回放设备基于所述目标基准视频进行视频回放,并在视频回放过程中,根据所述性能信息模拟所述终端的环境。
在一种可能的实现方式中,所述接收模块,还用于接收所述终端上传的所述目标视频在处理过程中对应的处理操作;
所述发送模块,还用于将所述目标基准视频和所述处理操作发送至所述视频回放设备,其中,所述视频回放设备基于所述目标基准视频进行视频回放,并在视频回放过程中,根据所述处理操作,对所述目标基准视频进行相应的处理操作。
在一种可能的实现方式中,所述发送模块,还用于:
定位所述视频回放设备回放所述目标基准视频过程中出现的问题。
在一种可能的实现方式中,所述确定模块,具体用于:
根据所述视频信息,在预存的基准视频中确定是否存在与所述视频信息相匹配的目标基准视频;
若在所述预存的基准视频中存在所述目标基准视频,则从所述预存的基准视频获取所述目标基准视频。
在一种可能的实现方式中,所述确定模块,具体用于:
若在所述预存的基准视频中不存在所述目标基准视频,则根据所述视频信息和所述预存的基准视频,生成所述目标基准视频。
第五方面,本申请实施例提供一种终端,包括:
处理器;
存储器;以及
计算机程序;
其中,所述计算机程序被存储在所述存储器中,并且被配置为由所述处理器执行,所述计算机程序包括用于执行如第一方面所述的方法的指令。
第六方面,本申请实施例提供一种服务器,包括:
处理器;
存储器;以及
计算机程序;
其中,所述计算机程序被存储在所述存储器中,并且被配置为由所述处理器执行,所述计算机程序包括用于执行如第二方面所述的方法的指令。
第七方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序使得终端执行第一方面所述的方法。
第八方面,本申请实施例提供另一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序使得服务器执行第二方面所述的方法。
第九方面,本申请实施例提供一种计算机程序产品,包括计算机指令,所述计算机指令被处理器执行时实现第一方面所述的方法。
第十方面,本申请实施例提供另一种计算机程序产品,包括计算机指令,所述计算机指令被处理器执行时实现第二方面所述的方法。
第十一方面,本申请实施例提供一种计算机程序,该计算机程序被处理器执行时实现第一方面所述的方法。
第十二方面,本申请实施例提供另一种计算机程序,该计算机程序被处理器执行时实现第二方面所述的方法。
本申请实施例提供的视频处理方法、电子装置及存储介质,该方法无需用户主动上传相应视频,只需通过终端获取相应视频的视频信息并上传至服务器,从而,使得服务器基于该视频信息确定目标基准视频,并将该目标基准视频发送至视频回放设备,视频回放设备基于该目标基准视频进行回放,复现用户的视频处理过程,服务器能够定位上述视频回放过程中出现的问题,从而解决了在不收集用户视频的情况下,无法有效进行回放定位问题的难题,进而,可以在不涉及用户隐私的情况下解决视频处理过程出现的问题,并可以进一步地基于该问题对相应的视频处理软件进行优化,提高视频处理软件性能,满足应用需要。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例提供的视频处理系统架构示意图;
图2为本申请实施例提供的一种视频处理方法的流程示意图;
图3为本申请实施例提供的另一种视频处理方法的流程示意图;
图4为本申请实施例提供的再一种视频处理方法的流程示意图;
图5为本申请实施例提供的又一种视频处理方法的流程示意图;
图6为本申请实施例提供的又一种视频处理方法的流程示意图;
图7为本申请实施例提供的又一种视频处理方法的流程示意图;
图8为本申请实施例提供的又一种视频处理方法的流程示意图;
图9为本申请实施例提供的一种电子装置的结构示意图;
图10为本申请实施例提供的另一种电子装置的结构示意图;
图11A为本申请提供的一种终端的基本硬件架构示意图;
图11B为本申请提供的一种服务器的基本硬件架构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”及“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
本申请实施例所涉及的视频回放是指确定与目标视频的视频信息相匹配的目标基准视频,并对目标基准视频进行视频回放,无需用户提供相应视频,从而,解决了在不收集用户视频,不影响用户隐私的情况下,无法有效进行回放定位问题的难题。
本申请实施例提供的视频处理方法可应用在视频处理场景中,其中,该视频处理场景可以为视频播放、视频编辑场景,本申请实施例对此不做特别限制。例如,以视频编辑场景为例,如果在编辑过程中软件突然出现问题,导致无法正常编辑,可以通过本申请实施例提供的视频处理方法回放上述视频处理过程,进而定位问题,解决问题。
可选地,本申请实施例提供的视频处理方法可以应用于如图1所示的应用场景中。图1只是以示例的方式描述了本申请实施例提供的视频处理方法的一种可能的应用场景,本申请实施例提供的视频处理方法的应用场景不限于图1所示的应用场景。
图1为视频处理系统架构示意图。在图1中,以通过终端上安装的视频处理软件处理视频,上述架构可以包括终端11、服务器12和视频回放设备13。
可以理解的是,本申请实施例示意的结构并不构成对视频处理架构的具体限定。在本申请另一些可行的实施方式中,上述架构可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置,具体可根据实际应用场景确定,在此不做限制。图1所示的部件可以以硬件,软件,或软件与硬件的组合实现。
在具体实现过程中,终端11上安装有视频处理软件,通过该视频处理软件处理视频(例如,对视频进行编辑),获取该视频的视频信息,例如视频分辨率、帧率、码率、视频时长和编码格式等。如果上述视频处理软件在视频编辑过程中突然出现异常,用户可以在终端11上触发上传请求,或者,终端11上传视频出现问题的信息至服务器12或者服务器12检测到终端11中的视频编辑过程出现问题,服务器12可以发送上传指令给终端11。终端11根据上述上传请求或上述上传指令,将上述视频信息上传至服务器12,服务器12确定与上述视频信息相匹配的基准视频,并将该基准视频发送至视频回放设备13。视频回放设备13对上述基准视频进行视频回放。服务器12定位视频回放设备13回放上述目标基准视频过程中出现的问题,即上述视频处理过程中出现的问题,进而,解决该问题,并可以基于该问题对上述终端11安装的视频处理软件进行优化,以使优化后的视频处理软件不再出现上述问题,性能更加完善。
在本实施例中,上述终端可以为手持设备、车载设备、可穿戴设备、计算设备、智能家居设备等,以及各种形式的用户设备(User Equipment,UE)等具有视频处理功能的设备。上述视频回放设备可以为一种终端,例如上述手持设备、车载设备、可穿戴设备、计算设备、智能家居设备等。上述视频回放设备可以集成部署在上述服务器中,也可以独立部署在上述服务器之外,具体可以根据实际情况设置,本申请实施例对此不做特别限制。
另外,本申请实施例描述的系统架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。
下面以几个实施例为例对本申请的技术方案进行描述,对于相同或相似的概念或过程可能在某些实施例不再赘述。
图2为本申请实施例提供的一种视频处理方法的流程示意图,本实施例的执行主体可以为图1中的终端11,具体执行主体可以根据实际应用场景确定,本申请实施例对此不做特别限制。如图2所示,本申请实施例提供的视频处理方法可以包括如下步骤:
S201:获取目标视频。
S202:获取上述目标视频的视频信息,该视频信息包括视频分辨率、帧率、码率、视频时长和编码格式中一个或多个。
这里,上述目标视频可以为当前正在终端上处理的视频,例如正在通过终端上的视频处理软件编辑的视频,具体可以根据实际情况确定,本申请实施例对此不做特别限定。
终端获取上述目标视频的视频分辨率、帧率、码率、视频时长和编码格式等视频信息,具体终端获取的视频信息可以根据实际情况确定,本申请实施例对此不做特别限定。本申请实施例后续基于上述视频信息进行视频回放,能够排除视频特异性因素(例如特定分辨率或帧率等),快速进行视频回放,定位相应问题,适合应用。
示例性的,终端在获取上述目标视频的视频信息之后,还可以把获取的视频信息存储在相应文件中,例如将获取的视频信息存储在用户操作日志文件中,以便后续终端可以直接从上述文件获取相应信息,将该信息上传至服务器,从而使得操作更加简单、方便。
S203:将上述视频信息上传至服务器,其中,服务器确定与上述视频信息相匹配的目标基准视频,并将该目标基准视频发送至视频回放设备,以使该视频回放设备基于上述目标基准视频进行视频回放。
在一种可能的实现方式中,终端将上述视频信息上传至服务器,可以包括:
在预设条件下,终端将上述视频信息上传至服务器,该预设条件包括接收到用户触发的上传请求,或者接收到服务器发送的上传指令。
这里,只有在特定条件下,终端才会将上述视频信息上传至服务器,从而能够减少数据传输出现的资源浪费,适合应用。其中,上述特定条件可以是终端接收到用户触发的上传请求,或者接收到服务器发送的上传指令,除此之外,上述特定条件还可以包括其它情况,具体可以根据实际情况确定,本申请实施例对此不做特别限制。
在本申请实施例中,终端将上述视频信息上传至服务器,服务器在接收到上述视频信息后,根据上述视频信息确定与上述视频信息相匹配的目标基准视频,即目标基准视频的视频信息与上述视频信息相匹配,并将该目标基准视频发送至视频回放设备,视频回放设备根据上述目标基准视频,进行视频回放。这里,相匹配可以理解为相同或相近。
其中,上述视频回放设备根据上述目标基准视频,进行视频回放可以包括:
上述视频回放设备将上述目标基准视频导入相应的视频处理软件,回放上述目标基准视频。
本申请实施例无需用户主动上传相应视频,只需通过终端获取相应的视频信息并上传至服务器,从而,使得服务器基于该视频信息确定目标基准视频,将该目标基准视频发送至视频回放设备,视频回放设备基于该目标基准视频进行回放,复现用户的视频处理过程,服务器能够定位视频回放设备回放上述目标基准视频过程中出现的问题,进而,确定上述目标视频处理过程中出现的问题,从而解决了在不收集用户视频的情况下,无法有效进行回放定位问题的难题,进而,可以在不涉及用户隐私的情况下解决视频处理过程出现的问题,并可以进一步地基于该问题对相应的视频处理软件进行优化,提高视频处理软件性能,满足应用需要。
另外,本申请实施例在将上述视频信息上传至服务器之前,还考虑获取终端的性能信息。图3为本申请实施例提出的另一种视频处理方法的流程示意图。如图3所示,该方法包括:
S301:获取目标视频。
S302:获取上述目标视频的视频信息,该视频信息包括视频分辨率、帧率、码率、视频时长和编码格式中一个或多个。
其中,步骤S301-S302与上述步骤S201-S202的实现方式相同,此处不再赘述。
S303:获取上述终端的性能信息。
这里,上述终端处理上述目标视频,上述性能信息包括上述目标视频在处理过程中终端上的中央处理器(Central Processing Unit,CPU)波动、内存波动和用户界面(User Interface,UI)帧率中一个或多个性能参数。
上述终端获取其性能参数,具体可以采用实时监控或定时监控的方式,具体可以根据实际情况确定,本申请实施例对此不做特别限制,相应地,上述性能信息中还保留监控到上述性能参数对应的时间,即上述性能信息还包括监控到终端上的CPU波动、内存波动和UI帧率中一个或多个性能参数所对应的时间。
上述终端获取上述目标视频在处理过程中终端上CPU波动、内存波动和UI帧率等性能参数,具体终端获取的性能参数可以根据实际情况确定。本申请实施例对此不做特别限定。
示例性的,上述终端在获取上述性能信息之后,还可以把获取的信息存储在相应文件中,例如将获取的信息存储在性能文件中,以便后续终端可以直接从上述文件获取相应信息,将该信息上传至服务器,从而使得操作更加简单、方便。
可选的,上述步骤S302与S303的顺序可以转换,本申请不做具体限定。
S304:将上述性能信息和视频信息上传至服务器,其中,服务器确定与上述视频信息相匹配的目标基准视频,并将该目标基准视频和上述性能信息发送至视频回放设备,其中,该视频回放设备基于上述目标基准视频进行视频回放,并在视频回放过程中,根据上述性能信息模拟终端的运行环境。
这里,如果上述性能信息和视频信息存储在某文件中,终端上传该文件,服务器接收到该文件后,可以先解析该文件,获取上述性能信息和视频信息,并可以确定上述性能信息中上述性能参数与其对应的时间。
服务器在确定与上述视频信息相匹配的目标基准视频之后,可以将该目标基准视频和上述性能信息发送至视频回放设备。视频回放设备将上述目标基准视频和上述性能信息,导入相应的视频处理软件,回放该目标基准视频,并按照上述性能信息中性能参数及其相对应的时间模拟上述目标视频在处理过程中的终端性能,即模拟上述终端的环境,提高视频回放的准确性,进而,使得后续服务器基于视频回放设备回放的视频能够更加准确地定位问题。
本申请实施例在视频回放设备回放目标基准视频的同时,通过采用终端的性能信息模拟上述终端的环境,提高视频回放的准确性,而且,本申请实施例无需用户主动上传相应视频,只需通过终端获取相应视频的视频信息并上传至服务器,从而,使得服务器基于该视频信息确定目标基准视频,并将该目标基准视频发送至回放设备进行回放,复现用户的视频处理过程,并进一步定位出现的问题,进而,确定上述目标视频处理过程中出现的问题,解决了在不收集用户视频的情况下,无法有效进行回放定位问题的难题,进而,解决视频处理过程出现的问题,并可以基于该问题对相应的视频处理软件,例如视频编辑软件或视频播放软件等,进行优化,提高视频处理软件性能,满足应用需要。
另外,本申请实施例在将上述视频信息上传至服务器之前,还考虑获取上述目标视频在处理过程中对应的处理操作。图4为本申请实施例提出的另一种视频处理方法的流程示意图。如图4所示,该方法包括:
S401:获取目标视频。
S402:获取上述目标视频的视频信息,该视频信息包括视频分辨率、帧率、码率、视频时长和编码格式中一个或多个。
其中,步骤S401-S402与上述步骤S201-S202的实现方式相同,此处不再赘述。
S403:获取上述目标视频在处理过程中对应的处理操作。
这里,该处理操作包括视频播放操作、视频编辑操作等等。其中,视频编辑操作可以包括分割、变速、旋转、倒放、加滤镜、加特效等。
在本申请实施例中,终端获取上述目标视频在处理过程中对应的处理操作,例如,以视频编辑操作为例,相应的处理操作可以包括变速、选旋转等等,具体终端获取的处理操作可以根据实际情况确定。本申请实施例对此不做特别限定。
其中,终端在获取上述处理操作的同时,还可以获取上述处理操作的发生时间,以便后续按照获取到的时间顺序对回放的视频进行相应的处理操作,使回放的视频更接近上述目标视频的处理过程。即上述处理操作还包括上述处理操作相对应的时间。
示例性的,终端在获取上述处理操作以及对应的操作发生时间之后,还可以把获取的信息存储在相应文件中,例如将获取的信息存储在用户操作日志文件中,以便后续终端可以直接从上述文件获取相应信息,将该信息上传至服务器,从而使得操作更加简单、方便。
可选的,上述步骤S402与S403的顺序可以转换,本申请不做具体限定。
S404:将上述处理操作和视频信息上传至服务器,其中,服务器确定与上述视频信息相匹配的目标基准视频,并将上述目标基准视频和处理操作发送至视频回放设备,其中,该视频回放设备基于上述目标基准视频进行视频回放,并在视频回放过程中,根据上述处理操作,对上述目标基准视频进行相应的处理操作。
这里,如果上述处理操作和视频信息存储在某文件(例如,操作日志文件)中,终端上传该文件,服务器接收到该文件后,可以解析该文件,获取上述处理操作和视频信息,并可以确定上述处理操作与其相对应的时间。
服务器在确定与上述视频信息相匹配的目标基准视频之后,可以将该目标基准视频和上述处理操作发送至视频回放设备。视频回放设备将上述目标基准视频和上述处理操作导入相应的视频处理软件,回放该目标基准视频,并通过上述处理操作模拟上述目标视频在处理过程中的具体处理,触发上述视频处理软件执行相应功能,从而,提高视频回放的准确性,使得后续服务器基于视频回放设备回放的视频能够更加准确地定位问题,并且能够根据定位到的问题,对终端中安装的视频处理软件进行优化。
本申请实施例在视频回放设备回放目标基准视频的同时,通过上述处理操作模拟上述目标视频在处理过程中的具体处理,提高视频回放的准确性,而且,本申请实施例无需用户主动上传相应视频,只需通过终端获取相应视频的视频信息并上传至服务器,从而,使得服务器基于该视频信息确定目标基准视频进行回放,复现用户的视频处理过程,并定位出现的问题,进而,确定上述目标视频处理过程中出现的问题,解决了在不收集用户视频的情况下,无法有效进行回放定位问题的难题,进而,可以在不涉及用户隐私的情况下解决视频处理过程出现的问题,并可以进一步地基于该问题对相应的视频处理软件进行优化,提高视频处理软件性能,满足应用需要。
另外,本申请实施例在将上述视频信息上传至服务器之前,不仅考虑获取终端的性能信息,还考虑获取上述目标视频在处理过程中对应的处理操作。进而,终端将上述视频信息、上述性能信息和上述处理操作上传至服务器。服务器确定与上述视频信息相匹配的目标基准视频,并将该目标基准视频、上述性能信息和上述处理操作发送至视频回放设备,以使该视频回放设备基于上述目标基准视频进行视频回放,并在视频回放过程中,根据上述性能信息模拟上述终端的环境,根据上述处理操作,对上述目标基准视频进行相应的处理操作,实现准确性较高的视频回放。其中无需用户主动上传相应视频,从而解决了在不收集用户视频的情况下,无法有效进行回放定位问题的难题。
示例性的,服务器在确定与上述视频信息相匹配的目标基准视频之后,可以将该目标基准视频、上述性能信息和上述处理操作发送至视频回放设备。这里,上述性能信息包括上述目标视频在处理过程中终端上的CPU波动、内存波动和UI帧率中一个或多个性格参数。而且,上述性能信息中还包括监控到上述性能参数相对应的时间。上述处理操作包括视频播放操作、视频编辑操作等等。而且,上述处理操作还包括上述处理操作相对应的时间。
上述视频回放设备将上述目标基准视频、上述性能信息和和上述处理操作,导入相应的视频处理软件,回放该目标基准视频,并按照上述性能信息中性能参数及其相对应的时间,模拟上述目标视频在处理过程中的终端性能,即模拟上述终端的环境,并通过上述处理操作和上述处理操作相对应的时间,模拟上述目标视频在视频处理过程中的具体处理操作,触发上述视频处理软件执行相应的处理操作功能,提高视频回放的准确性,进而,使得后续服务器基于视频回放设备回放的视频能够更加准确地定位问题。
这里,在上述视频回放设备回放视频过程中,上述服务器可以定位上述视频回放设备回放上述目标基准视频过程中出现的问题。示例性的,上述服务器可以判断上述视频回放设备回放上述目标基准视频过程中是否出现视频卡顿、模糊等,如果有,基于出现的卡顿、模糊等定位上述视频回放设备回放上述目标基准视频过程中出现的问题,进而确定上述目标视频处理过程中,例如视频编辑过程中,出现的问题。
除此之外,上述服务器在定位上述视频回放设备回放上述目标基准视频过程中出现的问题之前,还可以根据上述性能信息与预设性能参数范围,确定参数是否异常。如果确定参数异常,则上述服务器获取异常的参数,根据该异常的参数和上述处理操作,确定上述目标视频处理过程中出现的问题。其中,上述处理操作包括视频播放操作、视频编辑操作等,而且上述处理操作还包括上述处理操作相对应的时间。上述预设性能参数范围可以根据终端正常处理视频的性能信息确定。这里,上述服务器可以确定上述性能信息是否在预设性能参数范围内,如果不在,则确定参数异常。上述服务器获取异常的参数,并进一步获取异常的参数的发生时间。上述服务器根据上述处理操作,以及上述处理操作相对应的时间,确定上述发生时间对应的处理操作,并根据该处理操作,确定上述目标视频处理过程中出现的问题。
如果确定参数没有异常,则上述服务器可以定位上述视频回放设备回放上述目标基准视频过程中出现的问题,确定上述目标视频处理过程中出现的问题。
在本申请实施例中,上述服务器可以通过上述两种方式结合的方式,定位上述目标视频处理过程中出现的问题,定位方式准确灵活,且不涉及用户隐私,并且能够满足不同的应用场景的应用需要。
以上实施例从终端侧详细描述了根据本申请实施例的视频处理方法,下面将结合以下实施例从服务器侧详细描述根据本申请实施例提供的视频处理方法。应理解,服务器侧描述的某些概念、特性等与终端端侧的描述相应,为了简洁,适当省略重复的描述。
图5为本申请实施例提供的又一种视频处理方法的流程示意图,本实施例的执行主体可以为图1中的服务器12,如图5所示,该方法可以包括如下步骤:
S501:接收终端上传的目标视频的视频信息,该视频信息包括视频分辨率、帧率、码率、视频时长和编码格式中一个或多个。
S502:根据上述视频信息,确定与上述视频信息相匹配的目标基准视频。
在本申请实施例中,上述服务器根据上述视频信息,确定与上述视频信息相匹配的目标基准视频,包括:
根据上述视频信息,在预存的基准视频中确定是否存在与上述视频信息相匹配的目标基准视频;
若在上述预存的基准视频中存在上述目标基准视频,则从上述预存的基准视频获取上述目标基准视频。
这里,服务器在接收到终端上传的目标视频的视频信息后,首先在预存的基准视频中,选取各项视频信息与上述接收的目标视频的视频信息相匹配的目标基准视频。如果上述预存的基准视频存在上述目标基准视频,则直接在上述预存的基准视频获取上述目标基准视频。
如果上述预存的基准视频中不存在上述目标基准视频,则服务器根据上述视频信息和上述预存的基准视频,生成上述目标基准视频。
示例性的,服务器可以选取一个基准视频,通过视频编解码技术对该基准视频按照上述目标视频的视频信息,进行转码、裁剪等操作,生成与上述视频信息相匹配的目标基准视频。
这里,本申请实施例可以根据上述目标视频的视频信息,通过视频编解码技术生成仿真视频,即生成与上述视频信息相匹配的目标基准视频,满足多种应用需要。
S503:将上述目标基准视频发送至视频回放设备,其中,该视频回放设备基于上述目标基准视频进行视频回放。
这里,上述视频回放设备根据目标基准视频,进行视频回放可以包括:
将上述目标基准视频导入相应的视频处理软件,回放上述目标基准视频。
本申请实施例无需用户主动上传相应视频,只需通过终端获取相应视频的视频信息并上传至服务器,从而,使得服务器基于该视频信息确定目标基准视频,并将该目标基准视频发送至视频回放设备进行回放,复现用户的视频处理过程,使得服务器能够定位上述视频回放设备回放目标基准视频过程中出现的问题,进而确定上述目标视频处理过程中出现的问题,解决了在不收集用户视频的情况下,无法有效进行回放定位问题的难题,进而,可以在不涉及用户隐私的情况下解决视频处理过程出现的问题,并可以进一步地基于该问题对相应的视频处理软件进行优化,提高视频处理软件性能,满足应用需要。
另外,本申请实施例的服务器除了接收终端上传的目标视频的视频信息外,还会接收终端上传的性能信息。图6为本申请实施例提出的又一种视频处理方法的流程示意图。如图6所示,该方法包括:
S601:接收终端上传的目标视频的视频信息,该视频信息包括视频分辨率、帧率、码率、视频时长和编码格式中一个或多个。
S602:接收上述终端上传的性能信息。
这里,上述终端上运行上述目标视频,上述性能信息包括所述目标视频在处理过程中上述终端上的CPU波动、内存波动和UI帧率中一个或多个性能参数。而且,上述性能信息还包括监控到上述性能参数相对应的时间,即上述性能信息还包括监控到终端上的CPU波动、内存波动和UI帧率中一个或多个性能参数所对应的时间。
可选的,上述步骤S601与S602的顺序可以转换,本申请不做具体限定。
S603:确定与上述视频信息相匹配的目标基准视频。
其中,步骤S603与上述步骤S502的实现方式相同,此处不再赘述。
S604:将上述目标基准视频和上述性能信息发送至视频回放设备,其中,该视频回放设备以基于上述目标基准视频进行视频回放,并在视频回放过程中,根据上述性能信息模拟上述终端的环境。
这里,服务器在确定与上述视频信息相匹配的目标基准视频之后,可以将该目标基准视频和上述性能信息发送至视频回放设备。视频回放设备将上述目标基准视频和上述性能信息导入相应的视频处理软件,回放该目标基准视频,并按照上述性能信息中的性能参数和相对应的时间模拟上述目标视频在处理过程中的性能,即模拟上述目标视频的运行环境,提高视频回放的准确性,使得后续服务器基于视频回放设备回放的视频能够更加准确地定位问题。
本申请实施例在视频回放设备回放目标基准视频的同时,模拟上述目标视频的运行环境,提高视频回放的准确性,而且,本申请实施例无需用户主动上传相应视频,只需通过终端获取相应视频的视频信息并上传至服务器,从而,使得服务器基于该视频信息确定目标基准视频,并将该目标基准视频发送至回放设备进行回放,复现用户的视频处理过程,定位出现的问题,进而,确定上述目标视频处理过程中出现的问题,解决了在不收集用户视频的情况下,无法有效进行回放定位问题的难题,进而,解决视频处理过程出现的问题,并可以基于该问题对相应的视频处理软件进行优化,提高视频处理软件性能,满足应用需要。
另外,本申请实施例中的上述服务器除了接收终端上传的目标视频的视频信息外,还会接收终端上传的上述目标视频在处理过程中对应的处理操作。图7为本申请实施例提出的又一种视频处理方法的流程示意图。如图7所示,该方法包括:
S701:接收终端上传的目标视频的视频信息,该视频信息包括视频分辨率、帧率、码率、视频时长和编码格式中一个或多个。
S702:接收上述终端上传的上述目标视频在处理过程中对应的处理操作。
这里,上述处理操作包括视频播放操作、视频编辑操作等等。其中,视频编辑操作可以包括分割、变速、旋转、倒放、加滤镜、加特效等。
可选的,上述步骤S701与S702的顺序可以转换,本申请不做具体限定。
S703:确定与上述视频信息相匹配的目标基准视频。
其中,步骤S703与上述步骤S502的实现方式相同,此处不再赘述。
S704:将上述目标基准视频和上述处理操作发送至视频回放设备,其中,该视频回放设备基于上述目标基准视频进行视频回放,并在视频回放过程中,根据上述处理操作,对上述目标基准视频进行相应的处理操作。
这里,服务器在确定与上述视频信息相匹配的目标基准视频之后,可以将该目标基准视频和上述处理操作发送至视频回放设备。视频回放设备将上述目标基准视频和上述处理操作导入相应的视频处理软件,回放该目标基准视频,并通过上述处理操作模拟上述目标视频在处理过程中的具体处理,触发上述视频处理软件执行相应功能,从而,提高视频回放的准确性,使得服务器基于视频回放设备回放的视频能够更加准确地定位问题。
其中,上述处理操作还包括上述处理操作相对应的时间。即终端在获取上述处理操作的同时,还可以获取上述处理操作的发生时间,并将上述处理操作和上述处理操作的发生时间发送至服务器,进而,服务器将上述处理操作和上述处理操作的发生时间发送视频回放设备,视频回放设备按照获取到的时间顺序对回放的视频进行相应的处理操作,使回放的视频更接近上述目标视频的处理过程。
本申请实施例在视频回放设备回放目标基准视频的同时,通过上述处理操作模拟上述目标视频在处理过程中的具体处理,提高视频回放的准确性,而且,本申请实施例无需用户主动上传相应视频,只需通过终端获取相应视频的视频信息并上传至服务器,从而,使得服务器基于该视频信息确定目标基准视频进行回放,复现用户的视频处理过程,定位出现的问题,进而,确定上述目标视频处理过程中出现的问题,解决 了在不收集用户视频的情况下,无法有效进行回放定位问题的难题,进而,可以在不涉及用户隐私的情况下解决视频处理过程出现的问题,并可以进一步地基于该问题对相应的视频处理软件进行优化,提高视频处理软件性能,满足应用需要。
这里,本申请实施例上述服务器除了接收终端上传的目标视频的视频信息外,还会接收终端上传的性能信息和上述目标视频在处理过程中对应的处理操作。进而,服务器确定与上述视频信息相匹配的目标基准视频,并将该目标基准视频、上述性能信息和上述处理操作发送至视频回放设备,该视频回放设备基于上述目标基准视频进行视频回放,并在视频回放过程中,根据上述性能信息模拟上述终端的环境,根据上述处理操作对上述目标基准视频进行相应的处理操作,实现准确性较高的视频回放。其中无需用户主动上传相应视频,从而解决了在不收集用户视频的情况下,无法有效进行回放定位问题的难题。
示例性的,服务器在确定与上述视频信息相匹配的目标基准视频之后,可以将该目标基准视频、上述性能信息和上述处理操作发送至视频回放设备。这里,上述性能信息包括上述目标视频在处理过程中终端上的CPU波动、内存波动和UI帧率中一个或多个性能参数。而且,上述性能信息还包括上述性能参数相对应的时间。上述处理操作包括视频播放操作、视频编辑操作等等。而且,上述处理操作还包括上述处理操作相对应的时间。
上述视频回放设备将上述目标基准视频、上述性能信息和和上述处理操作,导入相应的视频处理软件,回放该目标基准视频,并按照上述性能信息中的性能参数和上述性能参数相对应的时间,模拟上述目标视频在处理过程中的终端性能,即模拟上述终端的环境,也通过上述处理操作和上述处理操作相对应的时间,模拟上述目标视频在处理过程中的具体处理,触发上述视频处理软件执行相应功能,提高视频回放的准确性,进而,使得后续服务器基于视频回放设备回放的视频能够更加准确地定位问题。
这里,在上述视频回放设备回放视频过程中,上述服务器可以定位上述视频回放设备回放上述目标基准视频过程中出现的问题。示例性的,上述服务器可以判断上述视频回放设备回放上述目标基准视频过程中是否出现视频卡顿、模糊等,如果有,基于出现的卡顿、模糊等定位上述视频回放设备回放上述目标基准视频过程中出现的问题,进而确定上述目标视频处理过程中,例如视频编辑过程中,出现的问题。
除此之外,上述服务器在定位上述视频回放设备回放上述目标基准视频过程中出现的问题之前,还可以根据上述性能信息与预设性能参数范围,确定参数是否异常。 如果确定参数异常,则上述服务器获取异常的参数,根据该异常的参数和上述处理操作,确定上述目标视频处理过程中出现的问题。其中,上述处理操作包括视频播放操作、视频编辑操作等等,而且上述处理操作还包括上述处理操作相对应的时间。上述预设性能参数范围可以根据终端正常处理视频的性能信息确定,例如根据终端正常编辑视频的性能信息确定。这里,上述服务器可以确定上述性能信息是否在预设性能参数范围内,如果不在,确定参数异常。上述服务器获取异常的参数,并进一步获取异常的参数的发生时间。上述服务器根据上述处理操作,以及上述处理操作相对应的时间,确定上述发生时间对应的处理操作,并根据该处理操作,确定上述目标视频处理过程中出现的问题。
如果确定参数没有异常,则上述服务器可以定位上述视频回放设备回放上述目标基准视频过程中出现的问题,确定上述目标视频处理过程中出现的问题。
另外,本申请实施例还提供又一种视频处理方法,从终端、服务器和视频回放设备交互进行说明。其中,终端在将上述目标视频的视频信息上传至服务器之前,还获取终端的性能信息和在处理目标视频过程中对应的处理操作,并上传,这样,服务器除了接收终端上传的目标视频的视频信息外,还会接收终端上传的性能信息和在处理目标视频过程中对应的处理操作,从而,将这些信息发送至视频回放设备进行视频回放,如图8所示,该方法可以包括:
S801:终端获取目标视频的视频信息,该视频信息包括视频分辨率、帧率、码率、视频时长和编码格式中一个或多个。
S802:终端获取其性能信息,该终端上运行上述目标视频,该性能信息包括上述目标视频在处理过程中终端上的CPU波动、内存波动和UI帧率中一个或多个性能参数。而且,上述性能信息还包括上述性能参数相对应的时间,即上述性能信息还包括监控到终端上的CPU波动、内存波动和UI帧率中一个或多个性能参数对应的时间。
S803:终端获取上述目标视频在处理过程中对应的处理操作,该处理操作包括视频播放操作、视频编辑操作等等。其中,视频编辑操作可以包括分割、变速、旋转、倒放、加滤镜、加特效等。其中,终端在获取上述处理操作的同时,还可以获取上述处理操作的发生时间,即上述处理操作还包括上述处理操作相对应的时间。
这里,终端在获取上述目标视频的视频信息、终端性能信息和目标视频在处理过程中对应的处理操作之后,还可以把获取的信息存储在相应文件中,例如,视频信息 和处理操作可以存储在操作日志文件中,终端性能信息可以存储在性能文件中,以便后续直接从上述文件获取相应信息,处理过程更为简单、方便。
可选的,上述步骤S801、S802与S803的顺序可以转换,本申请不做具体限定。
S804:终端将上述视频信息、性能信息和处理操作上传至服务器。
示例性的,终端在预设条件下,将上述视频信息上传至服务器,该预设条件包括终端接收到用户触发的上传请求,或者接收到服务器发送的上传指令等。
S805:服务器确定与上述视频信息相匹配的目标基准视频。
这里,如果上述视频信息、性能信息和处理操作存储在文件中,例如,视频信息和处理操作可以存储在操作日志文件中,终端性能信息可以存储在性能文件中,终端上传上述操作日志文件和性能文件,服务器接收到这两个文件后,可以先分别解析这两个文件,获取上述视频信息、性能信息和处理操作,并可以确定上述性能信息与其相对应的时间,以及上述处理操作与其相对应的时间。
在本申请实施例中,服务器在接收到终端上传的目标视频的视频信息后,首先在预存的基准视频中,选取各项视频信息与上述接收的目标视频的视频信息相匹配的目标基准视频。如果上述预存的基准视频中存在上述目标基准视频,则直接在上述预存的基准视频中获取上述目标基准视频。如果上述预存的基准视频不存在上述目标基准视频,则可以根据上述目标视频的视频信息,通过视频编解码技术生成仿真视频,即生成与上述视频信息相匹配的目标基准视频,满足多种应用需要。
S806:服务器将上述目标基准视频、上述性能信息和上述处理操作发送至视频回放设备。
S807:视频回放设备基于上述目标基准视频进行视频回放,并视频回放过程中,根据上述性能信息模拟上述目标基准视频的运行环境,根据上述处理操作,对上述目标基准视频进行相应的处理操作。
S808:服务器定位视频回放设备回放上述目标基准视频过程中出现的问题。
服务器在确定与上述视频信息相匹配的目标基准视频之后,可以将该目标基准视频、上述性能信息和上述处理操作发送至视频回放设备,视频回放设备将上述目标基准视频、上述性能信息和上述处理操作导入相应的视频处理软件,回放该目标基准视频,并按照上述性能信息中的性能参数和上述性能参数相对应的时间,模拟上述目标视频在处理过程中的性能,即模拟上述目标视频的运行环境,还通过上述处理操作和 上述处理操作相对应的时间,模拟上述目标视频在视频处理过程中的具体处理操作,触发上述视频处理软件执行相应的处理操作功能,提高视频回放的准确性。
本申请实施例无需用户主动上传相应视频,只需通过终端获取相应视频的视频信息并上传至服务器,从而,使得服务器基于该视频信息确定目标基准视频,并将该目标基准视频发送至视频回放设备进行回放,复现用户的视频处理过程,定位出现的问题,解决了在不收集用户视频的情况下,无法有效进行回放定位问题的难题,进而,可以在不涉及用户隐私的情况下解决视频处理过程出现的问题,并可以进一步地基于该问题对相应的视频处理软件进行优化,提高视频处理软件性能,满足应用需要。
对应于上文实施例的视频处理方法,图9为本申请实施例提供的电子装置的结构示意图。为了便于说明,仅示出了与本申请实施例相关的部分。图9为本申请实施例提供的一种电子装置的结构示意图,该电子装置90包括:第一获取模块901、第二获取模块902以及上传模块903。这里的电子装置可以是上述终端本身,或者是实现终端的功能的芯片或者集成电路。这里需要说明的是,第一获取模块、第二获取模块以及上传模块的划分只是一种逻辑功能的划分,物理上两者可以是集成的,也可以是独立的。
其中,第一获取模块901,用于获取目标视频。
第二获取模块902,用于获取目标视频的视频信息,所述视频信息包括视频分辨率、帧率、码率、视频时长和编码格式中一个或多个。
上传模块903,用于将所述视频信息上传至服务器,其中,所述服务器确定与所述视频信息相匹配的目标基准视频,并将所述目标基准视频发送至视频回放设备,以使所述视频回放设备基于所述目标基准视频进行视频回放。
在一种可能的实现方式中,所述第二获取模块902,还用于:
获取终端的性能信息;
所述上传模块903,具体用于:
将所述性能信息和所述视频信息上传至所述服务器,其中,所述服务器确定与所述视频信息相匹配的目标基准视频,并将所述目标基准视频和所述性能信息发送至所述视频回放设备,其中,所述视频回放设备基于所述目标基准视频进行视频回放,并在视频回放过程中,根据所述性能信息模拟所述终端的环境。
在一种可能的实现方式中,所述第二获取模块902,还用于:
获取所述目标视频在处理过程中对应的处理操作;
所述上传模块903,具体用于:
将所述处理操作和所述视频信息上传至所述服务器,其中,所述服务器确定与所述视频信息相匹配的目标基准视频,并将所述目标基准视频和所述处理操作发送至所述视频回放设备,其中,所述视频回放设备基于所述目标基准视频进行视频回放,并在视频回放过程中,根据所述处理操作,对所述目标基准视频进行相应的处理操作。
在一种可能的实现方式中,所述上传模块903,具体用于:
在预设条件下,将所述视频信息上传至所述服务器,所述预设条件包括接收到用户触发的上传请求,或者接收到所述服务器发送的上传指令。
本申请实施例提供的装置,可用于执行上述图2、图3或图4方法实施例的技术方案,其实现原理和技术效果类似,本申请实施例此处不再赘述。
图10为本申请实施例提供的另一种电子装置的结构示意图。该电子装置100包括:接收模块1001、确定模块1002以及发送模块1003。这里的电子装置可以是上述服务器本身,或者是实现上述服务器的功能的芯片或者集成电路。这里需要说明的是,接收模块、确定模块以及发送模块的划分只是一种逻辑功能的划分,物理上两者可以是集成的,也可以是独立的。
其中,接收模块1001,用于接收终端上传的目标视频的视频信息,所述视频信息包括视频分辨率、帧率、码率、视频时长和编码格式中一个或多个。
确定模块1002,用于根据所述视频信息,确定与所述视频信息相匹配的目标基准视频。
发送模块1003,用于将所述目标基准视频发送至视频回放设备,其中,所述视频回放设备基于所述目标基准视频进行视频回放。
在一种可能的设计中,所述接收模块1001,还用于接收所述终端上传的性能信息;
所述发送模块1003,还用于将所述目标基准视频和所述性能信息发送至所述视频回放设备,其中,所述视频回放设备基于所述目标基准视频进行视频回放,并在视频回放过程中,根据所述性能信息模拟所述终端的环境。
在一种可能的实现方式中,所述接收模块1001,还用于接收所述终端上传的所述目标视频在处理过程中对应的处理操作;
所述发送模块1003,还用于将所述目标基准视频和所述处理操作发送至所述视频回放设备,其中,所述视频回放设备基于所述目标基准视频进行视频回放,并在视频回放过程中,根据所述处理操作,对所述目标基准视频进行相应的处理操作。
在一种可能的实现方式中,所述发送模块1003,还用于:
定位所述视频回放设备回放所述目标基准视频过程中出现的问题。
在一种可能的实现方式中,所述确定模块1002,具体用于:
根据所述视频信息,在预存的基准视频中确定是否存在与所述视频信息相匹配的目标基准视频;
若在所述预存的基准视频中存在所述目标基准视频,则从所述预存的基准视频获取所述目标基准视频。
在一种可能的实现方式中,所述确定模块1002,具体用于:
若在所述预存的基准视频中不存在所述目标基准视频,则根据所述视频信息和所述预存的基准视频,生成所述目标基准视频。
本申请实施例提供的装置,可用于执行上述图5、图6或图7方法实施例的技术方案,其实现原理和技术效果类似,本申请实施例此处不再赘述。
可选地,图11A和11B示意性地分别提供本申请所述终端和服务器的一种可能的基本硬件架构。
参见图11A和11B,终端和服务器分别包括至少一个处理器1101以及通信接口1103。进一步可选的,还可以包括存储器1102和总线1104。
其中,终端和服务器中,处理器1101的数量可以是一个或多个,图11A和11B仅示意了其中一个处理器1101。可选地,处理器1101,可以是中央处理器(CPU)、图形处理器(graphics processing unit,GPU)或者数字信号处理器(digital signal processor,DSP)。如果终端和服务器具有多个处理器1101,多个处理器1101的类型可以不同,或者可以相同。可选地,终端和服务器的多个处理器1101还可以集成为多核处理器。
存储器1102存储计算机指令和数据;存储器1102可以存储实现本申请提供的上述视频处理方法所需的计算机指令和数据,例如,存储器1102存储用于实现上述视频处理方法的步骤的指令。存储器1102可以是以下存储介质的任一种或任一种组合:非易失性存储器(例如只读存储器(Read-Only Memory,ROM)、固态硬盘(Solid State Drive,SSD)、硬盘(Hard Disk Drive,HDD)、光盘),易失性存储器。
通信接口1103可以为所述至少一个处理器提供信息输入/输出。也可以包括以下器件的任一种或任一种组合:网络接口(例如以太网接口)、无线网卡等具有网络接入功能的器件。
可选的,通信接口1103还可以用于终端和服务器与其它计算设备或者终端进行数据通信。
进一步可选的,图11A和11B用一条粗线表示总线1104。总线1104可以将处理器1101与存储器1102和通信接口1103连接。这样,通过总线1104,处理器1101可以访问存储器1102,还可以利用通信接口1103与其它计算设备或者终端进行数据交互。
在本申请中,终端执行存储器1102中的计算机指令,使得终端实现本申请提供的上述图2、图3或图4所述的视频处理方法,或者使得终端部署或者实现为上述图9所述的电子装置。
服务器执行存储器1102中的计算机指令,使得服务器实现本申请提供的上述图5、图6或图7所述的视频处理方法,或者使得服务器部署上述图10所述的电子装置。
示例性的,如图11A所示,存储器1102中可以存储计算机指令。这里存储器中所存储的计算机指令被执行时可以分别实现上述图2、图3或图4所述的视频处理方法。
一种可能设计,如图11B所示,存储器1102存储计算机指令,这里存储器中所存储的计算机指令被执行时可以分别实现上述图5、图6或图7所述的视频处理方法。
另外,上述的终端和服务器除了可以像上述图11A和11B通过软件实现外,也可以作为硬件模块,或者作为电路单元,通过硬件实现。
本申请提供一种计算机可读存储介质,所述计算机程序产品包括计算机指令,所述计算机指令指示计算设备执行本申请提供的上述图2、图3或图4所述视频处理方法。
本申请提供另一种计算机可读存储介质,所述计算机程序产品包括计算机指令,所述计算机指令指示计算设备执行本申请提供的上述图5、图6或图7所述视频处理方法。
本申请实施例提供一种计算机程序产品,包括计算机指令,所述计算机指令被处理器执行时实现上述图2、图3或图4所述视频处理方法。
本申请实施例提供另一种计算机程序产品,包括计算机指令,所述计算机指令被处理器执行时实现上述图5、图6或图7所述视频处理方法。
本申请实施例提供一种计算机程序,该计算机程序被处理器执行时实现上述图2、图3或图4所述视频处理方法。
本申请实施例提供另一种计算机程序,该计算机程序被处理器执行时实现上述图5、图6或图7所述视频处理方法。
本申请提供一种芯片,包括至少一个处理器和通信接口,所述通信接口为所述至少一个处理器提供信息输入和/或输出。进一步,所述芯片还可以包含至少一个存储器,所述存储器用于存储计算机指令。所述至少一个处理器用于调用并运行该计算机指令,以执行本申请提供的上述图2、图3或图4视频处理方法。
本申请提供另一种芯片,包括至少一个处理器和通信接口,所述通信接口为所述至少一个处理器提供信息输入和/或输出。进一步,所述芯片还可以包含至少一个存储器,所述存储器用于存储计算机指令。所述至少一个处理器用于调用并运行该计算机指令,以执行本申请提供的上述图5、图6或图7视频处理方法。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。

Claims (20)

  1. 一种视频处理方法,应用于终端,其特征在于,包括:
    获取目标视频;
    获取所述目标视频的视频信息,所述视频信息包括视频分辨率、帧率、码率、视频时长和编码格式中一个或多个;
    将所述视频信息上传至服务器,其中,所述服务器确定与所述视频信息相匹配的目标基准视频,并将所述目标基准视频发送至视频回放设备,以使所述视频回放设备基于所述目标基准视频进行视频回放。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    获取所述终端的性能信息;
    所述将所述视频信息上传至服务器,包括:
    将所述性能信息和所述视频信息上传至所述服务器,其中,所述服务器确定与所述视频信息相匹配的目标基准视频,并将所述目标基准视频和所述性能信息发送至所述视频回放设备;
    其中,所述视频回放设备基于所述目标基准视频进行视频回放,并在视频回放过程中,根据所述性能信息模拟所述终端的环境。
  3. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    获取所述目标视频在处理过程中对应的处理操作;
    所述将所述视频信息上传至服务器,包括:
    将所述处理操作和所述视频信息上传至所述服务器,其中,所述服务器确定与所述视频信息相匹配的目标基准视频,并将所述目标基准视频和所述处理操作发送至所述视频回放设备;
    其中,所述视频回放设备基于所述目标基准视频进行视频回放,并在视频回放过程中,根据所述处理操作,对所述目标基准视频进行相应的处理操作。
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,所述将所述视频信息上传至服务器,包括:
    在预设条件下,将所述视频信息上传至所述服务器,
    所述预设条件包括接收到用户触发的上传请求,或者接收到所述服务器发送的上传指令。
  5. 一种视频处理方法,应用于服务器,其特征在于,包括:
    接收终端上传的目标视频的视频信息,所述视频信息包括视频分辨率、帧率、码率、视频时长和编码格式中一个或多个;
    根据所述视频信息,确定与所述视频信息相匹配的目标基准视频;
    将所述目标基准视频发送至视频回放设备,其中,所述视频回放设备基于所述目标基准视频进行视频回放。
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括:
    接收所述终端上传的性能信息;
    所述将所述目标基准视频发送至视频回放设备,包括:
    将所述目标基准视频和所述性能信息发送至所述视频回放设备,其中,所述视频回放设备基于所述目标基准视频进行视频回放,并在视频回放过程中,根据所述性能信息模拟所述终端的环境。
  7. 根据权利要求5所述的方法,其特征在于,所述方法还包括:
    接收所述终端上传的所述目标视频在处理过程中对应的处理操作;
    所述将所述目标基准视频发送至视频回放设备,包括:
    将所述目标基准视频和所述处理操作发送至所述视频回放设备,其中,所述视频回放设备基于所述目标基准视频进行视频回放,并在视频回放过程中,根据所述处理操作,对所述目标基准视频进行相应的处理操作。
  8. 根据权利要求5-7中任一项所述的方法,其特征在于,在所述将所述目标基准视频发送至视频回放设备之后,还包括:
    定位所述视频回放设备回放所述目标基准视频过程中出现的问题。
  9. 根据权利要求5-7中任一项所述的方法,其特征在于,所述根据所述视频信息,确定与所述视频信息相匹配的目标基准视频,包括:
    根据所述视频信息,在预存的基准视频中确定是否存在与所述视频信息相匹配的目标基准视频;
    若在所述预存的基准视频中存在所述目标基准视频,则从所述预存的基准视频中获取所述目标基准视频。
  10. 根据权利要求9所述的方法,其特征在于,所述方法还包括:
    若在所述预存的基准视频中不存在所述目标基准视频,则根据所述视频信息和所述预存的基准视频,生成所述目标基准视频。
  11. 一种电子装置,应用于终端,其特征在于,包括:
    第一获取模块,用于获取目标视频;
    第二获取模块,用于获取所述目标视频的视频信息,所述视频信息包括视频分辨率、帧率、码率、视频时长和编码格式中一个或多个;
    上传模块,用于将所述视频信息上传至服务器,其中,所述服务器确定与所述视频信息相匹配的目标基准视频,并将所述目标基准视频发送至视频回放设备,以使所述视频回放设备基于所述目标基准视频进行视频回放。
  12. 一种电子装置,应用于服务器,其特征在于,包括:
    接收模块,用于接收终端上传的目标视频的视频信息,所述视频信息包括视频分辨率、帧率、码率、视频时长和编码格式中一个或多个;
    确定模块,用于根据所述视频信息,确定与所述视频信息相匹配的目标基准视频;
    发送模块,用于将所述目标基准视频发送至视频回放设备,其中,所述视频回放设备基于所述目标基准视频进行视频回放。
  13. 一种终端,其特征在于,包括:
    处理器;
    存储器;以及
    计算机程序;
    其中,所述计算机程序被存储在所述存储器中,并且被配置为由所述处理器执行,所述计算机程序包括用于执行如权利要求1-4任一项所述的方法的指令。
  14. 一种服务器,其特征在于,包括:
    处理器;
    存储器;以及
    计算机程序;
    其中,所述计算机程序被存储在所述存储器中,并且被配置为由所述处理器执行,所述计算机程序包括用于执行如权利要求5-10任一项所述的方法的指令。
  15. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序使得终端执行权利要求1-4任一项所述的方法。
  16. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序使得服务器执行权利要求5-10任一项所述的方法。
  17. 一种计算机程序产品,包括计算机程序,所述计算机程序被存储在所述存储器中,并且被配置为由所述处理器执行,所述计算机程序包括用于执行如权利要求1-4任一项所述的方法的指令。
  18. 一种计算机程序产品,包括计算机程序,所述计算机程序被存储在所述存储器中,并且被配置为由所述处理器执行,所述计算机程序包括用于执行如权利要求5-10任一项所述的方法的指令。
  19. 一种计算机程序,所述计算机程序被存储在所述存储器中,并且被配置为由所述处理器执行,所述计算机程包括用于执行如权利要求1-4任一项所述的方法的指令。
  20. 一种计算机程序,所述计算机程序被存储在所述存储器中,并且被配置为由所述处理器执行,所述计算机程包括用于执行如权利要求5-10任一项所述的方法的指 令。
PCT/CN2021/131938 2020-11-20 2021-11-19 视频处理方法、电子装置及存储介质 WO2022105898A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011311792.6A CN112423098B (zh) 2020-11-20 2020-11-20 视频处理方法、电子装置及存储介质
CN202011311792.6 2020-11-20

Publications (1)

Publication Number Publication Date
WO2022105898A1 true WO2022105898A1 (zh) 2022-05-27

Family

ID=74777128

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/131938 WO2022105898A1 (zh) 2020-11-20 2021-11-19 视频处理方法、电子装置及存储介质

Country Status (2)

Country Link
CN (1) CN112423098B (zh)
WO (1) WO2022105898A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112423098B (zh) * 2020-11-20 2022-11-15 北京字节跳动网络技术有限公司 视频处理方法、电子装置及存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9326046B1 (en) * 2015-03-19 2016-04-26 Amazon Technologies, Inc. Uninterrupted playback of video streams using lower quality cached files
US20170330598A1 (en) * 2016-05-10 2017-11-16 Naver Corporation Method and system for creating and using video tag
CN107748750A (zh) * 2017-08-30 2018-03-02 百度在线网络技术(北京)有限公司 相似视频查找方法、装置、设备及存储介质
US20190208238A1 (en) * 2016-09-07 2019-07-04 Huawei Technologies Co., Ltd. Media File Pushing Method, Media File Server, and Media File Pushing System
CN110446083A (zh) * 2019-08-29 2019-11-12 北京达佳互联信息技术有限公司 视频播放方法、装置、电子设备及存储介质
CN111241341A (zh) * 2018-11-28 2020-06-05 北京字节跳动网络技术有限公司 视频的标识信息处理方法及视频搜索方法,装置及服务器
CN112423098A (zh) * 2020-11-20 2021-02-26 北京字节跳动网络技术有限公司 视频处理方法、电子装置及存储介质

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9326046B1 (en) * 2015-03-19 2016-04-26 Amazon Technologies, Inc. Uninterrupted playback of video streams using lower quality cached files
US20170330598A1 (en) * 2016-05-10 2017-11-16 Naver Corporation Method and system for creating and using video tag
US20190208238A1 (en) * 2016-09-07 2019-07-04 Huawei Technologies Co., Ltd. Media File Pushing Method, Media File Server, and Media File Pushing System
CN107748750A (zh) * 2017-08-30 2018-03-02 百度在线网络技术(北京)有限公司 相似视频查找方法、装置、设备及存储介质
CN111241341A (zh) * 2018-11-28 2020-06-05 北京字节跳动网络技术有限公司 视频的标识信息处理方法及视频搜索方法,装置及服务器
CN110446083A (zh) * 2019-08-29 2019-11-12 北京达佳互联信息技术有限公司 视频播放方法、装置、电子设备及存储介质
CN112423098A (zh) * 2020-11-20 2021-02-26 北京字节跳动网络技术有限公司 视频处理方法、电子装置及存储介质

Also Published As

Publication number Publication date
CN112423098B (zh) 2022-11-15
CN112423098A (zh) 2021-02-26

Similar Documents

Publication Publication Date Title
WO2020221190A1 (zh) 小程序状态同步方法、设备和计算机存储介质
JP6385336B2 (ja) クラウド同期システムのためのテレメトリ・システム
WO2021159864A1 (zh) 一种传输视频音频数据的方法、云端服务器和系统
KR20160016929A (ko) 복수의 가상 머신들 사이의 가상 하드 디스크 공유
US20070192797A1 (en) Method of and apparatus for managing distributed contents
EP3410290B1 (en) Audio processing method, server, user equipment, and system
CN104602133A (zh) 多媒体文件共享方法和终端及服务器
WO2018157743A1 (zh) 媒体数据处理方法、装置、系统及存储介质
MX2012001710A (es) Sistemas, metodos, y aplicaciones de programa para restringir selectivamente el desplazamiento de lugar del contenido digital de medios protegido contra copia.
CN106453464A (zh) 数据分享系统以及其方法
US10838691B2 (en) Method and apparatus of audio/video switching
CN105451071A (zh) 一种视频流的处理方法、装置和系统
WO2022105898A1 (zh) 视频处理方法、电子装置及存储介质
US10938687B2 (en) Enabling device under test conferencing via a collaboration platform
CN108289232B (zh) 一种播放设备的控制方法、终端设备及存储介质
KR20080021072A (ko) 디바이스에 저장된 컨텐트의 재생을 원격으로 제어하는시스템, 방법 및 컴퓨터 판독가능 매체
CN111541905B (zh) 一种直播方法、装置、计算机设备和存储介质
WO2023165320A1 (zh) 播放参数配置方法及装置
WO2023078232A1 (zh) 一种传输方法及装置
CN111385599A (zh) 视频处理方法和装置
JP7220859B2 (ja) 超短メディアコンテンツを交換するシステムおよび方法
JP2023540047A (ja) 多重ライブ配信環境でのチャンネル間の高速切替モードを実現する方法、システム、およびコンピュータ読み取り可能な記録媒体
US11868677B1 (en) Audio injection in remote device infrastructure
US11824745B1 (en) Reverse engineering computer network system functionality
US10289691B2 (en) Dynamic replication of networked files

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 04/09/20203)

122 Ep: pct application non-entry in european phase

Ref document number: 21894045

Country of ref document: EP

Kind code of ref document: A1