Video playback method, device and storage medium

A video playback and video technology, applied in the field of video processing, can solve the problem of mismatch between resolution and screen resolution, and achieve the effect of self-adaptive display

CN111372126BActive Publication Date: 2022-08-05HANGZHOU HIKVISION SYST TECH
15 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2022-08-05

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a video playing method, a device and a storage medium, which belong to the technical field of video processing. The method includes: acquiring the video resolution of the target video frame; determining the video frame aspect ratio of the target video frame based on the video resolution; determining the ratio between the current display width of the display screen and the video frame aspect ratio to obtain a height comparison value; determine the size of the video playback window according to the size relationship between the height comparison value and the current display height of the display screen, and perform video playback based on the determined video playback window. In the process of determining the size of the video playback window, the relationship between the aspect ratio of the video frame, the current display width and the display height of the display screen is comprehensively considered, so that the determined video playback window can match the target video frame better. Matching, so that when the video is played based on the determined video playback window, adaptive display of the video can be achieved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] Embodiments of the present invention relate to the technical field of video processing, and in particular, to a video playback method, device, and storage medium. Background technique

[0002] Affected by factors such as camera equipment and post-processing, the resolution of video is diversified. For example, the resolution of the first half of a video frame and the second half of the video frame may be very different. On the other hand, with the rapid development of electronic devices, the screen resolutions of terminals used for playing videos are also different in size. Therefore, when playing a video, the resolution of the video may not match the screen resolution. Therefore, in the process of video playback, how to realize the adaptive playback of video has become a research hotspot. SUMMARY OF THE INVENTION

[0003] Embodiments of the present invention provide a video playback method, device, and storage medium, which can realize adaptive pl...

Examples

Embodiment Construction

[0110] In order to make the objectives, technical solutions and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0111] Before the detailed introduction of the video playback method provided by the embodiments of the present invention, the application scenarios and implementation environments involved in the embodiments of the present invention are briefly introduced.

[0112] First, the application scenarios involved in the embodiments of the present invention are briefly introduced.

[0113]Usually, a video may include video frames of various resolutions. In order to adapt to the display of the screen, during the video playback process, the data size of each video frame needs to be adjusted to ensure that the video image is not distorted. However, how to make the target video frame better adapt to the display of the screen has become a research hotspo...