CN107211107A - A kind of video-frequency compression method and system - Google Patents
A kind of video-frequency compression method and system Download PDFInfo
- Publication number
- CN107211107A CN107211107A CN201580001362.5A CN201580001362A CN107211107A CN 107211107 A CN107211107 A CN 107211107A CN 201580001362 A CN201580001362 A CN 201580001362A CN 107211107 A CN107211107 A CN 107211107A
- Authority
- CN
- China
- Prior art keywords
- file
- video
- ratio
- compression
- compressed
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/41—Bandwidth or redundancy reduction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/91—Television signal processing therefor
- H04N5/917—Television signal processing therefor for bandwidth reduction
Abstract
The invention discloses a kind of compression method of video software, methods described comprises the following steps:Video original is subjected to the file after lossy compression method processing is compressed;Calculate the file after compression and the ratio of original;Such as ratio is less than given threshold, then video original is compressed by the way of Lossless Compression processing.The technical scheme that the present invention is provided has the advantages that reduction has loss rate.
Description
The present invention relates to the field of images, and in particular, to a video compression method and system.
Video generally refers to various techniques for capturing, recording, processing, storing, transmitting, and reproducing a series of still images as electrical signals. When the continuous image changes more than 24 frames (frames) of pictures per second, human eyes cannot distinguish a single static picture according to the persistence of vision principle; it appears as a smooth continuous visual effect, so that the continuous picture is called a video. Video technology was originally developed for television systems, but has now evolved into a variety of different formats to facilitate consumer recording of video. Advances in networking technology have also enabled recorded segments of video to be streamed over the internet and received and played by computers. Video and movies are different technologies that take advantage of photography to capture dynamic images as a series of still photographs.
The existing video formats include multiple formats such as H.264, MPEG-4, MPEG-6 and the like, the existing video software compresses videos, but the existing compression damages the videos and is generally called as a damaged rate, and the damaged rate of the existing video compression method is high, so that the definition of the videos is influenced.
The application provides a compression method of video software. Which solves the disadvantage of the prior art that the video compression has too high loss rate.
In one aspect, a method for compressing video software is provided, the method comprising the following steps:
performing lossy compression processing on an original video file to obtain a compressed file;
calculating the ratio of the compressed file to the original file;
and if the ratio is smaller than the set threshold, compressing the original video file in a lossless compression processing mode.
Optionally, the method further includes:
and if the ratio is larger than the set threshold, transmitting the file after the lossy compression.
Optionally, the method further includes: and transmitting the lossless compressed video file through an IP network.
In another aspect, a compression system for video software is provided, the system comprising:
the lossy compression unit is used for carrying out lossy compression processing on the original video file to obtain a compressed file;
the calculating unit is used for calculating the ratio of the compressed file to the original file;
and the lossless compression unit is used for compressing the original video file in a lossless compression processing mode if the ratio is smaller than the set threshold.
Optionally, the system further includes:
and the sending unit is used for sending the file after the lossy compression if the ratio is larger than the set threshold.
Optionally, the sending unit may be further configured to send the lossless compressed video file through an IP network. This approach is to avoid the occurrence of wasted traffic through other wireless networks.
The technical scheme provided by the invention compresses the original file of the video, so that the video has the advantage of low loss rate.
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a compression method for video software according to a first preferred embodiment of the present invention;
fig. 2 is a block diagram of a compression system of video software according to a second preferred embodiment of the present invention.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a method for compressing video software according to a first preferred embodiment of the present invention, which is shown in fig. 1 and includes the following steps:
s101, performing lossy compression processing on an original video file to obtain a compressed file;
step S102, calculating the ratio of the compressed file to the original file;
and S103, if the ratio is smaller than the set threshold, compressing the original video file in a lossless compression processing mode.
The technical scheme provided by the invention processes and compares the files subjected to lossy compression, and the lossy compression is replaced by lossless compression on the premise that the files subjected to lossy compression are lower than a set value, so that the loss rate of video compression is reduced.
Optionally, after step S103, the method may further include:
and if the ratio is larger than the set threshold, transmitting the file after the lossy compression.
Optionally, after step S103, the method may further include:
and transmitting the lossless compressed video file through an IP network. This approach is to avoid the occurrence of wasted traffic through other wireless networks.
Referring to fig. 2, fig. 2 is a compression system of video software according to a second preferred embodiment of the present invention, as shown in fig. 2, including:
a lossy compression unit 201, configured to perform lossy compression processing on an original video file to obtain a compressed file;
a calculating unit 202, configured to calculate a ratio of the compressed file to the original file;
and the lossless compression unit 203 is configured to compress the video original file in a lossless compression processing manner if the ratio is smaller than the set threshold.
The technical scheme provided by the invention processes and compares the files subjected to lossy compression, and the lossy compression is replaced by lossless compression on the premise that the files subjected to lossy compression are lower than a set value, so that the loss rate of video compression is reduced.
Optionally, the system may further include:
a sending unit 204, configured to send the file after lossy compression if the ratio is greater than the set threshold.
Optionally, the sending unit 204 may be further configured to send the lossless compressed video file through an IP network. This approach is to avoid the occurrence of wasted traffic through other wireless networks.
It should be noted that, for simplicity of description, the above-mentioned embodiments of the method are described as a series of acts or combinations, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: flash Memory disks, Read-only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The content downloading method, the related device and the system provided by the embodiment of the present invention are described in detail above, and a specific example is applied in the text to explain the principle and the embodiment of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (6)
- A method for compressing video software, said method comprising the steps of:performing lossy compression processing on an original video file to obtain a compressed file;calculating the ratio of the compressed file to the original file;and if the ratio is smaller than the set threshold, compressing the original video file in a lossless compression processing mode.
- The method of claim 1, further comprising:and if the ratio is larger than the set threshold, transmitting the file after the lossy compression.
- The method of claim 1, further comprising: and transmitting the lossless compressed video file through an IP network.
- A compression system for video software, the system comprising:the lossy compression unit is used for carrying out lossy compression processing on the original video file to obtain a compressed file;the calculating unit is used for calculating the ratio of the compressed file to the original file;and the lossless compression unit is used for compressing the original video file in a lossless compression processing mode if the ratio is smaller than the set threshold.
- The system of claim 4, further comprising:and the sending unit is used for sending the file after the lossy compression if the ratio is larger than the set threshold.
- The system of claim 5,the sending unit may be further configured to send the lossless compressed video file over an IP network. This approach is to avoid the occurrence of wasted traffic through other wireless networks.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2015/099028 WO2017107206A1 (en) | 2015-12-25 | 2015-12-25 | Method and system for video compression |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107211107A true CN107211107A (en) | 2017-09-26 |
Family
ID=59088763
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201580001362.5A Pending CN107211107A (en) | 2015-12-25 | 2015-12-25 | A kind of video-frequency compression method and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107211107A (en) |
WO (1) | WO2017107206A1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008235966A (en) * | 2007-03-16 | 2008-10-02 | Kyocera Mita Corp | Image compression apparatus, image forming apparatus, and still image compression method |
JP2011120080A (en) * | 2009-12-04 | 2011-06-16 | Canon Inc | Image forming apparatus |
CN103417232A (en) * | 2012-05-11 | 2013-12-04 | X环技术有限公司 | Method and system for lossy compression and decompression of computed tomography data |
CN103514920A (en) * | 2012-06-21 | 2014-01-15 | 联发科技股份有限公司 | Method and device for buffering image to buffer |
-
2015
- 2015-12-25 CN CN201580001362.5A patent/CN107211107A/en active Pending
- 2015-12-25 WO PCT/CN2015/099028 patent/WO2017107206A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008235966A (en) * | 2007-03-16 | 2008-10-02 | Kyocera Mita Corp | Image compression apparatus, image forming apparatus, and still image compression method |
JP2011120080A (en) * | 2009-12-04 | 2011-06-16 | Canon Inc | Image forming apparatus |
CN103417232A (en) * | 2012-05-11 | 2013-12-04 | X环技术有限公司 | Method and system for lossy compression and decompression of computed tomography data |
CN103514920A (en) * | 2012-06-21 | 2014-01-15 | 联发科技股份有限公司 | Method and device for buffering image to buffer |
Also Published As
Publication number | Publication date |
---|---|
WO2017107206A1 (en) | 2017-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20150195625A1 (en) | Information processing apparatus, information processing system, recording medium, and method for transmission and reception of moving image data | |
WO2009116745A2 (en) | Method and apparatus for encoding and decoding image | |
WO2015060638A1 (en) | Adaptive real-time transcoding method and streaming server therefor | |
DE102020108357A1 (en) | RE-ENCODING PREDICTED IMAGES IN LIVE VIDEOSTREAM APPLICATIONS | |
US9035999B2 (en) | Bandwidth reduction system and method | |
KR101277877B1 (en) | Data Transmitting Method without Jitter In Synchronous Ethernet | |
CN110536138A (en) | A kind of lossy compression coding method, device and system grade chip | |
US10380077B2 (en) | System and method for upload and synchronization of media content to cloud based media services | |
EP3709660A1 (en) | Method and apparatus for content-adaptive frame duration extension | |
CN103517076A (en) | Image transmission system and transmission end device and receiving end device thereof | |
CN107211107A (en) | A kind of video-frequency compression method and system | |
WO2022268181A1 (en) | Video enhancement processing methods and apparatus, electronic device and storage medium | |
CN110798688A (en) | High-definition video compression coding system based on real-time transmission | |
CN106027991B (en) | Medical video image live broadcast all-in-one | |
JPH07236163A (en) | Stereoscopic moving image reproducing device | |
WO2017107210A1 (en) | Method and system for inserting advertisement in video software | |
CN105612756A (en) | Data processing device, data processing method, program, recording medium, and data processing system | |
Saravanan et al. | Dual mode mpeg steganography scheme for mobile and fixed devices | |
CN109905715B (en) | Code stream conversion method and system for inserting SEI data | |
JPH11177986A (en) | Mpeg video information providing method | |
JP3822821B2 (en) | Image playback display device | |
WO2017107209A1 (en) | Method and system for image recognition in video software | |
WO2017107138A1 (en) | Method and system for processing image of video software | |
CN205987159U (en) | Live all -in -one of medical treatment video | |
WO2017107208A1 (en) | Decoding method and system for video software |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170926 |
|
RJ01 | Rejection of invention patent application after publication |