Method and device for processing media packets

A processing method and a technology of a processing device, which are applied in the multimedia field and can solve problems such as audio and video data freezes and uninterrupted freezes

Active Publication Date: 2022-02-22
VISIONVERA INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the network environment becomes poor, the first way to play audio and video data will directly freeze, and the second way to play audio and video data will have obvious uninterrupted freeze problems

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 processing media packets
  • Method and device for processing media packets

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0023] One of the core ideas of the embodiments of the present invention is to preset a first queue and a second queue, the first queue is mainly used for receiving media packets, and the second queue is mainly used for playing media packets. Store the media packets in the first queue and the second queue in turn, determine the network status indirectly according to the time difference between the media packets in the first queue and the second queue, and The difference between the time difference of two media packets determines the cache status of the media packets in the second queue, so as to achieve the effect of playing media packets smoothly.

[0024] refer to figure 1 , shows a flow chart of the steps of an embodiment of a...

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

Embodiments of the present invention provide a method and device for processing media packets, wherein the method includes: separately obtaining the time stamps of each media packet in the preset first and second queues; The timestamp of a media packet and the preset reference time determine the third time difference; when the third time difference is less than the cache time length, according to the timestamp and reference of the N-1th media packet in the first and second queues Time determines the sixth time difference; when the third time difference is greater than the sixth time difference, reduce the playback speed of the media packets in the second queue; when the third time difference is less than the sixth time difference, increase The playback speed of media packets in the second queue. The embodiment of the present invention realizes that when the network environment becomes poor, the playing speed of the media package can be adjusted, and the effect of playing the media package smoothly is achieved.

Description

technical field [0001] The present invention relates to the field of multimedia technologies, in particular to a method for processing media packets and a device for processing media packets. Background technique [0002] With the rapid development of network technology, audio and video data playback is widely used in users' life, work, study and other aspects. [0003] There are mainly two ways to play traditional audio and video data. The first way is to play the audio and video data directly after receiving it. The second method is to set a buffer area, and when the buffer area is full of audio and video data, start playing the audio and video data. However, when the network environment becomes poor, the first way to play audio and video data will directly freeze, and the second way to play audio and video data will have obvious uninterrupted freeze problems. Contents of the invention [0004] In view of the above problems, embodiments of the present invention are pro...

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): H04L65/60H04N21/44H04N21/439
CPCH04N21/44004H04N21/4392H04L65/75
Inventor 谢文龙李云鹏袁庆宁张小帅
Owner VISIONVERA INFORMATION TECH 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
Try Eureka
PatSnap group products