Nothing Special   »   [go: up one dir, main page]

CN115103194A - Video decoding method based on multiple decoding modes - Google Patents

Video decoding method based on multiple decoding modes Download PDF

Info

Publication number
CN115103194A
CN115103194A CN202210686472.1A CN202210686472A CN115103194A CN 115103194 A CN115103194 A CN 115103194A CN 202210686472 A CN202210686472 A CN 202210686472A CN 115103194 A CN115103194 A CN 115103194A
Authority
CN
China
Prior art keywords
video
data
decoding
frame
merging
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
CN202210686472.1A
Other languages
Chinese (zh)
Other versions
CN115103194B (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.)
China Standard Intelligent Security Technology Co Ltd
Original Assignee
China Standard Intelligent Security 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 China Standard Intelligent Security Technology Co Ltd filed Critical China Standard Intelligent Security Technology Co Ltd
Priority to CN202210686472.1A priority Critical patent/CN115103194B/en
Publication of CN115103194A publication Critical patent/CN115103194A/en
Application granted granted Critical
Publication of CN115103194B publication Critical patent/CN115103194B/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/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/436Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation using parallelised computational arrangements
    • 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)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention provides a video decoding method based on multiple decoding modes, which is characterized in that video data from a video data source terminal is subjected to cutting conversion processing to obtain a plurality of video stream subdata, a plurality of video stream decoding modules of a video data decoding terminal are indicated to perform parallel decoding processing on all the video stream subdata so as to obtain corresponding video decoding data, and then video frame data marking processing is performed on each video decoding data; merging all the video decoding data according to the video frame data marking processing result of each video decoding data, thereby obtaining merged decoding data; according to the video decoding method, different video stream subdata is synchronously and parallelly decoded by different video decoding modules, so that synchronous decoding of multiple video stream subdata can be realized at the same time, the video data decoding efficiency is effectively improved, the video transmission time delay is reduced, and the reliability and stability of video data transmission are improved.

Description

Video decoding method based on multiple decoding modes
Technical Field
The invention relates to the technical field of video data processing, in particular to a video decoding method based on multiple decoding modes.
Background
In actual video stream push service scenes such as live network broadcast, video data needs to be decoded, so that the video data can adapt to different playing requirements. The existing video decoding systems perform single-flow decoding processing on the whole received video data, which can increase the time delay of video transmission, cannot realize high-efficiency and rapid decoding processing of the video data, and reduces the reliability and stability of video data transmission.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a video decoding method based on multiple decoding modes, which comprises the steps of carrying out cutting conversion processing on video data from a video data source terminal to obtain a plurality of video stream subdata, indicating a plurality of video stream decoding modules of a video data decoding terminal to carry out parallel decoding processing on all the video stream subdata so as to obtain corresponding video decoding data, and carrying out video frame data marking processing on each video decoding data; merging all the video decoding data according to the video frame data marking processing result of each video decoding data, thereby obtaining merged decoding data; according to the video decoding method, different video stream subdata is synchronously and parallelly decoded by different video decoding modules, so that synchronous decoding of multiple video stream subdata can be realized at the same time, the video data decoding efficiency is effectively improved, the video transmission time delay is reduced, and the reliability and stability of video data transmission are improved.
The invention provides a video decoding method based on multiple decoding modes, which comprises the following steps:
step S1, sending a video data transmission request to a video data decoding terminal through a video data source terminal, analyzing and processing the video data transmission request through the video data decoding terminal, and determining the video data transmission authority of the video data source terminal;
step S2, according to the video data transmission authority of the video data source terminal, sending the video data to the video data decoding terminal through the video data source terminal, and performing cutting conversion processing on the video data to obtain a plurality of video stream subdata;
step S3, a plurality of video stream decoding modules of the video data decoding terminal are indicated to perform parallel decoding processing on all the video stream sub-data, so as to obtain corresponding video decoding data; then, carrying out video frame data marking processing on each video decoding data;
step S4, according to the video frame data tagging processing result for each piece of video decoding data, merge all pieces of video decoding data, thereby obtaining merged decoding data.
Further, in step S1, before the sending, by the video data source terminal, the video data transmission request to the video data decoding terminal, the method further includes:
acquiring a video shooting progress of a video data source terminal, and judging whether the video data source terminal completes a current video shooting task or not according to the video shooting progress;
if the current video shooting task is finished, packaging video data corresponding to the current video shooting task to form a video data packet, and sending a video data transmission request to a video data decoding terminal;
and if the current video shooting task is not finished, not sending a video data transmission request to the video data decoding terminal.
Further, in step S1, the analyzing and processing the video data transmission request by the video data decoding terminal, and the determining the video data transmission permission of the video data source terminal specifically includes:
extracting terminal equipment identity information of a video data source terminal from the video data transmission request through a video data decoding terminal, and comparing the terminal equipment identity information with a preset equipment identity information list;
if the terminal equipment identity information exists in a preset equipment identity information list, determining that a video data source terminal has video data transmission permission; otherwise, determining that the video data source terminal does not have the video data transmission authority.
Further, in step S2, according to the video data transmission permission of the video data source terminal, sending the video data to the video data decoding terminal through the video data source terminal, and performing a cutting conversion process on the video data to obtain a plurality of video stream data specifically includes:
when the video data source terminal is determined to have the video data transmission right, the video data packet is sent to a video data decoding terminal;
and uniformly cutting the video data packet into a plurality of video stream subdata, wherein each video stream subdata comprises the same number of video frames and has the same bit data volume.
Further, in step S3, the instructing of the plurality of video stream decoding modules of the video data decoding terminal to perform parallel decoding processing on all the video stream sub-data, so that obtaining corresponding video decoding data specifically includes:
distributing all the video stream subdata into each video stream decoding module respectively, and instructing each video stream decoding module to decode the received video stream subdata so as to obtain corresponding video decoding data; and after any one of the video stream decoding modules finishes the current decoding processing, decoding other video stream sub-data until all the video stream sub-data finish the decoding processing.
Further, in step S3, the video frame data tagging processing on each piece of video decoding data specifically includes:
and extracting first frame video frame data and last frame video frame data contained in each video decoding data, and labeling the first frame video frame data and the last frame video frame data.
Further, in step S4, according to the video frame data tagging processing result of each piece of video decoding data, merging all pieces of video decoding data, so that the merged decoding data specifically includes:
determining the merging bit number and the merging check value of each video decoding data according to the first frame of video frame data and the last frame of video frame data of each video decoding data;
and merging the video decoding data according to the merging bit number and the merging check value of each video decoding data to obtain merged decoding data.
Further, in step S4, determining the merging bit number and the merging check value of each video decoding data according to the first frame of video frame data and the last frame of video frame data of each video decoding data specifically includes:
step S401, determining the merging bit number of each video decoded data according to the first frame video frame data and the last frame video frame data of each video decoded data by using the following formula (1),
Figure BDA0003698110330000041
in the above formula (1), r (a) represents the number of merging bits of the a-th video decoded data; n is a radical of a_e (i, j) a value representing the position of the ith row and the jth column in the last frame of video frame data of the a-th video decoding data, wherein the value is in binary form; n is a radical of a_0 (i, j) a value representing the position of the ith row and the jth column in the first frame of video frame data of the a-th video decoding data, wherein the value is in binary form; d represents the total number of the merging bits in each video decoding data in the first frame of video frame data and the last frame of video frame data; m represents the total column number of each frame of video frame data in each video decoding data;<<represents a left-shifted symbol; r is e (a),R 0 (a) Auxiliary intermediate values respectively representing the number of merging bits of the a-th video decoding data; *+ 10 Indicating that the values in parentheses are converted to decimal form;
step S402, determining a merged check value of each video decoded data according to the first frame video frame data and the last frame video frame data of each video decoded data using the following formula (2),
Figure BDA0003698110330000042
in the above formula (2), J 0 (a) A head end merge check value representing the a-th video decoded data; j. the design is a square 0 (a) Representing the tail merging check value of the a-th video decoding data; n represents the total number of lines of each frame of video frame data in each video decoding data;
in step S4, the merging the video decoded data according to the merging bit number and the merging check value of each video decoded data, so that the obtaining of the merged decoded data specifically includes:
step S403, using the following formula (3), according to the merging bit number and merging check value of each video decoding data, determining whether the corresponding video decoding data can be merged or not,
Figure BDA0003698110330000043
in the above formula (3), B represents a verification value of whether video decoded data can be merged; a (R) is an inverse function of the formula (1), and is a value a obtained when R (a) is satisfied in the formula (1); a (R-1) is an inverse function of the formula (2), and is a value a obtained when R (a) is equal to R-1 in the formula (2); j is a unit of 0 ,A(R)-,J e A (R-1) -represents the numerical values obtained by substituting A (R) and A (R-1) into the formula (2), respectively; | | represents the absolute value; g represents the total number of video decoding data, namely the total number of merging bits; r represents an integer variable;
if B is equal to 0, it means that after the first frame of video frame data and the last frame of video frame data of each piece of video decoding data are removed, merging the video decoding data according to the merging bit number obtained in the step S401, that is, according to the merging bit number r (a) obtained in the step S401, each piece of video decoding data is ranked, so that the ranked result is used as the merging result of the video decoding data;
if B ≠ 0, it indicates that the current video decoding data cannot be merged, and at this time, after repairing the video stream decoding module, the video decoding data are merged again according to the sequence of the above steps S401 to S402.
Compared with the prior art, the video decoding method based on the multiple decoding modes performs cutting conversion processing on the video data from the video data source terminal to obtain a plurality of video stream subdata, instructs a plurality of video stream decoding modules of the video data decoding terminal to perform parallel decoding processing on all the video stream subdata to obtain corresponding video decoding data, and performs video frame data marking processing on each video decoding data; merging all the video decoding data according to the video frame data marking processing result of each video decoding data, thereby obtaining merged decoding data; according to the video decoding method, different video stream subdata is synchronously and parallelly decoded by different video decoding modules, so that synchronous decoding of multiple video stream subdata can be realized at the same time, the video data decoding efficiency is effectively improved, the video transmission time delay is reduced, and the reliability and stability of video data transmission are improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a video decoding method based on multiple decoding modes according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart illustrating a video decoding method based on multiple decoding modes according to an embodiment of the present invention. The video decoding method based on the multi-decoding mode comprises the following steps:
step S1, sending a video data transmission request to a video data decoding terminal through a video data source terminal, analyzing and processing the video data transmission request through the video data decoding terminal, and determining the video data transmission authority of the video data source terminal;
step S2, according to the video data transmission authority of the video data source terminal, sending the video data to the video data decoding terminal through the video data source terminal, and performing cutting conversion processing on the video data to obtain a plurality of video stream subdata;
step S3, a plurality of video stream decoding modules of the video data decoding terminal are indicated to perform parallel decoding processing on all the video stream sub-data, so as to obtain corresponding video decoding data; then, carrying out video frame data marking processing on each video decoding data;
step S4, according to the video frame data tagging processing result of each video decoding data, merge all the video decoding data, thereby obtaining merged decoding data.
The beneficial effects of the above technical scheme are: the video decoding method based on the multi-decoding mode performs cutting conversion processing on video data from a video data source terminal to obtain a plurality of video stream subdata, instructs a plurality of video stream decoding modules of a video data decoding terminal to perform parallel decoding processing on all the video stream subdata to obtain corresponding video decoding data, and performs video frame data marking processing on each video decoding data; merging all the video decoding data according to the video frame data marking processing result of each video decoding data, thereby obtaining merged decoding data; according to the video decoding method, different video stream subdata is synchronously and parallelly decoded by different video decoding modules, so that synchronous decoding of multiple video stream subdata can be realized at the same time, the video data decoding efficiency is effectively improved, the video transmission time delay is reduced, and the reliability and stability of video data transmission are improved.
Preferably, in step S1, before the sending, by the video data source terminal, the video data transmission request to the video data decoding terminal, the method further includes:
acquiring a video shooting progress of a video data source terminal, and judging whether the video data source terminal completes a current video shooting task or not according to the video shooting progress;
if the current video shooting task is finished, packaging video data corresponding to the current video shooting task to form a video data packet, and sending a video data transmission request to a video data decoding terminal;
and if the current video shooting task is not finished, not sending a video data transmission request to the video data decoding terminal.
The beneficial effects of the above technical scheme are: through the mode, the video data transmission request is sent to the video data decoding terminal only when the video data source terminal finishes the current video shooting task, so that the completeness of the video data sent to the video data decoding terminal by the subsequent video data source terminal is guaranteed.
Preferably, in step S1, the analyzing the video data transmission request by the video data decoding terminal, and the determining the video data transmission permission of the video data source terminal specifically includes:
extracting terminal equipment identity information of a video data source terminal from the video data transmission request through a video data decoding terminal, and comparing the terminal equipment identity information with a preset equipment identity information list;
if the terminal equipment identity information exists in a preset equipment identity information list, determining that a video data source terminal has video data transmission permission; otherwise, determining that the video data source terminal does not have the video data transmission authority.
The beneficial effects of the above technical scheme are: through the mode, the identity of the terminal equipment of the video data source terminal is verified and confirmed, and it is ensured that only an authorized video data source terminal can transmit video data to the video data decoding terminal.
Preferably, in step S2, according to the video data transmission permission of the video data source terminal, sending the video data to the video data decoding terminal through the video data source terminal, and performing a cutting conversion process on the video data to obtain a plurality of video stream data specifically includes:
when the video data source terminal is determined to have the video data transmission right, sending the video data packet to a video data decoding terminal;
and uniformly cutting the video data packet into a plurality of video stream subdata, wherein each video stream subdata comprises the same number of video frames and has the same bit data quantity.
The beneficial effects of the above technical scheme are: by uniformly dividing the video data packet into a plurality of video stream subdata, the uniformity of the data calculation amount of each subsequent video stream decoding module for video decoding can be ensured, and a certain video stream decoding module is prevented from bearing excessive video decoding data calculation amount.
Preferably, in step S3, the instructing of the plurality of video stream decoding modules of the video data decoding terminal to perform parallel decoding processing on all the video stream sub-data, so that the obtaining of the corresponding video decoded data specifically includes:
distributing all the video stream subdata into each video stream decoding module respectively, and instructing each video stream decoding module to decode the received video stream subdata so as to obtain corresponding video decoding data; and when any one of the video stream decoding modules completes the current decoding processing, decoding processing is performed on other video stream sub-data until all the video stream sub-data are decoded.
The beneficial effects of the above technical scheme are: by the mode, the received video stream subdata is decoded by the plurality of video stream decoding modules respectively, so that the original decoding processing of the single video data can be converted into the synchronous decoding processing of the plurality of video stream subdata simultaneously, the efficiency of the video data decoding processing can be improved, and the time required by the video data decoding processing can be shortened.
Preferably, in step S3, the video frame data tagging processing on each piece of video decoding data specifically includes:
and extracting first frame video frame data and last frame video frame data contained in each video decoding data, and marking the first frame video frame data and the last frame video frame data.
The beneficial effects of the above technical scheme are: the first frame of video frame data and the last frame of video frame data of each video decoding data are respectively marked, so that the first frame of video frame data and the last frame of video frame data of each video decoding data can be conveniently and quickly found in the follow-up process, and the video decoding data are accurately merged.
Preferably, in step S4, the merging all the video decoded data according to the video frame data tagging processing result of each video decoded data, so that the obtaining of the merged decoded data specifically includes:
determining the merging bit number and the merging check value of each video decoding data according to the first frame of video frame data and the last frame of video frame data of each video decoding data;
and merging the video decoding data according to the merging bit number and the merging check value of each video decoding data to obtain merged decoding data.
The beneficial effects of the above technical scheme are: by the mode, the merging bit number of each piece of video decoding data is used as merging sequence information of the video decoding data, and the merging check value of each piece of video decoding data is used as merging operation check information of the video decoding data, so that all pieces of video decoding data can be guaranteed to be sequentially merged, and complete video data can be restored.
Preferably, in step S4, the determining the merge bit number and the merge check value of each video decoding data according to the first frame of video frame data and the last frame of video frame data of each video decoding data specifically includes:
step S401, determining the merging bit number of each video decoded data according to the first frame video frame data and the last frame video frame data of each video decoded data by using the following formula (1),
Figure BDA0003698110330000091
in the above formula (1), r (a) represents the number of merging bits of the a-th video decoded data; n is a radical of a_e (i, j) a value representing the position of the ith row and the jth column in the last frame of video frame data of the a-th video decoding data, wherein the value is in a binary form; n is a radical of a_0 (i, j) a value representing the position of the ith row and the jth column in the frame data of the first frame of the a-th video decoding data, wherein the value is in binary form; d represents the total number of the merging bits in each video decoding data in the first frame video frame data and the last frame video frame data; m represents the total column number of each frame of video frame data in each video decoding data;<<represents a left-shifted symbol; r e (a),R 0 (a) Auxiliary intermediate values respectively representing the number of merging bits of the a-th video decoding data; *+ 10 Indicating that the values in parentheses are converted to decimal form;
step S402, determining a merged check value of each video decoded data according to the first frame video frame data and the last frame video frame data of each video decoded data using the following formula (2),
Figure BDA0003698110330000101
in the above formula (2), J 0 (a) A head end merge check value representing the a-th video decoded data; j. the design is a square 0 (a) The merged check value represents the tail end of the a-th video decoding data; n represents the total number of lines of each frame of video frame data in each video decoding data;
in step S4, the merging the video decoded data according to the merging bit number and the merging check value of each video decoded data, so that the obtaining of the merged decoded data specifically includes:
step S403, using the following formula (3), according to the merging bit number and the merging check value of each video decoding data, judging whether the corresponding video decoding data can be merged or not,
Figure BDA0003698110330000102
in the above formula (3), B represents a verification value of whether video decoded data can be merged; a (R) is an inverse function of the formula (1), that is, a value a when R (a) is satisfied in the formula (1); a (R-1) is an inverse function of the formula (2), and is a value a obtained when R (a) is equal to R-1 in the formula (2); j. the design is a square 0 ,A(R)-,J e A (R-1) -represents the numerical values obtained by substituting A (R) and A (R-1) into the formula (2), respectively; | | represents the absolute value; g represents the total number of video decoding data, namely the total number of merging bits; r represents an integer variable;
if B is 0, it means that after the first frame of video frame data and the last frame of video frame data of each piece of video decoding data are removed, merging the video decoding data according to the merging bit number obtained in the step S401, that is, according to the merging bit number r (a) obtained in the step S401, ranking each piece of video decoding data, so that the ranked result is used as the merging result of the video decoding data;
if B ≠ 0, it indicates that the current video decoding data cannot be merged, and at this time, after repairing the video stream decoding module, the video decoding data are merged again according to the sequence of the above steps S401 to S402.
The beneficial effects of the above technical scheme are: obtaining the merging bit number of each decoding data according to the first frame video data and the last frame video data in each decoding data by using the formula (1), namely decoding the ranking condition of each decoding data and simultaneously playing a certain encryption role on the data; then, the formula (2) is utilized to obtain the combined check value of the head end and the tail end of each decoding data according to the first frame video data and the last frame video data in each decoding data, so that the head end and the tail end check value of each decoding data are decoded, and the purpose is to check the subsequent combined data; and finally, verifying whether the data can be merged or not by using the merging bit number and the merging check values of the head end and the tail end according to the formula (3), thereby ensuring the accuracy of the merged data.
As can be seen from the content of the above embodiment, the video decoding method based on multiple decoding modes performs a division conversion process on video data from a video data source terminal to obtain a plurality of video stream sub-data, instructs a plurality of video stream decoding modules of the video data decoding terminal to perform a parallel decoding process on all the video stream sub-data to obtain corresponding video decoding data, and performs a video frame data marking process on each video decoding data; merging all the video decoding data according to the video frame data marking processing result of each video decoding data, thereby obtaining merged decoding data; according to the video decoding method, different video decoding modules are used for synchronously and parallelly decoding different video stream subdata, so that synchronous decoding of multiple video stream subdata can be realized at the same time, the video data decoding efficiency is effectively improved, the video transmission time delay is reduced, and the reliability and stability of video data transmission are improved.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (8)

1. A video decoding method based on multiple decoding modes is characterized by comprising the following steps:
step S1, sending a video data transmission request to a video data decoding terminal through a video data source terminal, analyzing and processing the video data transmission request through the video data decoding terminal, and determining the video data transmission authority of the video data source terminal;
step S2, according to the video data transmission authority of the video data source terminal, sending the video data to the video data decoding terminal through the video data source terminal, and performing cutting conversion processing on the video data to obtain a plurality of video stream subdata;
step S3, a plurality of video stream decoding modules of the video data decoding terminal are instructed to perform parallel decoding processing on all the video stream subdata, so as to obtain corresponding video decoding data; then, carrying out video frame data marking processing on each video decoding data;
step S4, according to the video frame data tagging processing result of each video decoding data, merge all the video decoding data, thereby obtaining merged decoding data.
2. The multi-decoding mode-based video decoding method of claim 1, wherein:
before sending the video data transmission request to the video data decoding terminal through the video data source terminal in step S1, the method further includes:
acquiring a video shooting progress of a video data source terminal, and judging whether the video data source terminal completes a current video shooting task or not according to the video shooting progress;
if the current video shooting task is finished, packaging video data corresponding to the current video shooting task to form a video data packet, and sending a video data transmission request to a video data decoding terminal;
and if the current video shooting task is not finished, not sending a video data transmission request to the video data decoding terminal.
3. The multi-decoding mode-based video decoding method of claim 2, wherein:
in step S1, the analyzing and processing the video data transmission request by the video data decoding terminal, and the determining the video data transmission permission of the video data source terminal specifically includes:
extracting terminal equipment identity information of a video data source terminal from the video data transmission request through a video data decoding terminal, and comparing the terminal equipment identity information with a preset equipment identity information list;
if the terminal equipment identity information exists in a preset equipment identity information list, determining that a video data source terminal has video data transmission permission; otherwise, determining that the video data source terminal does not have the video data transmission authority.
4. The multi-decoding mode-based video decoding method of claim 3, wherein: in step S2, according to the video data transmission permission of the video data source terminal, sending the video data to the video data decoding terminal through the video data source terminal, and performing a cutting conversion process on the video data to obtain a plurality of video stream data specifically includes:
when the video data source terminal is determined to have the video data transmission right, sending the video data packet to a video data decoding terminal;
and uniformly cutting the video data packet into a plurality of video stream subdata, wherein each video stream subdata comprises the same number of video frames and has the same bit data volume.
5. The multi-decoding mode-based video decoding method of claim 4, wherein: in step S3, the instructing of the video stream decoding modules of the video data decoding terminal to perform parallel decoding processing on all the video stream sub-data so as to obtain corresponding video decoded data specifically includes:
distributing all the video stream subdata into each video stream decoding module respectively, and instructing each video stream decoding module to decode the received video stream subdata so as to obtain corresponding video decoding data; and when any one of the video stream decoding modules completes the current decoding processing, decoding processing is performed on other video stream sub-data until all the video stream sub-data are decoded.
6. The multi-decoding mode-based video decoding method of claim 5, wherein: in step S3, the video frame data tagging processing on each piece of video decoding data specifically includes:
and extracting first frame video frame data and last frame video frame data contained in each video decoding data, and labeling the first frame video frame data and the last frame video frame data.
7. The multi-decoding mode-based video decoding method of claim 6, wherein: in step S4, according to the video frame data tagging result of each piece of video decoded data, merging all pieces of video decoded data, so that the merged decoded data specifically includes:
determining the merging bit number and the merging check value of each video decoding data according to the first frame of video frame data and the last frame of video frame data of each video decoding data;
and merging the video decoding data according to the merging bit number and the merging check value of each video decoding data to obtain merged decoding data.
8. The multi-decoding mode-based video decoding method of claim 7, wherein: in step S4, determining the merge bit number and the merge check value of each video decoding data according to the first frame of video frame data and the last frame of video frame data of each video decoding data specifically includes:
step S401, determining the merging bit number of each video decoded data according to the first frame video frame data and the last frame video frame data of each video decoded data by using the following formula (1),
Figure FDA0003698110320000031
in the above formula (1), r (a) represents the number of merging bits of the a-th video decoding data; n is a radical of a_e (i, j) a value representing the position of the ith row and the jth column in the last frame of video frame data of the a-th video decoding data, wherein the value is in binary form; n is a radical of hydrogen a_0 (i, j) a value representing the position of the ith row and the jth column in the first frame of video frame data of the a-th video decoding data, wherein the value is in binary form; d represents the total number of the merging bits in each video decoding data in the first frame of video frame data and the last frame of video frame data; m represents the total column number of each frame of video frame data in each video decoding data;<<represents a left-shifted symbol; r e (a),R 0 (a) Auxiliary intermediate values respectively representing the number of merging bits of the a-th video decoding data; *+ 10 Indicating that the values in parentheses are converted to decimal form;
step S402, determining the merging check value of each video decoding data according to the first frame video frame data and the last frame video frame data of each video decoding data by using the following formula (2),
Figure FDA0003698110320000041
in the above formula (2), J 0 (a) A head end merge check value representing the a-th video decoded data; j. the design is a square 0 (a) The merged check value represents the tail end of the a-th video decoding data; n represents the total number of lines of each frame of video frame data in each video decoding data;
in step S4, the merging the video decoded data according to the merging bit number and the merging check value of each video decoded data, so that the obtaining of the merged decoded data specifically includes:
step S403, using the following formula (3), according to the merging bit number and the merging check value of each video decoding data, judging whether the corresponding video decoding data can be merged or not,
Figure FDA0003698110320000042
in the above formula (3), B represents a verification value of whether video decoded data can be merged; a (R) is an inverse function of the formula (1), and is a value a obtained when R (a) is satisfied in the formula (1); a (R-1) is an inverse function of the formula (2), and is a value a obtained when R (a) is equal to R-1 in the formula (2); j. the design is a square 0 ,A(R)-,J e A (R-1) -represents the numerical values obtained by substituting A (R) and A (R-1) into the formula (2), respectively; | | represents the absolute value; g represents the total number of video decoding data, namely the total number of merging bits; r represents an integer variable;
if B is 0, it means that after the first frame of video frame data and the last frame of video frame data of each piece of video decoding data are removed, merging the video decoding data according to the merging bit number obtained in the step S401, that is, according to the merging bit number r (a) obtained in the step S401, ranking each piece of video decoding data, so that the ranked result is used as the merging result of the video decoding data;
if B ≠ 0, it indicates that the current video decoding data cannot be merged, and at this time, after repairing the video stream decoding module, the video decoding data are merged again according to the sequence of the above steps S401 to S402.
CN202210686472.1A 2022-06-16 2022-06-16 Video decoding method based on multiple decoding modes Active CN115103194B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210686472.1A CN115103194B (en) 2022-06-16 2022-06-16 Video decoding method based on multiple decoding modes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210686472.1A CN115103194B (en) 2022-06-16 2022-06-16 Video decoding method based on multiple decoding modes

Publications (2)

Publication Number Publication Date
CN115103194A true CN115103194A (en) 2022-09-23
CN115103194B CN115103194B (en) 2023-03-24

Family

ID=83291345

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210686472.1A Active CN115103194B (en) 2022-06-16 2022-06-16 Video decoding method based on multiple decoding modes

Country Status (1)

Country Link
CN (1) CN115103194B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115297332A (en) * 2022-10-09 2022-11-04 中诚华隆计算机技术有限公司 Cloud streaming media hard decoding method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094406A (en) * 2007-07-23 2007-12-26 北京中星微电子有限公司 Method and device for transferring video data stream
CN101835044A (en) * 2010-04-23 2010-09-15 南京邮电大学 Grouping method in frequency domain distributed video coding
US8223845B1 (en) * 2005-03-16 2012-07-17 Apple Inc. Multithread processing of video frames
US20150312588A1 (en) * 2011-09-29 2015-10-29 Sharp Kabushiki Kaisha Image decoding device, image decoding method, and image encoding device
WO2016145820A1 (en) * 2015-08-19 2016-09-22 中兴通讯股份有限公司 Near field communication data transmission method, device, computer storage medium
US20190116375A1 (en) * 2011-11-07 2019-04-18 Infobridge Pte. Ltd. Apparatus for decoding video data
CN112087631A (en) * 2020-08-10 2020-12-15 翟文国 Synchronous parallel video coding and decoding and streaming media transmission system and method based on GPU

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8223845B1 (en) * 2005-03-16 2012-07-17 Apple Inc. Multithread processing of video frames
CN101094406A (en) * 2007-07-23 2007-12-26 北京中星微电子有限公司 Method and device for transferring video data stream
CN101835044A (en) * 2010-04-23 2010-09-15 南京邮电大学 Grouping method in frequency domain distributed video coding
US20150312588A1 (en) * 2011-09-29 2015-10-29 Sharp Kabushiki Kaisha Image decoding device, image decoding method, and image encoding device
US20190116375A1 (en) * 2011-11-07 2019-04-18 Infobridge Pte. Ltd. Apparatus for decoding video data
WO2016145820A1 (en) * 2015-08-19 2016-09-22 中兴通讯股份有限公司 Near field communication data transmission method, device, computer storage medium
CN112087631A (en) * 2020-08-10 2020-12-15 翟文国 Synchronous parallel video coding and decoding and streaming media transmission system and method based on GPU

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
韩学森: "面向超高清应用的并行解码处理器设计", 《中国集成电路》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115297332A (en) * 2022-10-09 2022-11-04 中诚华隆计算机技术有限公司 Cloud streaming media hard decoding method and device
CN115297332B (en) * 2022-10-09 2022-12-06 中诚华隆计算机技术有限公司 Cloud streaming media hard decoding method and device

Also Published As

Publication number Publication date
CN115103194B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
WO2023056808A1 (en) Encrypted malicious traffic detection method and apparatus, storage medium and electronic apparatus
CN110751224A (en) Training method of video classification model, video classification method, device and equipment
CN102325167A (en) Verifying method for network file transmission
CN115103194B (en) Video decoding method based on multiple decoding modes
CN104965999B (en) The analysis joining method of a kind of short-and-medium genetic fragment order-checking and equipment
CN110634471B (en) Voice quality inspection method and device, electronic equipment and storage medium
CN108256587A (en) Determining method, apparatus, computer and the storage medium of a kind of similarity of character string
CN104661042A (en) Method, device and system for transmitting transport stream
CN114253484B (en) Big data cloud storage server
CN112839003A (en) Data verification method and system
CN106911939A (en) A kind of video transcoding method, apparatus and system
CN111625467B (en) Automatic testing method and device, computer equipment and storage medium
CN114925853A (en) Construction method, device, equipment and medium of gradient lifting tree model
CN113259694A (en) Data slicing method and device and electronic equipment
CN111464835A (en) Online video output detection method based on dynamic verification and server
CN108573069B (en) Twins method for accelerating matching of regular expressions of compressed flow
CN116193160A (en) Digital watermark embedding method, device, equipment and medium
CN112486885B (en) Data frame generation method, storage medium and computer equipment
CN109040843B (en) Method and system for monitoring validity of IPTV service content in distributed mode
CN112016134A (en) Method and device for verifying integrity of file
CN112423150B (en) Working method of remote video transmission device with frame check function
CN111787405B (en) Data interaction method and system
CN114782718B (en) News video stripping method and device based on combined hash weighting algorithm
CN114401460B (en) Remote measurement image playing processing method and device
CN114125493B (en) Distributed storage method, device and equipment for streaming media

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