Video data storage method and device, storage medium and electronic device
A technology of video data and data, applied in the field of communication, can solve the problem of low space utilization rate of storage devices, and achieve the effect of avoiding excessive reserved space, improving space utilization rate, and solving low space utilization rate.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment 1
[0041] In this specific embodiment, how to create a recording process is described, such as Figure 4 As shown, the process includes the following steps:
[0042] S1, before creating a video file, first obtain the remaining space size of the working storage device (corresponding to the aforementioned first storage device);
[0043] S2: Calculate the size of the reserved space according to the channel number corresponding to the number of write handles opened on the working disk;
[0044] S3: Determine whether the remaining space capacity of the comparison working storage device is greater than or equal to the reserved space;
[0045] S4: If the remaining space capacity of the working storage device is greater than or equal to the reserved space, create a video file on the current working storage device;
[0046] S5: If the remaining space capacity of the working storage device is less than the reserved space, it is necessary to switch to another working storage device (corresponding to ...
specific Embodiment 2
[0047] In this specific embodiment, how to write a video is described, such as Figure 5 As shown, the process includes the following steps:
[0048] S1, first determine whether the currently written code stream data (corresponding to the above-mentioned video data) is an I frame;
[0049] S2, if the code stream data is not an I frame, directly write the data to the current storage device;
[0050] S3, if the code stream data is an I frame, the remaining space of the storage device where the current handle is located needs to be obtained;
[0051] S4, obtain the reserved space according to the channel number corresponding to the write handle opened on the current working storage device;
[0052] S5: Determine whether the remaining space on the current working storage device is greater than or equal to the reserved space;
[0053] S6: If the remaining space on the current working storage device is greater than or equal to the reserved space, write the code stream data to the current worki...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com