A method for decoding video files using a video player

A video player and video file technology, applied in the field of video decoding, can solve problems such as unsmooth video switching, inflexible memory management, uncontrollable loading of video files, etc., and achieve the effect of smooth playback and flexible management

Active Publication Date: 2016-01-20
天津智融创新科技发展有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] One of the more common video decoding methods at present is the "black box" decoding method, that is, decoding is performed only by providing the URL address of the video file. This method exists, and the loading of the video file cannot be controlled, and the emptying of the buffer cannot be controlled. The disadvantage of unsmooth video switching, and only one buffer is used in this technology, and the memory management is not flexible enough

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
  • A method for decoding video files using a video player
  • A method for decoding video files using a video player
  • A method for decoding video files using a video player

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In conjunction with the accompanying drawings, a method for decoding video files by using a video player will be described in detail below.

[0029] Utilize video player according to the present invention to video file decoding method comprises the following steps:

[0030] Step 1. Access the video source address of the video file through the video player to obtain the video metadata.

[0031] Usually the video file is stored in a specific file server. When the video player plays the video, it needs to obtain the video file through the playback address of the video file. Before playing the video file, it first obtains the video metadata. Video metadata is data describing storage rules of video files, and video files can be easily parsed by parsing video metadata. The video metadata is obtained by parsing the video file by accessing the address of the video file.

[0032] Preferably, the video file is an FLV file.

[0033] Step 2. Calculate the length of the video fil...

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 video decoding method, which is used for decoding a video file by utilizing a video player. The video decoding method comprises the following steps of: a step 1 of accessing a video source address of the video file by the video player to acquire video metadata; a step 2 of calculating a header length of the video file according to a length of the video metadata; a step 3 of loading a video decoding object of FLASH into the video player; a step 4 of loading the video file, reading the video file into a binary array and decoding the video file by utilizing the video decoding object; and a step 5 of detecting the directional operation action of a user, reading the video file which uses the operation position as a starting point according to the directional operation position of the user and decoding the video file. By the video decoding method provided by the invention, the volume of data placed into a buffer region can be intelligently controlled and the buffer region can be emptied as required, so that flexible management of a memory, seamless switching of videos with different code rates and smooth playing under different network conditions are implemented.

Description

technical field [0001] The invention belongs to the field of video decoding, and relates to a method for decoding video files by using a video player. technical background [0002] One of the more common video decoding methods at present is the "black box" decoding method, that is, decoding is performed only by providing the URL address of the video file. This method exists, and the loading of the video file cannot be controlled, and the emptying of the buffer cannot be controlled. The video switch is not smooth, and only one buffer is used in this technology, and the memory management is not flexible enough. Contents of the invention [0003] Aiming at the shortcomings of black box decoding, the present invention proposes a video decoding method, which controls the loading of video files, reads video files into binary arrays, intelligently controls the amount of data put into the buffer and clears the buffer as required, thus realizing Flexible management of memory, seam...

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/438H04N21/44H04N21/858H04N21/643H04N21/472
Inventor 林洋胡曰峰
Owner 天津智融创新科技发展有限公司
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