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

Method, apparatus, computer device and readable storage medium for switching resolution

A definition and switching time technology, applied in the field of computer equipment and readable storage media, devices, a method of switching resolution, can solve problems such as playback freeze, not smart enough, affecting user experience, etc.

Active Publication Date: 2021-08-24
SHANGHAI BILIBILI TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when using DASH at present, the resolution is switched according to the user's choice, which is not smart enough; in addition, since the fragments still need to be downloaded and buffered, the current fragment has been played will appear during the resolution switching process. The situation where the download of the next segment has not been completed will cause the playback to freeze and affect the user experience

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, apparatus, computer device and readable storage medium for switching resolution
  • Method, apparatus, computer device and readable storage medium for switching resolution
  • Method, apparatus, computer device and readable storage medium for switching resolution

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] The method for switching the definition provided by the present invention will be described below with reference to the accompanying drawings.

[0045] figure 1 An optional schematic flow chart of the method for switching clarity in the present invention, the method is applied to the DASH client, such as figure 1 As shown, the method may include the following steps:

[0046] Step S101: When using DASH to play audio and / or video, obtain an MPD file, and obtain clarity information by parsing the MPD file.

[0047] Specifically, the resolution information includes: multiple usable resolutions and a bandwidth corresponding to each resolution.

[0048] Further, the MPD file is a video and / or video description file, which can be used to describe the composition of the entire MPEG DASH (also known as DASH) code stream, which is equivalent to M3U8 of the HLS (HTTP Live Streaming) protocol (M3U8 is a part of video) Format) file, MPD file is an XML (Extensible Markup Language,...

Embodiment 2

[0097] Based on the method for switching resolution provided in the first embodiment above, this embodiment provides a device for switching resolution, specifically, image 3 An optional structural block diagram of the device for switching resolution is shown, the device for switching resolution is divided into one or more program modules, one or more program modules are stored in a storage medium, and are controlled by one or more processors to complete the present invention. The program module referred to in the present invention refers to a series of computer program instruction segments capable of completing specific functions, which is more suitable than the program itself to describe the execution process of the device for switching resolution in the storage medium. The following description will specifically introduce the programs of this embodiment function of the module.

[0098] Such as image 3 As shown, the device for switching clarity applied to the DASH client ...

Embodiment 3

[0132] This embodiment also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server, or a cabinet server (including an independent server, or A server cluster composed of multiple servers), etc. Such as Figure 4 As shown, the computer device 40 in this embodiment at least includes but is not limited to: a memory 401 and a processor 402 that can be communicated with each other through a system bus. It should be pointed out that, Figure 4 Only computer device 40 is shown having components 401-402, but it is to be understood that implementing all of the illustrated components is not a requirement and that more or fewer components may instead be implemented.

[0133] In this embodiment, the memory 401 (that is, a readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), ...

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 method, device, computer equipment and readable storage medium for switching clarity. The method includes: when using DASH to play audio and / or video, obtain a media description MPD file, and analyze the MPD The file obtains clarity information; in the process of playing audio and / or video, regularly determine the current safe download speed according to the set time interval, and judge whether it is necessary to update the current playback speed according to the safe download speed and the clarity information switch the definition of audio and / or video; if it is necessary to switch the definition, determine the switching time point according to the elapsed playing time of the currently playing segment and the preset safety buffering time, so as to The definition is switched at the above switching time point. The present invention can automatically switch the definition according to the current download speed, and no stuck phenomenon will occur.

Description

technical field [0001] The invention relates to the technical field of audio and video playback, in particular to a method, device, computer equipment and readable storage medium for switching clarity. Background technique [0002] In order to make audio and video play more smoothly, more and more video websites have begun to adopt DASH (DynamicAdaptive Streaming over HTTP, dynamic adaptive streaming based on HTTP) technology. DASH is an adaptive bitrate streaming technology that makes high-quality streaming Media can be delivered via the Internet through traditional HTTP web servers; DASH decomposes a streaming media content into multiple fragments, each fragment contains playable content of a certain length (for example, 10 seconds), and each fragment corresponds to Multiple definition (for example, 1080P, 720P, 480P, 360P), the client can choose to download and play the segment of the specified definition according to the current network conditions. Compared with the tra...

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): H04N21/4402H04N21/462H04N21/442H04N21/435
CPCH04N21/4402H04N21/4621H04N21/44209H04N21/435H04L65/752H04N21/8456H04N21/44004H04N21/26258H04N21/23439H04N21/234363H04N21/2402H04N21/2662H04L65/75
Inventor 吴志强郑翰超陈辉丁建强谭兆歆
Owner SHANGHAI BILIBILI 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