CN112423098B - Video processing method, electronic device and storage medium - Google Patents

Video processing method, electronic device and storage medium Download PDF

Info

Publication number
CN112423098B
CN112423098B CN202011311792.6A CN202011311792A CN112423098B CN 112423098 B CN112423098 B CN 112423098B CN 202011311792 A CN202011311792 A CN 202011311792A CN 112423098 B CN112423098 B CN 112423098B
Authority
CN
China
Prior art keywords
video
target
information
target reference
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011311792.6A
Other languages
Chinese (zh)
Other versions
CN112423098A (en
Inventor
文龙凯
王学智
李锦敏
张兴华
李正达
梁昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202011311792.6A priority Critical patent/CN112423098B/en
Publication of CN112423098A publication Critical patent/CN112423098A/en
Priority to PCT/CN2021/131938 priority patent/WO2022105898A1/en
Application granted granted Critical
Publication of CN112423098B publication Critical patent/CN112423098B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Abstract

The application provides a video processing method, an electronic device and a storage medium, the method does not need a user to actively upload corresponding videos, and only needs to acquire video information of the corresponding videos through a terminal and upload the video information to a server, so that the server determines a target reference video based on the video information and sends the target reference video to a video playback device, the video playback device plays back based on the target reference video to reproduce the video processing process of the user, and the server can position the problems occurring in the video playback process, thereby solving the problem that the playback positioning problem cannot be effectively performed under the condition of not collecting the videos of the user, further solving the problems occurring in the video processing process under the condition of not relating to the privacy of the user, further optimizing corresponding video processing software based on the problems, improving the performance of the video processing software and meeting the application requirements.

Description

Video processing method, electronic device and storage medium
Technical Field
The present application relates to video technologies, and in particular, to a video processing method, an electronic device, and a storage medium.
Background
With the development of network technology and the expansion of network influence, more and more users use terminals to process videos, for example, the videos are processed by video processing software installed on mobile phones. In the video processing process, problems sometimes occur, for example, in the case of playing a video, the video is suddenly interrupted in the playing process, so that the complete video cannot be successfully played, and thus the user cannot watch the complete video. Taking the video editing as an example, the software suddenly has a problem in the editing process, which results in that the normal editing cannot be performed and the user experience is affected.
In the related art, in order to locate problems occurring in the video processing process, a video playback mode, i.e., playing back the video processing process, is generally adopted.
However, the above video playback requires a user to provide a corresponding video, which relates to user privacy, and the user adaptability is low, which results in video playback failure and further fails to locate the problem, so that the problem continues all the time, and the processing of the above video by more users is affected.
Disclosure of Invention
In order to solve the problems in the prior art, the present application provides a video processing method, an electronic device, and a storage medium.
In a first aspect, an embodiment of the present application provides a video processing method, which is applied to a terminal, and includes:
acquiring a target video;
acquiring video information of the target video, wherein the video information comprises one or more of video resolution, frame rate, code rate, video duration and coding format;
and uploading the video information to a server, wherein the server determines a target reference video matched with the video information and sends the target reference video to a video playback device so that the video playback device performs video playback based on the target reference video.
In a possible implementation manner, the method further includes:
acquiring performance information of the terminal;
the uploading the video information to a server includes:
and uploading the performance information and the video information to the server, wherein the server determines a target reference video matched with the video information and sends the target reference video and the performance information to the video playback equipment, and the video playback equipment performs video playback based on the target reference video and simulates the environment of the terminal according to the performance information in the video playback process.
In a possible implementation manner, the method further includes:
acquiring corresponding processing operation of the target video in a processing process;
the uploading the video information to a server includes:
and uploading the processing operation and the video information to the server, wherein the server determines a target reference video matched with the video information and sends the target reference video and the processing operation to the video playback equipment, wherein the video playback equipment performs video playback based on the target reference video and performs corresponding processing operation on the target reference video according to the processing operation in the video playback process.
In one possible implementation manner, the uploading the video information to a server includes:
and uploading the video information to the server under a preset condition, wherein the preset condition comprises that an uploading request triggered by a user is received or an uploading instruction sent by the server is received.
In a second aspect, an embodiment of the present application provides another video processing method, which is applied to a server, and includes:
receiving video information of a target video uploaded by a terminal, wherein the video information comprises one or more of video resolution, frame rate, code rate, video duration and coding format;
determining a target reference video matched with the video information according to the video information;
and sending the target reference video to a video playback device, wherein the video playback device performs video playback based on the target reference video.
In a possible implementation manner, the method further includes:
receiving performance information uploaded by the terminal;
the sending the target reference video to a video playback device includes:
and sending the target reference video and the performance information to the video playback equipment, wherein the video playback equipment performs video playback based on the target reference video and simulates the environment of the terminal according to the performance information in the video playback process.
In a possible implementation manner, the method further includes:
receiving corresponding processing operation of the target video uploaded by the terminal in a processing process;
the sending the target reference video to a video playback device includes:
and sending the target reference video and the processing operation to the video playback equipment, wherein the video playback equipment performs video playback based on the target reference video, and performs corresponding processing operation on the target reference video according to the processing operation in the video playback process.
In one possible implementation manner, after the sending the target reference video to the video playback device, the method further includes:
locating a problem that occurs during playback of the target reference video by the video playback device.
In one possible implementation manner, the determining, according to the video information, a target reference video that matches the video information includes:
determining whether a target reference video matched with the video information exists in a pre-stored reference video according to the video information;
and if the target reference video exists in the pre-stored reference video, acquiring the target reference video from the pre-stored reference video.
In a possible implementation manner, the method further includes:
and if the target reference video does not exist in the pre-stored reference video, generating the target reference video according to the video information and the pre-stored reference video.
In a third aspect, an embodiment of the present application provides an electronic apparatus, which is applied to a terminal, and includes:
the first acquisition module is used for acquiring a target video;
the second acquisition module is used for acquiring video information of the target video, wherein the video information comprises one or more of video resolution, frame rate, code rate, video duration and coding format;
and the uploading module is used for uploading the video information to a server, wherein the server determines a target reference video matched with the video information and sends the target reference video to video playback equipment so that the video playback equipment performs video playback based on the target reference video.
In a possible implementation manner, the second obtaining module is further configured to:
acquiring performance information of the terminal;
the upload module is specifically configured to:
and uploading the performance information and the video information to the server, wherein the server determines a target reference video matched with the video information and sends the target reference video and the performance information to the video playback equipment, and the video playback equipment performs video playback based on the target reference video and simulates the environment of the terminal according to the performance information in the video playback process.
In a possible implementation manner, the obtaining module is further configured to:
acquiring corresponding processing operation of the target video in a processing process;
the uploading module is specifically configured to:
and uploading the processing operation and the video information to the server, wherein the server determines a target reference video matched with the video information and sends the target reference video and the processing operation to the video playback equipment, the video playback equipment performs video playback based on the target reference video and performs corresponding processing operation on the target reference video according to the processing operation in the video playback process.
In a possible implementation manner, the uploading module is specifically configured to:
and uploading the video information to the server under a preset condition, wherein the preset condition comprises that an uploading request triggered by a user is received or an uploading instruction sent by the server is received.
In a fourth aspect, an embodiment of the present application provides another electronic apparatus, which is applied to a server, and includes:
the receiving module is used for receiving video information of a target video uploaded by a terminal, wherein the video information comprises one or more of video resolution, frame rate, code rate, video duration and coding format;
the determining module is used for determining a target reference video matched with the video information according to the video information;
and the sending module is used for sending the target reference video to video playback equipment, wherein the video playback equipment carries out video playback based on the target reference video.
In a possible implementation manner, the receiving module is further configured to receive 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, where the video playback device performs video playback based on the target reference video and simulates an environment of the terminal according to the performance information in a video playback process.
In a possible implementation manner, the receiving module is further configured to receive a corresponding processing operation of the target video uploaded by the terminal in a processing process;
the sending module is further configured to send the target reference video and the processing operation to the video playback device, where the video playback device performs video playback based on the target reference video, and performs a corresponding processing operation on the target reference video according to the processing operation in a video playback process.
In a possible implementation manner, the sending module is further configured to:
a problem occurring during the positioning of the video playback device to play back the target reference video.
In a possible implementation manner, the determining module is specifically configured to:
according to the video information, determining whether a target reference video matched with the video information exists in a pre-stored reference video;
and if the target reference video exists in the pre-stored reference video, acquiring the target reference video from the pre-stored reference video.
In a possible implementation manner, the determining module is specifically configured to:
and if the target reference video does not exist in the pre-stored reference video, generating the target reference video according to the video information and the pre-stored reference video.
In a fifth aspect, an embodiment of the present application provides a terminal, including:
a processor;
a memory; and
a computer program;
wherein 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.
In a sixth aspect, an embodiment of the present application provides a server, including:
a processor;
a memory; and
a computer program;
wherein 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.
In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored, and the computer program causes a terminal to execute the method according to the first aspect.
In an eighth aspect, the present application provides another computer-readable storage medium, where a computer program is stored, where the computer program causes a server to execute the method in the second aspect.
In a ninth aspect, the present application provides a computer program product, which includes computer instructions, and when executed by a processor, the computer instructions implement the method of the first aspect.
In a tenth aspect, the present application provides another computer program product, which includes computer instructions, and when executed by a processor, the computer instructions implement the method of the second aspect.
According to the video processing method, the electronic device and the storage medium, a user does not need to actively upload corresponding videos, and only needs to obtain video information of the corresponding videos through a terminal and upload the video information to a server, so that the server determines a target reference video based on the video information and sends the target reference video to video playback equipment, the video playback equipment plays back based on the target reference video to reproduce the video processing process of the user, and the server can position the problems occurring in the video playback process, so that the problem that the playback positioning problem cannot be effectively performed under the condition that the videos of the user are not collected is solved, further, the problems occurring in the video processing process can be solved under the condition that the privacy of the user is not involved, the corresponding video processing software can be further optimized based on the problems, the performance of the video processing software is improved, and the application requirements are met.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
FIG. 1 is a schematic diagram of an architecture of a video processing system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a video processing method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another video processing method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another video processing method according to an embodiment of the present application;
fig. 5 is a schematic flowchart of another video processing method according to an embodiment of the present application;
fig. 6 is a schematic flowchart of another video processing method according to an embodiment of the present application;
fig. 7 is a schematic flowchart of another video processing method according to an embodiment of the present application;
fig. 8 is a schematic flowchart of another video processing method according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of another electronic device according to an embodiment of the present disclosure;
fig. 11A is a schematic diagram of a basic hardware architecture of a terminal provided in the present application;
fig. 11B is a schematic diagram of a basic hardware architecture of a server provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," and "fourth," if any, in the description and claims of this application and the above-described figures are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be implemented in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The video playback method and device for the target video playback are used for determining the target reference video matched with the video information of the target video and performing video playback on the target reference video, and a user does not need to provide corresponding video, so that the problem that playback and positioning cannot be effectively performed under the conditions that the user video is not collected and the privacy of the user is not affected is solved.
The video processing method provided by the embodiment of the present application can be applied to a video processing scene, wherein the video processing scene can be a video playing scene or a video editing scene, and the video processing method is not particularly limited in the embodiment of the present application. For example, taking a video editing scene as an example, if a problem suddenly occurs in software during editing, which results in abnormal editing, the video processing process can be played back by the video processing method provided by the embodiment of the application, so that the problem is located, and the problem is solved.
Optionally, the video processing method provided in the embodiment of the present application may be applied to an application scenario as shown in fig. 1. Fig. 1 only describes one possible application scenario of the video processing method provided in the embodiment of the present application by way of example, and the application scenario of the video processing method provided in 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. In fig. 1, the architecture described above may include a terminal 11, a server 12, and a video playback device 13, with video being processed by video processing software installed on the terminal.
It is to be understood that the illustrated structure of the embodiments of the present application does not constitute a specific limitation to the video processing architecture. In other possible embodiments of the present application, the foregoing architecture may include more or less components than those shown in the drawings, or combine some components, or split some components, or arrange different components, which may be determined according to practical application scenarios, and is not limited herein. The components shown in fig. 1 may be implemented in hardware, software, or a combination of software and hardware.
In a specific implementation process, the terminal 11 is installed with video processing software, and processes a video (for example, edits the video) through the video processing software, so as to obtain video information of the video, such as a video resolution, a frame rate, a code rate, a video duration, a coding format, and the like. If the video processing software suddenly generates an abnormality in the video editing process, the user may trigger an upload request on the terminal 11, or the terminal 11 uploads video problem information to the server 12 or the server detects that a problem occurs in the video editing process in the terminal 11, and the server 12 may send an upload instruction to the terminal 11. The terminal 11 uploads the video information to the server 12 according to the upload request or the upload instruction, and the server 12 determines a reference video matched with the video information and sends the reference video to the video playback device 13. The video playback device 13 performs video playback of the above-described reference video. The server 12 locates the problem occurring during the playback of the target reference video by the video playback device 13, that is, the problem occurring during the video processing, and then, the problem is solved, and the video processing software installed in the terminal 11 can be optimized based on the problem, so that the problem does not occur in the optimized video processing software any longer, and the performance is more complete.
In this embodiment, the terminal may be a handheld device, a vehicle-mounted device, a wearable device, a computing device, an intelligent home device, and the like, and various types of devices with a video processing function, such as a User Equipment (UE). The video playback device may be a terminal, such as the handheld device, the vehicle-mounted device, the wearable device, the computing device, the smart home device, and the like. The video playback device may be integrally deployed in the server, or may be independently deployed outside the server, which may be specifically set according to an actual situation, and this embodiment of the present application does not particularly limit this.
In addition, the system architecture and the service scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not constitute a limitation to the technical solution provided in the embodiment of the present application, and it can be known by a person skilled in the art that the technical solution provided in the embodiment of the present application is also applicable to similar technical problems along with the evolution of the network architecture and the appearance of a new service scenario.
The technical solutions of the present application are described below by taking several embodiments as examples, and the same or similar concepts or processes may not be described in detail in some embodiments.
Fig. 2 is a schematic flow chart of a video processing method according to an embodiment of the present application, where an execution subject of the embodiment may be the terminal 11 in fig. 1, and a specific execution subject may be determined according to an actual application scenario, which is not limited in the embodiment of the present application. As shown in fig. 2, a video processing method provided in an embodiment of the present application may include the following steps:
s201: and acquiring a target video.
S202: and acquiring video information of the target video, wherein the video information comprises one or more of video resolution, frame rate, code rate, video duration and coding format.
Here, the target video may be a video currently being processed by the terminal, for example, a video being edited by video processing software on the terminal, and may be determined specifically according to the actual situation, which is not particularly limited in this embodiment of the present application.
The terminal acquires video information of the target video, such as video resolution, frame rate, code rate, video duration, coding format, and the like, and the specific video information acquired by the terminal can be determined according to actual conditions, which is not particularly limited in the embodiment of the present application. The embodiment of the application performs video playback based on the video information, can eliminate video specific factors (such as specific resolution or frame rate) and perform video reproduction quickly, locates corresponding problems, and is suitable for application.
For example, after the terminal acquires the video information of the target video, the acquired video information may be stored in a corresponding file, for example, the acquired video information may be stored in a user operation log file, so that the subsequent terminal may directly acquire the corresponding information from the file and upload the information to the server, thereby making the operation simpler and more convenient.
S203: and uploading the video information to a server, wherein the server determines a target reference video matched with the video information and sends the target reference video to a video playback device so that the video playback device performs video playback based on the target reference video.
In a possible implementation manner, the uploading, by the terminal, the video information to the server may include:
and uploading the video information to a server by the terminal under a preset condition, wherein the preset condition comprises that an uploading request triggered by a user is received or an uploading instruction sent by the server is received.
Here, the terminal uploads the video information to the server only under a specific condition, so that resource waste caused by data transmission can be reduced, and the method is suitable for application. The specific condition may be that the terminal receives an upload request triggered by a user or receives an upload instruction sent by the server, and besides, the specific condition may also include other conditions, which may be determined specifically according to an actual situation, and this is not particularly limited in this embodiment of the application.
In the embodiment of the application, the terminal uploads the video information to the server, after receiving the video information, the server determines a target reference video matched with the video information according to the video information, namely, the video information of the target reference video is matched with the video information, and sends the target reference video to the video playback device, and the video playback device plays back the video according to the target reference video. Here, matching may be understood as being identical or close.
Wherein, the video playback device performing video playback according to the target reference video may include:
and the video playback equipment leads the target reference video into corresponding video processing software and plays back the target reference video.
According to the method and the device, a user does not need to actively upload corresponding videos, only corresponding video information needs to be acquired through a terminal and uploaded to a server, and therefore the server determines a target reference video based on the video information and sends the target reference video to a video playback device, the video playback device plays back based on the target reference video and reproduces the video processing process of the user, the server can position the problems occurring in the process that the video playback device plays back the target reference video, and then the problems occurring in the target video processing process are determined, so that the problem that the playback positioning problem cannot be effectively carried out under the condition that the user videos are not collected is solved, further, the problems occurring in the video processing process can be solved under the condition that the user privacy is not involved, corresponding video processing software can be further optimized based on the problems, the performance of the video processing software is improved, and the application requirements are met.
In addition, before uploading the video information to the server, the embodiment of the application also considers acquiring the performance information of the terminal. Fig. 3 is a flowchart illustrating another video processing method according to an embodiment of the present application. As shown in fig. 3, the method includes:
s301: and acquiring a target video.
S302: and acquiring video information of the target video, wherein the video information comprises one or more of video resolution, frame rate, code rate, video duration and coding format.
The steps S301 to S302 are the same as the steps S201 to S202, and are not described herein again.
S303: and acquiring the performance information of the terminal.
Here, the terminal processes the target video, and the performance information includes one or more performance parameters of CPU fluctuation, memory fluctuation, and UI frame rate of the target video on the terminal during processing.
The terminal obtains the performance parameters, and may specifically adopt a real-time monitoring or timing monitoring mode, and may specifically be determined according to an actual situation, which is not particularly limited in this application embodiment, and correspondingly, the performance information further retains the time corresponding to the monitored performance parameters, that is, the performance information further includes the time corresponding to one or more performance parameters of the CPU fluctuation, the memory fluctuation, and the UI frame rate monitored on the terminal.
The terminal acquires performance parameters such as CPU fluctuation, memory fluctuation, UI frame rate and the like on the terminal in the processing process of the target video, and the specific performance parameters acquired by the terminal can be determined according to actual conditions. This is not particularly limited in the embodiments of the present application.
For example, after the terminal acquires the performance information, the acquired information may be stored in a corresponding file, for example, the acquired information is stored in a performance file, so that a subsequent terminal may directly acquire the corresponding information from the file and upload the information to the server, thereby making the operation simpler and more convenient.
Optionally, the sequence of the steps S302 and S303 may be switched, and the present application is not limited specifically.
S304: and uploading the performance information and the video information to a server, wherein the server determines a target reference video matched with the video information, and sends the target reference video and the performance information to a video playback device, wherein the video playback device performs video playback based on the target reference video, and simulates the operating environment of the terminal according to the performance information in the video playback process.
Here, if the performance information and the video information are stored in a file, the terminal uploads the file, and after receiving the file, the server may parse the file to obtain the performance information and the video information, and may determine the time corresponding to the performance parameter in the performance information.
The server, after determining the target reference video that matches the video information, may transmit the target reference video and the performance information to the video playback device. The video playback equipment imports the target reference video and the performance information into corresponding video processing software, plays back the target reference video, and simulates the terminal performance of the target video in the processing process according to the performance parameters and the corresponding time in the performance information, namely simulates the environment of the terminal, so that the accuracy of video playback is improved, and further, the video played back by a subsequent server based on the video playback equipment can be more accurately positioned.
According to the embodiment of the application, when the video playback equipment plays back the target reference video, the environment of the terminal is simulated by adopting the performance information of the terminal, the accuracy of video playback is improved, furthermore, the user does not need to actively upload the corresponding video, and only the video information of the corresponding video needs to be acquired through the terminal and 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 equipment for playback, the video processing process of the user is repeated, and the problem occurring in the target video processing process is further positioned, and further the problem occurring in the target video processing process is determined.
In addition, in the embodiment of the application, before uploading the video information to the server, a processing operation corresponding to the target video in a processing process is further considered. Fig. 4 is a flowchart illustrating another video processing method according to an embodiment of the present application. As shown in fig. 4, the method includes:
s401: and acquiring a target video.
S402: and acquiring video information of the target video, wherein the video information comprises one or more of video resolution, frame rate, code rate, video duration and coding format.
The steps S401 to S402 are the same as the steps S201 to S202, and are not described herein again.
S403: and acquiring corresponding processing operation of the target video in the processing process.
Here, the processing operation includes a video playing operation, a video editing operation, and the like. The video editing operation may include splitting, changing speed, rotating, reverse playing, adding a filter, adding a special effect, and the like.
In the embodiment of the present application, the terminal acquires corresponding processing operations of the target video in a processing process, for example, taking a video editing operation as an example, the corresponding processing operations may include speed changing, rotation selecting, and the like, and the processing operations acquired by the specific terminal may be determined according to actual situations. This is not particularly limited in the embodiments of the present application.
And the terminal can acquire the occurrence time of the processing operation while acquiring the processing operation, so that corresponding processing operation is performed on the played back video according to the acquired time sequence in the following process, and the played back video is closer to the processing process of the target video. Namely, the processing operation further includes the time corresponding to the processing operation.
For example, after the terminal acquires the processing operation and the corresponding operation occurrence time, the terminal may further store the acquired information in a corresponding file, for example, store the acquired information in a user operation log file, so that the terminal may directly acquire the corresponding information from the file and upload the information to the server, thereby making the operation simpler and more convenient.
Optionally, the sequence of the steps S402 and S403 may be switched, and the present application is not limited specifically.
S404: and uploading the processing operation and the video information to a server, wherein the server determines a target reference video matched with the video information, and sends the target reference video and the processing operation to a video playback device, wherein the video playback device performs video playback based on the target reference video, and performs corresponding processing operation on the target reference video according to the processing operation in the video playback process.
Here, if the processing operation and the video information are stored in a file (for example, an operation log file), the terminal uploads the file, and after receiving the file, the server may parse the file, obtain the processing operation and the video information, and may determine a time corresponding to the processing operation.
The server, after determining the target reference video that matches the video information, may send the target reference video and the processing operation to the video playback device. The video playback equipment imports the target reference video and the processing operation into corresponding video processing software, plays back the target reference video, simulates specific processing of the target video in a processing process through the processing operation, and triggers the video processing software to execute corresponding functions, so that the accuracy of video playback is improved, a subsequent server can more accurately position a problem based on the video played back by the video playback equipment, and the video processing software installed in the terminal can be optimized according to the positioned problem.
According to the method and the device, when the target reference video is played back by the video playback equipment, the specific processing of the target video in the processing process is simulated through the processing operation, the accuracy of video playback is improved, furthermore, the user does not need to actively upload the corresponding video, and only the video information of the corresponding video needs to be acquired through the terminal and uploaded to the server, so that the server determines the target reference video to be played back based on the video information, the video processing process of the user is reproduced, the problems occurring in the target video processing process are located, the problems occurring in the target video processing process are further determined, the problem that the playback and location cannot be effectively carried out under the condition that the user video is not collected is solved, the problems occurring in the video processing process can be further solved under the condition that the user privacy is not involved, the corresponding video processing software can be further optimized based on the problems, the performance of the video processing software is improved, and the application requirements are met.
In addition, in the embodiment of the application, before uploading the video information to the server, not only the performance information of the terminal is obtained, but also the corresponding processing operation of the target video in the processing process is obtained. Further, the terminal uploads the video information, the performance information, and the processing operation to a server. And the server determines a target reference video matched with the video information, and sends the target reference video, the performance information and the processing operation to video playback equipment so that the video playback equipment performs video playback based on the target reference video, simulates the environment of the terminal according to the performance information in the video playback process, and performs corresponding processing operation on the target reference video according to the processing operation to realize high-accuracy video playback. The method and the device have the advantages that the user does not need to actively upload corresponding videos, so that the problem that playback positioning cannot be effectively carried out under the condition that the videos of the user are not collected is solved.
For example, after determining the target reference video matching the video information, the server may transmit the target reference video, the performance information, and the processing operation to the video playback device. Here, the performance information includes one or more character parameters of CPU fluctuation, memory fluctuation and UI frame rate of the target video on the terminal during processing. Moreover, the performance information also comprises the time corresponding to the monitoring of the performance parameters. The processing operation includes a video playing operation, a video editing operation, and the like. Moreover, the processing operation further includes a time corresponding to the processing operation.
The video playback equipment imports the target reference video, the performance information and the processing operation into corresponding video processing software, plays back the target reference video, simulates the terminal performance of the target video in the processing process according to the performance parameters in the performance information and the corresponding time thereof, namely simulates the environment of the terminal, simulates the specific processing operation of the target video in the video processing process through the processing operation and the corresponding time of the processing operation, triggers the video processing software to execute the corresponding processing operation function, improves the accuracy of video playback, and further enables the follow-up server to more accurately position the problem based on the video played back by the video playback equipment.
Here, the server may locate a problem occurring during playback of the target reference video by the video playback device during playback of the video by the video playback device. For example, the server may determine whether video jam, blur, and the like occur during playback of the target reference video by the video playback device, and if so, locate a problem occurring during playback of the target reference video by the video playback device based on the occurring video jam, blur, and the like, and further determine a problem occurring during processing of the target video, for example, during video editing.
In addition, before the server locates a problem occurring in the process of playing back the target reference video by the video playback device, whether the parameter is abnormal or not can be determined according to the performance information and a preset performance parameter range. And if the parameters are determined to be abnormal, the server acquires the abnormal parameters and determines the problems in the target video processing process according to the abnormal parameters and the processing operation. The processing operation includes a video playing operation, a video editing operation, and the like, and the processing operation further includes a time corresponding to the processing operation. The preset performance parameter range can be determined according to the performance information of the terminal for normally processing the video. Here, the server may determine whether the performance information is within a preset performance parameter range, and if not, determine that the parameter is abnormal. The server acquires the abnormal parameters and further acquires the occurrence time of the abnormal parameters. And 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 occurring in the target video processing process according to the processing operation.
If the parameters are determined to be abnormal, the server can locate the problem occurring in the process of playing back the target reference video by the video playback equipment and determine the problem occurring in the process of processing the target video.
In the embodiment of the application, the server can locate the problem occurring in the target video processing process in a mode of combining the two modes, the locating mode is accurate and flexible, the privacy of a user is not involved, and the application requirements of different application scenes can be met.
The video processing method according to the embodiment of the present application is described in detail from the terminal side in the above embodiment, and the video processing method provided according to the embodiment of the present application will be described in detail from the server side in conjunction with the following embodiment. It should be understood that some concepts, characteristics, and the like of the server-side description correspond to those of the terminal side, and the repetitive description is appropriately omitted for the sake of brevity.
Fig. 5 is a schematic flowchart of another video processing method provided in an embodiment of the present application, where an execution subject of the embodiment may be the server 12 in fig. 1, as shown in fig. 5, the method may include the following steps:
s501: and receiving video information of the target video uploaded by the terminal, wherein the video information comprises one or more of video resolution, frame rate, code rate, video duration and coding format.
S502: and determining a target reference video matched with the video information according to the video information.
In an embodiment of the present application, the determining, by the server, a target reference video matching the video information according to the video information includes:
according to the video information, determining whether a target reference video matched with the video information exists in a pre-stored reference video;
and if the target reference video exists in the pre-stored reference video, acquiring the target reference video from the pre-stored reference video.
After receiving the video information of the target video uploaded by the terminal, the server firstly selects the target reference video with various video information matched with the video information of the received target video from the prestored reference video. And if the target reference video exists in the pre-stored reference video, directly acquiring the target reference video from the pre-stored reference video.
And 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.
For example, the server may select a reference video, and perform transcoding, clipping, and other operations on the reference video according to the video information of the target video through a video encoding and decoding technique to generate the target reference video matched with the video information.
Here, in the embodiment of the present application, a simulation video may be generated by a video coding and decoding technology according to the video information of the target video, that is, a target reference video matched with the video information may be generated, so as to meet various application requirements.
S503: and sending the target reference video to a video playback device, wherein the video playback device performs video playback based on the target reference video.
Here, the above-mentioned video playback device performing video playback in accordance with the target reference video may include:
and importing the target reference video into corresponding video processing software, and playing back the target reference video.
According to the method and the device, the corresponding video is not required to be actively uploaded by a user, and only the video information of the corresponding video is required to be acquired through the terminal and 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 video playback equipment for playback, the video processing process of the user is reproduced, the server can position the problems occurring in the process of playing back the target reference video by the video playback equipment, the problems occurring in the target video processing process are further determined, the problem that the playback positioning problem cannot be effectively carried out under the condition that the user video is not collected is solved, further, the problems occurring in the video processing process can be solved under the condition that the user privacy is not involved, the corresponding video processing software can be further optimized based on the problems, the performance of the video processing software is improved, and the application requirements are met.
In addition, the server according to the embodiment of the application receives the video information of the target video uploaded by the terminal, and also receives the performance information uploaded by the terminal. Fig. 6 is a schematic flowchart of another video processing method according to an embodiment of the present disclosure. As shown in fig. 6, the method includes:
s601: and receiving video information of the target video uploaded by the terminal, wherein the video information comprises one or more of video resolution, frame rate, code rate, video duration and coding format.
S602: and receiving the performance information uploaded by the terminal.
Here, the terminal runs the target video, and the performance information includes one or more performance parameters of CPU fluctuation, memory fluctuation, and UI frame rate of the target video during processing. Moreover, the performance information further includes time corresponding to the monitored performance parameter, that is, the performance information further includes time corresponding to one or more performance parameters of CPU fluctuation, memory fluctuation and UI frame rate monitored on the terminal.
Optionally, the sequence of steps S601 and S602 may be switched, and the application is not limited in particular.
S603: and determining the target reference video matched with the video information.
Step S603 is the same as the implementation of step S502, and is not described herein again.
S604: and sending the target reference video and the performance information to a video playback device, wherein 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 in the video playback process.
Here, the server may transmit the target reference video and the performance information to the video playback apparatus after determining the target reference video matching the video information. The video playback equipment imports the target reference video and the performance information into corresponding video processing software, plays back the target reference video, and simulates the performance of the target video in the processing process according to the performance parameters and the corresponding time in the performance information, namely, simulates the running environment of the target video, so that the accuracy of video playback is improved, and the problem of more accurate positioning of the video played back by a subsequent server based on the video playback equipment can be solved.
According to the method and the device, when the target reference video is played back by the video playback equipment, the running environment of the target video is simulated, the accuracy of video playback is improved, a user does not need to actively upload the corresponding video, the video information of the corresponding video only needs to be acquired through the terminal and uploaded to the server, and therefore the server determines the target reference video based on the video information and sends the target reference video to the playback equipment for playback, the video processing process of the user is reproduced, the problems occurring in the target video processing process are located, the problem that the problem of playback and location cannot be effectively carried out under the condition that the user video is not collected is solved, the problems occurring in the video processing process are solved, corresponding video processing software can be optimized based on the problems, the performance of the video processing software is improved, and application requirements are met.
In addition, the server in this embodiment of the application receives, in addition to the video information of the target video uploaded by the terminal, a corresponding processing operation of the target video uploaded by the terminal in a processing process. Fig. 7 is a flowchart illustrating another video processing method according to an embodiment of the present application. As shown in fig. 7, the method includes:
s701: and receiving video information of the target video uploaded by the terminal, wherein the video information comprises one or more of video resolution, frame rate, code rate, video duration and coding format.
S702: and receiving the corresponding processing operation of the target video uploaded by the terminal in the processing process.
Here, the above-described processing operation includes a video playing operation, a video editing operation, and the like. The video editing operation may include splitting, changing speed, rotating, reverse playing, adding a filter, adding a special effect, and the like.
Optionally, the sequence of the steps S701 and S702 may be switched, and the present application is not particularly limited.
S703: and determining the target reference video matched with the video information.
Step S703 is the same as the implementation of step S502 described above, and is not described herein again.
S704: and sending the target reference video and the processing operation to a video playback device, wherein the video playback device performs video playback based on the target reference video, and performs corresponding processing operation on the target reference video according to the processing operation in the video playback process.
Here, the server may transmit the target reference video and the processing operation to the video playback apparatus after determining the target reference video matching the video information. The video playback equipment leads the target reference video and the processing operation into corresponding video processing software, plays back the target reference video, simulates specific processing of the target video in a processing process through the processing operation, and triggers the video processing software to execute corresponding functions, so that the accuracy of video playback is improved, and the problem of the server can be positioned more accurately based on the video played back by the video playback equipment.
Wherein, the processing operation also comprises the time corresponding to the processing operation. The terminal can acquire the processing operation and the occurrence time of the processing operation, and sends the processing operation and the occurrence time of the processing operation to the server, and further the server sends the processing operation and the occurrence time of the processing operation to the video playback device, and the video playback device performs corresponding processing operation on the played back video according to the acquired time sequence, so that the played back video is closer to the processing process of the target video.
According to the method and the device, when the target reference video is played back by the video playback equipment, the specific processing of the target video in the processing process is simulated through the processing operation, and the accuracy of video playback is improved.
Here, in the embodiment of the present application, the server may receive, in addition to the video information of the target video uploaded by the terminal, performance information uploaded by the terminal and a corresponding processing operation of the target video in a processing process. And then, the server determines a target reference video matched with the video information, and sends the target reference video, the performance information and the processing operation to a video playback device, the video playback device performs video playback based on the target reference video, simulates the environment of the terminal according to the performance information in the video playback process, and performs corresponding processing operation on the target reference video according to the processing operation, so that high-accuracy video playback is realized. The method and the device have the advantages that a user does not need to actively upload corresponding videos, and accordingly the problem that playback positioning cannot be effectively carried out under the condition that the videos of the user are not collected is solved.
For example, after determining the target reference video matching the video information, the server may transmit the target reference video, the performance information, and the processing operation to the video playback device. Here, 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 further includes a time corresponding to the performance parameter. The processing operation includes a video playing operation, a video editing operation, and the like. Moreover, the processing operation further comprises time corresponding to the processing operation.
The video playback device imports the target reference video, the performance information and the processing operation into corresponding video processing software, plays back the target reference video, simulates the terminal performance of the target video in the processing process according to the performance parameter in the performance information and the time corresponding to the performance parameter, namely simulates the environment of the terminal, and also simulates the specific processing of the target video in the processing process through the processing operation and the time corresponding to the processing operation, triggers the video processing software to execute the corresponding function, improves the accuracy of video playback, and further enables the follow-up server to more accurately locate the problem based on the video played back by the video playback device.
Here, the server may locate a problem occurring during playback of the target reference video by the video playback device during playback of the video by the video playback device. For example, the server may determine whether video jam, blur, and the like occur during playback of the target reference video by the video playback device, and if so, locate a problem occurring during playback of the target reference video by the video playback device based on the occurring video jam, blur, and the like, and further determine a problem occurring during processing of the target video, for example, during video editing.
In addition, before the server locates a problem occurring in the process of playing back the target reference video by the video playback device, whether the parameter is abnormal or not can be determined according to the performance information and a preset performance parameter range. And if the parameters are determined to be abnormal, the server acquires the abnormal parameters and determines the problems in the target video processing process according to the abnormal parameters and the processing operation. The processing operation includes a video playing operation, a video editing operation, and the like, and the processing operation further includes a time corresponding to the processing operation. The preset performance parameter range may be determined according to performance information of a terminal for normally processing a video, for example, according to performance information of a terminal for normally editing a video. Here, the server may determine whether the performance information is within a preset performance parameter range, and if not, determine that the parameter is abnormal. The server acquires the abnormal parameters and further acquires the occurrence time of the abnormal parameters. And 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 occurring in the target video processing process according to the processing operation.
If the parameters are determined to be abnormal, the server can locate the problem occurring in the process of playing back the target reference video by the video playback equipment and determine the problem occurring in the process of processing the target video.
In addition, the embodiment of the present application further provides another video processing method, which is interactively explained from a terminal, a server and a video playback device. Before uploading the video information of the target video to the server, the terminal further obtains the performance information of the terminal and the corresponding processing operation in the process of processing the target video, and uploads the performance information and the corresponding processing operation in the process of processing the target video, so that the server receives the performance information uploaded by the terminal and the corresponding processing operation in the process of processing the target video besides receiving the video information of the target video uploaded by the terminal, and then sends the information to the video playback device for video playback, as shown in fig. 8, the method may include:
s801: the terminal acquires video information of a target video, wherein the video information comprises one or more of video resolution, frame rate, code rate, video duration and coding format.
S802: and the terminal acquires performance information of the terminal, the terminal runs the target video, and the performance information comprises one or more performance parameters of CPU fluctuation, memory fluctuation and UI frame rate of the target video in the processing process. Moreover, the performance information further includes time corresponding to the performance parameter, that is, the performance information further includes time corresponding to one or more performance parameters of CPU fluctuation, memory fluctuation, and UI frame rate monitored on the terminal.
S803: and the terminal acquires corresponding processing operation of the target video in the processing process, wherein the processing operation comprises video playing operation, video editing operation and the like. The video editing operation may include splitting, shifting, rotating, playing upside down, adding filters, adding special effects, etc. The terminal may further obtain the occurrence time of the processing operation while obtaining the processing operation, that is, the processing operation further includes the time corresponding to the processing operation.
Here, after the terminal acquires the video information of the target video, the terminal performance information and the corresponding processing operation of the target video in the processing process, the acquired information may be stored in a corresponding file, for example, the video information and the processing operation may be stored in an operation log file, the terminal performance information may be stored in a performance file, so as to subsequently acquire the corresponding information directly from the file, and the processing process is simpler and more convenient.
Optionally, the sequence of the steps S801, S802, and S803 may be switched, and the present application is not limited specifically.
S804: and the terminal uploads the video information, the performance information and the processing operation to a server.
Illustratively, the terminal uploads the 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 matching the video information.
Here, if the video information, the performance information, and the processing operation are stored in a file, for example, the video information and the processing operation may be stored in an operation log file, the terminal performance information may be stored in a performance file, the terminal uploads the operation log file and the performance file, and after receiving the two files, the server may first parse the two files, respectively, obtain the video information, the performance information, and the processing operation, and may determine a time corresponding to the performance information and a time corresponding to the processing operation.
In the embodiment of the application, after receiving the video information of the target video uploaded by the terminal, the server firstly selects the target reference video with various video information matched with the video information of the received target video from the prestored reference video. And if the target reference video exists in the pre-stored reference video, directly acquiring the target reference video from the pre-stored reference video. If the pre-stored reference video does not have the target reference video, a simulation video can be generated by a video coding and decoding technology according to the video information of the target video, namely, the target reference video matched with the video information is generated, and various application requirements are met.
S806: and the server transmits the target reference video, the performance information and the processing operation to the video playback equipment.
S807: and the video playback equipment performs video playback on the basis of the target reference video, simulates the running environment of the target reference video according to the performance information in the video playback process, and performs corresponding processing operation on the target reference video according to the processing operation.
S808: and the server positions the problems occurring in the process that the video playback equipment plays back the target reference video.
After determining a target reference video matched with the video information, the server may send the target reference video, the performance information, and the processing operation to a video playback device, where the video playback device imports the target reference video, the performance information, and the processing operation into corresponding video processing software, plays back the target reference video, and simulates the performance of the target video in the processing process according to the performance parameter in the performance information and the time corresponding to the performance parameter, that is, simulates the running environment of the target video, and further simulates the specific processing operation of the target video in the video processing process according to the time corresponding to the processing operation and the processing operation, and triggers the video processing software to execute the corresponding processing operation function, thereby improving the accuracy of video playback.
According to the embodiment of the application, a user is not required to actively upload the corresponding video, and only the video information of the corresponding video needs to be acquired through the terminal and 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 video playback equipment for playback, the video processing process of the user is reproduced, the problem of positioning is solved, the problem that the positioning problem cannot be effectively played back under the condition that the user video is not collected is solved, furthermore, the problem of the video processing process can be solved under the condition that the user privacy is not involved, and the corresponding video processing software can be further optimized based on the problem, the performance of the video processing software is improved, and the application requirements are met.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application, corresponding to the video processing method of the foregoing embodiment. For convenience of explanation, only portions related to the embodiments of the present application are shown. Fig. 9 is a schematic structural diagram of an electronic device 90 according to an embodiment of the present application, where the electronic device includes: a first obtaining module 901, a second obtaining module 902, and an uploading 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 obtaining module, the second obtaining module, and the uploading module is only a division of a logic function, and the first obtaining module, the second obtaining module, and the uploading module may be integrated or independent physically.
The first obtaining module 901 is configured to obtain a target video.
A second obtaining module 902, configured to obtain video information of a target video, where the video information includes one or more of a video resolution, a frame rate, a code rate, a video duration, and a coding format.
An uploading module 903, configured to upload the video information to a server, where 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 performs video playback based on the target reference video.
In a possible implementation manner, the second obtaining module 902 is further configured to:
acquiring performance information of a terminal;
the upload module 903 is specifically configured to:
and uploading the performance information and the video information to the server, wherein the server determines a target reference video matched with the video information and sends the target reference video and the performance information to the video playback equipment, and the video playback equipment performs video playback based on the target reference video and simulates the environment of the terminal according to the performance information in the video playback process.
In a possible implementation manner, the second obtaining module 902 is further configured to:
acquiring corresponding processing operation of the target video in a processing process;
the upload module 903 is specifically configured to:
and uploading the processing operation and the video information to the server, wherein the server determines a target reference video matched with the video information and sends the target reference video and the processing operation to the video playback equipment, wherein the video playback equipment performs video playback based on the target reference video and performs corresponding processing operation on the target reference video according to the processing operation in the video playback process.
In a possible implementation manner, the uploading module 903 is specifically configured to:
and uploading the video information to the server under a preset condition, wherein the preset condition comprises that an uploading request triggered by a user is received or an uploading instruction sent by the server is received.
The apparatus provided in the embodiment of the present application may be configured to execute the technical solutions of the method embodiments in fig. 2, fig. 3, or fig. 4, and the implementation principles and technical effects are similar, which are not described herein 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 may be the server itself, or a chip or an integrated circuit that implements the functions of the server. It should be noted here that the division of the receiving module, the determining module, and the sending module is only a division of logical functions, and the two may be integrated or independent physically.
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 a video resolution, a frame rate, a code rate, a video duration, and a coding format.
A determining module 1002, configured to determine, according to the video information, a target reference video matched with the video information.
A sending module 1003, configured to send the target reference video to a video playback device, where the video playback device performs video playback based on the target reference video.
In a possible design, the receiving module 1001 is further configured to receive 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, where the video playback device performs video playback based on the target reference video, and simulates an environment of the terminal according to the performance information in a video playback process.
In a possible implementation manner, the receiving module 1001 is further configured to receive a corresponding processing operation of the target video uploaded by the terminal in a processing process;
the sending module 1003 is further configured to send the target reference video and the processing operation to the video playback device, where the video playback device performs video playback based on the target reference video, and performs corresponding processing operation on the target reference video according to the processing operation in a video playback process.
In a possible implementation manner, the sending module 1003 is further configured to:
locating a problem that occurs during playback of the target reference video by the video playback device.
In a possible implementation manner, the determining module 1002 is specifically configured to:
determining whether a target reference video matched with the video information exists in a pre-stored reference video according to the video information;
and if the target reference video exists in the pre-stored reference video, acquiring the target reference video from the pre-stored reference video.
In a possible implementation manner, the determining module 1002 is specifically configured to:
and if the target reference video does not exist in the pre-stored reference video, generating the target reference video according to the video information and the pre-stored reference video.
The apparatus provided in the embodiment of the present application may be configured to execute the technical solutions of the method embodiments in fig. 5, fig. 6, or fig. 7, which have similar implementation principles and technical effects, and are not described herein again in the embodiment of the present application.
Alternatively, fig. 11A and 11B schematically provide one possible basic hardware architecture of the terminal and the server described in the present application, respectively.
Referring to fig. 11A and 11B, 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.
Among them, in the terminal and the server, the number of the processors 1101 may be one or more, and fig. 11A and 11B only illustrate one of the processors 1101. Alternatively, the processor 1101 may be a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), or a Digital Signal Processor (DSP). If the terminal and the server have a plurality of processors 1101, the types of the plurality of processors 1101 may be different, or may be the same. Alternatively, the plurality of processors 1101 of the terminal and the server may also be integrated into a multi-core processor.
Memory 1102 stores computer instructions and data; the memory 1102 may store computer instructions and data required to implement the above-described video processing methods provided herein, e.g., the memory 1102 stores instructions for implementing the steps of the above-described video processing methods. Memory 1102 may be any one or any combination of the following storage media: nonvolatile memory (e.g., read Only Memory (ROM), solid State Disk (SSD), hard disk (HDD), optical disk), volatile memory.
The communication interface 1103 may provide information input/output for the at least one processor. Any one or any combination of the following devices may also be included: a network interface (such as an ethernet interface), a wireless network card, and the like.
Optionally, the communication interface 1103 can also be used for data communication between terminals and servers and other computing devices or terminals.
Further alternatively, fig. 11A and 11B show the bus 1104 by a thick line. The bus 1104 may connect the processor 1101 with the memory 1102 and the communication interface 1103. Thus, via bus 1104, processor 1101 can access memory 1102 and can also interact with other computing devices or terminals using communication interface 1103.
In this application, the terminal executes the computer instructions in the memory 1102, so that the terminal implements the video processing method provided by this application and described in fig. 2, fig. 3 or fig. 4, or the terminal is deployed or implemented as the electronic device described in fig. 9.
The server executes the computer instructions in the memory 1102, so that the server implements the video processing method provided by the present application and described in the foregoing fig. 5, fig. 6, or fig. 7, or the server deploys the electronic device described in the foregoing fig. 10.
Illustratively, as shown in FIG. 11A, the memory 1102 may have stored therein computer instructions. The computer instructions stored in the memory herein, when executed, may implement the video processing methods described above with respect to fig. 2, 3, or 4, respectively.
In one possible design, as shown in fig. 11B, memory 1102 stores computer instructions, where the computer instructions stored in the memory may be executed to implement the video processing methods described in fig. 5, 6, or 7, respectively.
In addition, the above-described terminal and server may be implemented by hardware as a hardware module or as a circuit unit, in addition to software as in fig. 11A and 11B.
A computer readable storage medium is provided, the computer program product comprising computer instructions that instruct a computing device to perform the video processing method of fig. 2, 3 or 4 as provided above.
Another computer-readable storage medium is provided that includes computer instructions that direct a computing device to perform the video processing method of fig. 5, 6, or 7 as provided above.
The present application provides a computer program product, which includes computer instructions, and the computer instructions, when executed by a processor, implement the video processing method described in fig. 2, fig. 3, or fig. 4.
The present application provides another computer program product, which includes computer instructions, and when executed by a processor, the computer instructions implement the video processing method described in fig. 5, fig. 6, or fig. 7.
The present application provides a chip comprising at least one processor and a communication interface providing 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 perform the video processing method of fig. 2, fig. 3, or fig. 4 provided herein.
The present application provides another chip comprising at least one processor and a communication interface providing 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 perform the video processing method of fig. 5, 6 or 7 provided herein.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or in the form of hardware plus a software functional unit.

Claims (14)

1. A video processing method is applied to a terminal, and is characterized by comprising the following steps:
when the video processing process of a target video is abnormal, acquiring video information of the target video and processing operation aiming at the target video in the video processing process, wherein the video information comprises one or more of video resolution, frame rate, code rate, video duration and coding format; the target video is a video currently being processed;
and uploading the video information and the processing operation to a server, wherein the server determines a target reference video matched with the video information and sends the target reference video to a video playback device so that the video playback device performs video playback based on the target reference video and the processing operation, and in the video playback process, according to the processing operation, the target reference video is subjected to corresponding processing operation so as to reproduce the video processing process of the target video.
2. The method of claim 1, further comprising:
acquiring performance information of the terminal;
the uploading the video information to a server includes:
uploading the performance information and the video information to the server, wherein the server determines a target reference video matched with the video information and sends the target reference video and the performance information to the video playback device;
and the video playback equipment performs video playback based on the target reference video and simulates the environment of the terminal according to the performance information in the video playback process.
3. The method according to claim 1 or 2, wherein the uploading the video information to a server comprises:
uploading the video information to the server under a preset condition,
the preset condition comprises the fact that an uploading request triggered by a user is received, or an uploading instruction sent by the server is received.
4. A video processing method applied to a server is characterized by comprising the following steps:
receiving video information of a target video uploaded by a terminal and processing operation aiming at the target video in a video processing process, wherein the video information comprises one or more of video resolution, frame rate, code rate, video duration and coding format; the target video is a video currently being processed;
determining a target reference video matched with the video information according to the video information and the processing operation;
and sending the target reference video to video playback equipment, wherein the video playback equipment performs video playback based on the target reference video and the processing operation, and performs corresponding processing operation on the target reference video according to the processing operation in the video playback process so as to reproduce the video processing process of the target video.
5. The method of claim 4, further comprising:
receiving performance information uploaded by the terminal;
the sending the target reference video to a video playback device includes:
and sending the target reference video and the performance information to the video playback equipment, wherein the video playback equipment performs video playback based on the target reference video and simulates the environment of the terminal according to the performance information in the video playback process.
6. The method of claim 4 or 5, further comprising, after said sending the target reference video to a video playback device:
a problem occurring during the positioning of the video playback device to play back the target reference video.
7. The method according to claim 4 or 5, wherein the determining the target reference video matching the video information according to the video information comprises:
determining whether a target reference video matched with the video information exists in a pre-stored reference video according to the video information;
and if the target reference video exists in the pre-stored reference video, acquiring the target reference video from the pre-stored reference video.
8. The method of claim 7, further comprising:
and if the target reference video does not exist in the pre-stored reference video, generating the target reference video according to the video information and the pre-stored reference video.
9. An electronic device applied to a terminal, comprising:
the second obtaining module is used for obtaining video information of a target video and processing operation aiming at the target video in the video processing process when the video processing process of the target video is abnormal, wherein the video information comprises one or more of video resolution, frame rate, code rate, video duration and coding format; the target video is a video currently being processed;
and the uploading module is used for uploading the video information and the processing operation to a server, wherein the server determines a target reference video matched with the video information and sends the target reference video to a video playback device so that the video playback device performs video playback based on the target reference video and the processing operation, and in the video playback process, the corresponding processing operation is performed on the target reference video according to the processing operation so as to reproduce the video processing process of the target video.
10. An electronic device applied to a server, comprising:
the video processing device comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving video information of a target video uploaded by a terminal and processing operation aiming at the target video in a video processing process, and the video information comprises one or more of video resolution, frame rate, code rate, video duration and coding format; the target video is a video currently being processed;
a determining module, configured to determine, according to the video information and the processing operation, a target reference video that matches the video information;
and the sending module is used for sending the target reference video to video playback equipment, wherein the video playback equipment carries out video playback based on the target reference video and the processing operation, and carries out corresponding processing operation on the target reference video according to the processing operation in the video playback process so as to reproduce the video processing process of the target video.
11. A terminal, comprising:
a processor;
a memory; and
a computer program;
wherein 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 any of claims 1-3.
12. A server, comprising:
a processor;
a memory; and
a computer program;
wherein 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 any of claims 4-8.
13. A computer-readable storage medium, characterized in that it stores a computer program that causes a terminal to execute the method of any of claims 1-3.
14. A computer-readable storage medium, characterized in that it stores a computer program that causes a server to execute the method of any of claims 4-8.
CN202011311792.6A 2020-11-20 2020-11-20 Video processing method, electronic device and storage medium Active CN112423098B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011311792.6A CN112423098B (en) 2020-11-20 2020-11-20 Video processing method, electronic device and storage medium
PCT/CN2021/131938 WO2022105898A1 (en) 2020-11-20 2021-11-19 Video processing method, electronic apparatus, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011311792.6A CN112423098B (en) 2020-11-20 2020-11-20 Video processing method, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN112423098A CN112423098A (en) 2021-02-26
CN112423098B true CN112423098B (en) 2022-11-15

Family

ID=74777128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011311792.6A Active CN112423098B (en) 2020-11-20 2020-11-20 Video processing method, electronic device and storage medium

Country Status (2)

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

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112423098B (en) * 2020-11-20 2022-11-15 北京字节跳动网络技术有限公司 Video processing method, electronic device and storage medium

Family Cites Families (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
KR101769071B1 (en) * 2016-05-10 2017-08-18 네이버 주식회사 Method and system for manufacturing and using video tag
CN106412634A (en) * 2016-09-07 2017-02-15 华为技术有限公司 Media file pushing method, media file server and media file pushing system
CN107748750A (en) * 2017-08-30 2018-03-02 百度在线网络技术(北京)有限公司 Similar video lookup method, device, equipment and storage medium
CN111241341A (en) * 2018-11-28 2020-06-05 北京字节跳动网络技术有限公司 Video identification information processing method and video searching method, device and server
CN110446083A (en) * 2019-08-29 2019-11-12 北京达佳互联信息技术有限公司 Video broadcasting method, device, electronic equipment and storage medium
CN112423098B (en) * 2020-11-20 2022-11-15 北京字节跳动网络技术有限公司 Video processing method, electronic device and storage medium

Also Published As

Publication number Publication date
CN112423098A (en) 2021-02-26
WO2022105898A1 (en) 2022-05-27

Similar Documents

Publication Publication Date Title
CN104602133A (en) Multimedia file shearing method and terminal as well as server
CN111625381B (en) Method, device, equipment and storage medium for reproducing running scene of application program
CN110826799B (en) Service prediction method, device, server and readable storage medium
CN108228444B (en) Test method and device
CN110662017B (en) Video playing quality detection method and device
CN105451071A (en) Video stream processing method, device and system
CN105027572A (en) Method for decreasing the bit rate needed to transmit videos over a network by dropping video frames
CN112423098B (en) Video processing method, electronic device and storage medium
CN104618418A (en) Method and device for playing multimedia file
CN103618786A (en) Playing error processing method and server
CN104506661A (en) Automatic production method for remotely-configured usage scenario-based power consumption
CN110719526B (en) Video playing method and device
CN111541905B (en) Live broadcast method and device, computer equipment and storage medium
CN108966041A (en) A kind of audio and video playing buries point methods and device
CN111010706A (en) Exception recovery method and device
CN116257882A (en) Voting method, voting system, electronic equipment and storage medium
CN108055563A (en) A kind of monitoring method of playback equipment, main control device, playback equipment and system
CN112053707B (en) Recording method and device for multimedia equipment, storage medium and electronic device
CN111068304B (en) Haptic feedback sharing method, device and system
CN115016779A (en) Audio and video function processing method and device, storage medium and processor
CN110971923A (en) Bullet screen connection method, storage medium, system and client
KR101637022B1 (en) Apparatus and method for transmitting and receiving content
CN114390300B (en) Live broadcast control method and device, electronic equipment and computer storage medium
CN104703038A (en) Multimedia processing method and device
CN115482496A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant