CN113613037A - Video processing method, system and device - Google Patents

Video processing method, system and device Download PDF

Info

Publication number
CN113613037A
CN113613037A CN202110779765.XA CN202110779765A CN113613037A CN 113613037 A CN113613037 A CN 113613037A CN 202110779765 A CN202110779765 A CN 202110779765A CN 113613037 A CN113613037 A CN 113613037A
Authority
CN
China
Prior art keywords
target
switching
video signal
video
format
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110779765.XA
Other languages
Chinese (zh)
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.)
Ifreecomm Technology Co ltd
Original Assignee
Ifreecomm 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 Ifreecomm Technology Co ltd filed Critical Ifreecomm Technology Co ltd
Priority to CN202110779765.XA priority Critical patent/CN113613037A/en
Publication of CN113613037A publication Critical patent/CN113613037A/en
Pending legal-status Critical Current

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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234309Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4 or from Quicktime to Realvideo
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234363Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by altering the spatial resolution, e.g. for clients with a lower screen resolution
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440209Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display for formatting on an optical medium, e.g. DVD
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440263Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA

Abstract

The application relates to a video processing method, a system, a device, a computer device and a storage medium. The method comprises the following steps: receiving a video format switching instruction sent by a control end, carrying out format switching on an initial video signal through target switching information to obtain a target video signal, and sending the target video signal to a tested end so as to enable the tested end to output the target video signal. By adopting the method, the video format switching instruction can be sent or received remotely according to the preset target switching information, a set of automatic video format switching process can be further realized according to the received video format switching instruction, the initial video signal can be output in different video formats, the operation that a user locally logs in a PC (personal computer) end to modify the target switching information is avoided, and the output efficiency of the target video signal is improved.

Description

Video processing method, system and device
Technical Field
The present application relates to the field of video processing, and in particular, to a method, system and apparatus for video processing.
Background
In a test of a terminal having a video input interface, a Personal Computer (PC) is often used as a video source to supply a video signal of the video source to the terminal. In order to test the output effect of the input video signals corresponding to different video formats on the test terminal, the video format of the input video signal needs to be frequently modified at the PC terminal.
In the conventional technology, after a local login PC terminal, the output resolution of a video signal is manually modified at the PC terminal, so that the video signal can be output in different video formats, and different video output effects are achieved. However, the conventional method causes the output efficiency of the video to be low.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a video processing method, system and apparatus capable of improving video output efficiency.
In a first aspect, a method of video processing, the method comprising:
receiving a video format switching instruction sent by a control end, wherein the video format switching instruction carries target switching information, and the video format switching instruction is generated and sequentially sent by the control end according to different target switching information at target switching time intervals;
carrying out format switching on the initial video signal through the target switching information to obtain a target video signal;
and sending the target video signal to a tested end so that the tested end outputs the target video signal.
In one embodiment, the target handover information includes a target resolution; the format switching of the initial video signal through the target switching information to obtain the target video signal includes:
and switching the initial resolution of the initial video signal to the target resolution through the target resolution to obtain the target video signal.
In a second aspect, a method of video processing, the method comprising:
sequentially generating a video format switching instruction according to different target switching information according to a target switching time interval;
and sequentially sending a video format switching instruction to the controlled end according to the target switching time interval, wherein the video format switching instruction is used for indicating the controlled end to switch the format of the initial video signal through the target switching information to obtain a target video signal.
In one embodiment, the method further comprises:
when the preset duration after the video format switching instruction is sent reaches, sending a current switching information query instruction to a tested end, and receiving current switching information corresponding to a video signal obtained after format switching is fed back by the tested end according to the current switching information query instruction;
and matching the current switching information with the target switching information, and determining a matching result, wherein the matching result is used for indicating whether the format switching of the initial video signal is successful.
In one embodiment, the matching the current handover information and the target handover information to obtain a matching result includes:
if the current switching information is the same as the target switching information, the matching result indicates that the format switching is successful;
and if the current switching information is not the same as the target switching information, the matching result indicates that format switching fails.
In one embodiment, the method further comprises:
and if the matching result indicates that the format switching is successful, sending a video output instruction to the tested end, wherein the video output instruction is used for indicating the tested end to output the target video signal, and the target video signal is a video signal obtained after the format switching.
In one embodiment, the generating a video format switching instruction according to the target switching information includes:
sequentially acquiring each target switching information from a target switching information list according to a target switching time interval and a target switching cycle number, wherein the target switching information list comprises a plurality of switching resolutions;
and generating the corresponding video format switching instruction according to the target switching information.
In a third aspect, a method of video processing, the method comprising:
receiving a target video signal sent by a controlled terminal; the target video signal is a video signal obtained by format switching of an initial video signal according to target switching information in a video format switching instruction after the controlled terminal receives the video format switching instruction sent by the control terminal, and the video format switching instruction is an instruction which is generated and sequentially sent by the control terminal according to different target switching information at target switching time intervals;
and outputting the target video signal.
In one embodiment, the method further comprises:
receiving a current switching information query instruction sent by the control terminal, and feeding back current switching information corresponding to the video signal obtained after format switching to the control terminal according to the current switching information query instruction;
and if a matching success command sent by the control end is received, executing the step of outputting the target video signal.
In a fourth aspect, a video processing system, the system comprising: the device comprises a controlled end, a control end and a tested end;
the controlled terminal is configured to perform the steps of the method according to any embodiment of the first aspect of the present application;
the control terminal is configured to perform the steps of the method according to any of the embodiments of the second aspect of the present application;
the tested terminal is used for executing the steps of the method in any embodiment of the third aspect of the present application.
In a fifth aspect, a video processing device, the device comprising:
the switching instruction receiving module is used for receiving a video format switching instruction sent by a control end, wherein the video format switching instruction carries target switching information, and the video format switching instruction is generated and sequentially sent by the control end according to different target switching information at target switching time intervals;
the format switching module is used for carrying out format switching on the initial video signal through the target switching information to obtain a target video signal;
and the target signal sending module is used for sending the target video signal to a tested end so that the tested end outputs the target video signal.
In a sixth aspect, a video processing apparatus, the apparatus comprising:
the switching instruction generating module is used for sequentially generating a video format switching instruction according to different target switching information according to a target switching time interval;
and the switching instruction sending module is used for sequentially sending a video format switching instruction to the controlled end according to the target switching time interval, wherein the video format switching instruction is used for indicating the controlled end to switch the format of the initial video signal through the target switching information to obtain a target video signal.
In a seventh aspect, a video processing apparatus, the apparatus comprising:
the target signal receiving module is used for receiving a target video signal sent by the controlled terminal; the target video signal is a video signal obtained by format switching of an initial video signal according to target switching information in a video format switching instruction after the controlled terminal receives the video format switching instruction sent by the control terminal, and the video format switching instruction is an instruction which is generated and sequentially sent by the control terminal according to different target switching information at target switching time intervals;
and the target signal output module is used for outputting the target video signal.
The video processing method, the system and the device comprise the following steps: receiving a video format switching instruction sent by a control end, carrying out format switching on an initial video signal through target switching information to obtain a target video signal, and sending the target video signal to a tested end so as to enable the tested end to output the target video signal. By adopting the method, the video format switching instruction can be sent or received remotely according to the preset target switching information, a set of automatic video format switching process can be further realized according to the received video format switching instruction, the initial video signal can be output in different video formats, the operation that a user locally logs in a PC (personal computer) end to modify the target switching information is avoided, and the output efficiency of the target video signal is improved.
Drawings
FIG. 1 is a diagram of an exemplary video processing application;
FIG. 2 is a flow diagram of a video processing method in one embodiment;
FIG. 3 is a flow chart illustrating a video processing method according to another embodiment;
FIG. 4 is a detailed flowchart of a video processing method according to another embodiment;
FIG. 5 is a flowchart illustrating the step of generating a video format switch command according to the target switch information in another embodiment;
FIG. 6 is a flow chart illustrating a video processing method according to another embodiment;
FIG. 7 is a detailed flowchart of a video processing method according to another embodiment;
FIG. 8 is a block diagram showing the structure of a video processing apparatus according to one embodiment;
FIG. 9 is a block diagram showing the construction of a video processing apparatus according to another embodiment;
FIG. 10 is a block diagram showing a detailed structure of a video processing apparatus according to another embodiment;
FIG. 11 is a block diagram showing the construction of a video processing apparatus according to another embodiment;
FIG. 12 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The video processing method provided by the application can be applied to the application environment shown in fig. 1. The controlled end 102, the control end 104 and the tested end 106 may communicate through a network, and the communication mode may be Wi-Fi, mobile network or bluetooth connection; and the controlled terminal 102 and the control terminal 104 can be connected locally or remotely. The controlled end 102, the control end 104, and the tested end 106 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the controlled end 102, the control end 104, and the tested end 106 may also be implemented by an independent server or a server cluster formed by a plurality of servers. In this embodiment, the controlled terminal 102 may install an application program for switching a video format, and the control terminal 104 may call a script to connect the application program installed by the controlled terminal 102. A specific procedure of the video processing method will be described in the following embodiments. In this embodiment, the execution subject for implementing the video processing method may be the controlled terminal 102, the control terminal 104, or the tested terminal 106, and the following embodiments will describe specific processes of the video processing method.
In one embodiment, as shown in fig. 2, a video processing method is provided, which is described by taking the method as an example applied to the controlled terminal 102 in fig. 1, and includes the following steps:
s100, receiving a video format switching instruction sent by a control end, wherein the video format switching instruction carries target switching information, and the video format switching instruction is generated and sequentially sent by the control end according to different target switching information at target switching time intervals.
Specifically, the controlled end 102 may receive a video format switching instruction sent by the control end 104. Generally, when a certain tested terminal needs to be tested, the control terminal 104 sends the video format switching instruction to the controlled terminal 102 periodically or as needed. In addition, the video format switching instruction may further include an identifier of the tested end, so as to send the switched video signal to the corresponding tested end after the format switching is completed. Optionally, the target switching information may be video brightness, video color saturation, video resolution, playing speed, playing sound size, or video volume when the initial video signal is output.
And S110, carrying out format switching on the initial video signal through the target switching information to obtain a target video signal.
Specifically, the controlled terminal 102 may perform format switching on the initial video signal according to target switching information carried by the received video format switching instruction, and switch the initial video format of the initial video signal to a target switching format to obtain a corresponding target video signal. Optionally, the target switching information may be switching information predefined according to an application requirement of a user, and the specific information and the value of the switching information are not limited in this embodiment. Optionally, the format switching step may be understood as a corresponding format switching step according to the target switching information, such as video brightness switching, video color saturation switching, video resolution switching, video playing speed switching, video playing sound size switching, or video volume switching.
And S120, sending the target video signal to the tested terminal so that the tested terminal outputs the target video signal.
It is understood that after the controlled terminal 102 performs the format switching, the target video signal is obtained, and the controlled terminal 102 may send the obtained target video signal to the tested terminal 106, so that the tested terminal 106 can output the target video signal. Wherein, the tested terminal 106 can output the target video signal in the form of video.
In the video processing method provided by this embodiment, the controlled end can receive the video format switching instruction sent by the control end, and perform format switching on the initial video signal through the target switching information to obtain the target video signal, and then send the target video signal to the tested end, so that the tested end outputs the target video signal, the method can remotely send or receive the video format switching instruction according to the preset target switching information, and further realize a set of automatic processing video format switching process according to the received video format switching instruction, and can output the initial video signal in different video formats under the condition of meeting the actual requirements of the user, thereby avoiding the operation of modifying the target switching information by the user locally logging in the PC end, reducing the human resources for video format switching, and improving the switching speed for video format switching, thereby improving the output efficiency of the target video signal.
As one embodiment, the target switching information includes a target resolution; in the above step S110, the format of the initial video signal is switched through the target switching information to obtain the target video signal, which may be specifically implemented through the following steps: and switching the initial resolution of the initial video signal to the target resolution through the target resolution to obtain the target video signal.
In this embodiment, the target switching information may be a target resolution, that is, the controlled terminal 102 performs resolution switching of the initial video signal. Optionally, the controlled terminal 102 may switch the initial resolution of the initial video signal to the target resolution through the target resolution carried in the video format switching instruction, so as to obtain the target video signal. Alternatively, the initial resolution of the initial video signal may not be the same as the target resolution. The video signal obtained after format switching may be a target video signal or not; the resolution of the video signal obtained after the format switching may be the target resolution or may not be the target resolution, but in this embodiment, the resolution of the target video signal is the target resolution.
In the video processing method, the controlled terminal can switch the initial resolution of the initial video signal to the target resolution through the target resolution to obtain the target video signal, and then send the target video signal to the tested terminal so that the tested terminal outputs the target video signal; the method can realize the process of automatically processing the video format switching, avoids the operation that a user modifies the target switching information at a local login PC end, reduces the human resources for video format switching, and improves the switching speed of the video format switching, thereby improving the output efficiency of the target video signal.
In one embodiment, as shown in fig. 3, a video processing method is provided, which is described by taking the method as an example applied to the control end 104 in fig. 1, and includes the following steps:
and S200, sequentially generating a video format switching instruction according to different target switching information according to the target switching time interval.
Specifically, the control end 104 may generate one or more video format switching instructions according to the preset target switching information according to the target switching time interval. Wherein, one video format switching instruction may instruct the controlled terminal 102 to perform one format switching. It can be understood that the generated video format switching instruction carries target switching information. Alternatively, the target switching time interval may be understood as a time interval for generating two adjacent video format switching commands. Optionally, the target switching information may be switching information that is pre-defined by the control end 104 according to an application requirement of the user, and the specific information and the value of the switching information are not limited in this embodiment. Optionally, the target switching information may be resolution, playing speed, playing sound size, or video volume when the initial video signal is output. Optionally, the video format switching instruction may be used to instruct the control terminal 104 to perform video format switching on the initial video signal by the control terminal 102.
S210, sending video format switching instructions to the controlled end in sequence according to the target switching time interval, wherein the video format switching instructions are used for indicating the controlled end to carry out format switching on the initial video signal through the target switching information, and obtaining the target video signal.
Specifically, after obtaining the video format switching instruction, the control terminal 104 may send the video format switching instruction to the controlled terminal 102 to instruct the controlled terminal 102 to perform format switching on the initial video signal through the target switching information, so as to obtain the target video signal.
In this embodiment, the control end 104 may sequentially generate a plurality of corresponding video format switching instructions according to the target switching time interval and the corresponding target switching information, and the control end 104 may sequentially send each generated target switching information to the controlled end 102 according to the target switching time interval.
In the video processing method provided by this embodiment, the control end may sequentially generate video format switching instructions according to different target switching information according to a target switching time interval, and sequentially send the video format switching instructions to the controlled end according to the target switching time interval, so as to instruct the controlled end to perform format switching on the initial video signal through the target switching information, so as to obtain a target video signal; the method can automatically generate a video format switching instruction according to the target switching information, then realize automatic sending, send the video format switching instruction to the controlled end, indicate the controlled end to automatically switch the format of the initial video signal through the target switching information to obtain the target video signal, avoid the operation that a user locally logs in a PC end to modify the target switching information, reduce the human resources for video format switching, and improve the switching speed for video format switching.
In another scenario, in order to verify whether the format switching process is successful and ensure the reliability of the format switching process, on the basis of fig. 3, as shown in fig. 4, the method may further include the following steps:
s220, when the preset time length after the video format switching instruction is sent is reached, sending a current switching information query instruction to the tested end, and receiving current switching information corresponding to the video signal obtained after the format switching is fed back by the tested end according to the current switching information query instruction.
Specifically, the control end 104 may send the current switching information query instruction to the tested end 106 when the preset duration after the video format switching instruction is sent to the controlled end 102 is reached. Optionally, the preset duration may be any value as long as the duration of one format switching process can be satisfied, that is, the preset duration may be greater than or equal to the duration of one format switching process. Optionally, the current switching information query instruction may be used to query current switching information of the video signal obtained after the format switching processing by the test end 106. Optionally, after the tested terminal 106 responds to the current switching information query instruction, the current switching information of the video signal obtained after the format switching processing may be fed back to the control terminal 104. Optionally, the video signal obtained after the format switching process may be a target video signal or may not be the target video signal.
The current handover information and the target handover information may correspond to each other. If the target switching information is the target resolution, the current switching information can be the current resolution; the target switching information is the target video volume size, the current switching information may be the current video volume size, and so on.
And S230, matching the current switching information with the target switching information, and determining a matching result, wherein the matching result is used for indicating whether the format switching of the initial video signal is successful.
Specifically, the control end 104 may match the obtained current handover information with the target handover information to determine a matching result. The matching process may be understood as comparing whether the two switching information are consistent.
The step of matching the current handover information with the target handover information in S230 to obtain a matching result may specifically include: if the current switching information is the same as the target switching information, the matching result indicates that the format switching is successful; and if the current switching information is different from the target switching information, the matching result indicates that the format switching fails.
In this embodiment, if the control end 104 determines that the current switching information is consistent with the target switching information, it may represent that the format switching of the initial video signal is successful, and at this time, the tested end 106 may determine the video signal obtained after the format switching as the target video signal; if the control end 104 determines that the current switching information is inconsistent with the target switching information, it may characterize that the format switching of the initial video signal fails, and at this time, the video signal obtained after the format switching by the tested end 106 cannot be determined as the target video signal.
In addition, in some scenarios, in order to output a video signal obtained after format switching on the basis of ensuring that format switching is successful, the video processing method may further include: and if the matching result indicates that the format switching is successful, sending a video output instruction to the tested end, wherein the video output instruction is used for indicating the tested end to output the target video signal.
It can be understood that, when the matching result obtained by the control end 104 indicates that the format switching is successful, at this time, the control end 104 may send a video output instruction to the tested end 106 to instruct the tested end 106 to output the target video signal. Optionally, the target video signal may be a video signal obtained after format switching.
In the video processing method, the controlled terminal can send a current switching information query instruction to the tested terminal when a preset time length after sending the video format switching instruction is reached, receive current switching information corresponding to the video signal obtained after the tested terminal feeds back format switching according to the current switching information query instruction, match the current switching information with the target switching information to determine a matching result, and further indicate whether the target video signal can be output currently according to the matching result; the method can realize a set of automatic video format switching processing process to meet the requirements of users on video format switching, reduces manual processing process, shortens the period of video format switching, saves labor cost and further improves the switching speed of video format switching.
In one scenario, in order to implement an automatic processing video format switching process, a video format switching instruction carrying target switching information needs to be automatically generated first, so as shown in fig. 5, the step of sequentially generating video format switching instructions according to different target switching information in S200 according to a target switching time interval may specifically include the following steps:
s201, sequentially acquiring each target switching information from a target switching information list according to the target switching time interval and the target switching cycle number, wherein the target switching information list comprises a plurality of switching resolutions.
Specifically, the control end 104 may sequentially obtain each target handover information from the target handover information list according to the target handover time interval and the target handover cycle number. If the target switching information is the target resolution, the target switching information list may include a plurality of target resolutions, target switching time intervals, and target switching cycle numbers.
Wherein, the following table 1 is an example of a target switching information list, where in table 1, there are 3 target resolution data, a first target resolution is 320 × 180ppi, and a corresponding target switching time interval is 4s, that is, the control terminal 104 instructs the controlled terminal 102 to switch the initial resolution of the initial video signal to 320 × 180ppi, and executes the next resolution switching process after waiting for 4s, that is, the control terminal 104 instructs the controlled terminal 102 to switch the initial resolution of the initial video signal to 350 × 200ppi (i.e., a second target resolution), and then continues to wait for 5s and execute the next resolution switching process, that is, the control terminal 104 instructs the controlled terminal 102 to switch the initial resolution of the initial video signal to 400 × 260ppi (i.e., a third target resolution); the above resolution switching processing is performed 3 times in total (i.e., the target switching cycle number), and the target switching time interval corresponding to the third target resolution in table 1 is empty, which represents the target resolution corresponding to the last resolution switching processing.
TABLE 1
Figure BDA0003156073000000111
And S202, generating corresponding video format switching instructions according to the target switching information.
Specifically, the control end 104 may generate each corresponding video format switching instruction according to each target switching information in the target switching information list.
According to the video processing method, the control end can generate a plurality of corresponding video format switching instructions according to a plurality of preset target switching information, and automatic cyclic switching of video formats is achieved according to the plurality of video format switching instructions, so that the requirements of users on video format switching are met, more manual processing processes are reduced, the period of video format switching is shortened, the labor cost is saved, the switching speed of video format switching is greatly improved, cyclic switching is quicker and more convenient, format switching processing can be performed on a large number of videos, and the duration of format switching is greatly shortened.
In one embodiment, as shown in fig. 6, a video processing method is provided, which is described by taking the method as an example applied to the tested terminal 106 in fig. 1, and includes the following steps:
and S300, receiving the target video signal sent by the controlled terminal. The target video signal is a video signal obtained by format switching of the initial video signal according to target switching information in the video format switching instruction after the controlled terminal receives the video format switching instruction sent by the control terminal, and the video format switching instruction is an instruction which is generated and sequentially sent by the control terminal according to different target switching information at target switching time intervals.
Specifically, the tested terminal 106 may receive a video signal obtained after the format switching process is performed by the controlled terminal 102, and the video signal may be a target video signal or may not be the target video signal. If the format switching is successful, the obtained video signal may be a target video signal; if the controlled terminal 102 fails to switch the format, the obtained video signal is not the target video signal. In this embodiment, when the format switching is successful, the controlled terminal 102 may send the video signal obtained after the format switching to the tested terminal 106, and use the video signal as the target video signal.
And S310, outputting the target video signal.
Specifically, the terminal under test 106 may output a target video signal. Wherein the target video signal may be a video signal satisfying the target switching information.
In the video processing method, the tested end can receive the target video signal obtained after the format switching processing is carried out by the controlled end and output the target video signal, so that the initial video signal can be displayed in different video formats, and the display effect of the video signal is richer.
In another scenario, in order to verify whether the format switching process is successful and ensure the reliability of the format switching process to output the video signal in the format required by the user, as shown in fig. 7, the video processing method may further include the steps of:
and S320, receiving a current switching information query instruction sent by the control end, and feeding back current switching information corresponding to the video signal obtained after format switching to the control end according to the current switching information query instruction.
Specifically, the tested terminal 106 may receive a current switching information query instruction sent by the control terminal 104, and feed back, to the control terminal 104, current switching information corresponding to the video signal obtained after the queried format is switched according to the current switching information query instruction. Optionally, the current switching information query instruction may be used to query current switching information of the video signal obtained after the format switching processing by the test end 106. Optionally, the current handover information may be target handover information or may not be the target handover information. In this embodiment, if the controlled terminal 102 is successfully configured to switch the format, the current switching information may be the target switching information; if the controlled terminal 102 fails to switch the format, the current switching information is not the target switching information.
S330, if the matching success command sent by the control end is received, executing the step of outputting the target video signal.
In this embodiment, if the tested terminal 106 receives the matching success instruction sent by the control terminal 104, the step of characterizing the format switching process executed by the controlled terminal 102 is successful, at this time, the video signal after format switching received by the tested terminal 106 may be referred to as a target video signal, and the tested terminal 106 may output the received target video signal, and display the target video signal in the form of a video.
In the video processing method, the tested end can take the video signal sent by the controlled end as the target video signal and output the target video signal when the format switching processing is successful, so that the initial video signal can be displayed in different video formats, and the display effect of the video signal is richer.
With continued reference to fig. 1, another embodiment provides a specific structural diagram of a video processing system; the video processing system includes: controlled terminal 102, control terminal 104, and tested terminal 106.
The controlled end 102 is configured to perform the method in the embodiment corresponding to fig. 2;
the control end 104 is configured to perform the method in any one of the embodiments corresponding to fig. 3 to 5;
the tested terminal 106 is used for executing the method in any one of the embodiments corresponding to fig. 6 to 7.
The video processing system provided in this embodiment can execute the above method embodiments, and the implementation principle and technical effect are similar, which are not described herein again.
It should be understood that although the various steps in the flow charts of fig. 2-7 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-7 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 8, there is provided a video processing apparatus including: a switching instruction receiving module 10, a format switching module 11 and a target signal sending module 12, wherein:
a switching instruction receiving module 10, configured to receive a video format switching instruction sent by a control end, where the video format switching instruction carries target switching information, and the video format switching instruction is an instruction that is generated and sequentially sent by the control end according to different target switching information at target switching time intervals;
the format switching module 11 is configured to perform format switching on the initial video signal through the target switching information to obtain a target video signal;
and a target signal sending module 12, configured to send the target video signal to the terminal to be tested, so that the terminal to be tested outputs the target video signal.
The video processing apparatus provided in this embodiment can execute the above method embodiments, and the implementation principle and technical effect are similar, which are not described herein again.
In one embodiment, the target switching information includes a target resolution; the format switching module 11 is specifically configured to switch the initial resolution of the initial video signal to the target resolution according to the target resolution, so as to obtain the target video signal.
The video processing apparatus provided in this embodiment can execute the above method embodiments, and the implementation principle and technical effect are similar, which are not described herein again.
In one embodiment, as shown in fig. 9, there is provided a video processing apparatus including: a switching instruction generating module 20 and a switching instruction sending module 21, wherein:
a switching instruction generating module 20, configured to sequentially generate video format switching instructions according to different target switching information according to target switching time intervals;
and a switching instruction sending module 21, configured to send a video format switching instruction to the controlled end in sequence according to the target switching time interval, where the video format switching instruction is used to instruct the controlled end to perform format switching on the initial video signal through the target switching information, so as to obtain a target video signal.
The video processing apparatus provided in this embodiment can execute the above method embodiments, and the implementation principle and technical effect are similar, which are not described herein again.
In one embodiment, based on fig. 9, as shown in fig. 10, the video processing apparatus further includes: a query instruction switching module 22 and a matching module 23, wherein:
the query instruction switching module 22 is configured to send a current switching information query instruction to the tested end when a preset time length after sending the video format switching instruction is reached, and receive current switching information corresponding to a video signal obtained after format switching is fed back by the tested end according to the current switching information query instruction;
a matching module 23, configured to match the current switching information with the target switching information, and determine a matching result, where the matching result is used to indicate whether format switching of the initial video signal is successful.
The video processing apparatus provided in this embodiment can execute the above method embodiments, and the implementation principle and technical effect are similar, which are not described herein again.
In one embodiment, the matching module 23 includes: a first determining unit and a second determining unit, wherein:
the first determining unit is used for indicating that the format switching is successful according to the matching result when the current switching information is the same as the target switching information;
and the second determining unit is used for indicating the format switching failure by the matching result when the current switching information is different from the target switching information.
The video processing apparatus provided in this embodiment can execute the above method embodiments, and the implementation principle and technical effect are similar, which are not described herein again.
In one embodiment, the video processing apparatus further includes: an output instruction sending module, wherein:
and the output instruction sending module is used for sending a video output instruction to the tested end when the matching result indicates that the format switching is successful, wherein the video output instruction is used for indicating the tested end to output a target video signal, and the target video signal is a video signal obtained after the format switching.
The video processing apparatus provided in this embodiment can execute the above method embodiments, and the implementation principle and technical effect are similar, which are not described herein again.
In one embodiment, the switching instruction generating module 20 includes: a switching information acquisition unit and a switching instruction generation unit, wherein:
a switching information obtaining unit, configured to obtain each piece of target switching information in sequence from a target switching information list according to a target switching time interval and a target switching cycle number, where the target switching information list includes multiple switching resolutions;
and the switching instruction generating unit is used for generating corresponding video format switching instructions according to the target switching information.
The video processing apparatus provided in this embodiment can execute the above method embodiments, and the implementation principle and technical effect are similar, which are not described herein again.
In one embodiment, as shown in fig. 11, there is provided a video processing apparatus including: a target signal receiving module 30 and a target signal output module 31, wherein:
a target signal receiving module 30, configured to receive a target video signal sent by a controlled end; the target video signal is a video signal obtained by format switching of an initial video signal according to target switching information in a video format switching instruction after the controlled terminal receives the video format switching instruction sent by the control terminal, and the video format switching instruction is an instruction which is generated and sequentially sent by the control terminal according to different target switching information at a target switching time interval;
and a target signal output module 31 for outputting a target video signal.
The video processing apparatus provided in this embodiment can execute the above method embodiments, and the implementation principle and technical effect are similar, which are not described herein again.
In one embodiment, the video processing apparatus further includes: the device comprises a query instruction receiving module and an execution step determining module, wherein:
the query instruction receiving module is used for receiving a current switching information query instruction sent by the control end and feeding back current switching information corresponding to the video signal obtained after format switching to the control end according to the current switching information query instruction;
and the execution step determination module is used for executing the step of outputting the target video signal when receiving the matching success command sent by the control end.
The video processing apparatus provided in this embodiment can execute the above method embodiments, and the implementation principle and technical effect are similar, which are not described herein again.
For specific limitations of the video processing apparatus, reference may be made to the above limitations of the video processing method, which is not described herein again. The various modules in the video processing apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 12. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing target handover information. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a video processing method.
Those skilled in the art will appreciate that the architecture shown in fig. 12 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor when executing the computer program implementing the steps of:
receiving a video format switching instruction sent by a control end, wherein the video format switching instruction carries target switching information, and the video format switching instruction is generated and sequentially sent by the control end according to different target switching information at target switching time intervals;
carrying out format switching on the initial video signal through the target switching information to obtain a target video signal;
and sending the target video signal to the tested terminal so that the tested terminal outputs the target video signal.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor when executing the computer program further implementing the steps of:
sequentially generating a video format switching instruction according to different target switching information according to a target switching time interval;
and sequentially sending a video format switching instruction to the controlled terminal according to the target switching time interval, wherein the video format switching instruction is used for indicating the controlled terminal to switch the format of the initial video signal through the target switching information to obtain a target video signal.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor when executing the computer program further implementing the steps of:
receiving a target video signal sent by a controlled terminal; the target video signal is a video signal obtained by format switching of an initial video signal according to target switching information in a video format switching instruction after the controlled terminal receives the video format switching instruction sent by the control terminal, and the video format switching instruction is an instruction which is generated and sequentially sent by the control terminal according to different target switching information at a target switching time interval;
the target video signal is output.
In one embodiment, a readable storage medium is provided, on which a computer program is stored, which computer program, when executed by a processor, may carry out the steps of:
receiving a video format switching instruction sent by a control end, wherein the video format switching instruction carries target switching information, and the video format switching instruction is generated and sequentially sent by the control end according to different target switching information at target switching time intervals;
carrying out format switching on the initial video signal through the target switching information to obtain a target video signal;
and sending the target video signal to the tested terminal so that the tested terminal outputs the target video signal.
In one embodiment, a readable storage medium is provided, having stored thereon a computer program which, when executed by a processor, further performs the steps of:
sequentially generating a video format switching instruction according to different target switching information according to a target switching time interval;
and sequentially sending a video format switching instruction to the controlled terminal according to the target switching time interval, wherein the video format switching instruction is used for indicating the controlled terminal to switch the format of the initial video signal through the target switching information to obtain a target video signal.
In one embodiment, a readable storage medium is provided, having stored thereon a computer program which, when executed by a processor, further performs the steps of:
receiving a target video signal sent by a controlled terminal; the target video signal is a video signal obtained by format switching of an initial video signal according to target switching information in a video format switching instruction after the controlled terminal receives the video format switching instruction sent by the control terminal, and the video format switching instruction is an instruction which is generated and sequentially sent by the control terminal according to different target switching information at a target switching time interval;
the target video signal is output.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (13)

1. A method of video processing, the method comprising:
receiving a video format switching instruction sent by a control end, wherein the video format switching instruction carries target switching information, and the video format switching instruction is generated and sequentially sent by the control end according to different target switching information at target switching time intervals;
carrying out format switching on the initial video signal through the target switching information to obtain a target video signal;
and sending the target video signal to a tested end so that the tested end outputs the target video signal.
2. The method of claim 1, wherein the target handover information comprises a target resolution; the format switching of the initial video signal through the target switching information to obtain the target video signal includes:
and switching the initial resolution of the initial video signal to the target resolution through the target resolution to obtain the target video signal.
3. A method of video processing, the method comprising:
sequentially generating a video format switching instruction according to different target switching information according to a target switching time interval;
and sequentially sending a video format switching instruction to the controlled end according to the target switching time interval, wherein the video format switching instruction is used for indicating the controlled end to switch the format of the initial video signal through the target switching information to obtain a target video signal.
4. The method of claim 3, further comprising:
when the preset duration after the video format switching instruction is sent reaches, sending a current switching information query instruction to a tested end, and receiving current switching information corresponding to a video signal obtained after format switching is fed back by the tested end according to the current switching information query instruction;
and matching the current switching information with the target switching information, and determining a matching result, wherein the matching result is used for indicating whether the format switching of the initial video signal is successful.
5. The method of claim 4, wherein the matching the current handover information with the target handover information to obtain a matching result comprises:
if the current switching information is the same as the target switching information, the matching result indicates that the format switching is successful;
and if the current switching information is not the same as the target switching information, the matching result indicates that format switching fails.
6. The method of claim 5, further comprising:
and if the matching result indicates that the format switching is successful, sending a video output instruction to the tested end, wherein the video output instruction is used for indicating the tested end to output the target video signal, and the target video signal is a video signal obtained after the format switching.
7. The method according to any one of claims 3-6, wherein sequentially generating video format switching commands according to different target switching information according to the target switching time interval comprises:
sequentially acquiring each target switching information from a target switching information list according to a target switching time interval and a target switching cycle number, wherein the target switching information list comprises a plurality of switching resolutions;
and generating the corresponding video format switching instruction according to the target switching information.
8. A method of video processing, the method comprising:
receiving a target video signal sent by a controlled terminal; the target video signal is a video signal obtained by format switching of an initial video signal according to target switching information in a video format switching instruction after the controlled terminal receives the video format switching instruction sent by the control terminal, and the video format switching instruction is an instruction which is generated and sequentially sent by the control terminal according to different target switching information at target switching time intervals;
and outputting the target video signal.
9. The method of claim 8, further comprising:
receiving a current switching information query instruction sent by the control terminal, and feeding back current switching information corresponding to the video signal obtained after format switching to the control terminal according to the current switching information query instruction;
and if a matching success command sent by the control end is received, executing the step of outputting the target video signal.
10. A video processing system, the system comprising: the device comprises a controlled end, a control end and a tested end;
the controlled terminal is used for executing the steps of the method of any one of claims 1-2;
the control terminal is used for executing the steps of the method of any one of claims 3-7;
the tested terminal is used for executing the steps of the method of any one of claims 8-9.
11. A video processing apparatus, characterized in that the apparatus comprises:
the switching instruction receiving module is used for receiving a video format switching instruction sent by a control end, wherein the video format switching instruction carries target switching information, and the video format switching instruction is generated and sequentially sent by the control end according to different target switching information at target switching time intervals;
the format switching module is used for carrying out format switching on the initial video signal through the target switching information to obtain a target video signal;
and the target signal sending module is used for sending the target video signal to a tested end so that the tested end outputs the target video signal.
12. A video processing apparatus, characterized in that the apparatus comprises:
the switching instruction generating module is used for sequentially generating a video format switching instruction according to different target switching information according to a target switching time interval;
and the switching instruction sending module is used for sequentially sending a video format switching instruction to the controlled end according to the target switching time interval, wherein the video format switching instruction is used for indicating the controlled end to switch the format of the initial video signal through the target switching information to obtain a target video signal.
13. A video processing apparatus, characterized in that the apparatus comprises:
the target signal receiving module is used for receiving a target video signal sent by the controlled terminal; the target video signal is a video signal obtained by format switching of an initial video signal according to target switching information in a video format switching instruction after the controlled terminal receives the video format switching instruction sent by the control terminal, and the video format switching instruction is an instruction which is generated and sequentially sent by the control terminal according to different target switching information at target switching time intervals;
and the target signal output module is used for outputting the target video signal.
CN202110779765.XA 2021-07-09 2021-07-09 Video processing method, system and device Pending CN113613037A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110779765.XA CN113613037A (en) 2021-07-09 2021-07-09 Video processing method, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110779765.XA CN113613037A (en) 2021-07-09 2021-07-09 Video processing method, system and device

Publications (1)

Publication Number Publication Date
CN113613037A true CN113613037A (en) 2021-11-05

Family

ID=78304333

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110779765.XA Pending CN113613037A (en) 2021-07-09 2021-07-09 Video processing method, system and device

Country Status (1)

Country Link
CN (1) CN113613037A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103501436A (en) * 2013-09-24 2014-01-08 深圳Tcl新技术有限公司 Reproduction ratio testing method and system
US20190089999A1 (en) * 2015-01-30 2019-03-21 Inscape Data, Inc. Methods for identifying video segments and displaying option to view from an alternative source and/or on an alternative device
CN110493592A (en) * 2018-05-14 2019-11-22 腾讯科技(深圳)有限公司 Video time delay measuring method, device, computer equipment and storage medium
CN110569188A (en) * 2019-08-14 2019-12-13 平安普惠企业管理有限公司 method and device for automatically switching test environment, computer equipment and storage medium
CN110677601A (en) * 2019-09-06 2020-01-10 北京小鸟科技股份有限公司 Intelligent video source switching system and intelligent video source switching method
CN111708824A (en) * 2020-06-17 2020-09-25 龙芯中科技术有限公司 Data processing method, device, equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103501436A (en) * 2013-09-24 2014-01-08 深圳Tcl新技术有限公司 Reproduction ratio testing method and system
US20190089999A1 (en) * 2015-01-30 2019-03-21 Inscape Data, Inc. Methods for identifying video segments and displaying option to view from an alternative source and/or on an alternative device
CN110493592A (en) * 2018-05-14 2019-11-22 腾讯科技(深圳)有限公司 Video time delay measuring method, device, computer equipment and storage medium
CN110569188A (en) * 2019-08-14 2019-12-13 平安普惠企业管理有限公司 method and device for automatically switching test environment, computer equipment and storage medium
CN110677601A (en) * 2019-09-06 2020-01-10 北京小鸟科技股份有限公司 Intelligent video source switching system and intelligent video source switching method
CN111708824A (en) * 2020-06-17 2020-09-25 龙芯中科技术有限公司 Data processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110825456B (en) Loading time calculation method, loading time calculation device, computer equipment and storage medium
CN105589783A (en) Application program lag problem data obtaining method and device
CN110968331B (en) Method and device for running application program
CN104756080A (en) Augmenting capabilities of a host device
CN109901881B (en) Plug-in loading method and device of application program, computer equipment and storage medium
CN111341315B (en) Voice control method, device, computer equipment and storage medium
CN109324857B (en) User guide implementation method, device and storage medium
CN111400246B (en) Asynchronous file import method, device, computer equipment and storage medium
CN111949314A (en) Method and device for generating application installation package, server and storage medium
CN115391219A (en) Test case generation method and device, electronic equipment and storage medium
CN114286167A (en) Cross-device interaction method and device, electronic device and storage medium
CN103544039A (en) Plug-in loading processing method and device
CN112596820A (en) Resource loading method, device, equipment and storage medium
CN113613037A (en) Video processing method, system and device
CN114610446B (en) Method, device and system for automatically injecting probe
CN111966530A (en) Disaster recovery switching method and device for application system, computer equipment and storage medium
CN110998524A (en) Method for processing configuration file, processing unit, touch chip, device and medium
CN109992482B (en) Method, device, computer equipment and storage medium for observing middleware destructor
WO2016188227A1 (en) Intelligent terminal shortcut establishment method and device
CN113761588A (en) Data verification method and device, terminal equipment and storage medium
CN114070892A (en) Data transmission method and device
CN113805854A (en) Method, system and device for realizing Hook of application layer based on Linux system and storage medium
CN112783866A (en) Data reading method and device, computer equipment and storage medium
CN112149951A (en) Risk control method and device, computer equipment and storage medium
CN111124907A (en) Mobile phone game testing method and device and server

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