CN114827640A - Safe real-time encoding and transcoding method, device, equipment and storage medium - Google Patents

Safe real-time encoding and transcoding method, device, equipment and storage medium Download PDF

Info

Publication number
CN114827640A
CN114827640A CN202110120994.0A CN202110120994A CN114827640A CN 114827640 A CN114827640 A CN 114827640A CN 202110120994 A CN202110120994 A CN 202110120994A CN 114827640 A CN114827640 A CN 114827640A
Authority
CN
China
Prior art keywords
data
signal
gasket
video
frame buffer
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
CN202110120994.0A
Other languages
Chinese (zh)
Other versions
CN114827640B (en
Inventor
彭海
段兴江
王再利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Ruima Video Technology Co ltd
Original Assignee
Beijing Ruima Video Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Ruima Video Technology Co ltd filed Critical Beijing Ruima Video Technology Co ltd
Priority to CN202110120994.0A priority Critical patent/CN114827640B/en
Publication of CN114827640A publication Critical patent/CN114827640A/en
Application granted granted Critical
Publication of CN114827640B publication Critical patent/CN114827640B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23106Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/233Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/233Processing of audio elementary streams
    • H04N21/2335Processing of audio elementary streams involving reformatting operations of audio signals, e.g. by converting from one coding standard to another
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234309Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4 or from Quicktime to Realvideo

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The application discloses a safe real-time coding and transcoding method which comprises the steps of obtaining data to be output currently from a program frame buffer, judging whether the data are abnormal or not, reading corresponding gasket signals from the gasket frame buffer when the data are detected to be in an abnormal state, and coding and outputting the gasket signals as output data. Therefore, the real-time video and audio coding and transcoding, the safety detection and the 5-gasket switching function can be integrated into one device, the existing system structure is greatly simplified, the reliability is improved, and the cost is reduced.

Description

Safe real-time encoding and transcoding method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of video coding technologies, and in particular, to a method, an apparatus, a device, and a storage medium for secure real-time transcoding.
Background
The safe real-time coding and transcoding technology is widely applied to the field of videos. Almost all live videos, such as news live broadcasts, large-scale event live broadcasts and personal network live broadcasts, are not supported by a safe real-time encoding and transcoding technology. Real-time encoding: uncompressed video and audio signals are input by interfaces such as SDI, HDMI and IP, and real-time compressed video and audio signals are output by interfaces such as ASI and IP after being compressed and encoded. And (3) transcoding in real time: the compressed video and audio signals are input by interfaces such as ASI and IP, decoded into uncompressed signals, subjected to necessary signal processing, then subjected to compression coding, and output by the interfaces such as ASI and IP.
With the increasing popularization of video application, safety supervision and safety broadcasting become more and more important, in the traditional technical scheme, a safety real-time coding and transcoding device (system) is specially responsible for video and audio compression, and safety-related work is carried out by independent devices or systems. The general approach is to receive the real-time program stream by a separate device after transcoding, decode it into an uncompressed signal, perform a security check by the device or manually, and switch the final output stream to a shim signal if a problem is found. The safe real-time coding and transcoding and the safe detection are completed by independent equipment separately, and after the safe problem is detected, special equipment is required to switch gasket signals, so that the whole system is complex in structure, and the cost is increased.
Disclosure of Invention
In view of this, the present disclosure provides a secure real-time encoding and transcoding method, including:
acquiring data to be output currently from a program frame buffer;
judging whether the data is abnormal or not;
and when the data is detected to have an abnormal state, reading a corresponding gasket signal from a gasket frame buffer, and encoding and outputting the gasket signal as output data.
In one possible implementation manner, the method further includes:
receiving an input signal in real time, and if the input signal is a compressed signal, decoding the compressed signal to obtain an uncompressed signal;
storing the uncompressed signal into the program frame buffer.
In one possible implementation, the determining whether the data has an abnormality includes:
judging whether each frame of the data has a technical safety problem or not;
wherein the technical security issue comprises at least one of an audio data exception and a video data exception.
In one possible implementation, the audio data anomalies include at least one of volume anomalies, frequency anomalies, noise anomalies, and vocal tract anomalies;
the video data anomalies include at least one of black fields, color stripes, static frames, and picture mosaics.
In one possible implementation, the taking the shim signal as an output signal when the data is detected to have the abnormal state includes:
if the video frame in the data has the abnormal state, outputting the video frame in the gasket signal;
and if the audio frame in the data has the abnormal state, outputting the audio frame in the gasket signal.
In one possible implementation manner, the method further includes:
and when the data is interrupted, taking the gasket signal as an output signal.
In one possible implementation manner, the method further includes:
when the data are detected to be in a normal state, encoding the data to obtain video data;
and outputting the video data.
According to one aspect of the disclosure, a safe real-time encoding and transcoding device is provided, which is characterized by comprising a data acquisition module, a video abnormity judgment module and a video encoding module;
the data acquisition module is configured to acquire data to be output currently from a program frame buffer;
the video abnormity judging module is configured to judge whether the data is abnormal or not;
and the video coding module is configured to read corresponding gasket signals from a gasket frame buffer when the data is detected to have an abnormal state, and encode and output the gasket signals as output data.
According to an aspect of the present disclosure, a secure real-time encoding and transcoding device is provided, which includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the executable instructions to implement the method of any preceding claim.
According to an aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, implement the method of any of the preceding claims.
And when the abnormal state of the data is detected, reading a corresponding gasket signal from the gasket frame buffer, and encoding and outputting the gasket signal as output data. Therefore, the real-time video and audio coding and transcoding, safety detection and gasket switching functions can be integrated into one device, the existing system structure is greatly simplified, the reliability is improved, and the cost is reduced.
Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.
Fig. 1 illustrates a flow diagram of a secure real-time transcoding method of an embodiment of the present disclosure;
fig. 2 illustrates another flow diagram of a secure real-time transcoding method of an embodiment of the present disclosure;
fig. 3 shows a block diagram of a secure real-time transcoding device of an embodiment of the present disclosure;
fig. 4 shows a block diagram of a secure real-time transcoding apparatus of an embodiment of the present disclosure.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.
Fig. 1 shows a flow chart of a secure real-time transcoding method according to an embodiment of the present disclosure. As shown in fig. 1, the secure real-time transcoding method includes:
step S100, obtaining the data to be output currently from the program frame buffer, step S200, judging whether the data is abnormal, step S300, reading the corresponding gasket signal from the gasket frame buffer when detecting that the data is abnormal, and coding and outputting the gasket signal as the output data.
And acquiring the current data to be output from the program frame buffer, judging whether the data is abnormal, reading a corresponding gasket signal from the gasket frame buffer when the abnormal state of the data is detected, and encoding and outputting the gasket signal as output data. Therefore, the real-time video and audio coding and transcoding, safety detection and gasket switching functions can be integrated into one device, the existing system structure is greatly simplified, the reliability is improved, and the cost is reduced.
Specifically, referring to fig. 1, step S100 is executed to obtain the data to be currently output from the program frame buffer.
In one possible implementation, first acquiring the input signal and the pad signal includes: if the input signal is a compressed signal, the compressed signal is decoded to obtain an uncompressed signal, and the uncompressed signal is stored in a program frame buffer. For example, if the input signal is a compressed signal, see fig. 2, step S110 is executed to decode the input signal in real time into an uncompressed signal, and then store the uncompressed signal in the program frame buffer, if the input signal is an uncompressed signal, the input signal is directly stored in the program frame buffer, and for the shim signal, step S120 is executed to decode the shim signal in real time into an uncompressed signal, and store the shim signal in the shim frame buffer.
It should be noted that the input of the shim signal may be a shim file or a real-time shim stream. In a possible implementation manner, the shim signal is a real-time padding stream, and in order to ensure reliability, more than one channel of padding signal input may be set.
In another possible implementation, the shim signal is a shim file, the shim signal is decoded into an uncompressed signal, and the decoded uncompressed signal is stored in a shim frame buffer.
Further, in another possible implementation manner, the shim signals are two types, and respectively include a real-time shim stream and a shim file, and the shim stream and the shim file are simultaneously supported. That is, the shim stream and the shim file are decoded into an uncompressed file at the same time, and the decoded uncompressed signal is stored in a shim frame buffer.
Further, referring to fig. 1, step S200 is executed to determine whether there is an abnormality in the data.
In one possible implementation, determining whether the data has an abnormality includes: and judging whether each frame of the data has a technical safety problem, wherein the technical safety problem comprises audio data abnormity and video data abnormity. Wherein the audio data anomaly comprises at least one of a volume anomaly, a frequency anomaly, a noise anomaly, and a channel anomaly, and the video data anomaly comprises at least one of a black field, a color bar, a static frame, and a picture mosaic. For example, a real-time video is used as an input signal, the input signal and a gasket signal are simultaneously input into the codec device, the input signal and the gasket signal are obtained, if the input signal is a compressed signal, the input signal is decoded into an uncompressed signal in real time, then the uncompressed signal is stored into a program frame buffer, if the input signal is an uncompressed signal, the input signal is directly stored into the program frame buffer, and if the gasket signal is an uncompressed signal, the gasket signal is decoded into an uncompressed signal in real time and stored into a gasket frame buffer, wherein the gasket signal is input by two real-time pad broadcast streams, the two pad broadcast streams are decoded into an uncompressed signal, the decoded uncompressed signal is stored into the gasket frame buffer, then, referring to fig. 2, step S200 is executed to check a potential technical safety problem in the uncompressed signal in the program frame buffer, the broadcast signal is ensured to be continuous and stable, each technical index meets the standard requirement, and specifically, the following technical abnormal states can be automatically judged by an algorithm for the audio data: abnormal over-high volume, abnormal over-low volume, abnormal fixed frequency, abnormal noise state, reversed stereo, etc.; for video data, the following technical abnormal states can be automatically judged by an algorithm: black fields, color stripes, still frames, picture mosaics, etc. Illustratively, after checking, the audio frame in the input signal has a stereo reversal problem, i.e. the left channel and the right channel are opposite, and also has an abnormally low volume, i.e. the volume is abnormally smaller than the preset threshold.
In another possible implementation manner, a real-time video is used as an input signal, the input signal and a gasket signal are simultaneously input into a coding and transcoding device, the input signal and the gasket signal are obtained, if the input signal is a compressed signal, the input signal is decoded into an uncompressed signal in real time and then stored into a program frame buffer, if the input signal is an uncompressed signal, the input signal is directly stored into the program frame buffer, and if the gasket signal is an uncompressed signal, the gasket signal is decoded into an uncompressed signal in real time and stored into a gasket frame buffer, wherein the gasket signal is input by two real-time streaming, the two streaming are decoded into an uncompressed signal, the decoded uncompressed signal is stored into the gasket frame buffer, and then whether the program content in the program frame buffer contains a reaction or not is automatically identified by an AI algorithm, Violence, pornography, and the like.
Similarly, manual inspection can be added in the process of inspecting technical safety problems, during manual inspection, the manual inspection delay is large, and the program frame buffer can be increased according to needs, so that enough time is provided for switching to the gasket frame buffer through manual operation under the condition that problems are found in manual inspection.
It should be noted that, when checking whether there is a technical safety problem in the input signal, conventional technical means in the art may be used, and details of the disclosure are not repeated.
Further, referring to fig. 1, step S300 is executed, and when the data is detected to have an abnormal state, the corresponding shim signal is read from the shim frame buffer, and the shim signal is encoded and output as output data.
In one possible implementation manner, when it is detected that the data has an abnormal state, reading a corresponding pad signal from a pad frame buffer, and outputting the pad signal as output data by encoding includes: and if the video frame in the input signal has an abnormal state, outputting the video frame in the gasket signal, and if the audio frame in the input signal has an abnormal state, replacing the audio frame with the audio frame in the gasket signal. For example, a real-time video is used as an input signal, the input signal and a shim signal are simultaneously input into a coding and transcoding device, the input signal and the shim signal are obtained, if the input signal is a compressed signal, the input signal is decoded into an uncompressed signal in real time, then the uncompressed signal is stored into a program frame buffer, if the input signal is an uncompressed signal, the input signal is directly stored into the program frame buffer, if the shim signal is an uncompressed signal, the shim signal is decoded into an uncompressed signal in real time and stored into the shim frame buffer, wherein the shim signal is input by two real-time pad broadcast streams, the two pad broadcast streams are decoded into an uncompressed signal, the decoded uncompressed signal is stored into the shim frame buffer, then potential technical safety hazards in the uncompressed signal in the program frame buffer are checked, and the broadcast signals are ensured to be continuous, and when the input signal is found to have a stereo reversal problem after automatic check, that is, the left channel and the right channel are interchanged, step S310 and step S320 are executed, referring to fig. 2, data in the shim frame buffer is used for encoding and outputting, that is, frame data in the shim frame buffer is encoded and output, that is, a shim signal is inserted into a real-time program signal, so as to replace the complete program content.
In another possible implementation manner, a real-time video is used as an input signal, the input signal and a shim signal are simultaneously input into a coding and transcoding device, the input signal and the shim signal are obtained, if the input signal is a compressed signal, the input signal is decoded into an uncompressed signal in real time, then the uncompressed signal is stored into a program frame buffer, if the input signal is an uncompressed signal, the input signal is directly stored into the program frame buffer, for the shim signal, the shim signal is decoded into an uncompressed signal in real time and stored into a shim frame buffer, wherein the shim signal is input by two real-time shim streams, the two shim streams are decoded into the uncompressed signal, the decoded uncompressed signal is stored into the shim frame buffer, then potential technical safety hazards in the uncompressed signal in the program frame buffer are checked, and the broadcast signal is ensured to be continuous, and at the moment, the audio frame data in the gasket frame buffer is used for coding and outputting, namely, the audio frame data in the gasket frame buffer replaces the audio frame data in the program frame buffer for coding and outputting, and the original video is reserved.
In another possible implementation manner, a real-time video is used as an input signal, the input signal and a shim signal are simultaneously input into a coding and transcoding device, the input signal and the shim signal are obtained, if the input signal is a compressed signal, the input signal is decoded into an uncompressed signal in real time, then the uncompressed signal is stored into a program frame buffer, if the input signal is an uncompressed signal, the input signal is directly stored into the program frame buffer, for the shim signal, the shim signal is decoded into an uncompressed signal in real time and stored into a shim frame buffer, wherein the shim signal is input by two real-time shim streams, the two shim streams are decoded into the uncompressed signal, the decoded uncompressed signal is stored into the shim frame buffer, then potential technical safety hazards in the uncompressed signal in the program frame buffer are checked, and the broadcast signal is ensured to be continuous, the method has the advantages that the method is stable, various technical indexes meet the standard requirements, the problem that the video mosaic exists in input signals is found after automatic inspection, at the moment, the video frame data in the gasket frame buffer are used for coding and outputting, namely, the video frame data in the gasket frame buffer replace the video frame data in the program frame buffer for coding and outputting, and original audio is reserved. Therefore, based on the switching of frame buffering, the video or the audio can be selected to be switched independently, and compared with the code stream switching, the flexibility is increased.
In addition, in a possible implementation manner, the secure real-time transcoding method disclosed by the present disclosure further includes: when the input signal is interrupted, the pad signal is used as the output signal. That is, when the input signal is interrupted, the frame data in the shim frame buffer is encoded and outputted, thereby ensuring that the broadcast signal is not interrupted.
Further, in a possible implementation manner, the secure real-time transcoding method disclosed by the present disclosure further includes: and when the input signal is detected to be in a normal state, encoding the input signal to obtain video data, and outputting the video data. For example, after determining whether the input signal has a technical safety problem, when the input signal is in a normal state, the data in the program frame buffer is normally encoded and output. In addition, if the video and audio are detected to be recovered from the abnormal state to the normal state, the normal encoding output using the data in the program frame buffer is recovered, namely, the buffer frame buffer is switched to the program frame buffer. Switching is carried out based on video and audio frames, so that the problem possibly brought by code stream layer switching is solved, smooth transition of the switching process is ensured, and the quality of the broadcast signals is improved.
It should be noted that, although the secure real-time transcoding method of the present disclosure is described above by taking the above steps as examples, those skilled in the art can understand that the present disclosure should not be limited thereto. In fact, the user can flexibly set the safe real-time encoding and transcoding method according to personal preference and/or actual application scenes as long as the required functions are achieved.
Therefore, the data to be output currently is obtained from the program frame buffer, whether the data is abnormal or not is judged, and when the abnormal state of the data is detected, the corresponding gasket signal is read from the gasket frame buffer and is used as the output data for encoding and outputting. Therefore, the real-time video and audio coding and transcoding, safety detection and gasket switching functions can be integrated into one device, the existing system structure is greatly simplified, the reliability is improved, and the cost is reduced.
Further, according to another aspect of the present disclosure, a secure real-time transcoding device 100 is also provided. Since the working principle of the secure real-time encoding and transcoding device 100 of the embodiment of the present disclosure is the same as or similar to that of the secure real-time encoding and transcoding method of the embodiment of the present disclosure, repeated descriptions are omitted. Referring to fig. 3, the secure real-time transcoding device 100 of the present disclosure includes a data obtaining module 110, a video anomaly determination module 120, and a video encoding module 130;
a data obtaining module 110 configured to obtain data to be currently output from the program frame buffer;
a video anomaly determination module 120 configured to determine whether data is anomalous;
and the video coding module 130 is configured to, when detecting that the data has an abnormal state, read the corresponding pad signal from the pad frame buffer, and encode and output the pad signal as output data.
Still further, according to another aspect of the present disclosure, there is also provided a secure real-time transcoding apparatus 200. Referring to fig. 4, the secure real-time transcoding and encoding apparatus 200 of the embodiment of the present disclosure includes a processor 210 and a memory 220 for storing instructions executable by the processor 210. Wherein the processor 210 is configured to execute the executable instructions to implement any of the aforementioned secure real-time transcoding methods.
Here, it should be noted that the number of the processors 210 may be one or more. Meanwhile, in the secure real-time transcoding and encoding apparatus 200 according to the embodiment of the present disclosure, an input device 230 and an output device 240 may be further included. The processor 210, the memory 220, the input device 230, and the output device 240 may be connected via a bus, or may be connected via other methods, which is not limited in detail herein.
The memory 220, which is a computer-readable storage medium, may be used to store software programs, computer-executable programs, and various modules, such as: the program or the module corresponding to the safe real-time coding and transcoding method of the embodiment of the disclosure. The processor 210 executes various functional applications and data processing of the secure real-time transcoding apparatus 200 by executing software programs or modules stored in the memory 220.
The input device 230 may be used to receive an input number or signal. Wherein the signal may be a key signal generated in connection with user settings and function control of the device/terminal/server. The output device 240 may include a display device such as a display screen.
According to another aspect of the present disclosure, there is also provided a non-transitory computer readable storage medium having stored thereon computer program instructions which, when executed by the processor 210, implement the secure real-time transcoding method as described in any of the preceding.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (10)

1. A secure real-time encoding and transcoding method is characterized by comprising the following steps:
acquiring data to be output currently from a program frame buffer;
judging whether the data is abnormal or not;
and when the data is detected to have an abnormal state, reading a corresponding gasket signal from a gasket frame buffer, and encoding and outputting the gasket signal as output data.
2. The method of claim 1, further comprising:
receiving an input signal in real time, and if the input signal is a compressed signal, decoding the compressed signal to obtain an uncompressed signal;
storing the uncompressed signal into the program frame buffer.
3. The method of claim 1, wherein determining whether the data is anomalous comprises:
judging whether each frame of the data has technical safety problems or not;
wherein the technical safety problem comprises at least one of an audio data exception and a video data exception.
4. The method of claim 3, wherein the audio data anomalies include at least one of volume anomalies, frequency anomalies, noise anomalies, and vocal tract anomalies;
the video data anomalies include at least one of black fields, color stripes, static frames, and picture mosaics.
5. The method of claim 1, wherein upon detecting the data presence anomaly, treating the shim signal as an output signal comprises:
if the video frame in the data has the abnormal state, outputting the video frame in the gasket signal;
and if the audio frame in the data has the abnormal state, outputting the audio frame in the gasket signal.
6. The method of claim 1, further comprising:
and taking the pad signal as an output signal when the data is interrupted.
7. The method of claim 1, further comprising:
when the data is detected to be in a normal state, encoding the data to obtain video data;
and outputting the video data.
8. A safe real-time encoding and transcoding device is characterized by comprising a data acquisition module, a video abnormity judgment module and a video encoding module;
the data acquisition module is configured to acquire data to be output currently from a program frame buffer;
the video abnormity judging module is configured to judge whether the data is abnormal or not;
and the video coding module is configured to read corresponding gasket signals from a gasket frame buffer when the data is detected to have an abnormal state, and encode and output the gasket signals as output data.
9. A secure real-time transcoding device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to carry out the executable instructions when implementing the method of any one of claims 1 to 7.
10. A non-transitory computer readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, implement the method of any of claims 1 to 7.
CN202110120994.0A 2021-01-28 2021-01-28 Secure real-time encoding and transcoding method and apparatus, device and storage medium Active CN114827640B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110120994.0A CN114827640B (en) 2021-01-28 2021-01-28 Secure real-time encoding and transcoding method and apparatus, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110120994.0A CN114827640B (en) 2021-01-28 2021-01-28 Secure real-time encoding and transcoding method and apparatus, device and storage medium

Publications (2)

Publication Number Publication Date
CN114827640A true CN114827640A (en) 2022-07-29
CN114827640B CN114827640B (en) 2024-03-01

Family

ID=82526434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110120994.0A Active CN114827640B (en) 2021-01-28 2021-01-28 Secure real-time encoding and transcoding method and apparatus, device and storage medium

Country Status (1)

Country Link
CN (1) CN114827640B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577827A (en) * 2009-04-22 2009-11-11 北京大学 Control method of delay playing and system
CN205336414U (en) * 2016-01-29 2016-06-22 广西电视台 Automatic switch emergent terminal equipment
CN107566890A (en) * 2017-09-15 2018-01-09 深圳国微技术有限公司 Handle audio stream broadcasting abnormal method, apparatus, computer installation and computer-readable recording medium
CN110601971A (en) * 2019-09-17 2019-12-20 南京林业大学 Data transmission method and device, electronic equipment and storage medium
CN110708564A (en) * 2019-10-21 2020-01-17 上海网达软件股份有限公司 Live transcoding method and system for dynamically switching video streams
CN211209844U (en) * 2020-03-23 2020-08-07 上海宁泰数码产品有限公司 Embedded audio and video playing controller

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577827A (en) * 2009-04-22 2009-11-11 北京大学 Control method of delay playing and system
CN205336414U (en) * 2016-01-29 2016-06-22 广西电视台 Automatic switch emergent terminal equipment
CN107566890A (en) * 2017-09-15 2018-01-09 深圳国微技术有限公司 Handle audio stream broadcasting abnormal method, apparatus, computer installation and computer-readable recording medium
CN110601971A (en) * 2019-09-17 2019-12-20 南京林业大学 Data transmission method and device, electronic equipment and storage medium
CN110708564A (en) * 2019-10-21 2020-01-17 上海网达软件股份有限公司 Live transcoding method and system for dynamically switching video streams
CN211209844U (en) * 2020-03-23 2020-08-07 上海宁泰数码产品有限公司 Embedded audio and video playing controller

Also Published As

Publication number Publication date
CN114827640B (en) 2024-03-01

Similar Documents

Publication Publication Date Title
US7231587B2 (en) Embedded picture PSNR/CRC data in compressed video bitstream
US8331443B2 (en) Systems and methods for video quality measurement using auxiliary information of codec
CN102833543A (en) Device and method for detecting video coding format of video and audio media files
CN101675667A (en) Methods and apparatus for video error correction in multi-view coded video
CN105763872A (en) Video Encoding/decoding System And Diagnosis Method Thereof
Teslic et al. Packet-loss error detection system for DTV and set-top box functional testing
US20100026813A1 (en) Video monitoring involving embedding a video characteristic in audio of a video/audio signal
CN112468763B (en) Video transmission and display method, device and equipment for conference television and storage medium
CN107835192B (en) Method and system for detecting whether HLS live streaming in real-time transcoding system is normal
CN114827640B (en) Secure real-time encoding and transcoding method and apparatus, device and storage medium
CN106851265B (en) Multi-tuner set-top box produces detection method and system
CN112860204A (en) Data processing method and system
CN109922366B (en) Equipment parameter adjusting method, device, equipment and medium
CN113709447B (en) Method and device for detecting playing performance of terminal equipment
WO2005027490A2 (en) Auxiliary information processing system
US20180054633A1 (en) Video decoding device
US20160112710A1 (en) Decoder, application processor including the decoder, and method of operating the decoder
US7383567B2 (en) Method and system for creating a subset of programming channels
Izumi et al. A fuzzing‐based test‐creation approach for evaluating digital TV receivers via transport streams
JP2007288634A (en) Video inspection system
CN114363545B (en) 4K ultra-high-definition decoding device supporting fingerprint embedding and fingerprint embedding method
US8312499B2 (en) Tunneling information in compressed audio and/or video bit streams
KR19990079920A (en) Digital TV system capable of troubleshooting
KR101576223B1 (en) Apparatus for Monitering of Brodcasting Signal and Method thereof
KR20050076943A (en) Apparatus and method for error hiding of video decoder

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