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

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

Info

Publication number
CN115022670B
CN115022670B CN202210608559.7A CN202210608559A CN115022670B CN 115022670 B CN115022670 B CN 115022670B CN 202210608559 A CN202210608559 A CN 202210608559A CN 115022670 B CN115022670 B CN 115022670B
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.)
Active
Application number
CN202210608559.7A
Other languages
Chinese (zh)
Other versions
CN115022670A (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

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, manipulating MPEG-4 scene graphs
    • H04N21/23418Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 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, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 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, manipulating MPEG-4 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, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 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, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 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, rendering scenes according to MPEG-4 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

Abstract

The invention discloses a video file storage method, a restoring 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 larger 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 video files based on the mapping file and the video material. The invention realizes the space occupation when storing the video and saves the storage space.

Description

Video file storage method, video file restoration device, video file storage 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 generally stored in a mode of using a code rate template, and the video is divided into a plurality of video files with different code rates and different resolutions. For example, after using a code rate template, the basketball video A is respectively stored as a basketball video A1 and a basketball video A2, the code rate of the basketball video A1 is B, and the resolution is 1080P; the code rate of basketball video A2 is C and the resolution is 720P. It can be seen that the existing video storage scheme occupies more storage space.
Disclosure of Invention
The embodiment of the invention provides a video file storage method, a video file restoration device, video file storage equipment and a video file storage medium, and aims to solve the technical problem that the existing video storage scheme is used for storing the same video file divided into a plurality of video files with different code rates and different resolutions, and the storage space is occupied more.
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 the first video frame according to a first video frame of a video file, wherein the resolution of the first video frame is larger 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 the second video frame and the first difference information between the second video frame and the first video frame according to the first video frame of the video file includes:
determining a first resolution ratio between the first video frame and the second video frame;
and carrying out downsampling processing on the first video frame based on the first resolution ratio to obtain the second video frame and the first difference information.
In an embodiment, the step of constructing a video material library based on the second video frame and the first difference information includes:
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;
Downsampling the second video frame according to the second resolution ratio to obtain the 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 the second video frame and the first difference information between the second video frame and the first video frame according to the first video frame of the video file, the method further includes:
performing lens splitting on the video file;
performing lens deduplication on the video file according to a lens splitting result;
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 the second video frame and the first difference information between the second video frame and the first video frame according to the first video frame of the video file, the method further includes:
extracting a video frame sequence of the video file;
performing de-duplication on each video frame in the video frame sequence;
And determining the first video frame according to the video frame sequence after the duplication removal.
In one embodiment, the step of de-duplicating each video frame in the sequence of video frames 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 fingerprint;
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, which includes:
the method comprises the steps of obtaining the resolution ratio of a video file to be restored, wherein the video file comprises videos with different resolution ratios and identical content;
when the resolution is the first resolution, reading the mapping file to obtain second video frames 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 the second resolution, reading the mapping file to obtain second video frames 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 device including:
the video compression module is used for determining a second video frame and first difference information between the second video frame and the first video frame according to a first video frame of a video file, wherein the resolution of the first video frame is larger 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;
the mapping relation generation module is used for 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 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 restoring method comprises the steps of a memory, a processor and a video file storing program or a video file restoring program which are stored in the memory and can run on the processor, wherein the video file storing program or the video file restoring program realizes the video file storing method or the video file restoring method when being executed by the processor.
In addition, in order to achieve the above object, the present invention also provides a storage medium having stored thereon a video file storage program or a video file restore program, which when executed by a processor, implements the steps of the video file storage method or the video file restore method described above.
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 has at least the following technical effects or advantages:
according to the invention, by adopting the technical scheme that the first video frame according to the video file is adopted, the second video frame and the first difference information between the second video frame and the first video frame are determined, the video material library is constructed based on the second video frame and the first difference information, the mapping relation between the second video frame and the first difference information and the playing time point corresponding to the video file is established, the mapping file is constructed according to the mapping relation, and the video file is stored based on the mapping file and the video material library, so that the technical problem that the storage space is occupied by the existing video storage scheme for dividing the same video into a plurality of video files with different code rates and different resolutions 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 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 flow chart of an embodiment of a video file storing method according to the present invention;
FIG. 3 is a flowchart illustrating a video file storing method according to the present invention in step S210;
FIG. 4 is a diagram of a first video frame of the present invention;
FIG. 5 is a diagram of a second video frame of 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 video file storing method according to the present invention in step S220;
FIG. 8 is a schematic diagram of an example of video frame up-sampling in accordance with the present invention;
FIG. 9 is another exemplary illustration of video frame up-sampling in accordance with the present invention;
FIG. 10 is a flowchart illustrating a video file restore method according to an embodiment of the present invention;
FIG. 11 is a functional block diagram of a video file storage device according to the present invention.
Detailed Description
In order that the above-described aspects may be better understood, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may 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 running environment according to an embodiment of the present invention.
It should be noted that fig. 1 may be a schematic structural diagram of a hardware operating environment of a terminal device.
As an implementation manner, as shown in fig. 1, an embodiment of the present invention may relate to a terminal device, where the terminal device includes: a processor 1001, such as a CPU, memory 1002, a communications bus 1003. Wherein the communication bus 1003 is used to enable connectivity communications between these components.
The memory 1002 may be a high-speed RAX memory or a stable memory (non-volatile Xerory), such as a disk memory. As shown in fig. 1, a video file storage program or a video file restore program may be included in the memory 1002 as one storage medium; 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 the first video frame according to a first video frame of a video file, wherein the resolution of the first video frame is larger 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 carrying out downsampling 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;
downsampling the second video frame according to the second resolution ratio to obtain the 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:
performing lens splitting on the video file;
performing lens deduplication on the video file according to a lens splitting result;
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 de-duplication on each video frame in the video frame sequence;
and determining the first video frame according to the video frame sequence 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:
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 fingerprint;
and carrying out de-duplication 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 restore program stored in the memory 1002, and perform the following operations:
the method comprises the steps of obtaining the resolution ratio of a video file to be restored, wherein the video file comprises videos with different resolution ratios and identical content;
when the resolution is the first resolution, reading the mapping file to obtain second video frames 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 the second resolution, reading the mapping file to obtain second video frames 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.
Embodiments of the present invention provide embodiments of video file storage methods, it being noted that although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in a different order than that illustrated 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, after using a code rate template, the basketball video A is respectively stored as a basketball video A1 and a basketball video A2, the code rate of the basketball video A1 is B, and the resolution is 1080P; the code rate of basketball video A2 is C, the resolution is 720P, the code rate of basketball video A3 is D, the resolution is 540P, and so on. The basketball videos A1-A3 are independent, occupy more storage space during storage, and are based on the defects of the existing video storage scheme, the invention provides a video file storage method.
As shown in fig. 2, in an embodiment of the present invention, the video file storage method of the present invention includes the following steps:
step S210: and 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.
In this embodiment, the video file is obtained after audio and video separation of the original video, for example, FFmpeg is used to separate audio and video in the original video, so as to obtain the video file, that is, the video file is a video that does not include audio. FFmpeg is free software, and can run video recording, conversion and streaming functions of various formats of audio and video, including libavcodec (which is a library of reducers for audio and video in a plurality of projects) and libavformat (an audio and video format conversion library).
The video file is a complete video, only without audio, and 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 with 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 may be an I frame, a B frame, a P frame, or other frames, where the I frame has a high cost performance, and the storage of the video file may be preferentially implemented based on the I frame.
After the first video frame is extracted, the first video frame is downsampled, and a second video frame and first difference information between the second video frame and the first video frame are obtained. Wherein the resolution of the second video frame obtained after downsampling the first video frame is smaller than the resolution of the first video frame, i.e. the resolution of the first video frame is larger than the resolution of the second video frame. Besides obtaining the second video frame after downsampling, first difference information between the second video frame and the first video frame is obtained, 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 contained in the first video frame is more than the pixel information contained in the second video frame, and the pixel information of the first video frame which is more than the pixel information of 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 by 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 downsampled is smaller than the storage size of the first video frame, and the video files are stored based on the forms 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: and constructing a video material library based on the second video frame and the first difference information.
The video material library is preset and is used for storing video frames of massive types of 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 into the 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 correspondingly associated with one first difference information. When the corresponding video file is required to be played in the later period, all second video frames corresponding to the video file and first difference information related to each second video frame 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 related to each second video frame, namely the resolution of the restored video file is larger than that of the second video frame.
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 built, a mapping file is built for each video file. And constructing a mapping file, namely building an association relation between a second video frame and first difference information corresponding to the second video frame in the video material library, and then adding the first difference information corresponding to the second video frame and the first difference information corresponding to the second video frame into a newly built blank file to obtain the mapping file, namely finishing the construction of the mapping file.
After the construction of the video material library and the mapping file is completed, the storage of the video file can be realized through the video material library and the mapping file. When the video file is required to be played later, the mapping file can be read to acquire all the second video frames corresponding to the video file to be played and the 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, acquiring all the second video frames corresponding to the video file to be played from the video material library, and restoring and generating the video file to be played according to the playing time point and all the acquired 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, so that the resolution of the video file to be played is 720P according to the playing time point and all the acquired second video frames.
If the resolution of the video file to be played is different from that of the first video frame, after the mapping file is read, obtaining all second video frames corresponding to the video file to be played and first difference information associated with each second video frame from a video material library, and then restoring all first video frames corresponding to the video file to be played according to the first difference information associated with all second video frames and each second video frame, and restoring to generate the video file to be played according to the playing time point and all restored first video frames. 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 is 1080P according to the playing time point and all acquired second video frames.
If the resolution of the video file to be played is lower than that of the second video frame, 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 after all the second video frames are downsampled, the video file frame is obtained, namely, the resolution of the video file frame is lower than that of the second video frame, and then the video file to be played is restored and generated according to the playing time point and all the obtained video file frames. For example, the resolution of the second video frame is 720P, and the resolution of the video file to be played is 540P, and then the resolution of the obtained video file frame is 540P after downsampling all the second video frames, and the resolution of the video file to be played is 540P according to the playing time point and all the obtained video file frames.
According to the technical scheme, on one hand, the embodiment realizes the space occupation during video storage and saves the storage space. On the other hand, based on the stored video frames and the difference information associated with the video frames, the video with the resolution required by the user can be flexibly restored and generated for the user, for example, the video frames with 720P and the difference information corresponding to multiple resolutions are stored, and then the video with the resolution greater than 720P can be restored and generated, and the video with the resolution less than 720P can also be restored and generated.
Optionally, as shown in fig. 3, based on the above 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 carrying out downsampling 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 for short), 1280×720 (720P for short), 960×540 (540P for short), and so on. The similar resolution needs to be unified, for example 1920×1088 is processed according to 1920×1080 of the standard. When determining the first resolution ratio between the first video frame and the second video frame, determining a greatest common divisor of the resolution specification, for example 320×180, based on all resolution specifications of the video file, and then determining the first resolution ratio according to the greatest common divisor. Assuming that the highest resolution of the video file is 1920×1080, the resolution of the second video frame is 960×540, fig. 4 shows a first video frame of 1080P, and the ratio of 1920×1080 to 960×540 is 6:3, i.e. 6:3, according to the greatest common divisor. Then, the first video frame is subjected to downsampling according to the first resolution ratio, specifically, 1 row is removed from the first video frame according to every 2 rows, 1 vertical pixel is removed from every 2 vertical pixels, and second video frames and first difference information between the second video frames and the first video frames are respectively obtained, wherein the information of the second video frames is shown in fig. 5, and the first difference information is shown in fig. 6. Wherein each white square part in fig. 4 is downsampled information, i.e. the information in fig. 6, i.e. the first difference information. The information other than the white square part in fig. 4 is the information to be retained, that is, the information in fig. 5, that is, the information of the second video frame, and the resolution of the corresponding second video frame in 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 downsampling is smaller than the storage size of the first video frame, and when the storage of the video is realized by storing the second video frame and the first difference information, the occupation of the storage space can be reduced.
Alternatively, as shown in fig. 7, based on the above embodiment, step S220 includes the steps of:
step S221: determining a second resolution ratio between the second video frame and a third video frame;
step S222: performing downsampling processing on the second video frame according to the second resolution ratio to obtain the 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 can be reduced possibly, namely 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 downsampling processing or not through all resolution specifications of the video file, and if so, downsampling the second video frame again; the process of downsampling the second video frame again is the same as the process of downsampling the first video frame.
Specifically, a second resolution ratio between a second video frame and a third video frame is determined according to the greatest common divisor of all resolution specifications of a video file, then downsampling processing is performed on the second video frame according to the second resolution ratio to obtain a 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 taken as elements of a video material library and stored in the video material library so as to realize construction of the video material library. Wherein, the first difference information and the second difference information are associated with the 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 contains more pixel information than the third video frame, and can be understood as a difference pixel between the second video frame and the third video frame.
Because the second video frame and the first difference information are obtained after the first video frame is downsampled, the third video frame and the second difference information are obtained after the second video frame is downsampled, and 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 may be understood as a process of up-sampling the video frame. The video frame downsampling and upsampling processes are exemplified as follows:
Assuming 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.
The downsampling process comprises the following steps: after downsampling 1080P first video frame to 720P, retaining 720P second video frame (720P sample picture) and first difference information (1080P information picture), deleting 1080P first video frame (1080P picture), then downsampling 720P to 540P, retaining 540 sample picture and 720P information picture, deleting 720P picture. That is, the final 540P sample map is retained, while the 720P information map, 1080P information map is retained.
The up-sampling treatment process comprises the following steps: when the 540P lossless upsampling is needed to 720P, the 540P sampling chart is restored to 720P original chart through the 720P information chart, and the specific upsampling process is shown in fig. 8. The resolution ratio of 540P to 720P is 3:4, so that every 3 rows/columns, the corresponding pixels in 720P information map are inserted.
When the 540P is required to be up-sampled to 1080P, the 540P sample diagram is required to be restored to 720P original diagram through the 720P information diagram, and then restored to 1080P original diagram through the 720P original diagram and the 1080P information diagram, and the specific up-sampling processing process is shown in fig. 9. The resolution ratio of 720P to 1080P is 2:3, so that every 2 rows/columns, the corresponding pixels in the information map are inserted. Note that the 2x2 square information in fig. 9 corresponds to the 3x3 square information in fig. 8.
Through 540P sampling picture+720P information picture- >720P original picture+1080P information picture- >1080 original picture, the up-sampling mode can restore 1 complete original picture, and conversely, the 1 complete original picture can be decomposed into pictures with various resolutions through down-sampling.
After the third video frames, the first difference information and the second difference information are built, a mapping file is built for each video file, and after the mapping file is built, mapping relations 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 associated with each third video frame and playing time points corresponding to the first video frame are added into a newly built blank file to obtain the mapping file. After the construction of the video material library and the mapping file is completed, the storage of the video file can be realized through the video material library and the mapping file, and when the video file is required 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 related to the third video frames from the video material library, so that the video file to be played is restored according to the playing time point.
The storage size of the video file can be further reduced by downsampling the second video frame again, which is beneficial to saving the storage space of the video.
Optionally, considering that there may be a repeated first video frame in all the first video frames corresponding to the video file, if there is a repeated first video frame, when the second video frame and the first difference information obtained by downsampling are stored, the repeated second video frame and the first difference information are stored, thereby causing occupation of storage space. Based on the above, when storing the video file, it is necessary to perform deduplication on all video frames corresponding to the video file first to filter out repeated video frames, and then use all the remaining video frames as the first video frame of the video file, so that the storage size of the video file can be further reduced by performing deduplication processing, and the storage space is saved.
The de-duplication mode comprises at least two modes:
in one aspect, the method further includes the following steps before step S210:
performing lens splitting on the video file;
performing lens deduplication on the video file according to a lens splitting result;
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 independent video shots, and all the independent video shots are arranged in time sequence. And then, de-duplicating the video shots in the shot splitting result, and reserving the video shots which are not duplicated. For example, the shot splitting result includes 5 independent video shots, A, B, C, D and E respectively, wherein A, B and E are repeated with each other, any one of them is reserved, for example, a is reserved, and the final video shot after de-duplication includes A, C and D. And extracting the video frame sequence of the duplicated video file through the video shots after the duplication, wherein each video frame included in the video frame sequence of the duplicated video file is the first video frame of the video file. The deduplication between video shots may be performed based on the similarity between video shots, and video shots with similarity greater than a threshold may be filtered out.
In the second mode, the method further includes the following steps before step S210:
extracting a video frame sequence of the video file;
performing de-duplication on each video frame in the video frame sequence;
and determining the first video frame according to the video frame sequence after the duplication removal.
After the video file is obtained, extracting a video frame sequence of the video file, and then de-duplicating each video frame in the video frame sequence, wherein the de-duplicated video frame sequence is the first video frame of the video file.
Specifically, the process of de-duplicating 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 fingerprint;
and carrying out de-duplication processing on each video frame in the video frame sequence according to the similarity.
The video fingerprint can be understood as a picture fingerprint, a video fingerprint of each video frame in the sequence of video frames is calculated, and then deduplication between each video frame is performed according to the video fingerprint. Calculating a video fingerprint for each video frame in a sequence of video frames comprises: each video frame is uniformly scaled to N x N, N x N pixels of scaled pictures, e.g., N is 8, 16,32, etc. Converting the scaled picture into a 256-level gray scale picture, and then performing 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 preserving an N multiplied by N matrix in the DCT result, namely a reduced DCT result, wherein the part of information reflects low-frequency signals in the picture (most content signals in the picture change slowly and represent more picture information). Calculating the average value of all pixel points corresponding to the N multiplied by N matrix, comparing the value in the N multiplied by N matrix with the average value, marking the value larger than or equal to the average value as 1, marking the value smaller than the average value as 0, thus obtaining an N multiplied by N matrix about 0 and 1, calculating the hash value of the N multiplied by N matrix about 0 and 1, and obtaining an integer of N multiplied by N bits, wherein the integer of N multiplied by N bits is the video fingerprint of the video frame. After the video fingerprints of each video frame are obtained, the Hamming distance between the video fingerprints is calculated to obtain the similarity between the video frames, and then the de-duplication of each video frame is carried out according to the similarity. And if the video frames with the similarity larger than the threshold value are considered to be repeated, reserving one of the video frames, and filtering other repeated video frames, wherein the finally reserved video frame is the first video frame of the video file. For example, each video frame is A, B, C, D and E, respectively, where A, B and E are repeated with respect to each other, any one of them is reserved, e.g., a is reserved, and the final de-duplicated video frame includes A, C and D.
As shown in fig. 10, based on the video file storage method, the embodiment of the video file restoration method provided by the invention includes:
step S310: acquiring the resolution of a video file to be restored;
step S320: when the resolution is the first resolution, reading the mapping file to obtain second video frames 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 the second resolution, reading the mapping file to obtain second video frames 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 file includes videos of different resolutions and identical content, for example, movies of the same name and content, i.e. "me and my country", one resolution being 1080P and the other being 720P. Then, the video file includes "me and my nationality" video having a resolution of 1080P and "me and my nationality" video having a resolution of 720P.
After the storage of the video files is realized through the video material library and the mapping files, if the video files need to be restored, the resolution of the video files to be restored needs to be acquired. If the resolution of the video file to be restored is the first resolution, the mapping file is read to obtain the mapping relation between the second video frame and the first difference information and the playing time points corresponding to the video file, the second video frame and the first difference information corresponding to each playing time point can be obtained from the video material library according to the mapping relation, the second video frame is up-sampled through the first difference information, so that all the first video frames are restored, and then all the restored first video frames are arranged according to the playing time points, so that the video frame sequence corresponding to the first video frames is restored, and the video file is obtained. 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.
And if the resolution of the video file to be restored is the second resolution, reading the mapping file to obtain the mapping relation between the second video frames and the playing time points corresponding to the first difference information and 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, so as to generate a video frame sequence corresponding to the second video frames, and obtaining the video file. Wherein the second resolution is the same as the resolution of the second video frame but less than the resolution of the first video frame, i.e. the first resolution is greater than the second resolution.
In consideration of that the first video frame of the video file is obtained after de-duplication, stored in the video material library is a second video frame generated by downsampling the first video frame that is not duplicated, and 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 fingerprint of the first video frame is established, and then the mapping file is constructed according to the mapping relation. For example, the video file includes a first video frame of 10 frames, where the 1 st frame to the 10 th frame are repeated frames, and if the second video frame obtained by downsampling the first video frame of 1 st frame is stored in the video material library, the 2 nd frame to the 10 th frame is removed, and the video fingerprints of the second video frame of 1 st frame and the first difference information and the playing time point of the video file and the first video frame of 1 st frame to the 10 th frame are stored in the mapping file, when the first video frame of 1 st frame to the 10 th frame is restored, the video fingerprints of the playing time point of the video file and the first video frame of 1 st frame to the 10 th frame can be obtained by reading the mapping file, and the video fingerprints of the playing time point of the video file and the first video frame of 1 st frame to the 10 th frame are both pointed to the second video frame stored in the video material library, then the second video frame of 1 st frame to the 10 th frame and the associated first difference information can be obtained; wherein the second video frames from frame 1 to frame 10 are the same.
Optionally, the video material library may also be constructed by video shots, specifically as follows:
and carrying out lens splitting on the video file to obtain a lens splitting result, wherein the lens splitting result comprises all independent video lenses which are arranged according to the time sequence. And then, de-duplicating the video shots in the shot splitting result, reserving unrepeated video shots, and storing the unrepeated video shots into a video material library to realize the construction of the video material library. For example, the shot splitting result includes 5 independent video shots, A, B, C, D and E respectively, wherein A, B and E are repeated with each other, any one of them is reserved, for example, a is reserved, and the final video shot after de-duplication includes A, C and D. A, C and D are stored in a video material library, so that the construction of the video material library is realized.
After the video material library is constructed, the password hash function value of each video lens is extracted and is called md5 value. And constructing a mapping file for each video file, constructing the mapping file based on the md5 value, adding the mapping relation between the md5 value and the video shot and the 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 when the video file needs to be played by a user in the later period, generating the video file to be played according to the playing time point and the video shot, and loading the audio at the same time when the video is played.
As shown in fig. 11, the present invention also provides a video file storage device, 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;
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 configured to determine a first resolution ratio between the first video frame and the second video frame;
And the first downsampling unit is used for downsampling the first video frame based on the first resolution ratio to obtain the second video frame and the first difference information.
Optionally, the material construction module 320 includes:
a second proportion calculating unit, configured to determine a second resolution proportion between the second video frame and a third video frame, where a resolution corresponding to the second video frame is greater than a resolution corresponding to the third video frame;
the second downsampling unit is used for downsampling the second video frame according to the second resolution ratio to obtain the 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 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 duplicate removal unit is used for performing lens duplicate removal on the video file according to the lens separation result;
And the first picture determining unit is used for determining the first video frame according to the video frame sequence of the video file after the duplication removal.
Optionally, the video file storage device further includes:
a sequence extracting unit, configured to extract a video frame sequence of the video file;
a sequence de-duplication unit, configured to de-duplicate each video frame in the video frame sequence;
and the second picture determining unit is used for determining the first video frame according to the video frame sequence after the duplication removal.
Optionally, the sequence deduplication unit includes:
a fingerprint extraction subunit, configured to determine a video fingerprint of each video frame in the video frame sequence;
a computing subunit, configured to determine a similarity between video frames in the video frame sequence according to the video fingerprint;
and the sequence de-duplication subunit is used for de-duplication processing each video frame in the video frame sequence according to the similarity.
The specific implementation manner of the video file storage device of the present invention is basically the same as that of each embodiment of the video file storage method described above, and will not be repeated here.
The invention also provides a video file restoring device, which comprises:
The resolution obtaining module is used for obtaining the resolution of the video file to be restored, wherein the video file comprises videos with different resolutions and identical contents;
the first reading module is used for reading the mapping file when the resolution is the first resolution so as to acquire second video frames and first difference information corresponding to each playing time point from 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 the second resolution so as 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 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 manner of the video file restoring device is basically the same as that of the embodiment of the video file restoring method, and is not repeated here.
Optionally, the present invention further provides a terminal device, where the terminal device includes: the video file restoring method comprises the steps of a memory, a processor and a video file storing program or a video file restoring program which are stored in the memory and can run on the processor, wherein the video file storing program or the video file restoring program realizes the video file storing method or the video file restoring 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 restore program is stored, where the video file storage program or the video file restore program implements the steps of the video file storage method or the video file restore method described above when executed by a processor.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. A video file storage method, the video file storage method comprising:
Determining a second video frame and first difference information between the second video frame and the first video frame according to a first video frame of a video file, wherein the resolution of the first video frame is larger than that of the second video frame, the first difference information is a difference pixel between the first video frame and the second video frame, and the second video frame is obtained by downsampling the first 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 the first video frame from a first video frame of a video file comprises:
determining a first resolution ratio between the first video frame and the second video frame;
and carrying out downsampling processing on the first video frame based on the first resolution ratio to obtain the second video frame and the first difference information.
3. The method of claim 1 or 2, wherein the step of constructing a library of video material 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;
downsampling the second video frame according to the second resolution ratio to obtain the 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 prior to the step of determining a second video frame and first difference information between the second video frame and the first video frame from a first video frame of a video file, further comprising:
performing lens splitting on the video file;
performing lens deduplication on the video file according to a lens 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 prior to the step of determining a second video frame and first difference information between the second video frame and the first video frame from a first video frame of a video file, further comprising:
extracting a video frame sequence of the video file;
performing de-duplication on each video frame in the video frame sequence;
and determining the first video frame according to the video frame sequence after the duplication removal.
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 sequence of video frames;
determining the similarity between video frames in the video frame sequence according to the video fingerprint;
and carrying out de-duplication processing on each video frame in the video frame sequence according to the similarity.
7. A video file restoring method, characterized in that the video file restoring method comprises:
the method comprises the steps of obtaining the resolution ratio of a video file to be restored, wherein the video file comprises videos with different resolution ratios and identical content;
When the resolution is the first resolution, reading the mapping file to obtain second video frames and first difference information corresponding to each playing time point from a 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 the second resolution, reading the mapping file to obtain second video frames 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 device, the video file storage device comprising:
the video compression module is used for determining a second video frame and first difference information between the second video frame and the first video frame according to a first video frame of a video file, wherein the resolution of the first video frame is larger than that of the second video frame, the first difference information is a difference pixel between the first video frame and the second video frame, and the second video frame is obtained by downsampling the first 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;
the mapping relation generation module is used for 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 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 video file restoration program stored on the memory and executable on the processor, which when executed by the processor, implements 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 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 video file storage method of any one of claims 1 to 7 or the video file restoration method of claim 8.
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 CN115022670A (en) 2022-09-06
CN115022670B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117372933B (en) * 2023-12-06 2024-02-20 南京智绘星图信息科技有限公司 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 ; .采用双网络结构的压缩视频超分辨率重建.电讯技术.2020,(第01期),全文. *

Also Published As

Publication number Publication date
CN115022670A (en) 2022-09-06

Similar Documents

Publication Publication Date Title
CN115022670B (en) Video file storage method, video file restoration device, video file storage equipment and storage medium
CN112532998B (en) Method, device and equipment for extracting video frame and readable storage medium
KR20180077060A (en) Method and apparatus for encoding and decoding lists of pixels
CN111353965B (en) Image restoration method, device, terminal and storage medium
WO2018068250A1 (en) Method and device for data processing, chip and camera
JP2017192080A (en) Image compression device, image decoding device, image compression method, and image compression program
CN110730277B (en) Information coding and method and device for acquiring coded information
CN108668169B (en) Image information processing method and device, and storage medium
CN114007073A (en) Large scene based picture storage system and use method thereof
CN102768755A (en) Method and device for obtaining thumbnails of images
CN113706639B (en) Image compression method and device based on rectangular NAM, storage medium and computing equipment
US20130259388A1 (en) Form image management system and form image management method
CN110958460B (en) Video storage method and device, electronic equipment and storage medium
CN114157895A (en) Video processing method and device, electronic equipment and storage medium
CN115409719A (en) Data processing method and device, terminal equipment and computer readable storage medium
WO2020258287A1 (en) Image correction method, image correction apparatus, and electronic device
CN109871679A (en) Data display method, system, device and medium
CN110662088B (en) Duplicate removal method and processing terminal for preventing video from being transcoded repeatedly
US20090094392A1 (en) System and Method for Data Operations in Memory
CN111639055B (en) Differential packet calculation method, differential packet calculation device, differential packet calculation equipment and storage medium
CN114827714B (en) Video fingerprint-based video restoration method, terminal equipment and storage medium
CN112188215B (en) Video decoding method, device, equipment and storage medium
CN100409657C (en) Image processing method and device
CN113365071B (en) Image layered compression method and image layered compression device
CN112995665A (en) Video coding method and device for camera device

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