CN110337045B - System for adding two-dimensional code to video source and two-dimensional code adding method - Google Patents

System for adding two-dimensional code to video source and two-dimensional code adding method Download PDF

Info

Publication number
CN110337045B
CN110337045B CN201910481020.8A CN201910481020A CN110337045B CN 110337045 B CN110337045 B CN 110337045B CN 201910481020 A CN201910481020 A CN 201910481020A CN 110337045 B CN110337045 B CN 110337045B
Authority
CN
China
Prior art keywords
video
module
transcoding
dimensional code
sending
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.)
Active
Application number
CN201910481020.8A
Other languages
Chinese (zh)
Other versions
CN110337045A (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.)
Hisense Co Ltd
Original Assignee
Hisense 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 Hisense Co Ltd filed Critical Hisense Co Ltd
Priority to CN201910481020.8A priority Critical patent/CN110337045B/en
Publication of CN110337045A publication Critical patent/CN110337045A/en
Application granted granted Critical
Publication of CN110337045B publication Critical patent/CN110337045B/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
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8146Monomedia components thereof involving graphical data, e.g. 3D object, 2D graphics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8358Generation of protective data, e.g. certificates involving watermark

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Graphics (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a system for adding a two-dimensional code to a video source and a two-dimensional code adding method. The transcoding platform comprises a transcoding board cluster consisting of a plurality of transcoding cards, a signaling interaction module, a video processing module, a watermark management module and a video sending module. And the signaling interaction module and the gateway service module negotiate the two-dimensional code parameters and select the transcoding card in an idle state from the transcoding board cluster. And the video processing module receives the video stream sent by the gateway service module according to the negotiation result sent by the signaling interaction module, and decapsulates the video stream to obtain the source video. And the watermark management module controls the transcoding card selected by the signaling interaction module to add the two-dimension code to the source video and sends the video added with the two-dimension code to the video sending module. When the two-dimension code adding is carried out through the system, the time delay can be reduced, the concurrency is improved, and the two-dimension code information can be effectively added to videos in different formats.

Description

System for adding two-dimensional code to video source and two-dimensional code adding method
Technical Field
The embodiment of the invention relates to the technical field of video transcoding, in particular to a system for adding a two-dimension code to a video source and a two-dimension code adding method.
Background
At present, based on the existing hardware coding and decoding chips, a transcoding board can easily add watermarks to a video with an H264MPEG4 video format, but no transcoding board can directly add watermarks to an H265 video at present. Video gateways that can concurrently and uniformly watermark multiple videos of various formats are currently not available in the market.
Disclosure of Invention
The embodiment of the invention provides a system for adding a two-dimension code to a video source and a two-dimension code adding method, which are used for adding two-dimension code information to an H265 video.
The system for adding the two-dimensional code to the video source provided by the embodiment of the invention comprises the following steps: the gateway service module and the transcoding platform;
the transcoding platform comprises a transcoding board cluster consisting of a plurality of transcoding cards, a signaling interaction module, a video processing module, a watermark management module and a video sending module;
the signaling interaction module is used for negotiating two-dimensional code parameters with the gateway service module, selecting an idle transcoding card from the transcoding board cluster, and sending a negotiation result to the video processing module and the video forwarding module; sending the identifier of the transcoding card in the idle state to the watermark management module; the negotiation result comprises an IP address and a port number of the video stream;
the video processing module is used for receiving the video stream sent by the gateway service module according to the negotiation result sent by the signaling interaction module, and decapsulating the video stream to obtain a source video;
the watermark management module is used for controlling the transcoding card selected by the signaling interaction module to add the two-dimensional code to the source video and sending the video added with the two-dimensional code to the video sending module;
and the video sending module is used for packaging the video added with the two-dimension code and sending the packaged video carrying the two-dimension code to the gateway service module according to the IP address and the port number of the video stream.
In the technical scheme, when the two-dimension code adding is carried out through the system, the time delay can be reduced, the concurrency is improved, and the two-dimension code information can be effectively added to videos with different formats.
Optionally, the gateway service module includes a gateway SIP (Session Initiation Protocol) module and a gateway RTP (Real-time Transport Protocol) module;
the gateway SIP module is used for negotiating two-dimension code parameters with the signaling interaction module;
the gateway RTP module is used for sending a video stream to the video processing module and receiving the encapsulated video carrying the two-dimensional code sent by the video sending module.
Optionally, the video processing module includes a transcoding scheduling sub-module and a video parsing sub-module;
the transcoding scheduling submodule is used for creating a video receiving task according to a negotiation result sent by the signaling interaction module; determining a transcoded video format; detecting the idle state of the transcoding card, and informing the signaling interaction module of the identifier of the transcoding card in the idle air conditioner;
and the video analysis submodule is used for de-encapsulating the video stream sent by the gateway service module to obtain a source video.
Optionally, the negotiation result further includes two-dimensional code information;
the watermark management module generates a two-dimensional code according to the two-dimensional code information, and controls the transcoding card in the idle state to convert the two-dimensional code into first data in a YUV format and decode the source video and convert the source video into second data in the YUV format; and merging the first data and the second data and then transcoding.
Optionally, the video forwarding module creates a port according to the IP address and the port number of the video stream, and after the video to which the two-dimensional code is added is encapsulated, sends the encapsulated video to the gateway service module through the port.
Correspondingly, the embodiment of the invention also provides a two-dimensional code adding method based on the system, which comprises the following steps:
acquiring a negotiation result sent by a gateway service module, wherein the negotiation result comprises two-dimension code information, an IP address and a port number of a video stream;
receiving the video stream sent by the gateway service module according to the IP address and the port number of the video stream, and decapsulating the video stream to obtain a source video;
adding and transcoding the two-dimension code to the source video according to the two-dimension code information and the source video;
and sending the video added with the two-dimensional code to the gateway service module according to the IP address and the port number of the video stream.
Optionally, the adding and transcoding the two-dimensional code to the source video according to the two-dimensional code information and the source video includes:
generating a two-dimensional code according to the two-dimensional code information;
converting the two-dimensional code into first data in a YUV format;
decoding the source video and converting the source video into second data in the YUV format;
and merging the first data and the second data and then transcoding.
Optionally, the sending the video to which the two-dimensional code is added to the gateway service module according to the IP address and the port number of the video stream includes:
creating a port according to the IP address and the port number of the video stream;
and after the video added with the two-dimensional code is packaged, the packaged video is sent to the gateway service module through the port.
Correspondingly, an embodiment of the present invention further provides a computing device, including:
a memory for storing program instructions;
and the processor is used for calling the program instruction stored in the memory and executing the signal lamp fault detection method according to the obtained program.
Correspondingly, the embodiment of the invention also provides a computer-readable non-volatile storage medium, which comprises computer-readable instructions, and when the computer reads and executes the computer-readable instructions, the computer is enabled to execute the signal lamp fault detection method.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a system for adding a two-dimensional code to a video source according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a video processing module according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of video processing according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a two-dimensional code adding method according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of a two-dimensional code adding method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, 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 exemplarily illustrates a system for adding a two-dimensional code to a video source according to an embodiment of the present invention, and as shown in fig. 1, the system may include: a gateway services module 100 and a transcoding platform 200.
The transcoding platform 200 may include a transcoding board cluster composed of a plurality of transcoding cards, a signaling interaction module, a video processing module, a watermark management module, and a video sending module.
In the embodiment of the invention, the system forms a hardware cluster of the transcoding board by integrating 8 transcoding cards. Thereby realizing that 16-way 1080P video is added with their respective two-dimensional codes concurrently. The method can be realized by accessing video source equipment such as MPEG4, H264, H265 and the like and outputting the two-dimensional code with independent information.
Specifically, the signaling interaction module may be configured to perform negotiation with the gateway service module for two-dimensional code parameters, select a transcoding card in an idle state from the transcoding board cluster, and send a negotiation result to the video processing module and the video forwarding module. And sending the identifier of the transcoding card in the idle state to a watermark management module. The negotiation result includes the IP address and port number of the video stream. Namely, the two-dimension code negotiation with the SIP service module in the gateway is carried out; and meanwhile, the system is responsible for selecting an idle transcoding card for OSD management.
The video processing module may be configured to receive the video stream sent by the gateway service module according to the negotiation result sent by the signaling interaction module, and decapsulate the video stream to obtain a source video. Namely, receiving the video stream incoming by the gateway video forwarding service, and performing PS unpacking.
And the watermark management module is used for controlling the transcoding card selected by the signaling interaction module to add the two-dimensional code to the source video and sending the video added with the two-dimensional code to the video sending module. Namely, the two-dimensional code adding process is performed on the video.
And the video sending module is used for packaging the video added with the two-dimension code and sending the packaged video carrying the two-dimension code to the gateway service module according to the IP address and the port number of the video stream. Namely, the gateway service module is responsible for forwarding the repackaged video code stream and sending the repackaged video code stream to the gateway service module.
As shown in fig. 1, the gateway service module may include a gateway SIP module and a gateway RTP module.
The gateway SIP module is used for negotiating the two-dimension code parameters with the signaling interaction module. And the gateway RTP module is used for sending a video stream to the video processing module and receiving the encapsulated video carrying the two-dimensional code sent by the video sending module.
As shown in fig. 2, the video processing module may include a transcoding scheduling sub-module and a video parsing sub-module.
And the transcoding scheduling submodule is used for creating a video receiving task according to the negotiation result sent by the signaling interaction module and determining a transcoded video format. And detecting the idle state of the transcoding card, and informing the signaling interaction module of the identifier of the transcoding card in the idle air conditioner. And the video analysis submodule is used for de-encapsulating the video stream sent by the gateway service module to obtain a source video.
In the embodiment of the present invention, the negotiation result may further include two-dimensional code information. The watermark management module can generate a two-dimensional code according to the two-dimensional code information, and control the transcoding card in the idle state to convert the two-dimensional code into first data in a YUV format and decode the source video and convert the source video into second data in the YUV format; and merging the first data and the second data and then transcoding.
After the watermark management module carries out video transcoding, the video forwarding module creates a port according to the IP address and the port number of the video stream, and after the video added with the two-dimensional code is packaged, the packaged video is sent to the gateway service module through the port.
Specifically, the signaling interaction module is responsible for performing signaling interaction with the gateway SIP module. The signaling interaction module is mainly responsible for receiving the two-dimension code parameters sent by the gateway SIP module and responding to the two-dimension code parameters. And the signaling interaction module and the gateway SIP module use an http protocol as a carrier and communicate according to a json data format conforming to the rest rule. The two-party communication instruction is divided into a two-dimension code adding request command, a two-dimension code adding request command response, a video processing stopping command and a video processing stopping command response, and the content contained in the instruction is shown in table 1.
TABLE 1
Figure BDA0002083849030000061
And the video processing module mainly comprises a transcoding scheduling submodule and a video analyzing submodule.
The transcoding scheduling submodule mainly has the following functions:
(1) creating a video receiving task according to the address information obtained by the signaling interaction module;
(2) reading transcoding information configured in a database, and determining a transcoded video format;
(3) and the transcoding management service detects the idle state of the transcoding board and determines the transcoding board of the video flow direction.
The video analysis submodule mainly has the following functions:
(1) receiving an RTP video forwarded by a gateway RTP module;
(2) carrying out RTP decapsulation on the video data received in the step (1) to obtain a PS stream;
(3) decapsulating the PS stream in (2) to obtain an ES stream;
(4) and (4) transcoding the ES stream generated in the step (3) by using a transcoding board transcoding interface.
The execution flow of the video processing module may be as shown in fig. 3, and specifically may include:
step 301, creating a task according to the address information required for receiving the video, which is obtained by the signaling interaction module.
And creating a task according to the IP address and the port number of the video stream in the negotiation result transmitted by the signaling interaction module, wherein the task can be creating a socket.
Step 302, receiving video stream data by using socket.
The video stream data is received with the socket created in step 301.
Step 303, RTP decapsulation.
Step 304, the PS decapsulates.
And 305, calling a transcoding card transcoding interface to transcode.
And sending the decapsulated video stream to a transcoding card by calling a transcoding interface of the transcoding card so that the watermark management module controls the transcoding card to transcode. And finally, sending the video added with the two-dimensional code and subjected to transcoding to a video sending module.
The watermark management module has the main functions as follows:
(1) and generating the two-dimension code according to the two-dimension code information received by the signaling interaction module.
(2) And converting the generated two-dimensional code dot matrix diagram into YUV420 data.
(3) The source video image frame is decoded and converted into YUV420 data.
(4) And (4) merging the data generated in the step (2) and the step (3) as new image frame data.
The video sending module has the following main functions:
(1) and creating a socket according to the IP and the port of the gateway RTP module sent by the signaling interaction module.
(2) And caching the video stream transcoded by the transcoding plate.
(3) And (3) carrying out PS packaging on the video stream with the OSD added in the step (2).
(4) And (4) carrying out RTP encapsulation on the PS stream encapsulated in the step (3).
(5) And (4) sending the encapsulated video stream to the socket specified in (1) by using the socket created in (1).
Based on the above system for adding a two-dimensional code to a video source, an embodiment of the present invention further provides a flow for adding a two-dimensional code, where the flow may be as shown in fig. 4, and specifically includes:
step 401, obtaining a negotiation result sent by the gateway service module.
Step 402, receiving the video stream sent by the gateway service module according to the IP address and the port number of the video stream, and decapsulating the video stream to obtain a source video.
And 403, adding and transcoding the two-dimension code to the source video according to the two-dimension code information and the source video.
Specifically, a two-dimensional code can be generated according to the two-dimensional code information, the two-dimensional code is converted into first data in a YUV format, a source video is decoded and converted into second data in the YUV format, and finally the first data and the second data are combined and then transcoded.
And step 404, sending the video added with the two-dimensional code to the gateway service module according to the IP address and the port number of the video stream.
Specifically, a port is created according to the IP address and the port number of the video stream, and then after the video to which the two-dimensional code is added is encapsulated, the encapsulated video is sent to the gateway service module through the port.
The above steps have been described in detail in the above system, and are not described again here.
In order to better explain the flow of adding the two-dimensional code provided by the embodiment of the present invention, the following description is given in a specific implementation scenario, and as shown in fig. 5, the specific implementation scenario specifically includes:
step 501, the gateway SIP module sends a signaling negotiation request to the signaling interaction module.
Step 502, the signaling interaction module sends a signaling negotiation result to the gateway SIP module.
Step 503, the signaling interaction module sends a start video receiving processing thread to the video processing module.
Step 504, the signaling interaction module sends the two-dimensional code parameter setting to the OSD management module.
And 505, the signaling interaction module sends video destination address information to the video sending module.
In step 506, the video processing module receives the original video sent by the gateway RTP module.
In step 507, the video processing module decodes the RTP packet.
In step 508, the video processing module unpacks the PS packet.
In step 509, the video processing module sends the source video stream to the OSD management module.
Step 510, the OSD management module adds the two-dimensional code.
The OSD management module is used for controlling the transcoding card to add the two-dimensional code to the source video stream and then transcoding the source video stream.
In step 511, the OSD management module adds the video stream after the two-dimensional code to the video sending module.
And step 512, the video sending module performs PS + RTP encapsulation.
The video sending module firstly carries out PS encapsulation and then carries out RTP encapsulation.
Step 513, the video sending module sends the two-dimensional code video stream to the gateway RTP module.
The above steps have been described in detail in the above system, and are not described again here.
The system for adding the two-dimensional code to the video source provided by the embodiment of the invention can comprise a gateway service module and a transcoding platform. The transcoding platform comprises a transcoding board cluster consisting of a plurality of transcoding cards, a signaling interaction module, a video processing module, a watermark management module and a video sending module. The signaling interaction module is used for negotiating two-dimensional code parameters with the gateway service module, selecting an idle transcoding card from the transcoding board cluster, and sending a negotiation result to the video processing module and the video forwarding module; and sending the identifier of the transcoding card in the idle state to a watermark management module. And the video processing module is used for receiving the video stream sent by the gateway service module according to the negotiation result sent by the signaling interaction module, and decapsulating the video stream to obtain the source video. And the watermark management module is used for controlling the transcoding card selected by the signaling interaction module to add the two-dimensional code to the source video and sending the video added with the two-dimensional code to the video sending module. And the video sending module is used for packaging the video added with the two-dimension code and sending the packaged video carrying the two-dimension code to the gateway service module according to the IP address and the port number of the video stream. When the two-dimension code adding is carried out through the system, the time delay can be reduced, the concurrency is improved, and the two-dimension code information can be effectively added to videos in different formats.
Based on the same technical concept, an embodiment of the present invention further provides a computing device, including:
a memory for storing program instructions;
and the processor is used for calling the program instruction stored in the memory and executing the two-dimensional code adding method according to the obtained program.
Based on the same technical concept, the embodiment of the invention also provides a computer-readable non-volatile storage medium, which comprises computer-readable instructions, and when the computer reads and executes the computer-readable instructions, the computer is enabled to execute the two-dimensional code adding method.
It should be noted that, in the embodiment of the present invention, when the OSD service is added, the concurrency is improved while the time delay is reduced. The scheme of embedding the transcoding board hardware cluster system in the gateway is used for the first time in the industry. Private software is used in a code conversion board to generate two-dimensional code image data and combine the two-dimensional code image data into a video, and a flow path of video streams is carried in two-dimensional code information contents, so that the two-dimensional code image data is used for the first time on security related products. The patent firstly provides an integral solution of hardware integration deployment and software architecture based on a video gateway, and the solution can effectively add two-dimensional codes for videos with different formats.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
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 system for adding two-dimensional codes to a video source, comprising: the gateway service module and the transcoding platform;
the transcoding platform comprises a transcoding board cluster consisting of a plurality of transcoding cards, a signaling interaction module, a video processing module, a watermark management module and a video sending module;
the signaling interaction module is used for negotiating two-dimensional code parameters with the gateway service module, selecting an idle transcoding card from the transcoding board cluster, and sending a negotiation result to the video processing module and the video sending module; sending the identifier of the transcoding card in the idle state to the watermark management module; the negotiation result comprises an IP address and a port number of the video stream;
the video processing module is used for receiving the video stream sent by the gateway service module according to the negotiation result sent by the signaling interaction module, and decapsulating the video stream to obtain a source video;
the watermark management module is used for controlling the transcoding card selected by the signaling interaction module to add the two-dimensional code to the source video and sending the video added with the two-dimensional code to the video sending module;
the video sending module is used for packaging the video added with the two-dimension code and sending the packaged video carrying the two-dimension code to the gateway service module according to the IP address and the port number of the video stream;
the negotiation result also comprises two-dimension code information; the gateway service module comprises a gateway SIP module; the gateway SIP module is used for communicating with the signaling interaction module by taking an http protocol as a carrier according to a json data format conforming to a rest rule to negotiate the two-dimension code parameters so as to realize that the signaling interaction module receives the two-dimension code parameters sent by the gateway SIP module as two-dimension code information;
the watermark management module generates a two-dimensional code according to the two-dimensional code information, and controls the transcoding card in the idle state to convert the two-dimensional code into first data in a YUV format and decode the source video and convert the source video into second data in the YUV format; and merging the first data and the second data and then transcoding.
2. The system of claim 1, wherein the gateway service module further comprises a gateway RTP module;
the gateway RTP module is used for sending a video stream to the video processing module and receiving the encapsulated video carrying the two-dimensional code sent by the video sending module.
3. The system of claim 1, wherein the video processing module comprises a transcoding scheduling sub-module and a video parsing sub-module;
the transcoding scheduling submodule is used for creating a video receiving task according to a negotiation result sent by the signaling interaction module; determining a transcoded video format; detecting the idle state of the transcoding card, and informing the signaling interaction module of the identifier of the transcoding card in the idle air conditioner;
and the video analysis submodule is used for de-encapsulating the video stream sent by the gateway service module to obtain a source video.
4. The system according to any one of claims 1 to 3, wherein the video sending module creates a port according to the IP address and the port number of the video stream, and sends the encapsulated video to the gateway service module through the port after encapsulating the video to which the two-dimensional code is added.
5. A two-dimensional code adding method based on the system of any one of claims 1 to 4, comprising:
acquiring a negotiation result sent by a gateway service module, wherein the negotiation result comprises two-dimension code information, an IP address and a port number of a video stream;
receiving the video stream sent by the gateway service module according to the IP address and the port number of the video stream, and decapsulating the video stream to obtain a source video;
adding and transcoding the two-dimension code to the source video according to the two-dimension code information and the source video;
sending the video added with the two-dimensional code to the gateway service module according to the IP address and the port number of the video stream;
wherein the adding and transcoding the two-dimensional code to the source video according to the two-dimensional code information and the source video comprises:
generating a two-dimensional code according to the two-dimensional code information;
converting the two-dimensional code into first data in a YUV format;
decoding the source video and converting the source video into second data in the YUV format;
and merging the first data and the second data and then transcoding.
6. The method of claim 5, wherein the sending the video added with the two-dimensional code to the gateway service module according to the IP address and the port number of the video stream comprises:
creating a port according to the IP address and the port number of the video stream;
and after the video added with the two-dimensional code is packaged, the packaged video is sent to the gateway service module through the port.
7. A computing device, comprising:
a memory for storing program instructions;
a processor for calling program instructions stored in said memory to execute the method of any one of claims 5 to 6 in accordance with the obtained program.
8. A computer readable non-transitory storage medium including computer readable instructions which, when read and executed by a computer, cause the computer to perform the method of any one of claims 5 to 6.
CN201910481020.8A 2019-06-04 2019-06-04 System for adding two-dimensional code to video source and two-dimensional code adding method Active CN110337045B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910481020.8A CN110337045B (en) 2019-06-04 2019-06-04 System for adding two-dimensional code to video source and two-dimensional code adding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910481020.8A CN110337045B (en) 2019-06-04 2019-06-04 System for adding two-dimensional code to video source and two-dimensional code adding method

Publications (2)

Publication Number Publication Date
CN110337045A CN110337045A (en) 2019-10-15
CN110337045B true CN110337045B (en) 2021-12-14

Family

ID=68140245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910481020.8A Active CN110337045B (en) 2019-06-04 2019-06-04 System for adding two-dimensional code to video source and two-dimensional code adding method

Country Status (1)

Country Link
CN (1) CN110337045B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111918069B (en) * 2020-07-10 2023-08-15 上海网达软件股份有限公司 Method and system for dynamically editing graphics and texts in real-time transcoding process
CN112866585A (en) * 2021-01-06 2021-05-28 北京数码视讯技术有限公司 System and method for controlling scheduling of video and audio streams

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101098483A (en) * 2007-07-19 2008-01-02 上海交通大学 Video cluster transcoding system using image group structure as parallel processing element
CN102930460A (en) * 2012-11-01 2013-02-13 青岛海信传媒网络技术有限公司 Electronic commerce system and advertisement video play method thereof
CN103458273A (en) * 2013-09-11 2013-12-18 上海美琦浦悦通讯科技有限公司 System and method of digital copyright control applied to multi-media file transmission
CN105704124A (en) * 2016-01-15 2016-06-22 北京天马网视科技有限公司 Video value regenerating system and method based on Internet
CN105787838A (en) * 2016-03-24 2016-07-20 江苏学正教育科技有限公司 Cloud education learning platform system based on two-dimensional code scanning
CN106341638A (en) * 2016-07-01 2017-01-18 四川秘无痕信息安全技术有限责任公司 Method for adding watermarks to video for Android equipment production
CN106454368A (en) * 2016-10-21 2017-02-22 浙江宇视科技有限公司 Method for superposing watermark in video image and device thereof
CN106686333A (en) * 2016-11-02 2017-05-17 四川秘无痕信息安全技术有限责任公司 Method for producing video added watermarks for Android equipment
CN108064395A (en) * 2015-05-01 2018-05-22 制图利有限责任公司 The system and method for embedded Quick Response Code in video image
CN108156464A (en) * 2017-12-19 2018-06-12 青岛海信网络科技股份有限公司 A kind of method and device of multipath concurrence transcoding

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8340344B2 (en) * 2008-10-01 2012-12-25 Broadcom Corporation Method and system for video transmission and processing with customized watermarking delivery
US9058645B1 (en) * 2012-05-07 2015-06-16 Amazon Technologies, Inc. Watermarking media assets at the network edge
US8818021B2 (en) * 2012-09-24 2014-08-26 Mobitv, Inc. Watermarking of digital video
US9160696B2 (en) * 2013-06-19 2015-10-13 Twilio, Inc. System for transforming media resource into destination device compatible messaging format
US20150163540A1 (en) * 2013-12-06 2015-06-11 Zenverge, Inc. Bandwidth Reclamation Using IP Infrastructure For Video Content Delivery
WO2016028936A1 (en) * 2014-08-20 2016-02-25 Verance Corporation Watermark detection using a multiplicity of predicted patterns
CN107370993B (en) * 2017-08-14 2019-10-08 哈尔滨市一舍科技有限公司 A kind of virtual shooting system and method based on two-dimentional code watermark

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101098483A (en) * 2007-07-19 2008-01-02 上海交通大学 Video cluster transcoding system using image group structure as parallel processing element
CN102930460A (en) * 2012-11-01 2013-02-13 青岛海信传媒网络技术有限公司 Electronic commerce system and advertisement video play method thereof
CN103458273A (en) * 2013-09-11 2013-12-18 上海美琦浦悦通讯科技有限公司 System and method of digital copyright control applied to multi-media file transmission
CN108064395A (en) * 2015-05-01 2018-05-22 制图利有限责任公司 The system and method for embedded Quick Response Code in video image
CN105704124A (en) * 2016-01-15 2016-06-22 北京天马网视科技有限公司 Video value regenerating system and method based on Internet
CN105787838A (en) * 2016-03-24 2016-07-20 江苏学正教育科技有限公司 Cloud education learning platform system based on two-dimensional code scanning
CN106341638A (en) * 2016-07-01 2017-01-18 四川秘无痕信息安全技术有限责任公司 Method for adding watermarks to video for Android equipment production
CN106454368A (en) * 2016-10-21 2017-02-22 浙江宇视科技有限公司 Method for superposing watermark in video image and device thereof
CN106686333A (en) * 2016-11-02 2017-05-17 四川秘无痕信息安全技术有限责任公司 Method for producing video added watermarks for Android equipment
CN108156464A (en) * 2017-12-19 2018-06-12 青岛海信网络科技股份有限公司 A kind of method and device of multipath concurrence transcoding

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《基于监控视频的二维码数字水印技术研究》;何芳州;《警察技术》;20140907;全文 *

Also Published As

Publication number Publication date
CN110337045A (en) 2019-10-15

Similar Documents

Publication Publication Date Title
US10924783B2 (en) Video coding method, system and server
CN110337045B (en) System for adding two-dimensional code to video source and two-dimensional code adding method
CN103686210A (en) Method and system for achieving audio and video transcoding in real time
WO2014183478A1 (en) Video encoding method and apparatus
CN111327580A (en) Message transmission method and device
CN108809924B (en) Method and apparatus for performing network real-time communication
US9872062B1 (en) Enforcing synchronization by embedding audio within video frame data
US9936266B2 (en) Video encoding method and apparatus
US11265357B2 (en) AV1 codec for real-time video communication
CN111314629B (en) OSD information superposition method and device
CN114978485A (en) Voice data transmission method, system, electronic device and storage medium
CN108156464A (en) A kind of method and device of multipath concurrence transcoding
US10536501B2 (en) Automated compression of data
CN116847128B (en) Video superposition processing method based on 5G VoLTE video teleconference
EP4203479A1 (en) Rendering media streams
WO2023029689A1 (en) Multimedia data sharing method, media sharing server, terminal, electronic device, and computer-readable storage medium
CN110740351B (en) Method, device and storage medium for transmitting stream media data
EP4375923A1 (en) Point cloud data transmission device, point cloud data transmission method, point cloud data reception device, and point cloud data reception method
CN112866814A (en) Audio and video processing method and device
KR20160149144A (en) MMT apparatus and method for processing media data
US20160330515A1 (en) Digital converter and method to distribute audio video programs
Lobov et al. Media server for video and audio exchange between the U-70 accelerator complex control rooms
WO2024088599A1 (en) Transporting multimedia immersion and interaction data in a wireless communication system
CN116980388A (en) Data processing method, apparatus, computer, storage medium, and program product
CN114900507A (en) RTC audio data processing method, device, equipment and 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
TA01 Transfer of patent application right

Effective date of registration: 20200812

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant after: QINGDAO HISENSE ELECTRONIC INDUSTRY HOLDING Co.,Ltd.

Address before: 266071 No. 151, Zhuzhou Road, Laoshan District, Shandong, Qingdao

Applicant before: Hisense TransTech Co.,Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201130

Address after: Donghai West Road 266071 Shandong city of Qingdao province No. 17

Applicant after: HISENSE Co.,Ltd.

Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant before: QINGDAO HISENSE ELECTRONIC INDUSTRY HOLDING Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant