Video data encoding method, device, system, chip, equipment and storage medium
By directly utilizing the ROI information generated by the camera subsystem for video encoding on the smart terminal, the problems of high system overhead and high power consumption are solved, achieving efficient and low-power ROI information encoding and improving the display effect of video images.
Patent Information
- Application Number
- CN202211667814.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-23
- Publication Date
- 2025-11-11
- Estimated Expiration
- 2042-12-23
AI Technical Summary
Existing technologies for acquiring Region of Interest (ROI) information on smart terminals suffer from high system overhead and power consumption, impacting video data encoding efficiency and user experience.
Video encoding is performed directly using the ROI information generated by the camera subsystem to avoid repeated extraction, and the accuracy of the ROI information is ensured through initial video modification and verification.
It significantly reduces the overall power consumption of video data encoding, improves the accuracy of ROI information and the display effect of video images, and enhances processing efficiency.
Smart Images

Figure CN118250467B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to, but is not limited to, the field of video technology, and in particular to a video data encoding method, apparatus, system, chip, device, and storage medium. Background Technology
[0002] With the widespread adoption of smart devices and the development of mobile internet applications, various third-party video applications have emerged and become widely used, such as short video applications and live streaming applications. Besides focusing on video quality, the extended video recording and live streaming capabilities of mobile devices place higher demands on power consumption control. Furthermore, to continuously improve the usability of these video applications, it may be necessary to specifically highlight the main subject or the object being showcased; therefore, it is essential to emphasize the region of interest (ROI) within the frame.
[0003] As can be seen, how to efficiently and effectively acquire and transmit ROI information on smart terminals is a direction that many third-party video applications are constantly exploring and improving. Summary of the Invention
[0004] This disclosure provides a video data encoding method, apparatus, system, chip, device, and storage medium. Within the existing terminal system framework, video data encoding is performed based on the ROI information already generated by the camera subsystem. This overcomes the system overhead required for third-party video applications to call other dedicated sub-modules to extract ROI information. It effectively reduces the overall overhead of video data encoding, ensures the accuracy of ROI information, and significantly improves the display effect of video images containing ROI information.
[0005] This disclosure provides a video data encoding method, including:
[0006] Obtain the first region of interest (ROI) information from the camera subsystem;
[0007] Video encoding is performed based on the first ROI information and the video data to be encoded.
[0008] This disclosure also provides a video data encoding apparatus, including:
[0009] The acquisition module is configured to acquire the first region of interest (ROI) information from the camera subsystem.
[0010] The control module is configured to perform video encoding based on the first ROI information and the video data to be encoded.
[0011] This disclosure also provides a video data encoding system, including:
[0012] Camera subsystem, video application module, and video encoding subsystem;
[0013] The camera subsystem is configured to generate information about the first region of interest (ROI).
[0014] The video application module is configured to acquire the first ROI information from the camera subsystem and send the first ROI information and the video data to be encoded into the video encoding subsystem for video encoding.
[0015] This disclosure also provides a chip, including a processor, the processor being configured to:
[0016] Perform the video data encoding method as described in any embodiment of this disclosure.
[0017] This disclosure also provides an electronic device, including:
[0018] One or more processors;
[0019] Storage device for storing one or more programs.
[0020] When the one or more programs are executed by the one or more processors, the one or more processors implement the video data encoding method as described in any embodiment of this disclosure.
[0021] This disclosure also provides a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the video data encoding method as described in any embodiment of this disclosure.
[0022] After reading and understanding the accompanying diagrams and detailed descriptions, the other aspects can be understood. Attached Figure Description
[0023] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.
[0024] Figure 1 This is a schematic diagram of the region of interest;
[0025] Figure 2 This is a framework diagram of a video data encoding system in an implementable scheme;
[0026] Figure 3 This is a flowchart of a video data encoding method provided in an embodiment of the present invention;
[0027] Figure 4 This is a flowchart of another video data encoding method provided in an embodiment of the present invention;
[0028] Figure 5 This is a flowchart of another video data encoding method provided in an embodiment of the present invention;
[0029] Figure 6 This is a schematic diagram of the structure of a video data encoding device provided in an embodiment of the present invention;
[0030] Figure 7 This is a schematic diagram of a video data encoding system provided in an embodiment of the present invention;
[0031] Figure 8 This is another video data encoding system framework diagram provided by an embodiment of the present invention.
[0032] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0033] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.
[0034] It should be noted that in this invention, the use of terms such as "first," "second," etc., is for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this invention, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0035] Furthermore, the technical solutions of the various embodiments of the present invention can be combined with each other, but only if they are feasible for those skilled in the art. If the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such combination of technical solutions does not exist and is not within the scope of protection claimed by the present invention.
[0036] Before describing the specific embodiments, the abbreviations of the relevant terms involved in this disclosure are explained as follows:
[0037]
[0038]
[0039]
[0040] In some feasible machine vision and image processing solutions, the region to be processed is delineated from the image using rectangles, circles, ellipses, irregular polygons, etc., and is called the region of interest (ROI). Figure 1 As shown, this region is the focus of image analysis. Delineating this region for further processing, using the Region of Interest (ROI) to define the target (such as a person or object of interest) in the image, can reduce processing time and increase accuracy. Various operators and functions are commonly used in machine vision software such as Halcon, OpenCV, and Matlab to find the ROI and perform further image processing.
[0041] Some third-party video applications that can implement this, such as Figure 2 As shown, based on a typical terminal system architecture, third-party video applications employ a dedicated ROI information extraction module before video encoding. For example, an ROI Manager module controls a VCS PP module. This preprocessing module produces a small YUV image, which is then sent to a GNPU module for processing to obtain a QP map containing ROI information. This QP map with ROI information is then sent to the subsequent video encoding module for encoding. It can be seen that this implementation uses modules such as ROI Manager, VCS PP, and GNPU to obtain ROI information, naturally resulting in significant power consumption. This power consumption is not negligible for high-power-consuming scenarios such as live streaming or long-duration video playback.
[0042] Research has found that the ROI information displayed during video data decoding and playback is consistent with the ROI information determined during video recording in many scenarios. Furthermore, the ROI information generated during video recording is generally of high accuracy, fully meeting the requirements for playback display. Therefore, the ROI information generated by the camera subsystem on the terminal during video generation can be utilized. This avoids the system overhead of extracting ROI information again using other dedicated software / hardware modules, as is common in other feasible solutions. This not only reduces overall power consumption but also significantly improves the processing efficiency of third-party video applications.
[0043] It should be noted that the third-party video applications mentioned in this disclosure are video applications other than the camera function (application) of the mobile terminal itself for taking pictures or recording videos. Third-party video applications generally call the basic picture taking and / or route functions provided by the camera subsystem in the terminal to obtain the initial video data, and then perform their own function superimposition processing to save it locally, or encode it and transmit it to an external system or device.
[0044] This disclosure provides a video data encoding method, such as... Figure 3 As shown, it includes:
[0045] Step 310: Obtain the first region of interest (ROI) information from the camera subsystem;
[0046] Step 320: Perform video encoding based on the first ROI information and the video data to be encoded.
[0047] In some exemplary embodiments, the video data to be encoded is initial video data from the camera subsystem; alternatively, the video data to be encoded is obtained by a third-party video application modifying the initial video data. For example, the initial video data may be subjected to beautification, local deformation, local mosaic, etc., and the modification method is not limited to specific modifications.
[0048] It is understood that in some exemplary embodiments, when capturing video data, high-performance processing modules such as the algorithm module and the Visual Neural Network Processing Unit (VNPU) in the camera subsystem can calculate accurate ROIs, and correspondingly generate first ROI information when generating video data. In step 310, obtaining the first ROI information can be real-time data obtained from the camera subsystem; it can also be historical data generated and saved by the camera subsystem; it is not limited to any particular aspect. In some exemplary embodiments, such as... Figure 4 As shown, it also includes:
[0049] Step 311: Verify whether the video data to be encoded has been modified compared to the initial video data generated by the camera subsystem. If it is determined that it has not been modified, proceed to step 320.
[0050] In some exemplary embodiments, assuming that the data has not been modified, the first ROI information and the data to be encoded are sent to the video encoding subsystem for video encoding.
[0051] In some exemplary embodiments, such as Figure 5 As shown, it also includes:
[0052] Step 311: Verify whether the video data to be encoded has been modified compared to the initial video data generated by the camera subsystem. If it is determined that it has been modified, proceed to step 330.
[0053] Step 330: Extract the second ROI information based on the video data to be encoded;
[0054] Step 340: Perform video encoding based on the second ROI information and the video data to be encoded.
[0055] In some exemplary embodiments, steps 320 and 340 involve video encoding in the video encoding subsystem, that is, sending the first ROI information and the video data to be encoded into the video encoding subsystem for encoding; or sending the second ROI information and the video data to be encoded into the video encoding subsystem for encoding.
[0056] In some exemplary embodiments, the video data to be encoded includes YUV (luminance parameter and chrominance parameter), and step 330 includes:
[0057] The initial YUV is preprocessed using the VCS PP module to obtain a compressed, smaller-sized YUV.
[0058] The small-sized YUV is processed by the GNPU module to obtain a QP map containing the second ROI information.
[0059] The detailed process of preprocessing by the VCS PP module can be found in the relevant implementation and will not be discussed in detail here; the detailed process of obtaining the QP map by the GNPU module can be found in the relevant implementation and will not be discussed in detail here.
[0060] It should be noted that the video data to be encoded may also include other data, not limited to the aspects exemplified in the embodiments of this disclosure. This depends on the selected camera subsystem and / or video encoding subsystem.
[0061] It is understood that in the above-described solution provided in this disclosure, when the video data to be encoded has not been modified compared to the initial video data generated by the camera subsystem, since the first ROI information is generated when the camera subsystem generates the initial video data, i.e., the first ROI information and the video data to be encoded are matched, the first ROI information from the camera subsystem can be directly obtained before subsequent video encoding. When the video data to be encoded has been modified, a dedicated module is used to extract the second ROI information before subsequent video encoding. This allows for the direct use of the high-precision first ROI information already generated by the camera subsystem when the initial video data has not been modified, thereby saving power consumption and improving operating efficiency. However, when the initial video data has been modified, the second ROI information is re-extracted based on the modified video data to be encoded to avoid inconsistencies between the first ROI information and the actual ROI information corresponding to the modified video data to be encoded.
[0062] In some exemplary embodiments, the method further includes:
[0063] Obtain initial video modification verification data from the camera subsystem;
[0064] The initial video modification verification data is used to verify whether the video data to be encoded has been modified compared to the initial video data generated by the camera subsystem.
[0065] Accordingly, in step 311, the obtained initial video modification verification data is used to verify whether the video data to be encoded has been modified compared to the initial video data generated by the camera subsystem.
[0066] In some exemplary embodiments, the initial video modification verification data is determined after encrypting the luminance and / or chrominance parameters in the initial video data generated by the camera subsystem.
[0067] That is, the luminance and / or chrominance parameters in the initial video data generated by the camera subsystem are encrypted according to the set key and the first encryption algorithm, and the resulting encrypted data is determined as the initial video modification verification data.
[0068] Accordingly, in step 311, the luminance and / or chrominance parameters in the video data to be encoded are encrypted according to the corresponding key and the first encryption algorithm. The resulting encrypted data is compared with the initial video modification verification data to determine whether it has been modified. If the obtained encrypted data matches the initial video modification verification data, it is determined that it has not been modified; if they do not match, it is determined that it has been modified.
[0069] In some exemplary embodiments, the first encryption algorithm is a symmetric encryption algorithm. For example, the DES algorithm, the 3DES algorithm, etc.; it is not limited to a specific encryption algorithm.
[0070] In some exemplary embodiments, the initial video modification verification data is determined after signing the luminance and / or chrominance parameters in the initial video data generated by the camera subsystem.
[0071] That is, based on the private key of the camera subsystem, the luminance and / or chrominance parameters in the initial video data generated by the camera subsystem are signed using the second encryption algorithm, and the resulting signed data is determined as the initial video modification verification data.
[0072] Accordingly, in step 311, based on the corresponding public key and the luminance and / or chrominance parameters in the video data to be encoded, a second encryption algorithm is used to verify the initial video modification check data to confirm whether it has been modified. If the verification passes, it is determined that it has not been modified; if the verification fails, it is determined that it has been modified.
[0073] In some exemplary embodiments, the second encryption algorithm is an asymmetric encryption algorithm. For example, the RSA algorithm, elliptic curve algorithm, etc.; it is not limited to a specific encryption algorithm.
[0074] It should be noted that the initial video modification verification data can also be determined according to other schemes and verified accordingly in step 311 to verify whether the video data to be encoded has been modified compared to the initial video data generated by the camera subsystem, and is not limited to the aspects exemplified in the embodiments of this disclosure.
[0075] This disclosure also provides a video data encoding device, such as... Figure 6 As shown, it includes:
[0076] The acquisition module 610 is configured to acquire the first region of interest (ROI) information from the camera subsystem.
[0077] The control module 620 is configured to perform video encoding based on the first ROI information and the video data to be encoded.
[0078] In some exemplary embodiments, the apparatus further includes:
[0079] The verification module is configured to verify whether the video data to be encoded has been modified compared to the initial video data generated by the camera subsystem.
[0080] In some exemplary embodiments, the apparatus further includes an ROI extraction module configured to extract second ROI information based on the video data to be encoded.
[0081] In some exemplary embodiments, the control module 620 is configured to perform video encoding based on the first ROI information and the video data to be encoded if it is determined that the data has not been modified; and to perform video encoding based on the second ROI information and the video data to be encoded if it is determined that the data has been modified.
[0082] In some exemplary embodiments, the video encoding is performed in a video encoding subsystem, that is, the control module 620 sends the first ROI information and the video data to be encoded into the video encoding subsystem for video encoding, or sends the second ROI information and the video data to be encoded into the video encoding subsystem for video encoding.
[0083] In some exemplary embodiments, the video data to be encoded includes YUV (luminance parameter and chrominance parameter), and the ROI extraction module is configured to preprocess the initial YUV through the VCS PP module to obtain a compressed small-size YUV; and process the small-size YUV through the GNPU module to obtain a QP map containing second ROI information.
[0084] This disclosure also provides a video data encoding system, such as... Figure 7 As shown, it includes:
[0085] Camera subsystem 710, video application module 720, and video encoding subsystem 730;
[0086] The camera subsystem 710 is configured to generate information about a first region of interest (ROI).
[0087] The video application module 720 is configured to acquire the first ROI information from the camera subsystem 710 and send the first ROI information and the video data to be encoded into the video encoding subsystem 730 for video encoding.
[0088] In some exemplary embodiments, the video application module 720 is further configured to verify whether the video data to be encoded has been modified compared to the initial video data generated by the camera subsystem, and if it is determined that it has not been modified, send the first ROI information and the video data to be encoded into the video encoding subsystem 730 for video encoding.
[0089] In some exemplary embodiments, the system further includes an ROI extraction module configured to extract second ROI information based on the video data to be encoded.
[0090] In some exemplary embodiments, the video application module 720 is further configured to, when it is determined that the video data to be encoded has been modified compared to the initial video data generated by the camera subsystem, obtain the second ROI information from the ROI extraction module, and send the second ROI information and the video data to be encoded into the video encoding subsystem 730 for video encoding.
[0091] In some exemplary embodiments, the camera subsystem 710 is further configured to generate initial video modification verification data based on the initial video data generated by the camera subsystem.
[0092] In some exemplary embodiments, the initial video modification verification data is determined after being encrypted based on the luminance and / or chrominance parameters in the video.
[0093] In some exemplary embodiments, the video application module 720 is further configured to obtain initial video modification verification data from the camera subsystem, and verify whether the video data to be encoded has been modified compared to the initial video data generated by the camera subsystem based on the initial video modification verification data.
[0094] This disclosure also provides a video data encoding system, such as... Figure 8 As shown, it includes:
[0095] Application layer APP 810, system framework layer Framework 820, hardware abstraction layer (HAL) 830 and driver & hardware layer 840;
[0096] The application layer APP 810 deploys video application 8101, which calls the camera service 8201 provided by the system framework layer and obtains the first ROI information and initial video data from the camera subsystem 8401 of the driver and hardware layer through the camera hardware abstraction module 8301 of the hardware abstraction layer.
[0097] The video application 8101 calls the media encoding service 8202 provided by the system framework layer, and sends the video data to be encoded and the first ROI information to the video encoding subsystem 8402 of the driver and hardware layer for encoding through the encoder component 8302 of the hardware abstraction layer.
[0098] The video encoding subsystem 8402 returns the encoded bitstream to the video application 8101.
[0099] In some exemplary embodiments, the hardware abstraction layer 830 also deploys a UMD ROI extraction module (UMD ROIManager) and a GNPU hardware abstraction module;
[0100] The ROI extraction module is configured to: control the preprocessing module of the video encoding subsystem at the driver and hardware layer to preprocess the video data to be encoded to obtain small-size video data; further configured to: control the GNPU at the driver and hardware layer to perform calculations on the small-size video data through the GNPU hardware abstraction module, extract the second ROI information and send it to the video encoding subsystem 8402; and further configured to: control the video encoding subsystem 8402 to encode the sent second ROI information and the video data to be encoded.
[0101] In some exemplary embodiments, the hardware abstraction layer 830 further deploys a verification module for verifying whether the video data to be encoded has been modified compared to the initial video data generated by the camera subsystem; if the verification shows no modification, the video data to be encoded and the first ROI information are sent to the video encoding subsystem 8402 for encoding; if the verification shows modification, the video data to be encoded and the second ROI information are sent to the video encoding subsystem 8402 for encoding.
[0102] It is understandable that the verification module in the hardware abstraction layer 830, upon verifying that the data to be encoded has been modified, calls the UMD ROI extraction module to obtain the second ROI information before sending it to the video encoding subsystem 8402 for encoding. That is, before encoding, ROI information is obtained through different pathways based on the verification results of the verification module, and then encoding is performed. Only in scenarios where the initial video data has been partially modified is it beneficial to use a dedicated UMD ROI extraction module to obtain the (second) ROI information. For scenarios where the initial video data has not been modified, more accurate (first) ROI information is obtained directly from the camera subsystem.
[0103] In some exemplary embodiments, Figure 8 The data indicated by data stream 1 includes: initial video data and initial video modification verification data; the data indicated by data stream 2 includes: video data to be encoded and initial video modification verification data, or, the data indicated by data stream 2 includes: video data to be encoded and initial video modification verification results.
[0104] It should be noted that, Figure 8 The video encoding system and its module architecture shown are an optional embodiment of the video encoding scheme provided in this disclosure, and are not limited to a specific system hierarchy or functional module division. Flexibility can be applied according to the selected terminal system.
[0105] This disclosure also provides a chip, including a processor, the processor being configured to:
[0106] Perform the video data encoding method as described in any embodiment of this disclosure.
[0107] This disclosure also provides an electronic device, including:
[0108] One or more processors;
[0109] Storage device for storing one or more programs.
[0110] When the one or more programs are executed by the one or more processors, the one or more processors implement the video data encoding method as described in any embodiment of this disclosure.
[0111] In some exemplary embodiments, the electronic device is a smartphone, a personal computer, or other smart terminal.
[0112] This disclosure also provides a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the video data encoding method as described in any embodiment of this disclosure.
[0113] As can be seen, compared to some feasible solutions where the video application calls the terminal system framework encoding service and then extracts ROI information from the video data to be encoded before encoding, this disclosure provides a video data encoding scheme that expands the channels for obtaining ROI information and proposes a scheme to directly obtain the generated ROI information from the camera subsystem. This significantly improves the encoding efficiency of video data containing ROI information, avoids the system overhead of extracting ROI information based on the video data to be encoded, and reduces overall power consumption. In some exemplary embodiments, initial video modification verification data is introduced to verify whether the data to be encoded has been modified compared to the initial video data generated by the camera subsystem. If it has not been modified, the ROI information of the camera subsystem is directly obtained; if it has been modified, the ROI information is extracted from the modified video data to be encoded. This can further improve the accuracy of using ROI information from different sources, and improve the user experience of the overall solution while taking into account power consumption and processing efficiency.
[0114] It will be understood by those skilled in the art that all or some of the steps, systems, or apparatuses disclosed above, and their functional modules / units, can be implemented as software, firmware, hardware, or suitable combinations thereof. In hardware implementations, the division between functional modules / units mentioned above does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed collaboratively by several physical components. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit (ASIC). Such software may be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0115] The above description is only a preferred embodiment of the present invention and does not limit the patent scope of the present invention. All equivalent structural transformations made under the concept of the present invention using the contents of the present invention specification and drawings, or direct / indirect applications in other related technical fields, are included within the patent protection scope of the present invention.
Claims
1. A video data encoding method, characterized in that, include: Obtain the first region of interest (ROI) information from the camera subsystem; Obtain initial video modification verification data from the camera subsystem; Based on the initial video modification verification data, verify whether the video data to be encoded has been modified compared to the initial video data generated by the camera subsystem; If it is determined that the video data to be encoded has not been modified compared to the initial video data, video encoding is performed based on the first ROI information and the video data to be encoded; If it is determined that the video data to be encoded has been modified compared to the initial video data, second ROI information is extracted from the video data to be encoded; video encoding is performed based on the second ROI information and the video data to be encoded.
2. The video data encoding method as described in claim 1, characterized in that, The initial video modification verification data is determined by encrypting or signing the luminance and / or chrominance parameters in the initial video data generated by the camera subsystem.
3. A video data encoding device, characterized in that, include: The acquisition module is configured to acquire the first region of interest (ROI) information from the camera subsystem. The verification module is configured to modify the verification data based on the initial video from the camera subsystem and verify whether the video data to be encoded has been modified compared to the initial video data generated by the camera subsystem. The control module is configured to perform video encoding based on the first ROI information and the video data to be encoded, provided that the video data to be encoded has not been modified compared to the initial video data. It is further configured to extract second ROI information based on the video data to be encoded when it is determined that the video data to be encoded has been modified compared to the initial video data; and to perform video encoding based on the second ROI information and the video data to be encoded.
4. A video data encoding system, characterized in that, include: Camera subsystem, video application module, and video encoding subsystem; The camera subsystem is configured to generate first region of interest (ROI) information and initial video modification verification data. The video application module is configured to: acquire the first ROI information and the initial video modification verification data from the camera subsystem; verify, based on the initial video modification verification data, whether the video data to be encoded has been modified compared to the initial video data generated by the camera subsystem; and, if it is determined that the video data to be encoded has not been modified compared to the initial video data, send the first ROI information and the video data to be encoded into the video encoding subsystem for video encoding. If it is determined that the video data to be encoded has been modified compared to the initial video data, second ROI information is extracted from the video data to be encoded; video encoding is performed based on the second ROI information and the video data to be encoded.
5. A chip, characterized in that, Includes a processor, said processor being configured to: Perform the video data encoding method as described in any one of claims 1-2.
6. An electronic device, characterized in that, include: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the video data encoding method as described in any one of claims 1-2.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the video data encoding method as described in any one of claims 1-2.
Citation Information
Patent Citations
Video processing method and related device
CN111131825A
Video processing device and method, and computer storage medium
CN114554212A