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

Video playing method, device, computer equipment and storage medium

A technology of video playback and video player, which is applied in changing the direction of input video signal field conversion, selective content distribution, electrical components, etc., which can solve the problems that affect the playback of video players and the inability to accurately read playback parameters, etc.

Active Publication Date: 2020-05-08
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the playback parameters cannot be accurately read, which in turn affects the playback of the video file by the video player

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
  • Video playing method, device, computer equipment and storage medium
  • Video playing method, device, computer equipment and storage medium
  • Video playing method, device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0076] Below to figure 2 Take the playback parameters of a video file shown in as an example for illustration.

[0077] figure 2 Among them, width indicates the number of horizontal pixels, height indicates the number of vertical pixels, x indicates that the scanning method is uncertain, and Freq indicates the frame rate. The first column is the playback parameters of the video file read by the underlying system API, the resolution is 512x288, the first frame rate is 0, and the scanning method is uncertain. The frame rate of 15 Hz in the second column is the frame rate of the format type of the video file obtained through the auxiliary function 15 Hz, which is used as the second frame rate.

[0078] The third column is the playback parameters determined according to the method for determining the target scanning mode and the playback frame rate above. Since the resolution 512x288 of the read video file is not the standard resolution, adjust the resolution to 720x576. Acc...

example 2

[0081] by image 3 The playback parameter information of the video file is shown as an example.

[0082] From image 3 In the first column, it can be seen that the resolution of the read video file is 720x432, the scanning method is uncertain, and the first frame rate is 0. Since the first frame rate 0 does not belong to the regular frame rate, the second frame rate is determined to be 25Hz according to the format type of the video file, as shown in the second column. Since the resolution 720x432 of the read video file is not the standard resolution, it is adjusted to the closest standard resolution 720x576. The second frame rate of 25 Hz belongs to the regular frame rate set, the second frame rate is not lower than the threshold frame rate, and the resolution is not higher than the threshold resolution, and the scanning mode is determined to be interlaced scanning (I). Since the second frame rate of 25 Hz belongs to the first subset, it is determined that the playback fram...

example 3

[0085] by Figure 4 The playback parameter information of the video file is shown as an example.

[0086] From Figure 4In the first column, it can be seen that the resolution of the read video file is 1920x1080, the scanning method is uncertain, the first frame rate is 29.97Hz, the first frame rate is 29.97Hz as the standard resolution, the second frame rate is the same as the first One frame rate is the same, as shown in the second column. Since the resolution of the read video file is 1920x1080, which belongs to the standard resolution, no adjustment is required; the second frame rate is 29.97Hz, not lower than the threshold frame rate of 25Hz, and the resolution is not higher than the threshold resolution, and the scanning method is determined to be interlaced Scanning (I); the second frame rate of 29.97Hz belongs to the first subset, and the second frame rate of 29.97Hz is doubled to obtain 59.94Hz, that is, the multiple of 29.97Hz is selected from the second subset of ...

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 video playing method and apparatus, a computer device and a storage medium. The method comprises the following steps: reading a first frame rate and a resolution of a video file, when the first frame rate does not belong to a regular frame rate set, determining a second frame rate of the video file according to a video format type to which the video file belongs, determining a scanning mode and a playing frame rate according to whether the second frame rate belongs to the regular frame rate set, that is, determining the necessary scanning mode and the playing frame rate for playing the video file through the read first frame rate and the resolution. Therefore, complete and suitable playing parameters are obtained, a video player plays the video file with the suitable playing parameters, and the following problem in the prior art is solved: as the video file does not use the standard format, the complete playing parameters cannot be accurately read, thus affecting the playing of the video file by the video player.

Description

technical field [0001] The present application relates to the technical field of video playing, and in particular to a video playing method, device, computer equipment and storage medium. Background technique [0002] The complete playback parameters of video files include resolution, scanning method, and frame rate. Currently, there are many formats of video files. Because video files are produced from a wide range of sources, not all video files are produced according to standard specifications. [0003] In related technologies, since the format of the video file does not adopt a standard format, when the video player reads the video file according to the standard format, other playing parameters except the resolution may not be read. For example, the playback parameters of the read video file are 1920x1080 30Hz, it can be seen that only the resolution and frame rate are read, but not the scan mode. Therefore, the playback parameters cannot be accurately read, thereby aff...

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/4402H04N7/01
CPCH04N7/0127H04N21/440263H04N21/440281
Inventor 龙俊卫
Owner GUANGDONG OPPO MOBILE TELECOMM CORP 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