Media packet processing method and device

A processing method and a technology of a processing device, which are applied in the field of multimedia, can solve problems such as uninterrupted freezing and audio and video data freezing, and achieve the effect of playing media packages smoothly

Active Publication Date: 2019-11-22
VISIONVERA INFORMATION TECH CO LTD
View PDF9 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 direct

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 packet processing method and device
  • Media packet processing method and device

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 clearly understood, the present invention will be described in further detail below with reference to the accompanying drawings and specific embodiments.

[0023] One of the core concepts 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. The media packets are stored in the first queue and the second queue in turn, the network status is indirectly determined according to the time difference between the media packets in the first queue and the second queue, and the network conditions are indirectly determined according to the time difference between the media packets in the first queue and the second queue. The difference between the time differences of the media packets determines the cache state of the media packets in th...

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 embodiments of the invention provide a media packet processing method and device, and the method comprises the steps: respectively obtaining the timestamps of all media packets in a preset first queue and a preset second queue; determining a third time difference value according to the timestamps of the Nth media packet in the first queue and the second queue and preset reference time; when the third time difference value is smaller than the cache time length, determining a sixth time difference value according to the timestamp of the (N-1)th media packet in the first queue and the secondqueue and the reference time; when the third time difference value is greater than the sixth time difference value, reducing the playing speed of the media packet in the second queue; and when the third time difference value is smaller than the sixth time difference value, increasing the playing speed of the media packet in the second queue. According to the embodiments of the invention, when thenetwork environment becomes poor, the playing speed of the media packet can be adjusted, and the effect of smoothly playing the media packet is achieved.

Description

technical field [0001] The present invention relates to the field of multimedia technology, and 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 popularized in users' life, work, and study. [0003] There are two main ways to play the traditional audio and video data. The first way is to directly play the audio and video data after receiving it. The second method is to set a buffer area, and start playing the audio and video data when the buffer area is full of audio and video data. However, when the network environment becomes poor, the audio and video data played in the first method will be directly stuck, and the audio and video data played in the second method will have obvious uninterrupted freeze problems. SUMMARY OF THE INVENTION [0004] In view of the above problems, embodiments of the present i...

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
IPC IPC(8): H04L29/06H04N21/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