CN113473147A - Post-processing method and device of video code stream and computer readable storage medium - Google Patents

Post-processing method and device of video code stream and computer readable storage medium Download PDF

Info

Publication number
CN113473147A
CN113473147A CN202110536449.XA CN202110536449A CN113473147A CN 113473147 A CN113473147 A CN 113473147A CN 202110536449 A CN202110536449 A CN 202110536449A CN 113473147 A CN113473147 A CN 113473147A
Authority
CN
China
Prior art keywords
slave
code stream
slave device
sub
post
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.)
Granted
Application number
CN202110536449.XA
Other languages
Chinese (zh)
Other versions
CN113473147B (en
Inventor
邵恒康
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202110536449.XA priority Critical patent/CN113473147B/en
Publication of CN113473147A publication Critical patent/CN113473147A/en
Application granted granted Critical
Publication of CN113473147B publication Critical patent/CN113473147B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/40Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video transcoding, i.e. partial or full decoding of a coded input stream followed by re-encoding of the decoded output stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/154Measured or subjectively estimated visual quality after decoding, e.g. measurement of distortion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application discloses a video code stream post-processing method, a device and a computer readable storage medium, wherein the method is applied to a main device in a video post-processing device, the video post-processing device also comprises a plurality of slave devices, and the method comprises the following steps: splitting the video code stream to obtain a plurality of paths of sub-code streams; screening out a first slave device and a second slave device, wherein the decoding capability of the second slave device is less than or equal to a first preset decoding capability; sending at least part of the sub-code stream of the second slave device to the first slave device so that the first slave device transcodes at least part of the sub-code stream to generate a transcoded code stream, wherein the transcoded code stream comprises a base layer code stream, and the frame rate of the base layer code stream is less than that of the sub-code stream; sending the base layer code stream to second slave equipment so that the second slave equipment can intelligently analyze the base layer code stream to generate an analysis result; and receiving and storing the transcoding code stream and the analysis result. By the method, the decoding performance consumption of the slave equipment with insufficient decoding resources can be reduced.

Description

Post-processing method and device of video code stream and computer readable storage medium
Technical Field
The present application relates to the field of intelligent monitoring technologies, and in particular, to a method and an apparatus for post-processing a video stream, and a computer-readable storage medium.
Background
The current intelligent storage product includes a main control and an intelligent card, where the intelligent card receives a video code stream to be analyzed through media such as a Peripheral Component Interconnect Express (PCIE) Bus, a network, or a Universal Serial Bus (USB), and then decodes, analyzes, and reports an intelligent analysis result to the main control. The smart cards are independent of each other, the performance of the smart cards is limited by various factors, and the resource utilization rate of the smart cards is not high.
Disclosure of Invention
The application provides a post-processing method and device of a video code stream and a computer readable storage medium, which can reduce the decoding performance consumption of slave equipment with insufficient decoding resources.
In order to solve the technical problem, the technical scheme adopted by the application is as follows: the method is applied to a main device in a video post-processing device, the video post-processing device also comprises a plurality of slave devices connected with the main device, and the method comprises the following steps: splitting the obtained video code stream to obtain a plurality of paths of sub code streams; screening a first slave device and a second slave device from a plurality of slave devices, wherein the decoding capability of the second slave device is smaller than or equal to a first preset decoding capability; sending at least part of the sub-code stream of the second slave device to the first slave device so that the first slave device transcodes at least part of the sub-code stream to generate a transcoded code stream, wherein the transcoded code stream comprises a base layer code stream, and the frame rate of the base layer code stream is less than that of at least part of the sub-code stream; sending the base layer code stream to second slave equipment so that the second slave equipment can intelligently analyze the base layer code stream to generate an analysis result; and receiving and storing the transcoding code stream and the analysis result.
In order to solve the above technical problem, another technical solution adopted by the present application is: the main device comprises a memory and a processor which are connected with each other, wherein the memory is used for storing a computer program, and the computer program is used for realizing the post-processing method of the video code stream in the technical scheme when being executed by the processor.
In order to solve the above technical problem, another technical solution adopted by the present application is: the video post-processing device comprises a master device and a plurality of slave devices connected with the master device, wherein the master device is the master device in the technical scheme.
In order to solve the above technical problem, another technical solution adopted by the present application is: a computer-readable storage medium is provided, which is used for storing a computer program, and when the computer program is executed by a processor, the computer program is used for implementing the post-processing method of the video code stream in the above technical solution.
Through the scheme, the beneficial effects of the application are that: splitting the obtained video code stream to generate a plurality of paths of sub-code streams; then screening out a first slave device and a second slave device from all slave devices, wherein the second slave device is a slave device with insufficient decoding capability; extracting a part of sub-code streams from all sub-code streams sent to the second slave equipment for intelligent analysis and processing and sending the part of sub-code streams to the first slave equipment; the first slave equipment transcodes the sub-code stream sent by the main equipment to generate a transcoded code stream, and sends a basic layer code stream in the transcoded code stream to the second slave equipment for intelligent analysis processing; because the frame rate of the base layer code stream is lower than that of the sub-code stream to be processed by the original second slave device, the decoding performance consumption of the second slave device is reduced, the decoding path number of the second slave device is increased, the decoding capability and the intelligent analysis processing capability of each slave device can be fully utilized, and the resource utilization rate of the slave device is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts. Wherein:
fig. 1 is a schematic flowchart of an embodiment of a video bitstream post-processing method provided in the present application;
fig. 2 is a schematic flowchart of another embodiment of a video bitstream post-processing method provided in the present application;
FIG. 3 is a schematic structural diagram of an embodiment of a master device provided herein;
FIG. 4 is a schematic structural diagram of an embodiment of a video post-processing apparatus provided in the present application;
FIG. 5 is a schematic structural diagram of an embodiment of a computer-readable storage medium provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The intelligent storage product adopted at present specifically has the following problems:
1) for the current service data stream, the performance of the smart card mainly has decoding capability and intelligent capability, generally speaking, the decoding capability of the smart card is to support decoding 16 streams 1080P @30Fps, the intelligent capability is to perform face intelligent analysis on 8 streams, and the following situations may occur in practical use:
a. full intelligence capability but excess decoding capability, for example: and 8-path 1080P face intelligent analysis is started, and 8-path 1080P @30Fps decoding capability is remained at the moment.
b. Full decoding capability but excess intelligent capability, for example: 4-path 4K face detection is started, and at the moment, 4-path face intelligent analysis capacity is remained.
2) At present, the full frame rate is not achieved during intelligent analysis, for intelligent analysis of human faces, only 12 frames/s are actually analyzed, and for an input video source of 30Fps, only half of video frames are actually sent to the intelligent analysis.
3) Smart cards have powerful video coding capabilities but are not used in products.
The problem to be solved by the application is to utilize the surplus coding/decoding performance of the intelligent card to carry out transcoding processing on the obtained code stream, and the basic layer code stream in the transcoded code stream is sent to the intelligent card for analysis, so that the purposes of improving the resource utilization rate of the intelligent card and improving the intelligent specification of a product are achieved.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating an embodiment of a method for post-processing a video bitstream, where the method is applied to a master device in a video post-processing apparatus, the video post-processing apparatus includes the master device and a plurality of slave devices connected to the master device, and the method includes:
step 11: and splitting the acquired video code stream to obtain a plurality of paths of sub code streams.
The main device obtains a video code stream from an external device, the main device is a device with a control function, the external device may be a front-end device, a hard disk or other end-side devices, that is, the video code stream may be a code stream (denoted as a front-end code stream) sent by the front-end device or a code stream (denoted as a hard disk code stream) read from the hard disk.
After the main equipment acquires the video code stream, the video code stream can be split to generate a plurality of paths of sub code streams, and then the sub code streams are distributed to corresponding slave equipment to be decoded and/or intelligently analyzed; such as: the master device can issue the corresponding subcode stream to the slave device for intelligent analysis and processing aiming at the client configuration.
Step 12: a first slave device and a second slave device are screened from a plurality of slave devices.
After the main device acquires the video code stream, in order to determine to which slave device the sub code stream is distributed for processing, the main device can screen out a first slave device and a second slave device from all the slave devices according to a preset rule; specifically, the slave device may be a smart card, the first slave device is a slave device with a current decoding capability remaining, the second slave device is a slave device with a current smart capability remaining but insufficient decoding capability, and the decoding capability of the second slave device is less than/equal to the first preset decoding capability.
Step 13: and sending at least part of the sub-code stream of the second slave device to the first slave device so that the first slave device transcodes at least part of the sub-code stream to generate a transcoded code stream.
The method comprises the steps that the main device sends at least one part of the sub-code streams sent to the second slave device to the first slave device, the first slave device transcodes the sub-code streams sent by the main device and corresponding to the second slave device to generate transcoded code streams, and the transcoded code streams are sent to the second slave device, wherein the transcoded code streams comprise base layer (base) code streams, the frame rate of the base layer code streams is smaller than that of at least part of the sub-code streams, namely, the code streams generated after transcoding are lower than the code rate of original sub-code streams.
For example, the master device divides 8 paths of sub-code streams to the second slave device for processing, but the second slave device cannot currently support decoding of 8 paths of sub-code streams, and can only decode 4 paths of sub-code streams, then the master device sends the other 4 paths of sub-code streams to the first slave device for transcoding, and after transcoding by the first slave device, the frame rate of a code stream (i.e., a base layer code stream) to be processed by the second slave device decreases.
Step 14: and sending the base layer code stream to second slave equipment, so that the second slave equipment carries out intelligent analysis on the base layer code stream to generate an analysis result.
The second slave device intelligently analyzes and processes the transcoding code stream, generates an analysis result and sends the analysis result to the master device; specifically, the intelligent analysis includes face detection/recognition, personnel number statistics, personnel behavior recognition, regional intrusion detection, traffic safety monitoring or fire and theft prevention monitoring.
Step 15: and receiving and storing the transcoding code stream and the analysis result.
And after receiving the transcoding code stream reported by the first slave device and the analysis result reported by the second slave device, the master device stores the transcoding code stream and the analysis result so as to be used for subsequent analysis and processing.
It is understood that the number of the first slave devices is not limited to one, and the setting can be selected according to the specific application; for example, if transcoding processing of at least part of the sub-code stream of the second slave device by using one first slave device cannot meet the requirement, one first slave device is added, and transcoding processing of at least part of the sub-code stream of the second slave device is performed by using two first slave devices.
The embodiment provides a method for post-processing a video code stream, which can split the video code stream acquired from a front end, a hard disk or other end side equipment to generate a plurality of sub-code streams; then extracting a part of sub-code streams from the sub-code streams sent to the second slave equipment for intelligent analysis processing, sending the part of sub-code streams to the first slave equipment, transcoding the sub-code streams by the first slave equipment to generate transcoded code streams, and sending basic layer code streams in the transcoded code streams to the second slave equipment for intelligent analysis processing; the frame rate of the base layer code stream is lower than that of the sub-code stream to be processed by the original second slave device, so that the decoding performance consumption of the second slave device is reduced, the intelligent capability of the first slave device and the decoding capability of the second slave device can be fully utilized, the resource utilization rate of the slave devices is improved, and the intelligent specification of products is improved.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating another embodiment of a method for post-processing a video bitstream according to the present application, where the method is applied to a master device in a video post-processing apparatus, the video post-processing apparatus includes the master device and a plurality of slave devices connected to the master device, and the method includes:
step 21: and splitting the acquired video code stream to obtain a plurality of paths of sub code streams.
Step 21 is the same as step 11 in the above embodiment, and is not described again here.
Step 22: the slave devices satisfying the first preset condition are regarded as first slave devices, and the slave devices satisfying the second preset condition are regarded as second slave devices.
The first preset condition comprises that the current intelligent capability of the slave equipment is smaller than or equal to the first preset intelligent capability, and the current decoding capability of the slave equipment is larger than or equal to the second preset decoding capability; the second preset condition comprises that the current intelligent capability of the slave equipment is greater than or equal to the second preset intelligent capability, and the current decoding capability of the slave equipment is less than or equal to the first preset decoding capability; specifically, the first preset intelligent capability is smaller than the second preset intelligent capability, and the first preset decoding capability is smaller than the second decoding intelligent capability.
Further, the first preset intelligent capability is the minimum value of the intelligent capability of the slave device, and the second preset intelligent capability is the maximum value of the intelligent capability of the slave device; the first preset decoding capability is a minimum value of the decoding capability of the slave device, and the second preset decoding capability is a maximum value of the decoding capability of the slave device. For example, the value of the smart/decoding capability is 0-100, the larger the value is, the stronger the capability is, the first preset smart capability is 0, the second preset smart capability is 100, the first preset decoding capability is 0, and the second preset decoding capability is 100.
In a specific embodiment, the master device searches a plurality of slave devices to determine whether there is a slave device satisfying a first preset condition; if the slave equipment meeting the first preset condition exists, recording the slave equipment meeting the first preset condition as first slave equipment; searching the rest slave devices except the first slave device to determine whether slave devices meeting a second preset condition exist; and if the slave equipment meeting the second preset condition exists, recording the slave equipment meeting the second preset condition as second slave equipment.
In another specific embodiment, in order to ensure that the number of the first slave devices and the number of the second slave devices are both one, the slave devices may be selected by using the identification serial number, that is, the slave devices have the identification serial numbers, and when there are at least two slave devices satisfying the first preset condition, the slave device with the minimum/maximum identification serial number is selected as the first slave device; and when at least two slave devices meeting a second preset condition exist, selecting the slave device with the minimum/maximum identification serial number as a second slave device. Or searching according to the size sequence of the identification serial number, stopping finding once the current slave equipment is judged to meet a first preset condition, and recording the current slave equipment as first slave equipment; and when the current slave equipment is judged to meet the second preset condition, stopping finding the current slave equipment, and recording the current slave equipment as second slave equipment.
It can be understood that the searching order of the first slave device and the second slave device is not limited to the above scheme, and the second slave device may be searched first, and after the second slave device meeting the condition is found, the first slave device is found; or the first slave device and the second slave device may search at the same time, that is, the current slave device is judged twice, and whether the first slave device and the second slave device meet the first preset condition and the second preset condition is judged.
Step 23: and sending at least part of the sub-code stream of the second slave device to the first slave device so that the first slave device transcodes at least part of the sub-code stream to generate a time domain scalable coding code stream.
The transcoding code stream is a time-domain Scalable Video Coding (SVC-T) code stream, and the first slave device is used for decoding the sub-code stream after receiving the sub-code stream to obtain a decoded sub-code stream; coding the decoded subcode stream to obtain an SVC-T code stream; specifically, the decoded sub-stream may be a YUV stream, and the SVC-T stream includes a base layer stream, an enhancement layer (enhance) stream, and an Instantaneous Decoding Refresh (IDR) stream.
In a specific embodiment, the path number of the sub-code stream distributed to the second slave device is calculated first and recorded as a first number of paths; then, selecting a second number of paths of sub-code streams from the first number of paths of sub-code streams and sending the second number of paths of sub-code streams to the first slave equipment; specifically, the second number of paths may be determined according to the decoding path number of the sub-stream currently supported by the first slave device, such as: the second number of ways is equal to the remaining number of decoding ways of the first slave device.
Then judging whether the residual decoding path number of the first slave equipment is less than the second number of paths, namely confirming whether the first slave equipment has the capability of decoding the subcode stream of the second number of paths; if the residual decoding path number of the first slave equipment is smaller than the second number of paths, it is indicated that the residual decoding capability of the current first slave equipment is insufficient to decode the sub-code streams of the second number of paths, and at this time, other slave equipment is used for transcoding the sub-code streams of the third number of paths to generate corresponding transcoded code streams.
Further, the third number of ways is equal to a difference value between the second number of ways and the remaining decoding number of ways of the first slave device, and the other slave devices are slave devices except the first device and the second slave device and satisfying the first preset condition.
Step 24: and sending the base layer code stream to second slave equipment, so that the second slave equipment carries out intelligent analysis on the base layer code stream to generate an analysis result.
Step 25: and receiving and storing the transcoding code stream and the analysis result.
Steps 24 to 25 are the same as steps 14 to 15 in the above embodiment, and are not described again.
In a specific embodiment, the number of the first slave devices and the second slave devices is taken as one example for explanation.
(1) And inquiring whether the slave devices with full intelligent capability and residual decoding capability exist at present, and if so, recording as the first slave device.
For example, the first slave device currently needs to perform intelligent analysis on 8 paths of 1080P sub-streams, the decoding capability is still remained, and 8 1080P @30fps sub-streams can be decoded.
(2) And inquiring whether the slave equipment with full decoding capability but residual intelligent capability exists at present, and if so, recording as second slave equipment.
For example, the second slave device currently performs intelligent analysis on 4 paths of 4K sub-code streams, the intelligent capability is still remained, and the 4 paths of sub-code streams can be intelligently analyzed.
(3) 2 of the 4 paths of sub code streams of the second slave device are sent to the intelligent 1 for transcoding, and the transcoded code stream is sent to the master device.
The first slave device decodes 2 paths of 4K sub-code streams by using the residual decoding capacity of 8P @30fps, and then performs SVC-T coding to obtain a code stream (namely a base layer code stream) containing a base layer and a code stream (namely an enhancement layer code stream) containing an enhance layer.
(4) And the main equipment sends the base layer code stream generated after transcoding to the second slave equipment for intelligent analysis.
Because the frame rate of the basic layer code stream is only 1/2 (namely 4K @15Fps) of the original sub-code stream, the intelligent analysis of the face requires that the frame rate is more than 12Fps, therefore, the code stream meets the intelligent analysis requirement, the decoding performance consumption is optimized from the original 4X 4K @30Fps to (2X 4K @30Fps + 2X 4K @15Fps), and the decoding performance of 1 4K @30Fps is saved. At this time, the decoding capability of the second slave device is 4K @30Fps, the intelligent capability is 4 paths, and the 4 paths of 1080P @30Fps face intelligent analysis can be started.
Compared with the existing scheme, the scheme adopted by the embodiment breaks through the independent use mode of each slave device, the master device adaptively schedules the redundant performance (including decoding capability, coding capability and intelligent capability) of each slave device, for the code stream with large resolution, the code stream with large resolution is transcoded into the SVC-T code stream by using the coding and decoding resources with the residual slave devices (namely the first slave devices), the frame rate of the base layer code stream in the SVC-T code stream is lower, the decoding performance consumption of the second slave devices with insufficient decoding resources is reduced, and therefore the purpose of improving the intelligent specification is achieved.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an embodiment of a host device provided in the present application, where the host device 30 includes a memory 31 and a processor 32 connected to each other, the memory 31 is used for storing a computer program, and the computer program is used for implementing a post-processing method of a video bitstream in the foregoing embodiment when being executed by the processor 32.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an embodiment of a video post-processing apparatus provided in the present application, where the video post-processing apparatus 40 includes a master device 41 and a plurality of slave devices 42 connected to the master device 41, where the master device 41 is the master device in the foregoing embodiment.
The embodiment provides a post-intelligent optimization scheme combining the characteristics of SVC-T code streams and the form of an intelligent product, transcoding processing is performed by using the redundant coding and decoding capacity of slave equipment, and as only the base layer code stream in the SVC-T code streams is used for intelligent analysis, the master-slave communication bandwidth can be optimized, the decoding performance consumption of the slave equipment is reduced, the decoding path number of the slave equipment is increased, and finally the purpose of improving the intelligent specification of the product by adopting hardware the same as that in the existing scheme is achieved.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an embodiment of a computer-readable storage medium provided in the present application, where the computer-readable storage medium 50 is used to store a computer program 51, and when the computer program 51 is executed by a processor, the computer program is used to implement a video stream post-processing method in the foregoing embodiment.
The computer readable storage medium 50 may be a server, a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various media capable of storing program codes.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules or units is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings, or which are directly or indirectly applied to other related technical fields, are intended to be included within the scope of the present application.

Claims (10)

1. A video code stream post-processing method is applied to a main device in a video post-processing device, the video post-processing device further comprises a plurality of slave devices connected with the main device, and the method comprises the following steps:
splitting the obtained video code stream to obtain a plurality of paths of sub code streams;
screening out a first slave device and a second slave device from the plurality of slave devices, wherein the decoding capacity of the second slave device is smaller than or equal to a first preset decoding capacity;
sending at least part of the sub-code stream of the second slave device to the first slave device, so that the first slave device transcodes the at least part of the sub-code stream to generate a transcoded code stream, wherein the transcoded code stream comprises a base layer code stream, and the frame rate of the base layer code stream is smaller than that of the at least part of the sub-code stream;
sending the base layer code stream to the second slave device, so that the second slave device performs intelligent analysis on the base layer code stream to generate an analysis result;
and receiving and storing the transcoding code stream and the analysis result.
2. The method of post-processing a video bitstream according to claim 1, wherein the step of selecting a first slave device and a second slave device from the plurality of slave devices comprises:
recording the slave equipment meeting the first preset condition as first slave equipment, and recording the slave equipment meeting the second preset condition as second slave equipment;
the first preset condition comprises that the current intelligent capability of the slave equipment is smaller than or equal to a first preset intelligent capability, and the current decoding capability of the slave equipment is larger than or equal to a second preset decoding capability; the second preset condition includes that the current intelligent capability of the slave device is greater than or equal to a second preset intelligent capability, and the current decoding capability of the slave device is less than or equal to the first preset decoding capability.
3. The method of post-processing of video streams as claimed in claim 2, wherein said step of recording slave devices satisfying a first preset condition as first slave devices and recording slave devices satisfying a second preset condition as second slave devices comprises:
searching the plurality of slave devices to determine whether slave devices meeting the first preset condition exist;
if the slave equipment meeting the first preset condition exists, recording the slave equipment meeting the first preset condition as the first slave equipment;
searching the rest of the slave devices except the first slave device to determine whether the slave devices meeting the second preset condition exist;
and if the slave equipment meeting the second preset condition exists, recording the slave equipment meeting the second preset condition as the second slave equipment.
4. The method of post-processing video bitstream according to claim 2, wherein the slave device has an identification serial number, the method further comprising:
when at least two slave devices meeting the first preset condition exist, selecting the slave device with the minimum/maximum identification serial number as the first slave device;
when at least two slave devices meeting the second preset condition exist, selecting the slave device with the minimum/maximum identification serial number as the second slave device.
5. The method of post-processing video streams of claim 2,
the first preset intelligent capability is the minimum value of the intelligent capability of the slave equipment, and the second preset intelligent capability is the maximum value of the intelligent capability of the slave equipment; the first preset decoding capability is the minimum value of the decoding capability of the slave device, and the second preset decoding capability is the maximum value of the decoding capability of the slave device.
6. The method of post-processing video streams of claim 1,
the first slave device is used for decoding the sub-code stream after receiving the sub-code stream to obtain a decoded sub-code stream; and coding the decoded subcode stream to obtain the time domain scalable coding stream.
7. The method of post-processing a video bitstream according to claim 1, further comprising:
calculating the path number of the sub code stream distributed to the second slave equipment, and recording the path number as a first number of paths;
selecting a second number of paths of sub-code streams from the first number of paths of sub-code streams and sending the second number of paths of sub-code streams to the first slave device;
judging whether the number of the residual decoding paths of the first slave equipment is less than the second number of paths;
if so, transcoding the sub-code streams of the third number of paths by using other slave devices to generate corresponding transcoded code streams;
wherein the third number of ways is equal to a difference between the second number of ways and a remaining number of decoded ways of the first slave device.
8. A host device, comprising a memory and a processor connected to each other, wherein the memory is configured to store a computer program, which when executed by the processor is configured to implement the method for post-processing of a video bitstream according to any one of claims 1 to 7.
9. A video post-processing apparatus comprising a master device and a plurality of slave devices connected to the master device, wherein the master device is the master device of claim 8.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, is configured to implement the method for post-processing of video streams according to any one of claims 1 to 7.
CN202110536449.XA 2021-05-17 2021-05-17 Post-processing method and device of video code stream and computer readable storage medium Active CN113473147B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110536449.XA CN113473147B (en) 2021-05-17 2021-05-17 Post-processing method and device of video code stream and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110536449.XA CN113473147B (en) 2021-05-17 2021-05-17 Post-processing method and device of video code stream and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113473147A true CN113473147A (en) 2021-10-01
CN113473147B CN113473147B (en) 2022-08-09

Family

ID=77870887

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110536449.XA Active CN113473147B (en) 2021-05-17 2021-05-17 Post-processing method and device of video code stream and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113473147B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115278305A (en) * 2022-05-12 2022-11-01 浙江大华技术股份有限公司 Video processing method, video processing system, and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104641651A (en) * 2012-06-12 2015-05-20 相干逻辑公司 A distributed architecture for encoding and delivering video content
CN109862396A (en) * 2019-01-11 2019-06-07 苏州科达科技股份有限公司 A kind of analysis method of video code flow, electronic equipment and readable storage medium storing program for executing
CN112714320A (en) * 2020-12-25 2021-04-27 杭州海康威视数字技术股份有限公司 Decoding method, decoding device and computer readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104641651A (en) * 2012-06-12 2015-05-20 相干逻辑公司 A distributed architecture for encoding and delivering video content
CN109862396A (en) * 2019-01-11 2019-06-07 苏州科达科技股份有限公司 A kind of analysis method of video code flow, electronic equipment and readable storage medium storing program for executing
CN112714320A (en) * 2020-12-25 2021-04-27 杭州海康威视数字技术股份有限公司 Decoding method, decoding device and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115278305A (en) * 2022-05-12 2022-11-01 浙江大华技术股份有限公司 Video processing method, video processing system, and storage medium
CN115278305B (en) * 2022-05-12 2024-05-07 浙江大华技术股份有限公司 Video processing method, video processing system, and storage medium

Also Published As

Publication number Publication date
CN113473147B (en) 2022-08-09

Similar Documents

Publication Publication Date Title
US12003743B2 (en) Video stream decoding method and apparatus, terminal device, and storage medium
EP3197167B1 (en) Image transmission method and apparatus
CN105451031B (en) Video transcoding method and system
AU2014373838B2 (en) Content-adaptive chunking for distributed transcoding
EP3099074B1 (en) Systems, devices and methods for video coding
CN113542795B (en) Video processing method and device, electronic equipment and computer readable storage medium
US10506241B2 (en) Method for determining block partition manner in video codec, and related apparatus
CN104850456A (en) Multi-process decoding method and multi-process decoding system
CN108289228B (en) Panoramic video transcoding method, device and equipment
US8923640B1 (en) Coherence groups: region descriptors for low bit rate encoding
CN105163127A (en) Video analysis method and device
CN107613302B (en) Decoding method and device, storage medium and processor
CN111669577A (en) Hardware decoding detection method and device, electronic equipment and storage medium
CN113473147B (en) Post-processing method and device of video code stream and computer readable storage medium
CN105451020A (en) Video compression method and device
CN110868610B (en) Streaming media transmission method, device, server and storage medium
US9344720B2 (en) Entropy coding techniques and protocol to support parallel processing with low latency
CN113099271A (en) Video auxiliary information encoding and decoding methods and electronic equipment
CN112040090A (en) Video stream processing method and device, electronic equipment and storage medium
CN110545446B (en) Desktop image encoding and decoding methods, related devices and storage medium
CN110572712B (en) Decoding method and device
CN112637538B (en) Smart tag method, system, medium, and terminal for optimizing video analysis
KR20230144620A (en) Point cloud encoding and decoding method, point cloud encoding and decoding device, computer-readable medium, and electronic device
CN114513674A (en) Interactive live broadcast data transmission/processing method, processing system, medium and server
CN110868596A (en) Distributed encoding method and device, electronic equipment and readable storage medium

Legal Events

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