Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Dynamic flow control method of streaming media server for ensuring audio/video quality

A streaming media server and dynamic flow technology, applied in image communication, selective content distribution, electrical components, etc., can solve the problems of reducing playback effect, impact of switches or routers, slow playback, etc., to ensure playback effect and solve packet loss problem, impact reduction effect

Active Publication Date: 2011-09-14
FENGHUO COMM SCI & TECH CO LTD
View PDF5 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the different types of streaming media frames, the size of the frame varies greatly, but the frame interval of the playback is basically the same. Refer to the PTS (Play Time Stamp, display time stamp) for streaming. If the flow control is not good, it will cause the streaming media server to stream. The code rate is very unstable. When there is a large amount of concurrency, the network traffic jitter is quite large, which has an impact on the switch or router, and it is easy to cause packet loss in the intermediate router, which directly affects the decoding quality of the terminal and reduces the playback effect.
Some packet loss control technologies currently used, such as RTCP (RTP Control Protocol, RTP control protocol) to control packet loss retransmission, FEC (Forward Error Correction, forward error correction), etc., can solve packet loss to a certain extent, but these The technology is based on the smooth streaming of the streaming media system, and this type of technology requires additional overhead, such as bandwidth and computing power of the server, the cooperation of the client and the server, etc., which cannot save costs
Even if the media stream is played at a constant bit rate, there are corresponding problems, because many media have variable bit rates. If the bit rate is fixed, the part with a small bit rate will be played too fast, and the part with a high bit rate will be played too quickly. The problem of slowness still affects the quality

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The embodiments of the present invention will be described in further detail below.

[0018] Streaming media server of the present invention guarantees the method for audio-video quality dynamic flow control, and the steps are as follows:

[0019] (1) Before playing, divide the sent stream file into a group of slices according to the same playing time (for example, set to 4 minutes), and create index information for these slices. Assuming that this embodiment plays a slice, it has a total of 6000 frames , the average frame interval is 40ms, there is an I frame in every 30 frames on average, the I frame size is between 40KB and 60KB, and the B and P frames are between 10KB and 30KB.

[0020] (2) After receiving the playback request, the streaming media server calculates the average code rate according to the index information, records or sets the group boundary, and sends all frames in the frame group to the client with reference to the average code rate. For video-on-d...

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 dynamic flow control method of a streaming media server for ensuring audio / video quality, which comprises the following steps of: (1), dividing a sending stream document into a group of slices and establishing index information for the slices before the sending stream document is played; (2), figuring out an average code rate according to the index information, and recording or setting a group boundary, wherein all frames in a frame group are sent with reference to the average code rate; (3), sending a transport stream packet, and recording to the length of the maximum packet, and obtaining the time interval of the maximum packet by dividing the length of the maximum packet by the average code rate; (4) initially playing one packet, determining a relative time forthe next packet to be sent according to the time interval of the maximum packet, calculating an absolute time point for the next packet to be sent, and judging whether the current time exceeds the relative time; (5), reaching the end of a frame to complete the sending of one packet; and (6) recalculating the average code rate and entering the next circulation when a played frame reaches the groupboundary. When the method is adopted, the problem of packet loss can be solved, the impact on a router can be reduced, the play speed and play effect can be ensured, and the play quality can be improved.

Description

technical field [0001] The invention relates to a streaming media system and a step-by-step video-on-demand system, in particular to a dynamic flow control method for a streaming media server to ensure audio and video quality. Background technique [0002] The streaming media system is a system with very high real-time requirements. At present, there are more and more streaming media encoding formats, and the bit rate changes more and more. Good flow control must be able to adapt to these changes. Due to the different types of streaming media frames, the size of the frame varies greatly, but the frame interval of the playback is basically the same. Refer to the PTS (Play Time Stamp, display time stamp) for streaming. If the flow control is not good, it will cause the streaming media server to stream. The code rate is very unstable. When there is a large amount of concurrency, the network traffic jitter is quite large, which has an impact on the switch or router, and it is ea...

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/647
Inventor 吴凌俊陆旭彬冯军
Owner FENGHUO COMM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products