Method and apparatus for implementing code rate switching

A bit rate and pre-switching technology, applied in the field of bit rate switching, can solve problems such as poor user experience, playback freezes, and playback freezes for a long time, so as to improve real-time performance and avoid playback freezes.

Inactive Publication Date: 2017-12-05
ZTE CORP
View PDF6 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, HLS bit rate switching also has disadvantages: HLS bit rate switching is based on slices. When the network bandwidth suddenly deteriorates, it will take a long time to download the currently playing high bit rate slices. This will cause the playback to freeze for a long time, and the user experience is very poor; for example, there are three bit rates of 8 megabits per second (Mb/s), 4Mb/s, and 2Mb/s in the video source, and the user's bandwidth is just 8Mb/s s, because the bandwidth and source code rate are basically balanced, it will automatically switch to the highest code rate of 8Mb/s for playback, and there will be no redundant cached data in the player. When the network deteriorates and drops to 2Mb/s , if you directly switch t...

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 apparatus for implementing code rate switching
  • Method and apparatus for implementing code rate switching
  • Method and apparatus for implementing code rate switching

Examples

Experimental program
Comparison scheme
Effect test

application example 1

[0139] The execution subject of this application example is a set-top box, and the fragments downloaded by the set-top box are played through the terminal. Figure 5 It is the method flowchart of the first application example of the present invention, as Figure 5 as shown,

[0140] Step 500, when the download rate of the current segment is greater than the product of the source code rate of the current segment and the preset second percentage threshold, detect the latest GOP in the downloaded code stream of the current segment, Obtain the PTS information of the I frame from the latest GOP detected, and play the fragmentation of the source code rate corresponding to the download rate according to the obtained PTS information;

[0141] Step 501. When the download rate of the current segment is less than the product of the source code rate of the current segment and the preset first percentage threshold, determine whether the downloaded current segment meets the video playback ...

application example 2

[0149] The execution subject of this application example is a set-top box, and the fragments downloaded by the set-top box are played through the terminal. Figure 6 It is a method flowchart of the second application example of the present invention, such as Figure 6 as shown,

[0150] Step 600, the terminal downloads the fragments;

[0151] Step 601, determine whether the download rate is less than the product of the source code rate of the current segment and the first percentage threshold; if it is less than the product of the source code rate of the current segment and the first percentage threshold, execute step 602; if greater than It is equal to the product of the source code rate of the current fragment and the first percentage threshold, and is played by a decoder when switching to fragments with a high code rate is not implemented;

[0152] Step 602, the downloaded content of the current segment satisfies the video playback before the code rate switching;

[0153...

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 relates to a method and apparatus for implementing code rate switching. The method includes the following steps that: when slices are downloaded, a latest group of pictures (GOP) is detected in the code streams of currently downloaded slices; the presentation time stamp (PTS) information of key frames (I frames) is extracted from the detected latest GOP; and slices of a slice source code rate corresponding to a downloading rate are played according to the obtained PTS information. According to the method and apparatus of the invention provided by the embodiments of the present invention, the PTS information is acquired, code rate switching in the slices can be realized, stagnation caused by code rate switching between the slices can be avoided, the real-time performance of the acquisition of videos by a user and the online video viewing experience of the user can be improved.

Description

technical field [0001] This article involves but is not limited to multimedia playback technology, especially a method and device for realizing code rate switching. Background technique [0002] With the rapid development of the mobile Internet, the promotion of application services (OTT, Over The Top) technology provided to users through the Internet and the emergence of various smart terminal devices, people can watch videos online through video terminals such as mobile phones, handheld computers, and set-top boxes. An increasingly common way of leisure and entertainment. The dynamic bit rate adaptive technology (HLS, HTTP Live Streaming) protocol proposed by Apple is currently a relatively mature OTT technical specification. The source can be encoded into multiple bit rates, and various bit rate sources can be cut into several 10-second segments. (S) left and right shards, figure 1 It is a schematic diagram of the slice organization method in related technologies, such ...

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): H04N21/61H04N21/845H04L29/06
CPCH04N21/6125H04N21/8456H04L65/65
Inventor 黄建陈洲易鹤声章鹏
Owner ZTE CORP
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