The invention belongs to the technical field of computers, and provides a video display and storage method and
system based on a wayland protocol and a storage medium in order to solve the problems that an existing wayland video
system is high in rendering
delay, high in
CPU load, low in
storage efficiency and poor in cross-platform compatibility. Video frames are directly written into an
Overlay layer through DRM-KMS and mixed by bypassing a synthesizer, meanwhile, CPU memory amplitude overhead is eliminated through
zero copy transmission, an ISP-GPU-VPU direct transmission
assembly line is constructed, full-link DMA-BUF direct transmission is achieved, and
delay is greatly reduced; iSP preprocessing, GPU
shader scaling and VPU coding are all executed by special hardware, so that the load is reduced, and the multi-path
processing capability is improved; vPU dynamic
code rate compression is utilized, segmented storage is carried out according to events / time,
metadata is synchronized to a
database, redundant storage is avoided, and space is saved.