Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for converting rtsp/rtp audio and video streams into ts streams and outputting them through asi interface

A technology of audio, video and interface, which is applied in the field of ASI interface output, can solve problems such as unusable, and achieve the effect of stable transmission

Active Publication Date: 2018-08-07
BEIJING ZHONGHUANXING TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the field of video surveillance, most IP cameras output audio and video content through the RTSP / RTP protocol, but the RTSP / RTP protocol is a protocol based on TCP / IP, so it can only be used on an IP network, and cannot be used on a cable digital TV network or used in wireless digital television network

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for converting rtsp/rtp audio and video streams into ts streams and outputting them through asi interface
  • Method and device for converting rtsp/rtp audio and video streams into ts streams and outputting them through asi interface
  • Method and device for converting rtsp/rtp audio and video streams into ts streams and outputting them through asi interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] The present invention will be further described below in conjunction with specific embodiment and accompanying drawing, set forth more details in the following description so as to fully understand the present invention, but the present invention can obviously be implemented in many other ways different from this description, Those skilled in the art can make similar promotions and deductions based on actual application situations without violating the connotation of the present invention, so the content of this specific embodiment should not limit the protection scope of the present invention.

[0046] Embodiment of the method for converting RTSP / RTP audio and video streams into TS streams and outputting them through the ASI interface

[0047] figure 1 It is a flowchart of a method for converting RTSP / RTP audio and video streams into TS streams and outputting them through an ASI interface according to an embodiment of the present invention. It should be noted that thi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and apparatus for converting RTSP / RTP audio and video flows into TS flows and outputting the TS flows through an ASI. The method comprises the following steps: establishing an RTSP connection with an IP pick-up head and obtaining audio and video decoding information; establishing RTP channels and receiving ports; receiving audio and video RTP packets of audio and video flows, and segmenting audio and video frames by time information; removing RTP packet headers, and forming complete original audio and video frames through combination; respectively adding the audio and video decoding information to the head portions of the original audio and video frames and the head portions of I frames; calculating PTS values and DTS values of the original audio and video frames through the time information and sampling rate information; reordering the original audio and video frames; respectively packing the original audio and video frames and the PTS values and the DTS values thereof into PES packets, and segmenting the PES packets into TS packets according to a TS form; calculating PCR values of the TS flows and inserting one PCR packet when intervals of the DTS values of video frames exceed a value smaller than 100ms; writing the TS packets and the PCR packets of the audio and video frames into a buffer memory together; and reading the buffer memory according to an output code rate of the ASI, and for every other time interval not greater than 100ms, inserting one PAT packet and one PMT packet for outputting to the ASI.

Description

technical field [0001] The present invention relates to the technical field of sending and receiving streaming data, specifically, the present invention relates to a method and a device for converting RTSP / RTP audio and video streams (content) into TS streams and outputting them through an ASI interface. Background technique [0002] Generally, the Real Time Streaming Protocol (RTSP) is used together with the Real Time Transport Protocol (RTP), wherein RTSP is used for a session between a sender and a receiver, and RTP is used for transmitting audio and video content. [0003] In the field of video surveillance, most IP cameras output audio and video content through the RTSP / RTP protocol, but the RTSP / RTP protocol is a protocol based on TCP / IP, so it can only be used on an IP network, and cannot be used on a cable digital TV network or Used in the wireless digital television network. In the field of digital TV, the audio and video content in the cable digital TV network or ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04N21/236H04N21/6437H04N21/8547H04N7/18
CPCH04N7/18H04N21/236H04N21/6437H04N21/8547
Inventor 王琪黄云辉
Owner BEIJING ZHONGHUANXING TECH CO LTD