CN115022670A - Video file storage method, restoration method, device, equipment and storage medium - Google Patents

Video file storage method, restoration method, device, equipment and storage medium Download PDF

Info

Publication number
CN115022670A
CN115022670A CN202210608559.7A CN202210608559A CN115022670A CN 115022670 A CN115022670 A CN 115022670A CN 202210608559 A CN202210608559 A CN 202210608559A CN 115022670 A CN115022670 A CN 115022670A
Authority
CN
China
Prior art keywords
video
video frame
file
frame
difference information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210608559.7A
Other languages
Chinese (zh)
Other versions
CN115022670B (en
Inventor
李立锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
MIGU Culture Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
MIGU Culture Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, MIGU Culture Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202210608559.7A priority Critical patent/CN115022670B/en
Publication of CN115022670A publication Critical patent/CN115022670A/en
Application granted granted Critical
Publication of CN115022670B publication Critical patent/CN115022670B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23109Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion by placing content in organized collections, e.g. EPG data repository
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23113Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving housekeeping operations for stored content, e.g. prioritizing content for deletion because of storage space restrictions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/23418Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234363Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by altering the spatial resolution, e.g. for clients with a lower screen resolution
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4332Content storage operation, e.g. storage operation in response to a pause request, caching operations by placing content in organized collections, e.g. local EPG data repository
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440263Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a video file storage method, a restoration method, a device, equipment and a storage medium, wherein the video file storage method comprises the following steps: determining a second video frame and first difference information between the second video frame and the first video frame according to the first video frame of the video file, wherein the resolution of the first video frame is greater than that of the second video frame, and the first difference information is a difference pixel between the first video frame and the second video frame; constructing a video material library based on the second video frame and the first difference information; establishing a mapping relation between the second video frame and the first difference information and a playing time point corresponding to the video file; and constructing a mapping file according to the mapping relation, and storing the video file based on the mapping file and the video material base. The invention realizes the space occupation when storing the video and saves the storage space.

Description

Video file storage method, restoration method, device, equipment and storage medium
Technical Field
The present invention relates to the field of video processing technologies, and in particular, to a video file storage method, a video file restoration device, a video file storage apparatus, and a video file storage medium.
Background
In the existing video storage scheme, the same video is divided into a plurality of video files with different code rates and different resolutions for storage by using a code rate template. For example, a basketball video a is stored as a basketball video a1 and a basketball video a2 after using a code rate template, the code rate of the basketball video a1 is B, and the resolution is 1080P; the code rate of the basketball video A2 is C, and the resolution is 720P. As can be seen, the existing video storage scheme occupies a large amount of storage space.
Disclosure of Invention
The embodiment of the invention provides a video file storage method, a video file restoration device, video file equipment and a video file storage medium, and aims to solve the technical problem that the existing video storage scheme divides the same video into a plurality of video files with different code rates and different resolutions to be stored, and occupies more storage space.
The embodiment of the invention provides a video file storage method, which comprises the following steps:
determining a second video frame and first difference information between the second video frame and a first video frame according to the first video frame of a video file, wherein the resolution of the first video frame is greater than that of the second video frame, and the first difference information is a difference pixel between the first video frame and the second video frame;
constructing a video material library based on the second video frame and the first difference information;
establishing a mapping relation between the second video frame and the first difference information and a playing time point corresponding to the video file;
and constructing a mapping file according to the mapping relation, and storing the video file based on the mapping file and the video material library.
In an embodiment, the step of determining a second video frame and first difference information between the second video frame and a first video frame of a video file according to the first video frame comprises:
determining a first resolution ratio between the first video frame and the second video frame;
and performing down-sampling processing on the first video frame based on the first resolution ratio to obtain the second video frame and the first difference information.
In one embodiment, the step of constructing a video material library based on the second video frame and the first difference information comprises:
determining a second resolution ratio between the second video frame and a third video frame, wherein the resolution corresponding to the second video frame is greater than the resolution corresponding to the third video frame;
performing down-sampling processing on the second video frame according to the second resolution ratio to obtain a third video frame and second difference information, wherein the second difference information is a difference pixel between the second video frame and the third video frame;
and constructing the video material library by taking the third video frame, the first difference information and the second difference information as elements.
In an embodiment, before the step of determining a second video frame and first difference information between the second video frame and a first video frame of a video file according to the first video frame, the method further includes:
carrying out lens splitting on the video file;
according to the lens splitting result, carrying out lens duplicate removal on the video file;
and determining the first video frame according to the video frame sequence of the video file after the duplication removal.
In an embodiment, before the step of determining a second video frame and first difference information between the second video frame and a first video frame of a video file according to the first video frame, the method further includes:
extracting a video frame sequence of the video file;
de-duplicating each video frame in the sequence of video frames;
determining the first video frame according to the de-duplicated video frame sequence.
In an embodiment, the step of de-duplicating each video frame in the sequence of video frames comprises:
determining a video fingerprint of each video frame in the sequence of video frames;
determining the similarity between video frames in the video frame sequence according to the video fingerprints;
and carrying out de-duplication processing on each video frame in the video frame sequence according to the similarity.
In addition, in order to achieve the above object, the present invention further provides a video file restoring method, where the video file restoring method includes:
acquiring the resolution of a video file to be restored, wherein the video file comprises videos with different resolutions and the same content;
when the resolution ratio is a first resolution ratio, reading the mapping file to acquire a second video frame and first difference information corresponding to each playing time point in the video material library;
restoring a first video frame according to the first difference information and the second video frame, and restoring the video file according to the playing time point and the first video frame;
when the resolution is a second resolution, reading the mapping file to acquire a second video frame corresponding to each playing time point in the video material library; wherein the first resolution is greater than the second resolution;
and restoring the video file according to the playing time point and the second video frame.
In addition, to achieve the above object, the present invention also provides a video file storage apparatus, including:
the video compression module is used for determining a second video frame and first difference information between the second video frame and a first video frame according to the first video frame of a video file, wherein the resolution of the first video frame is greater than that of the second video frame, and the first difference information is a difference pixel between the first video frame and the second video frame;
the material construction module is used for constructing a video material library based on the second video frame and the first difference information;
a mapping relation generating module, configured to establish a mapping relation between the second video frame and the first difference information and a playing time point corresponding to the video file;
and the file construction module is used for constructing a mapping file according to the mapping relation and storing the video file based on the mapping file and the video material library.
In addition, to achieve the above object, the present invention also provides a terminal device, including: the video file storage method comprises a memory, a processor and a video file storage program or a video file restoration program which is stored on the memory and can run on the processor, wherein the video file storage program or the video file restoration program realizes the steps of the video file storage method or the video file restoration method when being executed by the processor.
Further, to achieve the above object, the present invention provides a storage medium having stored thereon a video file storage program or a video file restoration program, which when executed by a processor, implements the steps of the above-described video file storage method or video file restoration method.
The technical scheme of the video file storage method, the video file restoration device, the video file storage equipment and the video file storage medium provided by the embodiment of the invention at least has the following technical effects or advantages:
according to the technical scheme, the method comprises the steps of determining a second video frame and first difference information between the second video frame and the first video frame according to the first video frame of the video file, constructing a video material library based on the second video frame and the first difference information, establishing a mapping relation between the second video frame and the first difference information and a playing time point corresponding to the video file, constructing a mapping file according to the mapping relation, and storing the video file based on the mapping file and the video material library, so that the technical problem that the existing video storage scheme divides the same video into a plurality of video files with different code rates and different resolutions to store, and occupies more storage space is solved. The invention not only realizes the space occupation when storing the video and saves the storage space, but also can flexibly restore and generate the video with the resolution ratio required by the user for the user.
Drawings
FIG. 1 is a schematic diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a video file storage method according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a specific step S210 of the video file storage method according to the present invention;
FIG. 4 is a diagram of information for a first video frame according to the present invention;
FIG. 5 is an information diagram of a second video frame according to the present invention;
FIG. 6 is a data diagram of first difference information according to the present invention;
FIG. 7 is a flowchart illustrating a specific step S220 of the video file storage method according to the present invention;
FIG. 8 is a diagram illustrating an example of up-sampling of video frames according to the present invention;
FIG. 9 is a schematic diagram of another example of up-sampling of video frames in accordance with the present invention;
FIG. 10 is a flowchart illustrating a video file restoration method according to an embodiment of the present invention;
fig. 11 is a functional block diagram of a video file storage apparatus according to the present invention.
Detailed Description
In order to better understand the above technical solutions, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a hardware operating environment according to an embodiment of the present invention.
It should be noted that fig. 1 is a schematic structural diagram of a hardware operating environment of the terminal device.
As an implementation manner, as shown in fig. 1, an embodiment of the present invention relates to a terminal device, where the terminal device includes: a processor 1001, such as a CPU, a memory 1002, and a communication bus 1003. The communication bus 1003 is used to implement connection communication among these components.
The memory 1002 may be a high-speed RAX memory or a non-volatile memory (non-volatile XeXory), such as a disk memory. As shown in fig. 1, the memory 1002, which is a storage medium, may include therein a video file storage program or a video file restoration program; and the processor 1001 may be configured to call a video file storage program stored in the memory 1002, and perform the following operations:
determining a second video frame and first difference information between the second video frame and a first video frame according to the first video frame of a video file, wherein the resolution of the first video frame is greater than that of the second video frame, and the first difference information is a difference pixel between the first video frame and the second video frame;
constructing a video material library based on the second video frame and the first difference information;
establishing a mapping relation between the second video frame and the first difference information and a playing time point corresponding to the video file;
and constructing a mapping file according to the mapping relation, and storing the video file based on the mapping file and the video material library.
Further, the processor 1001 may be configured to call a video file storage program stored in the memory 1002, and perform the following operations:
determining a first resolution ratio between the first video frame and the second video frame;
and performing down-sampling processing on the first video frame based on the first resolution ratio to obtain the second video frame and the first difference information.
Further, the processor 1001 may be configured to call a video file storage program stored in the memory 1002, and perform the following operations:
determining a second resolution ratio between the second video frame and a third video frame, wherein the resolution corresponding to the second video frame is greater than the resolution corresponding to the third video frame;
performing down-sampling processing on the second video frame according to the second resolution ratio to obtain a third video frame and second difference information, wherein the second difference information is a difference pixel between the second video frame and the third video frame;
and constructing the video material library by taking the third video frame, the first difference information and the second difference information as elements.
Further, the processor 1001 may be configured to call a video file storage program stored in the memory 1002, and perform the following operations:
carrying out lens splitting on the video file;
according to the lens splitting result, carrying out lens duplicate removal on the video file;
and determining the first video frame according to the video frame sequence of the video file after the duplication removal.
Further, the processor 1001 may be configured to call a video file storage program stored in the memory 1002, and perform the following operations:
extracting a video frame sequence of the video file;
performing deduplication on each video frame in the sequence of video frames;
determining the first video frame according to the de-duplicated video frame sequence.
Further, the processor 1001 may be configured to call a video file storage program stored in the memory 1002, and perform the following operations:
determining a video fingerprint of each video frame in the sequence of video frames;
determining the similarity between video frames in the video frame sequence according to the video fingerprints;
and performing deduplication processing on each video frame in the video frame sequence according to the similarity.
Further, the processor 1001 may be configured to call a video file restoring program stored in the memory 1002, and perform the following operations:
acquiring the resolution of a video file to be restored, wherein the video file comprises videos with different resolutions and the same content;
when the resolution is a first resolution, reading the mapping file to acquire a second video frame and first difference information corresponding to each playing time point in the video material library;
restoring a first video frame according to the first difference information and the second video frame, and restoring the video file according to the playing time point and the first video frame;
when the resolution is a second resolution, reading the mapping file to acquire a second video frame corresponding to each playing time point in the video material library; wherein the first resolution is greater than the second resolution;
and restoring the video file according to the playing time point and the second video frame.
While a logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in an order different than that shown or described herein.
In the existing video storage scheme, the same video is divided into a plurality of video files with different code rates and different resolutions for storage. For example, a basketball video a is stored as a basketball video a1 and a basketball video a2 after using a code rate template, the code rate of the basketball video a1 is B, and the resolution is 1080P; the bitrate of basketball video A2 is C, the resolution is 720P, the bitrate of basketball video A3 is D, the resolution is 540P, and so on. The basketball videos A1-A3 are independent and occupy more storage space during storage, and the video file storage method is based on the defects of the existing video storage scheme.
As shown in fig. 2, in an embodiment of the present invention, a video file storage method of the present invention includes the following steps:
step S210: according to a first video frame of a video file, a second video frame and first difference information between the second video frame and the first video frame are determined.
In this embodiment, the video file is obtained by separating audio and video from an original video, for example, the audio and video in the original video are separated by using FFmpeg, so as to obtain the video file, that is, the video file is a video that does not include audio. The FFmpeg is a free software, can run the functions of recording, converting and streaming of audio and video in various formats, and comprises libavcodec (which is a reproducer library for audio and video in various projects) and libavformat (an audio and video format conversion library).
The video file is a complete video and only has no audio, when the video file is stored, a video frame sequence of the video file is firstly extracted, the video frame sequence is formed by a plurality of video frames in a time sequence, and then the video frames in the video frame sequence are extracted, and the video frames are called as first video frames. The first video frame can be an I frame, a B frame, a P frame and other frames, wherein the I frame has high cost performance, and the storage of the video file can be preferentially realized based on the I frame.
After the first video frame is extracted, the first video frame is subjected to down-sampling to obtain a second video frame and first difference information between the second video frame and the first video frame. The resolution of the second video frame obtained after the down-sampling of the first video frame is smaller than that of the first video frame, that is, the resolution of the first video frame is greater than that of the second video frame. After the down-sampling, besides obtaining the second video frame, first difference information between the second video frame and the first video frame is obtained, where the first difference information is a difference pixel between the first video frame and the second video frame, it can be understood that the pixel information included in the first video frame is more than that included in the second video frame, and the pixel information that is more included in the first video frame relative to the second video frame can be understood as a difference pixel between the first video frame and the second video frame. The first difference information may reflect a difference between the second video frame and the first video frame, and the first video frame may be restored from the first difference information and the second video frame.
The total storage size of the second video frame and the first difference information obtained after the first video frame is subjected to down-sampling is smaller than that of the first video frame, and the video file is stored based on the form of the second video frame and the first difference information, so that the occupation of storage space can be reduced, the storage space is saved, and more video resources can be stored.
Step S220: constructing a video material library based on the second video frame and the first difference information.
The video material library is preset and used for storing video frames of massive videos, and if the video frames are stored in the video material library, the video frames are elements in the video material library. Specifically, the second video frame and the first difference information are stored in a video material library as elements of the video material library, so that the construction of the video material library is realized; wherein, each second video frame is associated with a first difference information. When a corresponding video file needs to be played at a later stage, all second video frames corresponding to the video file and first difference information associated with the second video frames are acquired from a video material library, and then the video file to be played is restored based on the acquired all second video frames and the first difference information associated with the second video frames, namely the resolution of the restored video file is greater than that of the second video frames.
Step S230: and establishing a mapping relation between the second video frame and the first difference information and a playing time point corresponding to the video file.
Step S240: and constructing a mapping file according to the mapping relation, and storing the video file based on the mapping file and the video material library.
After the video material library is constructed, a mapping file is constructed for each video file. And constructing a mapping file, namely establishing an association relation between a second video frame in the video material library and first difference information corresponding to the second video frame, and then adding the second video frame and the first difference information corresponding to the first difference information and the second video frame into a newly-built blank file to obtain the mapping file, namely completing the construction of the mapping file.
After the video material library and the mapping file are constructed, the video file can be stored through the video material library and the mapping file. When a video file needs to be played subsequently, the mapping file can be read to acquire all second video frames corresponding to the video file to be played and first difference information associated with each second video frame from the video material library, so that the video file to be played is restored according to the playing time point, and when the video is played, the audio is loaded at the same time, so that the playing of the complete video is realized.
And if the resolution of the video file to be played is the same as that of the second video frames, after the mapping file is read, all the second video frames corresponding to the video file to be played are obtained from the video material library, and the video file to be played is generated by restoring according to the playing time point and all the obtained second video frames. For example, the resolution of the second video frame is 720P, and the resolution of the video file to be played is 720P, then the resolution of the video file to be played generated by restoring all the second video frames according to the playing time point is 720P.
If the resolution of the video file to be played is different from the resolution of the first video frames, after the mapping file is read, all second video frames corresponding to the video file to be played and first difference information associated with all the second video frames are obtained from a video material library, then all the first video frames corresponding to the video file to be played are restored according to all the second video frames and the first difference information associated with all the second video frames, and the video file to be played is generated by restoring all the restored first video frames according to the playing time point. For example, the resolution of the second video frame is 720P, the resolution of the video file to be played is 1080P, the resolution of the first video frame restored by the second video frame and the first difference information is 1080P, and the resolution of the video file to be played generated by restoring all the second video frames according to the playing time point and the acquired second video frames is 1080P.
If the resolution of the video file to be played is lower than the resolution of the second video frames, after the mapping file is read, all the second video frames corresponding to the video file to be played are obtained from the video material library, the video file frames are obtained after all the second video frames are down-sampled, namely the resolution of the video file frames is lower than the resolution of the second video frames, and the video file to be played is generated by restoring all the obtained video file frames according to the playing time point. For example, the resolution of the second video frame is 720P, and the resolution of the video file to be played is 540P, then all the second video frames are down-sampled, the resolution of the obtained video file frame is 540P, and the resolution of the video file to be played generated by restoring all the obtained video file frames according to the playing time point is 540P.
According to the technical scheme, on one hand, the space occupation is realized when the video is stored, and the storage space is saved. On the other hand, the video with the resolution required by the user can be flexibly generated for the user through restoration based on the stored video frames and the difference information associated with the video frames, for example, if the 720P video frames and the difference information corresponding to multiple resolutions are stored, the video with the resolution larger than 720P can be generated through restoration, and the video with the resolution smaller than 720P can also be generated as original.
Optionally, as shown in fig. 3, based on the foregoing embodiment, step S210 includes the following steps:
step S211: determining a first resolution ratio between the first video frame and the second video frame;
step S212: and performing down-sampling processing on the first video frame based on the first resolution ratio to obtain the second video frame and the first difference information.
The first resolution ratio is determined based on a resolution specification of the video file, and includes different resolutions for the same video file, for example, 1920 × 1080 (1080P), 1280 × 720 (720P), 960 × 540 (540P), and so on. For near resolution, a normalization is performed, such as 1920 by 1088, according to 1920 by 1080 standard. When determining the first resolution ratio between the first video frame and the second video frame, a greatest common divisor of the resolution specifications, for example 320 × 180, is determined based on all resolution specifications of the video file, and then the first resolution ratio is determined based on the greatest common divisor. Assuming that the highest resolution of the video file is 1920 x 1080 and the resolution of the second video frame is 960 x 540, fig. 4 shows the first video frame of 1080P, and the ratio of 1920 x 1080 to 960 x 540 is 6:3, i.e. 6:3, according to the greatest common divisor. Then, the first video frame is down-sampled according to the first resolution ratio, specifically, 1 line is removed from every 2 lines in the first video frame, 1 is removed from every 2 vertical pixels, and the first difference information between the first video frame and the second video frame is obtained respectively, where the information of the second video frame is shown in fig. 5, and the first difference information is shown in fig. 6. Here, each white square portion in fig. 4 is information that is down-sampled, that is, information in fig. 6, that is, first difference information. The information other than the white square portion in fig. 4 is the information to be preserved, that is, the information in fig. 5, i.e., the information of the second video frame, and the resolution of the second video frame corresponding to fig. 5 is 540P.
The total storage size of the second video frame and the first difference information obtained after the first video frame is subjected to down-sampling is smaller than that of the first video frame, and therefore the occupation of storage space can be reduced when the video is stored by storing the second video frame and the first difference information.
Optionally, as shown in fig. 7, based on the foregoing embodiment, step S220 includes the following steps:
step S221: determining a second resolution ratio between the second video frame and a third video frame;
step S222: performing down-sampling processing on the second video frame according to the second resolution ratio to obtain a third video frame and second difference information;
step S223: and constructing the video material library by taking the third video frame, the first difference information and the second difference information as elements.
Considering the situation that the storage size of the second video frame may be reduced, that is, when the video material library is constructed according to the second video frame and the first difference information, determining whether the second video frame can be subjected to down-sampling processing according to all resolution specifications of the video file, and if so, performing down-sampling on the second video frame again; the process of performing the down-sampling processing again on the second video frame and the process of performing the down-sampling processing on the first video frame are the same.
Specifically, a second resolution ratio between a second video frame and a third video frame is determined according to a greatest common divisor of all resolution specifications of the video file, then the second video frame is subjected to down-sampling processing according to the second resolution ratio to obtain the third video frame and second difference information between the third video frame and the second video frame, and then the third video frame, the first difference information and the second difference information are used as elements of a video material library and stored in the video material library so as to realize the construction of the video material library. And the first difference information and the second difference information are associated with a third video frame, and the resolution corresponding to the second video frame is greater than the resolution corresponding to the third video frame. The second difference information is a difference pixel between the second video frame and the third video frame, it can be understood that the second video frame includes more pixel information than the third video frame, and the more pixel information of the second video frame relative to the third video frame can be understood as a difference pixel between the second video frame and the third video frame.
The first video frame is subjected to down-sampling to obtain a second video frame and first difference information, the second video frame is subjected to down-sampling to obtain a third video frame and second difference information, the third video frame, the first difference information and the second difference information corresponding to the video file are finally obtained, the second video frame can be restored through the third video frame and the second difference information, and then the first video frame is restored according to the restored second video frame and the first difference information. The process of restoring the video frame can be understood as a process of upsampling the video frame. The process of video frame down-sampling and up-sampling is as follows:
assume that the resolution of the first video frame is 1080P, the resolution of the second video frame is 720P, and the resolution of the third video frame is 540P.
And (3) a down-sampling processing process: the method comprises the steps of down-sampling a 1080P first video frame to 720P, retaining a 720P second video frame (720P sampling picture) and first difference information (1080P information picture), deleting the 1080P first video frame (1080P picture), then down-sampling 720P to 540P, retaining a 540 sampling picture and a 720P information picture, and deleting the 720P picture. That is, the 540P sampling map is finally retained, while the 720P information map and the 1080P information map are retained.
An up-sampling processing process: when 540P lossless up-sampling is required to 720P, the 540P sampling image is required to be restored to 720P original image through the 720P information image, and the specific up-sampling processing procedure is as shown in fig. 8. The resolution ratio of 540P to 720P is 3:4, so that for every 3 rows/columns, the corresponding pixels in the 720P information map are inserted.
When 540P is lossless up-sampled to 1080P, the 540P sampling image is restored to 720P original image through the 720P information image, and then restored to 1080P original image through the 720P original image and the 1080P information image, and the specific up-sampling processing procedure is as shown in fig. 9. The resolution ratio of 720P to 1080P is 2:3, so that for every 2 rows/columns, the corresponding pixels in the information map are inserted. Note that the 2x2 square grid information in fig. 9 is equivalent to the 3x3 square grid information in fig. 8.
By means of 540P sampling image +720P information image- >720P original image +1080P information image- >1080 original image, 1 complete original image can be restored in the up-sampling mode, and conversely, 1 complete original image can be decomposed into images with various resolutions through down-sampling.
After the video material library is constructed according to the third video frames, the first difference information and the second difference information, a mapping file is constructed for each video file, and after the mapping file is constructed, the mapping relation among all the third video frames corresponding to each video file in the video material library, the first difference information and the second difference information related to each third video frame and the playing time point corresponding to the first video frame is added into a newly-built blank file to obtain the mapping file. After the video material library and the mapping file are constructed, the video file can be stored through the video material library and the mapping file, and when the video file needs to be played later, the mapping video can be read to acquire all third video frames corresponding to the video file to be played and first difference information and second difference information associated with all the third video frames from the video material library, so that the video file to be played can be restored according to the playing time point.
The storage size of the video file can be further reduced by performing down-sampling on the second video frame again, and the storage space of the video is saved.
Optionally, considering that there may be repeated first video frames in all first video frames corresponding to the video file, if there exists repeated first video frames, when storing the second video frames and the first difference information obtained by the downsampling, the repeated second video frames and the first difference information may be stored, so that the storage space is occupied. Therefore, when the video file is stored, all video frames corresponding to the video file need to be deduplicated to filter out repeated video frames, then all the retained video frames are used as first video frames of the video file, and the storage size of the video file can be further reduced by performing deduplication processing, so that the storage space is saved.
The de-weighting method includes at least two of the following:
in a first mode, before step S210, the method further includes the following steps:
splitting a shot of the video file;
according to the lens splitting result, carrying out lens duplicate removal on the video file;
and determining the first video frame according to the video frame sequence of the video file after the duplication removal.
Firstly, all the shots in the video file are split to obtain a shot splitting result, wherein the shot splitting result comprises all the independent video shots, and all the independent video shots are arranged according to a time sequence. And then, the video shots in the lens splitting result are subjected to de-duplication, and the non-repeated video shots are reserved. For example, the shot split result includes 5 independent video shots, A, B, C, D and E respectively, where A, B and E are repeated with each other, and then either one is retained, e.g., a is retained, and then the final deduplicated video shot includes A, C and D. And then extracting the video frame sequence of the repeated video file through the removed video shots, wherein each video frame included in the video frame sequence of the repeated video file is the first video frame of the video file. The duplicate removal among the video shots can be performed based on the similarity among the video shots, and the video shots with the similarity larger than a threshold value are filtered.
In the second mode, the method further includes, before step S210, the steps of:
extracting a video frame sequence of the video file;
performing deduplication on each video frame in the sequence of video frames;
determining the first video frame according to the de-duplicated video frame sequence.
After the video file is obtained, extracting a video frame sequence of the video file, and then performing deduplication on each video frame in the video frame sequence, wherein the deduplicated video frame sequence is the first video frame of the video file.
Specifically, the process of performing deduplication on each video frame in the video frame sequence includes:
determining a video fingerprint of each video frame in the sequence of video frames;
determining the similarity between video frames in the video frame sequence according to the video fingerprints;
and carrying out de-duplication processing on each video frame in the video frame sequence according to the similarity.
The video fingerprints can be understood as picture fingerprints, the video fingerprints of all video frames in the video frame sequence are calculated, and then the duplication elimination among all video frames is carried out according to the video fingerprints. Calculating the video fingerprint of each video frame in the sequence of video frames comprises: each video frame is uniformly scaled to nxn, which is a scaled picture of nxn pixels, for example, N is 8, 16,32, or other values. The method comprises the steps of converting a zoom picture into a 256-order gray scale picture, then carrying out discrete cosine transform on the gray scale picture to obtain a discrete cosine transform matrix, wherein the discrete cosine transform matrix is called a DCT result, and then reserving an NxN matrix in the DCT result, namely the reduced DCT result, and the part of information reflects low-frequency signals in the picture (most content signals in the picture slowly change and represent more picture information). Calculating the average value of all pixel points corresponding to the N × N matrix, then comparing the value in the N × N matrix with the average value, marking the value which is greater than or equal to the average value as 1, and marking the value which is smaller than the average value as 0, thereby obtaining an N × N matrix about 0 and 1, and calculating the hash value of the N × N matrix about 0 and 1 to obtain an N × N integer, wherein the N × N integer is the video fingerprint of the video frame. After the video fingerprints of the video frames are obtained, the hamming distance between the video fingerprints is calculated to obtain the similarity between the video frames, and then the duplication elimination of the video frames is carried out according to the similarity. And if the video frames with the similarity larger than the threshold are considered to be repeated, one frame is reserved, other repeated frames are filtered, and finally the reserved video frame is the first video frame of the video file. For example, the video frames are A, B, C, D and E, respectively, where A, B and E are repeated with respect to each other, and either one is retained, e.g., A is retained, and the final de-duplicated video frame includes A, C and D.
As shown in fig. 10, based on the above video file storage method, an embodiment of a video file restoration method provided by the present invention includes:
step S310: acquiring the resolution of a video file to be restored;
step S320: when the resolution is a first resolution, reading the mapping file to acquire a second video frame and first difference information corresponding to each playing time point in the video material library;
step S330: restoring a first video frame according to the first difference information and the second video frame, and restoring the video file according to the playing time point and the first video frame;
step S340: when the resolution is a second resolution, reading the mapping file to acquire a second video frame corresponding to each playing time point in the video material library; wherein the first resolution is greater than the second resolution;
step S350: and restoring the video file according to the playing time point and the second video frame.
It should be understood that the video files include videos of different resolutions and the same content, for example, movies of the same name and content, i.e., "i and my home", one resolution of "i and my home" is 1080P, and the other resolution is 720P. Then, the video files include a video of "i and my home" with a resolution of 1080P and a video of "i and my home" with a resolution of 720P.
After the video file is stored through the video material library and the mapping file, if the video file needs to be restored, the resolution of the video file to be restored needs to be obtained. If the resolution of the video file to be restored is the first resolution, reading the mapping file to obtain the mapping relation between the second video frame and the first difference information and the playing time point corresponding to the video file, acquiring the second video frame and the first difference information corresponding to each playing time point from the video material library according to the mapping relation, performing up-sampling on the second video frame through the first difference information to restore all the first video frames, and then arranging all the restored first video frames according to the playing time points to restore the video frame sequence corresponding to the first video frames to obtain the video file. Wherein the first resolution is the same as the resolution of the first video frame but greater than the resolution of the second video frame. The process of restoring the first video frame through the second video frame and the first difference information may refer to fig. 9.
If the resolution of the video file to be restored is the second resolution, reading the mapping file to obtain a mapping relation between the second video frame and the first difference information and the playing time point corresponding to the video file, acquiring all the second video frames corresponding to each playing time point from the video material library according to the mapping relation, and then arranging all the second video frames according to the playing time points to generate a video frame sequence corresponding to the second video frames to obtain the video file. The second resolution is the same as the second video frame but smaller than the first video frame, i.e. the first resolution is greater than the second resolution.
In consideration of the fact that the first video frame of the video file is obtained after de-duplication, the second video frame generated after down-sampling by the non-repeated first video frame is stored in the video material library, and the corresponding first difference information. When the mapping relation is established, the mapping relation between the playing time point corresponding to the second video frame and the first difference information and the video file and the video fingerprint of the first video frame is established, and then the mapping file is established according to the mapping relation. For example, a video file includes 10 frames of a first video frame, where frames 1-10 are repeated frames, assuming that a second video frame down-sampled from the 1 st frame of the first video frame is stored in a video corpus, removing the 2 nd frame to the 10 th frame, storing the video fingerprints of the second video frame and the first difference information of the 1 st frame, the playing time point of the video file and the first video frame of the 1 st frame to the 10 th frame in the mapping file, when the first video frames from the 1 st frame to the 10 th frame are restored, the playing time point of the video file and the video fingerprints of the first video frames from the 1 st frame to the 10 th frame can be obtained by reading the mapping file, the playing time point of the video file and the video fingerprints of the first video frames from the 1 st frame to the 10 th frame both point to the second video frame stored in the video material library, second video frames of the 1 st frame to the 10 th frame and associated first difference information can be acquired; wherein the second video frames acquired from the 1 st frame to the 10 th frame are the same.
Optionally, the video material library may also be constructed by video shots, specifically as follows:
and splitting the lens of the video file to obtain a lens splitting result, wherein the lens splitting result comprises all independent video lenses which are arranged according to a time sequence. And then, the video shots in the shot splitting result are subjected to duplication elimination, the non-duplicated video shots are reserved, and the non-duplicated video shots are stored in a video material library, so that the construction of the video material library is realized. For example, the shot split result includes 5 independent video shots, A, B, C, D and E respectively, where A, B and E are repeated with each other, and then either one is retained, e.g., a is retained, and then the final deduplicated video shot includes A, C and D. A, C and D are stored in the video material library, and the construction of the video material library is realized.
After the video material library is built, the password hash function value of each video shot is extracted and is called as md5 value. The method comprises the steps of constructing a mapping file for each video file, constructing the mapping file based on an md5 value, adding a mapping relation between an md5 value and a video shot and a playing time point of the video shot into the mapping file, acquiring the video shot corresponding to the video file to be played from a video material library by reading the mapping file in the later period if a user needs to play the video file, generating the video file to be played according to the playing time point and the video shot, and simultaneously loading audio when playing the video.
As shown in fig. 11, the present invention also provides a video file storage apparatus, including:
a video compression module 310, configured to determine, according to a first video frame of a video file, a second video frame and first difference information between the second video frame and the first video frame, where a resolution of the first video frame is greater than a resolution of the second video frame, and the first difference information is a difference pixel between the first video frame and the second video frame;
a material construction module 320, configured to construct a video material library based on the second video frame and the first difference information;
a mapping relationship generating module 330, configured to establish a mapping relationship between the second video frame and the first difference information and a playing time point corresponding to the video file;
and the file construction module 340 is configured to construct a mapping file according to the mapping relationship, and store the video file based on the mapping file and the video material library.
Optionally, the video compression module 310 includes:
a first ratio calculation unit for determining a first resolution ratio between the first video frame and the second video frame;
a first down-sampling unit, configured to down-sample the first video frame based on the first resolution ratio to obtain the second video frame and the first difference information.
Optionally, the material constructing module 320 includes:
the second ratio calculation unit is used for determining a second resolution ratio between the second video frame and a third video frame, wherein the resolution corresponding to the second video frame is greater than the resolution corresponding to the third video frame;
a second down-sampling unit, configured to down-sample the second video frame according to the second resolution ratio to obtain a third video frame and second difference information, where the second difference information is a difference pixel between the second video frame and the third video frame;
and the material library construction unit is used for constructing the video material library by taking the third video frame, the first difference information and the second difference information as elements.
Optionally, the video file storage device further includes:
the lens splitting unit is used for splitting the lens of the video file;
the lens duplication removal unit is used for carrying out lens duplication removal on the video file according to a lens splitting result;
a first picture determining unit, configured to determine the first video frame according to the video frame sequence of the video file after the deduplication process.
Optionally, the video file storage device further includes:
a sequence extraction unit for extracting a video frame sequence of the video file;
a sequence deduplication unit configured to perform deduplication on each video frame in the sequence of video frames;
a second picture determining unit, configured to determine the first video frame according to the video frame sequence after the deduplication.
Optionally, the sequence deduplication unit includes:
the fingerprint extraction subunit is used for determining the video fingerprint of each video frame in the video frame sequence;
the calculating subunit is used for determining the similarity between the video frames in the video frame sequence according to the video fingerprints;
and the sequence duplication removing subunit is used for carrying out duplication removing processing on each video frame in the video frame sequence according to the similarity.
The specific implementation of the video file storage apparatus of the present invention is substantially the same as that of the above-mentioned video file storage method, and is not described herein again.
The invention also provides a video file restoration device, which comprises:
the resolution acquisition module is used for acquiring the resolution of a video file to be restored, wherein the video file comprises videos with different resolutions and the same content;
the first reading module is used for reading the mapping file when the resolution is the first resolution so as to acquire the second video frames and the first difference information corresponding to the playing time points in the video material library;
the first restoring module is used for restoring a first video frame according to the first difference information and the second video frame and restoring the video file according to the playing time point and the first video frame;
the second reading module is used for reading the mapping file when the resolution is a second resolution so as to obtain a second video frame corresponding to each playing time point in the video material library; wherein the first resolution is greater than the second resolution;
and the second restoring module is used for restoring the video file according to the playing time point and the second video frame.
The specific implementation of the video file recovery apparatus of the present invention is substantially the same as the above-mentioned video file recovery method, and is not described herein again.
Optionally, the present invention further provides a terminal device, where the terminal device includes: the video file storage method comprises a memory, a processor and a video file storage program or a video file restoration program which is stored on the memory and can run on the processor, wherein the video file storage program or the video file restoration program realizes the steps of the video file storage method or the video file restoration method when being executed by the processor.
Optionally, the present invention further provides a storage medium, on which a video file storage program or a video file restoration program is stored, where the video file storage program or the video file restoration program, when executed by a processor, implements the steps of the video file storage method or the video file restoration method described above.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A video file storage method is characterized by comprising the following steps:
determining a second video frame and first difference information between the second video frame and a first video frame according to the first video frame of a video file, wherein the resolution of the first video frame is greater than that of the second video frame, and the first difference information is a difference pixel between the first video frame and the second video frame;
constructing a video material library based on the second video frame and the first difference information;
establishing a mapping relation between the second video frame and the first difference information and a playing time point corresponding to the video file;
and constructing a mapping file according to the mapping relation, and storing the video file based on the mapping file and the video material library.
2. The method of claim 1, wherein the step of determining a second video frame and first difference information between the second video frame and a first video frame of a video file from the first video frame comprises:
determining a first resolution ratio between the first video frame and the second video frame;
and performing down-sampling processing on the first video frame based on the first resolution ratio to obtain the second video frame and the first difference information.
3. A method as claimed in claim 1 or 2 wherein the step of constructing a video material library based on the second video frame and the first difference information comprises:
determining a second resolution ratio between the second video frame and a third video frame, wherein the resolution corresponding to the second video frame is greater than the resolution corresponding to the third video frame;
performing down-sampling processing on the second video frame according to the second resolution ratio to obtain a third video frame and second difference information, wherein the second difference information is a difference pixel between the second video frame and the third video frame;
and constructing the video material library by taking the third video frame, the first difference information and the second difference information as elements.
4. The method of claim 1, wherein the step of determining a second video frame and first difference information between the second video frame and a first video frame of a video file from the first video frame is preceded by the step of:
carrying out lens splitting on the video file;
performing shot duplication removal on the video file according to a shot splitting result;
and determining the first video frame according to the video frame sequence of the video file after the duplication removal.
5. The method of claim 1, wherein the step of determining a second video frame and first difference information between the second video frame and a first video frame of a video file from the first video frame is preceded by the step of:
extracting a video frame sequence of the video file;
de-duplicating each video frame in the sequence of video frames;
determining the first video frame according to the de-duplicated video frame sequence.
6. The method of claim 5, wherein the step of de-duplicating each video frame in the sequence of video frames comprises:
determining a video fingerprint of each video frame in the video frame sequence;
determining the similarity between video frames in the video frame sequence according to the video fingerprints;
and carrying out de-duplication processing on each video frame in the video frame sequence according to the similarity.
7. A video file restoration method is characterized by comprising the following steps:
acquiring the resolution of a video file to be restored, wherein the video file comprises videos with different resolutions and the same content;
when the resolution is a first resolution, reading the mapping file to acquire a second video frame and first difference information corresponding to each playing time point in the video material library;
restoring a first video frame according to the first difference information and the second video frame, and restoring the video file according to the playing time point and the first video frame;
when the resolution is a second resolution, reading the mapping file to acquire a second video frame corresponding to each playing time point in the video material library; wherein the first resolution is greater than the second resolution;
and restoring the video file according to the playing time point and the second video frame.
8. A video file storage apparatus, comprising:
the video compression module is used for determining a second video frame and first difference information between the second video frame and a first video frame according to the first video frame of a video file, wherein the resolution of the first video frame is greater than that of the second video frame, and the first difference information is a difference pixel between the first video frame and the second video frame;
the material construction module is used for constructing a video material library based on the second video frame and the first difference information;
a mapping relation generating module, configured to establish a mapping relation between the second video frame and the first difference information and a playing time point corresponding to the video file;
and the file construction module is used for constructing a mapping file according to the mapping relation and storing the video file based on the mapping file and the video material library.
9. A terminal device, characterized in that the terminal device comprises: a memory, a processor and a video file storage program or a video file restoration program stored on the memory and executable on the processor, the video file storage program or the video file restoration program when executed by the processor implementing the steps of the video file storage method of any one of claims 1-7 or the video file restoration method of claim 8.
10. A storage medium on which a video file storage program or a video file restoration program is stored, the video file storage program or the video file restoration program implementing the steps of the video file storage method of any one of claims 1 to 7 or the video file restoration method of claim 8 when executed by a processor.
CN202210608559.7A 2022-05-31 2022-05-31 Video file storage method, video file restoration device, video file storage equipment and storage medium Active CN115022670B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210608559.7A CN115022670B (en) 2022-05-31 2022-05-31 Video file storage method, video file restoration device, video file storage equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210608559.7A CN115022670B (en) 2022-05-31 2022-05-31 Video file storage method, video file restoration device, video file storage equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115022670A true CN115022670A (en) 2022-09-06
CN115022670B CN115022670B (en) 2023-09-05

Family

ID=83070309

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210608559.7A Active CN115022670B (en) 2022-05-31 2022-05-31 Video file storage method, video file restoration device, video file storage equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115022670B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116600070A (en) * 2023-04-28 2023-08-15 青岛尘元科技信息有限公司 Holographic video storage method, device, equipment and storage medium
CN117372933A (en) * 2023-12-06 2024-01-09 南京智绘星图信息科技有限公司 Image redundancy removing method and device and electronic equipment

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2336405A1 (en) * 1972-07-17 1974-01-31 Videofax Comm Corp METHOD AND DEVICE FOR STORING IMAGE INFORMATION
CN101513064A (en) * 2006-07-27 2009-08-19 Lsi公司 Method for video decoder memory reduction
EP2950272A2 (en) * 2014-05-27 2015-12-02 Nokia Corporation Method and apparatus for processing a video frame in a video file
CN106407035A (en) * 2016-10-08 2017-02-15 四川秘无痕信息安全技术有限责任公司 Surveillance video data recovery method based on DHFS file system
CN107155138A (en) * 2017-06-06 2017-09-12 深圳Tcl数字技术有限公司 Video playback jump method, equipment and computer-readable recording medium
WO2018010662A1 (en) * 2016-07-13 2018-01-18 腾讯科技(深圳)有限公司 Video file transcoding method and device, and storage medium
CN107734336A (en) * 2016-08-10 2018-02-23 杭州海康威视数字技术股份有限公司 A kind of compression method and device of video memory space
CN107888342A (en) * 2016-09-30 2018-04-06 瞬已网络科技(上海)有限公司 A kind of network real-time video transmission method and device
CN109934764A (en) * 2019-01-31 2019-06-25 北京奇艺世纪科技有限公司 Processing method, device, terminal, server and the storage medium of panoramic video file
CN110992260A (en) * 2019-10-15 2020-04-10 网宿科技股份有限公司 Method and device for reconstructing video super-resolution
CN113590027A (en) * 2021-06-30 2021-11-02 展讯半导体(南京)有限公司 Data storage method, data acquisition method, system, device and medium
CN114339412A (en) * 2021-12-30 2022-04-12 咪咕文化科技有限公司 Video quality enhancement method, mobile terminal, storage medium and device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2336405A1 (en) * 1972-07-17 1974-01-31 Videofax Comm Corp METHOD AND DEVICE FOR STORING IMAGE INFORMATION
CN101513064A (en) * 2006-07-27 2009-08-19 Lsi公司 Method for video decoder memory reduction
EP2950272A2 (en) * 2014-05-27 2015-12-02 Nokia Corporation Method and apparatus for processing a video frame in a video file
WO2018010662A1 (en) * 2016-07-13 2018-01-18 腾讯科技(深圳)有限公司 Video file transcoding method and device, and storage medium
CN107734336A (en) * 2016-08-10 2018-02-23 杭州海康威视数字技术股份有限公司 A kind of compression method and device of video memory space
CN107888342A (en) * 2016-09-30 2018-04-06 瞬已网络科技(上海)有限公司 A kind of network real-time video transmission method and device
CN106407035A (en) * 2016-10-08 2017-02-15 四川秘无痕信息安全技术有限责任公司 Surveillance video data recovery method based on DHFS file system
CN107155138A (en) * 2017-06-06 2017-09-12 深圳Tcl数字技术有限公司 Video playback jump method, equipment and computer-readable recording medium
CN109934764A (en) * 2019-01-31 2019-06-25 北京奇艺世纪科技有限公司 Processing method, device, terminal, server and the storage medium of panoramic video file
CN110992260A (en) * 2019-10-15 2020-04-10 网宿科技股份有限公司 Method and device for reconstructing video super-resolution
CN113590027A (en) * 2021-06-30 2021-11-02 展讯半导体(南京)有限公司 Data storage method, data acquisition method, system, device and medium
CN114339412A (en) * 2021-12-30 2022-04-12 咪咕文化科技有限公司 Video quality enhancement method, mobile terminal, storage medium and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周航;何小海;王正勇;熊淑华;KARN PRADEEP;: "采用双网络结构的压缩视频超分辨率重建", 电讯技术, no. 01 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116600070A (en) * 2023-04-28 2023-08-15 青岛尘元科技信息有限公司 Holographic video storage method, device, equipment and storage medium
CN117372933A (en) * 2023-12-06 2024-01-09 南京智绘星图信息科技有限公司 Image redundancy removing method and device and electronic equipment
CN117372933B (en) * 2023-12-06 2024-02-20 南京智绘星图信息科技有限公司 Image redundancy removing method and device and electronic equipment

Also Published As

Publication number Publication date
CN115022670B (en) 2023-09-05

Similar Documents

Publication Publication Date Title
CN115022670B (en) Video file storage method, video file restoration device, video file storage equipment and storage medium
US6246797B1 (en) Picture and video storage management system and method
JP4932903B2 (en) Digital video object fingerprinting method and apparatus based on multi-resolution, multiple frame rate spatial and temporal domain features
US8290309B2 (en) Super-resolution method for image display
US20090317010A1 (en) Multiple Resolution Image Storage
CN103404146A (en) Video file repairing method and device
CN1705363A (en) Apparatus and method for image processing
US8705896B2 (en) Processing a super-resolution target image
US20090080787A1 (en) Image Compression and Expansion Technique
CN112995676A (en) Audio and video compression method, device, equipment, system and storage medium
CN111353965B (en) Image restoration method, device, terminal and storage medium
KR101551915B1 (en) Device and method for video compression
JP4819517B2 (en) Image processing method and image processing apparatus
EP3093851B1 (en) Method and device for use when reassembling a fragmented jpeg image
US20090169121A1 (en) Static image compression method and computer readable data structure and computer readable storage medium
WO2018068250A1 (en) Method and device for data processing, chip and camera
CN110572713B (en) Transcoding method and processing terminal for adaptive video bandwidth ratio
US9002135B2 (en) Form image management system and form image management method
US6477314B1 (en) Method of recording image data, and computer system capable of recording image data
US9432650B2 (en) Image display apparatus, image capturing apparatus, and method of controlling image display apparatus
CN110662088B (en) Duplicate removal method and processing terminal for preventing video from being transcoded repeatedly
CN110647500A (en) File storage method, device, terminal and computer readable storage medium
CN100409657C (en) Image processing method and device
CN111356003B (en) Data writing method, system and terminal equipment
WO2022078382A1 (en) Display drive method, module and chip, electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant