CN112954456B - Video data processing method, terminal and computer readable storage medium - Google Patents

Video data processing method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN112954456B
CN112954456B CN202110334517.4A CN202110334517A CN112954456B CN 112954456 B CN112954456 B CN 112954456B CN 202110334517 A CN202110334517 A CN 202110334517A CN 112954456 B CN112954456 B CN 112954456B
Authority
CN
China
Prior art keywords
video data
data
original video
image
target
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
CN202110334517.4A
Other languages
Chinese (zh)
Other versions
CN112954456A (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.)
Shenzhen Xiaojia Technology Co ltd
Shenzhen Konka Electronic Technology Co Ltd
Original Assignee
Shenzhen Xiaojia Technology Co ltd
Shenzhen Konka Electronic 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 Shenzhen Xiaojia Technology Co ltd, Shenzhen Konka Electronic Technology Co Ltd filed Critical Shenzhen Xiaojia Technology Co ltd
Priority to CN202110334517.4A priority Critical patent/CN112954456B/en
Publication of CN112954456A publication Critical patent/CN112954456A/en
Application granted granted Critical
Publication of CN112954456B publication Critical patent/CN112954456B/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/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/440236Processing 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 media transcoding, e.g. video is transformed into a slideshow of still pictures, audio is converted into text
    • 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/440281Processing 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 temporal resolution, e.g. by frame skipping

Abstract

The invention provides a video data processing method, a terminal and a computer readable storage medium, wherein the video data processing method comprises the following steps: when original video data is obtained, carrying out data reduction and reconstruction on the original video data to obtain reconstructed video data after data reduction; and carrying out coding processing on the reconstructed video data to obtain target video data. According to the invention, the original video data is reduced to the target video data, so that the requirement of the existing wireless network transmission is met, meanwhile, the video data can be flexibly stored, and the requirement that the storage equipment with the same storage capacity can store longer monitoring video data is met.

Description

Video data processing method, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of video storage technologies, and in particular, to a video data processing method, a terminal, and a computer readable storage medium.
Background
With the rapid development of the security monitoring industry, 720p, 1080p, 4K and 8K high-definition camera equipment is continuously pushed out, and the video definition is greatly improved, and meanwhile, the requirements for mass data transmission and storage are brought. While the volume of video data has increased dramatically, wireless transmission technology is being upgraded from 4G technology to 5G technology, and at present, the bandwidth of actual wireless transmission is not enough to support the transmission of massive video data, and meanwhile, the development of storage technology has also progressed slowly.
Currently, the security monitoring industry often adopts a coding and decoding technology for massive video data, namely, the video data is coded to reduce the storage amount of the video data, and the data is stored locally in equipment. However, with the increase of the application data volume of the high-definition camera equipment in multiple stages, the existing video encoding and decoding technology cannot meet the requirements of mass data transmission and storage.
Accordingly, the prior art has drawbacks and needs to be improved and developed.
Disclosure of Invention
The invention aims to solve the technical problems that the prior art cannot meet the requirements of mass data transmission and storage in the prior art.
The technical scheme adopted for solving the technical problems is as follows:
a video data processing method, comprising:
when original video data is obtained, carrying out data reduction and reconstruction on the original video data to obtain reconstructed video data after data reduction;
and carrying out coding processing on the reconstructed video data to obtain target video data.
In a further implementation manner, when the original video data is obtained, performing data reduction and reconstruction on the original video data, and before obtaining the reconstructed video data after data reduction, further includes:
presetting a data reduction reconstruction rule;
wherein the data reduction reconstruction rule includes removing a target frame image from the original video data.
In a further implementation manner, when the original video data is obtained, performing data reduction reconstruction on the original video data to obtain reconstructed video data after data reduction, including:
when original video data is acquired, identifying the data format of the original video data, and acquiring image frame number information and coding algorithm information;
and removing the target frame image in the original video data according to the image frame number information and the data reduction reconstruction rule to obtain the reconstructed video data.
In a further implementation manner, when the original video data is acquired, identifying a data format of the original video data, and obtaining image frame number information and coding algorithm information, including:
when the original video data is acquired, judging whether the original video data is coded or not;
if the original video data is coded, decoding the coded original video data;
and identifying the data format of the decoded original video data to obtain image frame number information and coding algorithm information.
In a further implementation, the target frame image includes a first target frame image and a second target frame image; and removing the target frame image in the original video data according to the image frame information and the data reduction reconstruction rule to obtain reconstructed video data, wherein the method comprises the following steps:
according to the image frame number information, taking a frame image which does not have a preset image mark in the frame images of the original video data as a first target frame image;
selecting a plurality of frame images with preset image identifications from the frame images of the original video data as second target frame images;
and removing the first target frame image and the second target frame image according to the data reduction reconstruction rule to obtain the reconstructed video data.
In a further implementation manner, selecting a plurality of frame images with preset image identifiers from the frame images of the original video data as the second target frame image includes:
selecting a frame image with a preset image identifier from the frame images of the original video data;
and selecting one frame image from the frame images with preset image identifications every other preset number of frame images as a second target frame image.
In a further implementation manner, the encoding the reconstructed video data to obtain target video data includes:
according to the identified coding algorithm information, adopting a coding protocol corresponding to the coding algorithm information to code the reconstructed video data to obtain target video data;
or selecting a target coding protocol according to the data reduction reconstruction rule to carry out coding processing to obtain target video data.
In a further implementation manner, after the encoding processing is performed on the reconstructed video data to obtain the target video data, the method further includes:
and sending the target video data to a network storage server and/or storage equipment.
The invention also provides a terminal, which comprises: a memory, a processor and a video data processing program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the video data processing method as described above.
The present invention also provides a computer readable storage medium storing a computer program executable for implementing the steps of the video data processing method as described above.
The invention provides a video data processing method, a terminal and a computer readable storage medium, wherein the video data processing method comprises the following steps: when original video data is obtained, carrying out data reduction and reconstruction on the original video data to obtain reconstructed video data after data reduction; and carrying out coding processing on the reconstructed video data to obtain target video data. According to the invention, the original video data is reduced to the target video data, so that the requirement of the existing wireless network transmission is met, meanwhile, the video data can be flexibly stored, and the requirement that the storage equipment with the same storage capacity can store longer monitoring video data is met.
Drawings
FIG. 1 is a flow chart of a video data processing method according to a preferred embodiment of the present invention.
Fig. 2 is a flowchart showing a video data processing method according to a preferred embodiment of the present invention, step S100.
Fig. 3 is a flowchart showing a video data processing method according to a preferred embodiment of the present invention, step S110.
Fig. 4 is a flowchart showing a video data processing method according to a preferred embodiment of the present invention, step S120.
Fig. 5 is a flowchart showing a video data processing method according to a preferred embodiment of the present invention, step S122.
FIG. 6 is a schematic block diagram of a first preferred embodiment of a video reconstruction code storage system according to the preferred embodiment of the video data processing method of the present invention.
FIG. 7 is a schematic block diagram of a second preferred embodiment of a video reconstruction code storage system according to the preferred embodiment of the video data processing method of the present invention.
Fig. 8 is a functional block diagram of a preferred embodiment of the terminal of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clear and clear, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
With the increase of the application data volume of the high-definition camera equipment in multiple stages, the conventional video coding and decoding technology can not meet the requirements of mass data transmission and storage. Therefore, a more efficient video reconstruction and encoding method is needed to further compress video data to meet the increasing data transmission and storage requirements.
The invention provides a video data processing method, which can meet the transmission requirement of the existing wireless network by providing higher video coding efficiency, and can flexibly store video data to achieve the requirement that storage equipment with the same storage capacity can store longer monitoring video data.
Referring to fig. 1, fig. 1 is a flowchart of a video data processing method according to the present invention. As shown in fig. 1, the video data processing method according to the embodiment of the present invention includes the following steps:
and step S100, when the original video data is obtained, carrying out data reduction and reconstruction on the original video data to obtain the reconstructed video data with reduced data.
In particular, the invention processes the original video data at the terminal, that is, the terminal is used to reconstruct, encode the data video. The terminal can acquire the original video data shot by the video data equipment. The video data apparatus may be a high-definition image pickup apparatus or an apparatus in which video data has been stored.
In one implementation, the step S100 further includes: data reduction reconstruction rules are preset. Wherein the data reduction reconstruction rule includes removing a target frame image from the original video data.
Specifically, the invention presets the data reduction reconstruction rule, and does not directly encode and store the original video data shot by the video data equipment, removes certain frame images in the original video data, can reduce the number of frames of the video images, inevitably reduces the storage amount during storage, and is also beneficial to data transmission.
In a further implementation manner, referring to fig. 2, the step S100 specifically includes:
step S110, when the original video data is obtained, identifying the data format of the original video data, and obtaining image frame number information and coding algorithm information;
and step 120, removing the target frame image in the original video data according to the image frame number information and the data reduction reconstruction rule to obtain the reconstructed video data.
Specifically, when receiving the original video data, the terminal identifies the data format of the original video data, and obtains image frame number information and coding algorithm information, so as to remove the target frame image and code the data video according to the image frame number information and the coding algorithm information.
In a further implementation manner, referring to fig. 3, the step S110 specifically includes:
step S111, when the original video data is obtained, judging whether the original video data is coded or not;
step S112, if the original video data is coded, decoding the coded original video data;
step S113, the data format of the decoded original video data is identified, and the image frame number information and the coding algorithm information are obtained.
Specifically, the original video data needs to be directly or indirectly transmitted to the terminal, and in order to improve transmission efficiency, the encoded original video data may be transmitted. In this way, when the terminal receives the original video data, firstly judging whether the original video data is coded, and if so, firstly decoding; if the coding is not performed, the data format of the original video data can be directly identified, and the image frame number information and the coding algorithm information are obtained.
In a further implementation, the target frame image includes a first target frame image and a second target frame image. Referring to fig. 4, the step S120 specifically includes:
step S121, taking a frame image which does not have a preset image mark in the frame images of the original video data as a first target frame image according to the image frame number information;
step S122, selecting a plurality of frame images with preset image identifications from the frame images of the original video data as second target frame images;
and step S123, removing the first target frame image and the second target frame image according to the data reduction reconstruction rule to obtain the reconstructed video data.
Specifically, the present invention requires selection when removing frame images from the original video data. For example, the monitoring device at a certain intersection records monitoring video data, and in the actual storage process, when no pedestrian or running vehicle passes through the intersection, the video segment is invalid and can not be stored, and at this time, the preset image identifier includes: people and running vehicles. The frame image is the first target frame image without the person and the running vehicle. In order to further reduce the original video data, the invention further selects some frame images from the frame images with preset image identifications as second target frame images for removal.
Further, referring to fig. 5, the step S122 specifically includes:
step S1221, selecting a frame image with a preset image identifier from the frame images of the original video data;
step S1222, selecting a frame image from the frame images with the preset image identifier as a second target frame image every predetermined number of frame images.
Specifically, one frame image may be selected as the second target frame image for removal every predetermined number of frame images. For example, every 10 frame images, one frame image is selected, that is, the 11 th frame image is selected for removal. Therefore, certain frame images are uniformly removed, the display effect of the original video data is not affected, the data volume is further reduced, the data transmission is facilitated, and the storage devices with the same storage capacity can store more monitoring video data. Of course, a plurality of frame images may be selected randomly from the frame images having the preset image identifier as the second target frame image.
Step S100 is followed by: and step 200, performing coding processing on the reconstructed video data to obtain target video data.
Specifically, the method carries out coding processing on the reconstructed video data, further compresses the video data, and is beneficial to data transmission and storage. Therefore, the invention reduces the original video data into the target video data, thereby meeting the requirement of the prior wireless network transmission, simultaneously flexibly storing the video data, and meeting the requirement that the storage equipment with the same storage capacity can store longer monitoring video data.
Further, the step S200 may be implemented in two ways: according to the identified coding algorithm information, adopting a coding protocol corresponding to the coding algorithm information to code the reconstructed video data to obtain target video data; or selecting a target coding protocol according to the data reduction reconstruction rule to carry out coding processing to obtain target video data.
That is, according to the previously identified encoding algorithm (decompression algorithm), encoding processing is performed on the reconstructed video data by adopting the corresponding encoding protocol, so as to obtain target video data; or selecting other coding protocols for coding according to the data reduction reconstruction rule.
In one implementation, the step S200 further includes: and sending the target video data to a network storage server and/or storage equipment.
Specifically, the target video data is transmitted to the network storage server and/or the storage device for storage, so that the network storage server and/or the storage device can store more video data.
Specific examples are described below.
Embodiment one:
the terminal is set as data reconstruction coding equipment and is realized in a video reconstruction coding storage system. Referring to fig. 6, the video reconstruction code storage system includes: video data device 110, storage device 120, data reconstruction encoding device 130, wireless communication device 140. The data reconstruction encoding apparatus includes: a video identification decoding module 131, an adaptive video reconstruction module 132, and a video encoding module 133.
The video data apparatus 110 may be a high-definition image pickup apparatus or an apparatus in which video data has been stored. The video data device 110 transmits the recorded raw video data to the storage device 120 for storage. The transmission protocol between the video data device 110 and the storage device 120 may be one of various protocols such as ethernet network protocol, HDMI, DP, USB, PCIe, etc.
The original video data of the video data device 110 may be directly transmitted to the storage device 120, or may be encoded using a codec protocol and then transmitted to the storage device 120. The codec algorithm standard may be one of the standards H.264/H.265/AVS2/AVS3, etc.
The storage device 120 transfers the stored original video data to the data reconstruction encoding device 130, and the transfer protocol may employ one of various protocols such as ethernet network protocol, HDMI, DP, USB, PCIe, and the like. The storage device 120 may be a separate network storage server, or may be a direct storage device, such as a mechanical hard disk, an SSD hard disk, or the like.
The data reconstruction encoding device 130 is configured to reconstruct encoded video data, where the video recognition decoding module 131 first recognizes a data format of original video data, obtains information such as an image frame number, an encoding algorithm, and the like, and if the original video data is encoded data, decodes the data, obtains decoded data a, and processes the decoded data a by the adaptive video reconstruction module 132. The adaptive video reconstruction module 132 performs data reconstruction according to a preset data reduction reconstruction rule to obtain reconstruction data b, and delivers the reconstruction data b to the video encoding module 133 for processing. The video encoding module 133 encodes the reconstruction data b by adopting a corresponding encoding protocol according to the decompression algorithm identified by the previous video identification decoding module 131 to obtain new video data c, namely target video data; or selecting other coding protocols for coding according to the data reduction reconstruction rule.
The data reconstruction encoding apparatus 130 transmits new video data c (target video data) to the wireless communication apparatus 140, and the wireless communication apparatus 140 transmits the data to the network storage server to store the data. The transmission protocol between the data reconstruction encoding apparatus 130 and the wireless communication apparatus 140 may employ one of various protocols such as ethernet network protocol, HDMI, DP, USB, PCIe, etc.
Embodiment two:
the terminal is set as data reconstruction coding equipment and is realized in a video reconstruction coding storage system. Referring to fig. 7, the video reconstruction code storage system includes: video data device 210, data reconstruction encoding device 220, wireless communication device 230, and storage device 240. The data reconstruction encoding apparatus 220 includes: a video identification decoding module 221, an adaptive video reconstruction module 222, and a video encoding module 223.
The video data apparatus 210 transmits the original video data to the data reconstruction encoding apparatus 220, and the video data apparatus 210 may be a high definition image pickup apparatus or an apparatus in which video data has been stored. The transmission protocol between the video data device 210 and the data reconstruction encoding device 220 may employ one of various protocols such as ethernet network protocol, HDMI, DP, USB, PCIe, etc.
The original video data of the video data device 210 may be directly transmitted to the data reconstruction encoding device 220, or may be encoded using a codec protocol and then transmitted to the data reconstruction encoding device 220. The codec algorithm standard may be one of the standards H.264/H.265/AVS2/AVS3, etc.
The data reconstruction encoding device 220 is configured to reconstruct and encode video data, where the video recognition decoding module 221 first recognizes the data format of the video data, obtains information such as image frame number and encoding algorithm, and if the video data is encoded data, decodes the data, obtains decoded data a, and processes the decoded data a by the adaptive video reconstruction module 222. The adaptive video reconstruction module 222 performs data reconstruction according to the data reduction reconstruction rule to obtain reconstruction data b, and the reconstruction data b is processed by the video encoding module 223. The video encoding module 223 encodes the reconstruction data b by adopting a corresponding encoding protocol according to the decompression algorithm identified by the video identification decoding module 221 to obtain new video data c, namely target video data; or selecting other coding protocols for coding the target video data according to the target video data.
The data reconstruction encoding apparatus 220 transmits new video data c (target video data) to the wireless communication apparatus 230, and the wireless communication apparatus 230 transmits the data to the network storage server to store the data. The transmission protocol between the data reconstruction encoding apparatus 220 and the wireless communication apparatus 230 may employ one of various protocols such as ethernet network protocol, HDMI, DP, USB, PCIe, etc.
The data reconstruction encoding apparatus 220 transmits the data to the storage apparatus 240 for storage, and the transmission protocol may be one of various protocols such as ethernet network protocol, HDMI, DP, USB, PCIe, etc. The stored data may be original video data or new video data c (target video data). The storage device 240 may be a separate network storage server, or may be a direct storage device, such as a mechanical hard disk, an SSD hard disk, or the like.
Further, as shown in fig. 8, based on the above video data processing method, the present invention further provides a terminal, which includes a processor 10 and a memory 20. Fig. 8 shows only some of the components of the terminal, but it should be understood that not all of the illustrated components are required to be implemented and that more or fewer components may be implemented instead.
The memory 20 may in some embodiments be an internal storage unit of the terminal, such as a hard disk or a memory of the terminal. The memory 20 may in other embodiments also be an external storage device of the terminal, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the terminal. Further, the memory 20 may also include both an internal storage unit and an external storage device of the terminal. The memory 20 is used for storing application software installed in the terminal and various data, such as program codes installed in the terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, the memory 20 stores a video data processing program 30, and the video data processing program 30 is executable by the processor 10 to implement the video data processing method in the present application.
The processor 10 may in some embodiments be a central processing unit (Central Processing Unit, CPU), microprocessor or other data processing chip for executing program code or processing data stored in the memory 20, for example for performing the video data processing method or the like.
In one embodiment, the following steps are implemented when the processor 10 executes the video data processing program 30 in the memory 20:
when original video data is obtained, carrying out data reduction and reconstruction on the original video data to obtain reconstructed video data after data reduction;
and carrying out coding processing on the reconstructed video data to obtain target video data.
When the original video data is obtained, performing data reduction and reconstruction on the original video data, and before obtaining the reconstructed video data after data reduction, further comprising:
presetting a data reduction reconstruction rule;
wherein the data reduction reconstruction rule includes removing a target frame image from the original video data.
When the original video data is obtained, performing data reduction and reconstruction on the original video data to obtain reconstructed video data with reduced data, including:
when original video data is acquired, identifying the data format of the original video data, and acquiring image frame number information and coding algorithm information;
and removing the target frame image in the original video data according to the image frame number information and the data reduction reconstruction rule to obtain the reconstructed video data.
When the original video data is acquired, the data format of the original video data is identified, and image frame number information and coding algorithm information are obtained, including:
when the original video data is acquired, judging whether the original video data is coded or not;
if the original video data is coded, decoding the coded original video data;
and identifying the data format of the decoded original video data to obtain image frame number information and coding algorithm information.
The target frame image comprises a first target frame image and a second target frame image; and removing the target frame image in the original video data according to the image frame information and the data reduction reconstruction rule to obtain reconstructed video data, wherein the method comprises the following steps:
according to the image frame number information, taking a frame image which does not have a preset image mark in the frame images of the original video data as a first target frame image;
selecting a plurality of frame images with preset image identifications from the frame images of the original video data as second target frame images;
and removing the first target frame image and the second target frame image according to the data reduction reconstruction rule to obtain the reconstructed video data.
Selecting a plurality of frame images with preset image identifications from the frame images of the original video data as second target frame images, wherein the method comprises the following steps:
selecting a frame image with a preset image identifier from the frame images of the original video data;
and selecting one frame image from the frame images with preset image identifications every other preset number of frame images as a second target frame image.
The encoding processing is performed on the reconstructed video data to obtain target video data, including:
according to the identified coding algorithm information, adopting a coding protocol corresponding to the coding algorithm information to code the reconstructed video data to obtain target video data;
or selecting a target coding protocol according to the data reduction reconstruction rule to carry out coding processing to obtain target video data.
The method further comprises the steps of after the reconstructed video data are coded to obtain target video data:
and sending the target video data to a network storage server and/or storage equipment.
The present invention also provides a computer readable storage medium storing a computer program executable for implementing the steps of the video data processing method as described above.
In summary, the present invention discloses a video data processing method, a terminal and a computer readable storage medium, where the video data processing method includes: when original video data is obtained, carrying out data reduction and reconstruction on the original video data to obtain reconstructed video data after data reduction; and carrying out coding processing on the reconstructed video data to obtain target video data. According to the invention, the original video data is reduced to the target video data, so that the requirement of the existing wireless network transmission is met, meanwhile, the video data can be flexibly stored, and the requirement that the storage equipment with the same storage capacity can store longer monitoring video data is met.
It is to be understood that the invention is not limited in its application to the examples described above, but is capable of modification and variation in light of the above teachings by those skilled in the art, and that all such modifications and variations are intended to be included within the scope of the appended claims.

Claims (7)

1. A method of video data processing, comprising:
when original video data is obtained, carrying out data reduction and reconstruction on the original video data to obtain reconstructed video data after data reduction;
encoding the reconstructed video data to obtain target video data;
when the original video data is obtained, performing data reduction and reconstruction on the original video data, and before obtaining the reconstructed video data after data reduction, further comprising:
presetting a data reduction reconstruction rule;
the data reduction reconstruction rule comprises removing target frame images in original video data;
when the original video data is obtained, performing data reduction and reconstruction on the original video data to obtain reconstructed video data with reduced data, including:
when original video data is acquired, identifying the data format of the original video data, and acquiring image frame number information and coding algorithm information;
removing target frame images in the original video data according to the image frame number information and the data reduction reconstruction rule to obtain reconstructed video data;
the target frame image comprises a first target frame image and a second target frame image; and removing the target frame image in the original video data according to the image frame information and the data reduction reconstruction rule to obtain reconstructed video data, wherein the method comprises the following steps:
according to the image frame number information, taking a frame image which does not have a preset image mark in the frame images of the original video data as a first target frame image;
selecting a plurality of frame images with preset image identifications from the frame images of the original video data as second target frame images;
and removing the first target frame image and the second target frame image according to the data reduction reconstruction rule to obtain the reconstructed video data.
2. The method according to claim 1, wherein when the original video data is acquired, the data format of the original video data is identified, and image frame number information and coding algorithm information are obtained, comprising:
when the original video data is acquired, judging whether the original video data is coded or not;
if the original video data is coded, decoding the coded original video data;
and identifying the data format of the decoded original video data to obtain image frame number information and coding algorithm information.
3. The method according to claim 1, wherein selecting a plurality of frame images having a preset image identifier from the frame images of the original video data as the second target frame image comprises:
selecting a frame image with a preset image identifier from the frame images of the original video data;
and selecting one frame image from the frame images with preset image identifications every other preset number of frame images as a second target frame image.
4. The method for processing video data according to claim 1, wherein said encoding the reconstructed video data to obtain target video data comprises:
according to the identified coding algorithm information, adopting a coding protocol corresponding to the coding algorithm information to code the reconstructed video data to obtain target video data;
or selecting a target coding protocol according to the data reduction reconstruction rule to carry out coding processing to obtain target video data.
5. The method according to claim 1, wherein after encoding the reconstructed video data to obtain target video data, further comprising:
and sending the target video data to a network storage server and/or storage equipment.
6. A terminal, comprising: memory, a processor and a video data processing program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the video data processing method according to any one of claims 1 to 5.
7. A computer readable storage medium, wherein the computer readable storage medium stores a computer program executable by a computer for implementing the steps of the video data processing method according to any one of claims 1 to 5.
CN202110334517.4A 2021-03-29 2021-03-29 Video data processing method, terminal and computer readable storage medium Active CN112954456B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110334517.4A CN112954456B (en) 2021-03-29 2021-03-29 Video data processing method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110334517.4A CN112954456B (en) 2021-03-29 2021-03-29 Video data processing method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112954456A CN112954456A (en) 2021-06-11
CN112954456B true CN112954456B (en) 2023-06-20

Family

ID=76228340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110334517.4A Active CN112954456B (en) 2021-03-29 2021-03-29 Video data processing method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112954456B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116320536B (en) * 2023-05-16 2023-08-18 瀚博半导体(上海)有限公司 Video processing method, device, computer equipment and computer readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104519357B (en) * 2013-09-26 2018-10-30 杭州海康威视数字技术股份有限公司 A kind of video image storage method and apparatus
CN110147722A (en) * 2019-04-11 2019-08-20 平安科技(深圳)有限公司 A kind of method for processing video frequency, video process apparatus and terminal device
CN110708511A (en) * 2019-10-17 2020-01-17 山东浪潮人工智能研究院有限公司 Monitoring video compression method based on image target detection
CN112055172B (en) * 2020-08-19 2022-04-19 浙江大华技术股份有限公司 Method and device for processing monitoring video and storage medium

Also Published As

Publication number Publication date
CN112954456A (en) 2021-06-11

Similar Documents

Publication Publication Date Title
EP3583777A1 (en) A method and technical equipment for video processing
CN112954456B (en) Video data processing method, terminal and computer readable storage medium
CN113473142B (en) Video encoding method, video decoding method, video encoding device, video decoding device, electronic equipment and storage medium
CN105744345A (en) Video compression method and video compression device
WO2021051912A1 (en) Media data transmission method and related device
US20200236302A1 (en) System and method of processing masking region
CN114640881A (en) Video frame alignment method and device, terminal equipment and computer readable storage medium
CN113079375B (en) Method and device for determining video coding and decoding priority order based on correlation comparison
CN112672154A (en) Live video playing method and device, server and computer readable storage medium
CN112714313A (en) Image processing method, device, equipment and storage medium
CN112822511A (en) Video processing method, system, intelligent terminal and computer readable storage medium
WO2022110870A1 (en) Image encoding and decoding method, encoding and decoding apparatus, encoder, and decoder
US20140037014A1 (en) Stream generation apparatus and stream generation method
CN102047662A (en) Encoder
CN107947919B (en) Compressed sensing correlation imaging encryption method for large-information-volume images based on QR (quick response) codes
CN113840160A (en) Event data transmission method, system, electronic equipment and readable storage medium
CN108235038B (en) Method and device for image coding, decoding and compressing
US20230370620A1 (en) Server and control method thereof
CN113810717B (en) Image processing method and device
TW201404165A (en) Coding of video and audio with initialization fragments
CN116939227A (en) Feature compression method and device and electronic equipment
CN117579896B (en) Unmanned aerial vehicle video transmission processing method, device, equipment and storage medium
CN112686966B (en) Lossless image compression method and device
US20210241024A1 (en) Jpeg classifier
CN117499708A (en) Video protocol conversion method and related equipment based on GAT1400 protocol

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