Movatterモバイル変換


[0]ホーム

URL:


CN107682675A - A kind of method using a variety of compress mode recorded videos - Google Patents

A kind of method using a variety of compress mode recorded videos
Download PDF

Info

Publication number
CN107682675A
CN107682675ACN201710979856.1ACN201710979856ACN107682675ACN 107682675 ACN107682675 ACN 107682675ACN 201710979856 ACN201710979856 ACN 201710979856ACN 107682675 ACN107682675 ACN 107682675A
Authority
CN
China
Prior art keywords
video
compress mode
compress
video data
memory
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
Application number
CN201710979856.1A
Other languages
Chinese (zh)
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.)
Foshan Zhangyang Technology Co Ltd
Original Assignee
Foshan Zhangyang 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 Foshan Zhangyang Technology Co LtdfiledCriticalFoshan Zhangyang Technology Co Ltd
Priority to CN201710979856.1ApriorityCriticalpatent/CN107682675A/en
Publication of CN107682675ApublicationCriticalpatent/CN107682675A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The invention provides a kind of method using a variety of compress mode recorded videos, it is related to video record field.This method includes:S1, record command is received, creates a recorded file in memory, and gather video data, the video data of collection is cached into internal memory random access memory;Wherein, video data is the raw image data captured by camera sensor;S2, when the video data in the random access memory reaches preset value, continue to gather video data, wherein, detect the residual memory space of the memory, when the residual memory space of the memory is less than preset value, the video data in the random access memory is traveled through, the data content in the video data in the random access memory comprising moving target and not comprising moving target is subjected to video compress with different compress modes respectively;S3, the video data after compression is write into recorded file.

Description

A kind of method using a variety of compress mode recorded videos
Technical field
The present invention relates to video record field, more particularly to a kind of method using a variety of compress mode recorded videos.
Background technology
At present, video monitoring system has had been directed to all trades and professions of social life, such as traffic intersection, supermarket, silverRow, station and residential area etc., at the same time, also match somebody with somebody in guard's work in various large-scale activity places and important defendance regionMany monitoring devices, such as Olympic Games place, People's Square, Expo Site are put.At the same time, due to magnanimity monitor video numberAccording to appearance, fully rely on the traditional video surveillance system manually supervised and be unable to meet demand, people need it is more intelligent,Automation, the video monitoring system of autonomy-oriented, therefore intelligent video monitoring system become lifting video monitoring system efficiencyThe main direction of development.
It is increasing to possess the electronic product of recording function on the market, but these electronic product overwhelming majority are required for possessingThe caching process that video process provides picture is saved as in larger.However, with the compression of electronic product production cost, how to causeProduct ensures its equal function while production cost is reduced, such as which data can be differentiated is key data, whichData are low priority data, turn into the focus of industry research to improve the competitiveness of electronic product.
The content of the invention
It is existing to solve it is an object of the present invention to provide a kind of method using a variety of compress mode recorded videosThe problem of can not carrying out classified compression to video in technology.
Especially, the invention provides a kind of method using a variety of compress mode recorded videos, including:
S1, record command is received, creates a recorded file in memory, and gather video data, by the video of collectionData buffer storage is into internal memory random access memory;Wherein, video data is the raw image data captured by camera sensor;
S2, when the video data in the random access memory reaches a preset value, continue to gather video data, wherein,The residual memory space of the memory is detected, when the residual memory space of the memory is less than preset value, described in traversalVideo data in random access memory, moving target will be included in the video data in the random access memory respectively and do not includedThe data content of moving target carries out video compress with different compress modes;
S3, the video data after compression is write into recorded file.
Alternatively, the different compress mode, which carries out video compress, includes:
Obtain at least two frames of the difference preset time in video;
Contrast the pattern of two frame;
If the pattern of two frame is approximate, the first compress mode is taken, if the pattern of two frame is had any different, is takenSecond of compress mode.
Alternatively, the different compress mode includes H.26X series, MPEG series etc..
Alternatively, the first compress mode or the second compress mode are used when starting recorded video, when the figure of two frameDuring case approximation, the compress mode is constant;When the pattern of two frame is had any different, the compress mode changes.
Alternatively, video compress is the video file with the first default definition by shown first compress mode, describedVideo file compression is the video file with the second default definition by the second compress mode.
Alternatively, the video file with the first default definition of equal time is preset clearly with described with secondThe internal memory that the video file of clear degree takes is different.
Alternatively, the preset time is 1S.
The method using a variety of compress mode recorded videos of the present invention, due to respectively by regarding in the random access memoryData content of the frequency in comprising moving target and not comprising moving target carries out video compress with different compress modes, becauseThis can farthest save storage internal memory, moreover it is possible to information be classified, it is ensured that important information completely preserves.
Further, the pattern correspondance at least two frames that the present invention passes through the difference preset time in video, to carry out notSame compress mode carries out video compress, can effectively improve recognition efficiency, reduces error.
According to the accompanying drawings will be brighter to the detailed description of the specific embodiment of the invention, those skilled in the artAbove-mentioned and other purposes, the advantages and features of the present invention.
Brief description of the drawings
Some specific embodiments of the present invention are described in detail by way of example, and not by way of limitation with reference to the accompanying drawings hereinafter.Identical reference denotes same or similar part or part in accompanying drawing.It should be appreciated by those skilled in the art that theseWhat accompanying drawing was not necessarily drawn to scale.In accompanying drawing:
Fig. 1 is the schematic flow of the method according to an embodiment of the invention using a variety of compress mode recorded videosFigure.
Embodiment
Fig. 1 is the schematic flow of the method according to an embodiment of the invention using a variety of compress mode recorded videosFigure.As shown in figure 1, included using the method for a variety of compress mode recorded videos:
S1, record command is received, creates a recorded file in memory, and gather video data, by the video of collectionData buffer storage is into internal memory random access memory;Wherein, video data is the raw image data captured by camera sensor;
S2, when the video data in the random access memory reaches a preset value, continue to gather video data, wherein,The residual memory space of the memory is detected, when the residual memory space of the memory is less than preset value, described in traversalVideo data in random access memory, moving target will be included in the video data in the random access memory respectively and do not includedThe data content of moving target carries out video compress with different compress modes;
S3, the video data after compression is write into recorded file.
The method using a variety of compress mode recorded videos of the present invention, due to respectively by regarding in the random access memoryData content of the frequency in comprising moving target and not comprising moving target carries out video compress with different compress modes, becauseThis can farthest save storage internal memory, moreover it is possible to information be classified, it is ensured that important information completely preserves.
In one embodiment of the invention, the different compress mode, which carries out video compress, includes:
Obtain at least two frames of the difference preset time in video;
Contrast the pattern of two frame;
If the pattern of two frame is approximate, the first compress mode is taken, if the pattern of two frame is had any different, is takenSecond of compress mode.
In other embodiments, video data can also be classified using other modes, such as, according to patternColor-values etc..
Further, the pattern correspondance at least two frames that the present invention passes through the difference preset time in video, to carry out notSame compress mode carries out video compress, can effectively improve recognition efficiency, reduces error.
In one embodiment of the invention, the different compress mode includes H.26X series, MPEG series etc..In the other embodiment of the present invention, video file can also be compressed using other compress modes, to reduce video textThe internal memory of part, increase recording time.
In one embodiment of the invention, the first compress mode or the second compression side are used when starting recorded videoFormula, two frames of video data are contrasted at any time, when the pattern approximation of two frame, the compress mode is constant;WhenWhen the pattern of two frame is had any different, the compress mode changes.
In yet another embodiment of the present invention, video compress is default clear with first by shown first compress modeVideo file compression is the video file with the second default definition by the video file of degree, second compress mode.
In another embodiment of the present invention, the video file with the first default definition of equal time withThe internal memory that there is the second video file for presetting definition to take is different.
In the further embodiment of the present invention, the preset time is 1S.In other embodiments, can be withIt it is the time that other arbitrarily set, depending on the concrete condition of place to use.
So far, although those skilled in the art will appreciate that detailed herein have shown and described multiple showing for the present inventionExample property embodiment, still, still can be direct according to present disclosure without departing from the spirit and scope of the present inventionIt is determined that or derive many other variations or modifications for meeting the principle of the invention.Therefore, the scope of the present invention is understood that and recognizedIt is set to and covers other all these variations or modifications.

Claims (7)

CN201710979856.1A2017-10-192017-10-19A kind of method using a variety of compress mode recorded videosPendingCN107682675A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710979856.1ACN107682675A (en)2017-10-192017-10-19A kind of method using a variety of compress mode recorded videos

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710979856.1ACN107682675A (en)2017-10-192017-10-19A kind of method using a variety of compress mode recorded videos

Publications (1)

Publication NumberPublication Date
CN107682675Atrue CN107682675A (en)2018-02-09

Family

ID=61140973

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710979856.1APendingCN107682675A (en)2017-10-192017-10-19A kind of method using a variety of compress mode recorded videos

Country Status (1)

CountryLink
CN (1)CN107682675A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108024080A (en)*2017-12-082018-05-11佛山市章扬科技有限公司A kind of method using a variety of compress mode recorded videos

Citations (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1574901A (en)*2003-06-032005-02-02三星电子株式会社Photographing apparatus for automatically setting compression format and method thereof
CN101053033A (en)*2005-09-132007-10-10株式会社东芝Information storage medium, information reproducing apparatus, and information reproducing method
CN101262608A (en)*2007-03-062008-09-10陆云昆A method for reducing code rate of monitoring compressed video
CN101330619A (en)*2008-07-292008-12-24北京中星微电子有限公司Method for compressing video image and corresponding method for decoding video
CN101394531A (en)*2007-09-172009-03-25映佳科技股份有限公司Low data volume video image storage method
CN101729902A (en)*2008-10-152010-06-09深圳市融创天下科技发展有限公司Video compression method
CN102665077A (en)*2012-05-032012-09-12北京大学Rapid and efficient encoding-transcoding method based on macro block classification
CN103179402A (en)*2013-03-192013-06-26中国科学院半导体研究所 A video compression encoding and decoding method and device thereof
CN103297739A (en)*2012-02-222013-09-11安凯(广州)微电子技术有限公司Method and device for recording audio and video
CN103974031A (en)*2013-02-012014-08-06深圳市方通科技有限公司High-definition streaming media server
CN104811722A (en)*2015-04-162015-07-29华为技术有限公司Video data coding and decoding method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1574901A (en)*2003-06-032005-02-02三星电子株式会社Photographing apparatus for automatically setting compression format and method thereof
CN101053033A (en)*2005-09-132007-10-10株式会社东芝Information storage medium, information reproducing apparatus, and information reproducing method
CN101262608A (en)*2007-03-062008-09-10陆云昆A method for reducing code rate of monitoring compressed video
CN101394531A (en)*2007-09-172009-03-25映佳科技股份有限公司Low data volume video image storage method
CN101330619A (en)*2008-07-292008-12-24北京中星微电子有限公司Method for compressing video image and corresponding method for decoding video
CN101729902A (en)*2008-10-152010-06-09深圳市融创天下科技发展有限公司Video compression method
CN103297739A (en)*2012-02-222013-09-11安凯(广州)微电子技术有限公司Method and device for recording audio and video
CN102665077A (en)*2012-05-032012-09-12北京大学Rapid and efficient encoding-transcoding method based on macro block classification
CN103974031A (en)*2013-02-012014-08-06深圳市方通科技有限公司High-definition streaming media server
CN103179402A (en)*2013-03-192013-06-26中国科学院半导体研究所 A video compression encoding and decoding method and device thereof
CN104811722A (en)*2015-04-162015-07-29华为技术有限公司Video data coding and decoding method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108024080A (en)*2017-12-082018-05-11佛山市章扬科技有限公司A kind of method using a variety of compress mode recorded videos

Similar Documents

PublicationPublication DateTitle
CN111191576B (en)Personnel behavior target detection model construction method, intelligent analysis method and system
US20070217765A1 (en)Method and its application for video recorder and player
WO2020094091A1 (en)Image capturing method, monitoring camera, and monitoring system
CN102104768A (en)Image monitoring method, main control device and system
CN111311630A (en)Method and system for intelligently counting quantity of goods through videos in warehousing management
US10657783B2 (en)Video surveillance method based on object detection and system thereof
CN101106700A (en) Device and method for capturing intelligent target details in video surveillance system
CN104616501A (en)Intelligent vision based vehicle law-violation parking detection system and method
CN105227927A (en)A kind of monitor video date storage method and device
CN101917601A (en) Digital video intelligent monitoring equipment and data processing method based on dual cameras
CN104125419B (en)A kind of adaptive resolution implementation method based on cmos image sensor
CN113573065B (en) A multimedia data encoding method and device
CN102002582A (en)Method and device for synchronously analyzing and monitoring band steel by using image identification
CN101917602A (en) Digital video intelligent monitoring equipment and data processing method based on high-resolution camera
CN106023249A (en)Moving object detection method based on local binary similarity pattern
CN107146372A (en)A kind of method and system by video identification production line working condition
CN102665036A (en)High-definition three-in-one network video recorder system
CN109447022A (en)A kind of lens type recognition methods and device
CN107682675A (en)A kind of method using a variety of compress mode recorded videos
CN108024080A (en)A kind of method using a variety of compress mode recorded videos
CN111401206A (en)Panorama sharing method, system, device and medium
CN111031320A (en)Video compression method based on motion detection
CN105025240A (en)Law enforcement recorder and control method thereof
CN103699893A (en)Face feature information collection device
CN107743209A (en)A kind of method according to surrounding environment batch (-type) recorded video

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20180209


[8]ページ先頭

©2009-2025 Movatter.jp