Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Media resource processing method and device of RTSP to RTMP protocol

A media resource processing and RTSP protocol technology, which is applied in the field of video processing, can solve the problems of cumbersome, complex, and low processing efficiency in the process of converting RTSP to RTMP protocol, and achieve the effects of ensuring correctness, simple operation, and efficient processing

Pending Publication Date: 2022-04-22
BOE TECH GRP CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the existing RTSP to RTMP protocol process is cumbersome and complicated, resulting in low processing efficiency. How to find a simple and efficient implementation method for completing the conversion process is an urgent need for further research and development

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
  • Media resource processing method and device of RTSP to RTMP protocol
  • Media resource processing method and device of RTSP to RTMP protocol
  • Media resource processing method and device of RTSP to RTMP protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0073] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present invention will be more thoroughly understood, and will fully convey the scope of the present invention to those skilled in the art.

[0074] One or more embodiments of the present invention provide a media resource processing method of RTSP to RTMP protocol, such as figure 1 As shown in the figure, this method can obtain the offset corresponding to each data frame in the streaming video data in a simple and efficient process during the process of converting RTSP to RTMP protocol. One or more embodiments of the present invention provide the following specific s...

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 discloses a media resource processing method and device for RTSP (Real Time Streaming Protocol) to RTMP (Real Time Messaging Protocol), relating to the technical field of video processing and optimizing the processing process of RTSP to RTMP, the method comprises the following steps: when acquiring streaming video data through the RTSP, respectively adding decoding timestamps to at least two data frames according to the sequence of the continuously received at least two data frames; storing the at least two data frames in a preset data frame cache linked list, wherein the at least two data frames in the preset data frame cache linked list are sorted according to the sequence of the corresponding original timestamps; according to the sorting positions corresponding to the at least two data frames, determining display timestamps corresponding to the at least two data frames; calculating the offset corresponding to the data frame according to the decoding timestamp and the display timestamp corresponding to the data frame, and adding the offset into the message header information of the data frame; and gradually extracting the data frames pointed by the head pointer from the preset data frame cache chain table, and pushing the data frames to a server supporting the RTMP protocol.

Description

technical field [0001] The present invention relates to the technical field of video processing, and in particular, to a method and device for processing media resources of RTSP to RTMP protocol. Background technique [0002] In the technical field of video processing, there are video streams in Real Time Streaming Protocol (RTSP) format and video streams in Real Time Messaging Protocol (RTMP) format. In the development of streaming media, the problem of protocol conversion is often encountered. For example, the camera often supports the RTSP protocol, but in fact the RTMP protocol is the protocol supported by the playback server. In this case, the conversion between protocols needs to be done to achieve better performance. compatibility and consistency of subsequent business processes. [0003] At present, different streaming media protocol conversions are also actually required. However, the existing RTSP-to-RTMP protocol process is cumbersome and complicated, resulting ...

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 Applications(China)
IPC IPC(8): H04N21/4402H04N21/8547H04L65/75H04L65/65H04L69/08
CPCH04N21/440218H04N21/8547H04L69/08
Inventor 董超峰
Owner BOE TECH GRP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products