CN106454271A - Video processing system and method - Google Patents

Video processing system and method Download PDF

Info

Publication number
CN106454271A
CN106454271A CN201611028441.8A CN201611028441A CN106454271A CN 106454271 A CN106454271 A CN 106454271A CN 201611028441 A CN201611028441 A CN 201611028441A CN 106454271 A CN106454271 A CN 106454271A
Authority
CN
China
Prior art keywords
photographic head
video
coded format
unit
video file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611028441.8A
Other languages
Chinese (zh)
Other versions
CN106454271B (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.)
Global Big Data Technology Co Ltd
Original Assignee
Global Big Data 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 Global Big Data Technology Co Ltd filed Critical Global Big Data Technology Co Ltd
Priority to CN201611028441.8A priority Critical patent/CN106454271B/en
Publication of CN106454271A publication Critical patent/CN106454271A/en
Application granted granted Critical
Publication of CN106454271B publication Critical patent/CN106454271B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
    • 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/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2181Source of audio or video content, e.g. local disk arrays comprising remotely distributed storage units, e.g. when movies are replicated over a plurality of video servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • H04N21/6437Real-time Transport Protocol [RTP]

Abstract

The invention provides a video processing system and method. The video processing system comprises more than one camera, a video stream receiving unit, a video file uploading unit, a distributed file system, a video file downloading unit and a streaming media service unit. The video stream receiving unit is connected with the more than one camera and the video file uploading unit and is used for obtaining a selected coding format of the camera, setting the coding format of the camera into the selected coding format, coding the video stream data of the camera by utilizing the selected coding format and transmitting the coded video file to the video file uploading unit. By utilizing the video processing system and method, the coding format of the camera can be detected and set automatically, convenience is brought to updating of the video processing system, and the flexibility of the video processing system is improved.

Description

Processing system for video and method
Technical field
The present invention relates to digital medium information treatment technology, especially relate to a kind of Video coding treatment technology.
Background technology
More and more perfect with safety-protection system, photographic head can get more and more, the definition meeting more and more higher of video, and video is compiled Code technology decides quality and the size of video, and current video coding technique is various, and old coding techniques is not dead, and new technique is Stable development, progressively knows future, and new used equipment operates in respective safety-security area, and each coding techniques has oneself one The ground of seat.
So-called Video coding mode just refers to, by specific compress technique, the file of certain video format is converted into separately A kind of mode of video format file.In video streaming of paramount importance encoding and decoding standard have International Telecommunication Association H.261, H.263, H.264, the MPEG system of the M-JPEG of motor rest motion picture expert group version and Motion Picture Experts Group of International Organization for Standardization Row standard, be widely used on the internet in addition also have the RealVideo of Real-Networks, Microsoft WMV with And the QuickTime of Apple company etc..
As follows than major coded format includes at present.
H.26X series (by ITU [international videotex alliance] dominate) include H.261, H.262, H.263, H.264, H.265:
(1)H.261:Main use in old video conference and videophone products
(2)H.263:It is used primarily in video conference, visual telephone and Internet video
(3)H.264:H.264/MPEG-4 Part X, or claim AVC (Advanced Video Coding, advanced video Coding), it is a kind of video compression standard, a kind of recording of high accuracy video being widely used, compression and issue form.
(4)H.265:High efficiency Video coding (High Efficiency Video Coding, abbreviation HEVC) is a kind of Video compression standard, the H.264/MPEG-4 successor of AVC.HEVC is considered not only to be lifted picture quality, also can reach simultaneously H.264/MPEG-4 the compression ratio (be equal to bit rate under same image quality and decrease 50%) of AVC twice, can support that 4K divides Resolution even arrives super hd-tv, and highest resolution can reach 8192 × 4320 (8K resolution), and this is becoming of current development Gesture.Until 2013, Potplayer with the addition of the decoding for H.265 video, not yet has popular encoding software to occur.
MPEG series (by MPEG [motion picture expert group] exploitation of ISO [mechanism of International Standards Organization] subordinate) video is compiled Code aspect mainly has:
(1) (MPEG-1 Part II is mainly used on VCD MPEG-1 Part II, and some Online Videos are also using this Plant form.The quality of this codec is generally suitable with original vhs video band.)
(2) (H.262 MPEG-2 Part II is equal to MPEG-2 Part II, using in DVD, SVCD and most of number In word video broadcast system and cable distribution systems (cable distribution systems).)
(3) (MPEG-4 Part II standard can use in network transmission, broadcast and media storage MPEG-4 Part II On.Compared with MPEG-2 and the first edition H.263, its compression performance increases.)
(4) (MPEG-4 Part X is technically and H.264 ITU-T is identical standard, sometimes for MPEG-4 Part X Time is also designated as " AVC ") finally this two coding Cooperation, be born H.264/AVC standard.ITU-T orders to this standard Entitled H.264, and ISO/IEC it be called MPEG-4 advanced video coding (Advanced Video Coding, AVC)
Other series:AMV、AVS、Bink、CineForm、Cinepak、Dirac、DV、Indeo、Video、Pixlet、 RealVideo、RTVideo、SheerVideo、Smacker、Sorenson Video、Theora、VC-1、VP3、VP6、VP7、 VP8, VP9, WMV etc..Although these coded formats are of little use, also there are some equipment using, be no longer discussed in detail here.
Current encoder form is various, and what market share was higher is h264 coding, is in dominance, emerging volume Code form has h265 and vp9, and both coded formats are ripe not enough, and most of security device still supports h264 form.
H.264 it is to set up on the basis of MPEG-4 technology, its encoding and decoding flow process mainly includes 5 parts: Interframe and infra-frame prediction (Estimation), conversion (Transform) and inverse transformation, quantization (Quantization) and inverse Change, loop filtering (Loop Filter), entropy code (Entropy Coding).
H.264 the main target of standard is:Compared with other existing video encoding standards, provide under identical bandwidth More outstanding image quality.By this standard, the compression efficiency under equal image quality carried than former standard (MPEG2) High 2 times about.
H.264 the sub-protocol form (algorithm) of 11 grades, 7 classifications can be provided, wherein tier definition is to outside Environment is defined, for example bandwidth demand, memory requirements, network performance etc..Higher grade, and bandwidth requirement is higher, video Quality is also higher.Class declaration is then for application-specific, defines the characteristic subset that encoder is used, and specification different application Encoder complexity in environment.
H.264 maximum advantage is that have very high data compression ratio, under conditions of equal picture quality, H.264 Compression ratio be more than 2 times of MPEG-2, be 1.5~2 times of MPEG-4.Give an example, the size of original document if 88GB, becomes 3.5GB using after the compression of MPEG-2 compression standard, compression ratio is 25: 1, and after being compressed using H.264 compression standard It is changed into 879MB, from 88GB to 879MB, compression ratio H.264 reaches surprising 102: 1.Low bit- rate (Low Bit Rate) is right H.264 high compression ratio plays an important role, and compares with compress techniques such as MPEG-2 with MPEG-4ASP, H.264 compresses Technology will greatly save the download time data flow charging of user.Especially it is noted that H.264 there is high compression Than while also have the smooth image of high-quality, Just because of this, through the video data H.264 compressing, in network transmission During required bandwidth less, also more economically.
The plurality of advantages of H264 makes it outshine othersOne branch of the tree is particularly thriving, the security protection video server of main flow based on h264 coding, if there are The equipment of other coded formats accesses in addition it is also necessary to add corresponding configuration file, carries out corresponding Development of Module, then portion again Administration.
At present streaming media server framework is all to add a road photographic head to add configuration, then in program Rigen according to joining Put file and add respective modules, each module can create a connection, and equipment is communicated, server is according to configuration row Information in table carries out corresponding encoding and decoding, often runs into new equipment and will add corresponding configuration and module, not only right Cause very big pressure in exploitation, also increase O&M deployment and the difficulty safeguarded.
Content of the invention
Present invention aims to will add when adding photographic head in streaming media server framework in prior art Corresponding configuration and module, therefore cause very big pressure for exploitation, also increase asking of O&M deployment and the difficulty safeguarded Topic, proposes a kind of processing system for video and method, has automatic detection and automatic setting control function it is not necessary to add configuration file, Direct and equipment is attached exchanging, and reads device parameter.
For solving above-mentioned technical problem, present invention employs following technical scheme:
A kind of processing system for video, described system include more than one photographic head, video flowing receiving unit, on video file Leaflet unit, distributed file system, video file download unit and streaming media service unit, wherein,
Video flowing receiving unit connects one above photographic head and video file uploading unit, for obtaining photographic head Selection coded format, the coded format of setting photographic head is to select coded format, and using described selection coded format to taking the photograph As head video stream data is encoded, by the video file transfer after coding to video file uploading unit;
Video file uploading unit passes through network connection to distributed file system, for being extremely distributed video file transfer Formula file system;
Distributed file system is used for using video file described in distributed storage and its backup;
Video file download unit passes through network connection to distributed file system, for upper and lower from distributed file system Carry video file;
Streaming media service unit, connects to video file download unit, for providing stream using video file for client Media services.
Wherein said video flowing receiving unit includes automatic detection unit, resolver, encoder and conservator, automatic detection Unit connects to resolver, and resolver connects to encoder, and encoder connects to conservator, wherein,
Automatic detection unit is used for interacting with one above photographic head foundation using HTML (Hypertext Markup Language), sends inspection Survey order, the information being returned from photographic head using RTP or real time streaming transport protocol parsing, therefrom obtain photographic head Parameter;
After resolver is used for obtaining photographic head parameter, sets up a parsing container, from photographic head parameter, isolate shooting The network address of head, hardware address and the additional parameter including support coded format, if described photographic head supports multiple codings Form is it is determined that the forced coding form of this photographic head save as and select coded format, if described photographic head only supports list As soon as coded format, this coded format is saved as and selects coded format;
Automatic detection unit utilizes HTML (Hypertext Markup Language) to send setting command to photographic head, by the coded format of photographic head It is set to select coded format;
Encoder is encoded to video stream data from coded format using determined by resolver;
Conservator saves as video file for the video flowing after coding.
The coded format priority list in addition, described resolver is stored with, if described photographic head supports multiple codings, Determine the forced coding form of photographic head according to described coded format priority list.
Especially, described additional parameter includes code check, coded format, resolution ratio of camera head, system version, whether supports sound Frequently, maximum focusing parameter, frame period.
Described video flowing receiving unit also includes resource allocation unit, and described resource allocation unit is built according to photographic head quantity Vertical thread pool and connection pool, the corresponding respective thread of the video stream data of each photographic head and connecting interface, when increasing or decreasing During photographic head, described resource allocation unit increases or decreases corresponding thread and connecting interface.
A kind of method for processing video frequency, including step:
A, automatically obtain the selection coded format of photographic head using video flowing receiving unit, the coded format of setting photographic head It is to select coded format, and preserves after camera video flow data being encoded using described selection coded format, will encode The video file transfer preserving is to video file uploading unit;
B, by video file transfer to distributed file system;
C, from distributed file system downloading video files, using video file be client provide streaming media service.
Wherein, the step automatically being obtained the selection coded format of photographic head using video flowing receiving unit is included:
A01, set up with one above photographic head using HTML (Hypertext Markup Language) and interact, transmission sense command, utilization RTP or real time streaming transport protocol parsing, from the information of photographic head return, therefrom obtain photographic head parameter;
After A02, acquisition photographic head parameter, set up a parsing container, isolate the net of photographic head from photographic head parameter Network address, hardware address and the additional parameter including support coded format, if described photographic head supports multiple coded formats, Determine the forced coding form of this photographic head and save as and select coded format, if described photographic head only supports single coding lattice Formula, just saves as this coded format and selects coded format;
A03, using HTML (Hypertext Markup Language) to photographic head send setting command, by the coded format of photographic head be set to select Use coded format;
A04, photographic head setting are coded format from coded format, arranged successfully according to setting result return or setting is lost Lose information.
In addition, can further include after described step A04:
A05, the information being returned from photographic head using RTP or real time streaming transport protocol parsing, if information is Setup failed information, then reuse HTML (Hypertext Markup Language) and send setting command to photographic head, by the coded format of photographic head It is set to select coded format;
A06, when 3 times acquisition information be configuration information, then by the original encoding form of photographic head be set to from coding Form.
If described photographic head supports multiple codings it is determined that the forced coding form of this photographic head save as choosing Included with the operation of coded format:Described multiple codings are compared with the priority list prestoring, determines various coding lattice The priority of formula, the coded format of highest priority is defined as forced coding form.
In addition, before step A, can further include:
A00, set up thread pool and connection pool according to photographic head quantity, the video stream data correspondence of each photographic head is respective Thread and connecting interface, when increasing or decreasing photographic head, described resource allocation unit increases or decreases corresponding thread and company Connection interface.
First, the processing system for video of the present invention and method, can process h264, MPEG series, h261, h262, wmv compile Code data, also can process h265 coded data, carry out intelligently encoding for distinct device.
Secondly, the processing system for video of the present invention and method, the reception of energy fast and stable, preservation data, the resource of occupancy Fewer, 220 road videos can be received simultaneously, intelligence can be stablized at a high speed in a large number and take resource and process video data less.
In addition, the processing system for video of the present invention and method also have automatic detection and automatic setting control function it is not necessary to add Configuration file, direct and equipment is attached exchanging, and reads device parameter, and the coded format that equipment is supported detects, sends out Send the up-to-date coded command of setting (http agreement and rtp agreement), video code rate, resolution etc. are configured, all adopt Automatically complete.
Brief description
Fig. 1 is the structural representation of the processing system for video according to the specific embodiment of the invention.
Fig. 2 is the structural representation according to video flowing receiving unit in the processing system for video of the specific embodiment of the invention Figure.
Fig. 3 is to carry out photographic head letter according to video flowing receiving unit in the processing system for video of the specific embodiment of the invention Breath detection and the schematic flow sheet of setting.
Fig. 4 is to carry out video flowing according to video flowing receiving unit in the processing system for video of the specific embodiment of the invention Receive and encode the schematic diagram of flow process.
Specific embodiment
Below in conjunction with the accompanying drawings, the present invention is elaborated.
The detailed example embodiment of following discloses.However, concrete structure disclosed herein and function detail merely for the sake of The purpose of description example embodiment.
It should be appreciated, however, that the present invention is not limited to disclosed particular exemplary embodiment, but covers and fall into disclosure model All modifications in enclosing, equivalent and alternative.In the description to whole accompanying drawings, identical reference represents identical unit Part.
Refering to accompanying drawing, structure depicted in this specification institute accompanying drawings, ratio, size etc., all only in order to coordinate description Disclosed content, so that those skilled in the art understands and reads, is not limited to the present invention enforceable restriction bar Part, therefore do not have technical essential meaning, the adjustment of the modification of any structure, the change of proportionate relationship or size, do not affecting Under effect that the present invention can be generated by and the purpose that can reach, all should still fall and obtain and can contain in disclosed technology contents In the range of lid.Meanwhile, cited in this specification position restriction term, is merely convenient to understanding of narration, and is not used to Limit the enforceable scope of the present invention, being altered or modified of its relativeness, under no essence change technology contents, when being also considered as The enforceable category of the present invention.
It will also be appreciated that term "and/or" as used in this include one or more correlations list any of item With all combinations.It will further be appreciated that when part or unit are referred to as " connection " or during " coupled " to another part or unit, it Can be directly connected or coupled to miscellaneous part or unit, or can also there is intermediate member or unit.Additionally, being used for describing Between part or unit other words of relation should understand in the same fashion (for example, " and between " to " directly between ", " adjacent " is to " direct neighbor " etc.).
As shown in figure 1, the specific embodiment of the present invention includes a kind of processing system for video, described system includes one Above photographic head, video flowing receiving unit, video file uploading unit, distributed file system, video file download unit and Streaming media service unit, wherein,
Video flowing receiving unit connects one above photographic head and video file uploading unit, for obtaining photographic head Selection coded format, the coded format of setting photographic head is to select coded format, and using described selection coded format to taking the photograph As head video stream data is encoded, by the video file transfer after coding to video file uploading unit;
Video file uploading unit passes through network connection to distributed file system, for being extremely distributed video file transfer Formula file system;
Distributed file system is used for using video file described in distributed storage and its backup;
Video file download unit passes through network connection to distributed file system, for upper and lower from distributed file system Carry video file;
Streaming media service unit, connects to video file download unit, for providing stream using video file for client Media services.
Distributed file system (Distributed File System) refers to the physical memory resources of file system management Not necessarily it is directly connected on the local node, but be connected with node by computer network.The design of distributed file system Based on Client/Server pattern.One typical network potentially includes the server of multiple confession multi-user accesses.In addition, it is right Some systems are allowed to play the part of the dual role of client-server etc. characteristic.For example, user " can deliver " one and allow it The catalogue that his client computer accesses, once accessed, this catalogue is for client computer just as using local drive.
Because distributed file system can provide the storage of magnanimity, therefore in order to improve the safety of storage in the present invention Property, store described video file machine backup on a distributed.
One above photographic head can be the photographic head that specification identical photographic head or specification differ, The motility of this patent is just being to determine the forced coding lattice of each photographic head according to the coded format that photographic head is supported Formula, so can provide different service for each photographic head.
Just because of the video flowing receiving unit of the present invention can obtain the selection coded format of photographic head, so the present invention Specific embodiment have can automatic detection and the automatic coded format that photographic head is set, facilitate monitoring system configuration and The advantage updating.
In one specific embodiment of the present invention, as shown in Fig. 2 wherein said video flowing receiving unit includes automatically examining Survey unit, resolver, encoder and conservator, automatic detection unit connects to resolver, resolver connects to encoder, encodes Device connects to conservator, wherein,
Automatic detection unit is used for interacting with one above photographic head foundation using HTML (Hypertext Markup Language), sends inspection Survey order, the information being returned from photographic head using RTP or real time streaming transport protocol parsing, therefrom obtain photographic head Parameter;
After resolver is used for obtaining photographic head parameter, sets up a parsing container, from photographic head parameter, isolate shooting The network address of head, hardware address and the additional parameter including support coded format, if described photographic head supports multiple codings Form is it is determined that the forced coding form of this photographic head save as and select coded format, if described photographic head only supports list As soon as coded format, this coded format is saved as and selects coded format;
Automatic detection unit utilizes HTML (Hypertext Markup Language) to send setting command to photographic head, by the coded format of photographic head It is set to select coded format;
Encoder is encoded to video stream data from coded format using determined by resolver;
Conservator saves as video file for the video flowing after coding.
The photographic head of each manufacturer is different, and there is a set of api of oneself in each manufacturer, is handed over photographic head Mutually still can support the order being detected or being arranged by HTML (Hypertext Markup Language) (HTTP).Exploitation therefore according to producer Document, transmits detection or the order of setting using http protocol, photographic head can be detected accordingly and arrange.
The data that photographic head returns is using RTP (RTP) or real time streaming transport protocol (RTSP), therefore, Automatic detection unit in the present invention parses photographic head parameter using same protocol from the data that photographic head returns.
Wherein, obtain camera video data to complete under linux system, program passes through network connection, by video Stream encryption becomes file to save, and one of important parameter is exactly file size, because video file is according to every Every a period of time preserve once, file size will not gap too big, access for convenience, the blocks of data elements inside cloud system will More somewhat larger than video file it is ensured that single piece is deposited single video file, even if having individual video file be more than data cell Block, goes to preserve with two blocks, but this situation is more rare, the impact to performance can be ignored.
When playing, it is to go to watch with browser under windows platform mostly, browser adopts Flash technology, can be Video flowing directly plays back.
Coded format is supported in the network address, hardware address and inclusion that photographic head can be isolated in described photographic head parameter Additional parameter, especially, whether described additional parameter includes code check, coded format, resolution ratio of camera head, system version, props up Hold audio frequency, maximum focusing parameter, frame period etc..
In order to determine optimal coded system, in one specific embodiment of the present invention, described resolver is stored with coding Format preference level list, if described photographic head supports multiple codings, determines according to described coded format priority list The forced coding form of photographic head.
Described priority list can according to code efficiency or coded format new and old to arrange, for example H.265 encode H.264, format preference is in encoding.
In a specific embodiment of the present invention, described video flowing receiving unit also includes resource allocation unit, institute State resource allocation unit and thread pool and connection pool are set up according to photographic head quantity, the video stream data of each photographic head is corresponding each Thread and connecting interface, when increasing or decreasing photographic head, described resource allocation unit increase or decrease corresponding thread and Connecting interface.
Because the respective coded format of photographic head, resolution different it is therefore desirable to for receive each photographic head video Flow data sets up different threads and connecting interface, is so capable of parallel processing, but also can economize on resources.
Corresponding with the processing system for video of the present invention, also include a kind of Video processing side in the specific embodiment of the invention Method, including step:
A, automatically obtain the selection coded format of photographic head using video flowing receiving unit, the coded format of setting photographic head It is to select coded format, and preserves after camera video flow data being encoded using described selection coded format, will encode The video file transfer preserving is to video file uploading unit;
B, by video file transfer to distributed file system;
C, from distributed file system downloading video files, using video file be client provide streaming media service.
As shown in figure 3, the step automatically being obtained the selection coded format of photographic head using video flowing receiving unit is included:
A01, set up with one above photographic head using HTML (Hypertext Markup Language) and interact, transmission sense command, utilization RTP or real time streaming transport protocol parsing, from the information of photographic head return, therefrom obtain photographic head parameter;
After A02, acquisition photographic head parameter, set up a parsing container, isolate the net of photographic head from photographic head parameter Network address, hardware address and the additional parameter including support coded format, if described photographic head supports multiple coded formats, Determine the forced coding form of this photographic head and save as and select coded format, if described photographic head only supports single coding lattice Formula, just saves as this coded format and selects coded format;
A03, using HTML (Hypertext Markup Language) to photographic head send setting command, by the coded format of photographic head be set to select Use coded format;
A04, photographic head setting are coded format from coded format, arranged successfully according to setting result return or setting is lost Lose information.
In Fig. 3, because there being multiple photographic head to need to process, between video flowing receiving unit and each photographic head it is therefore Execution step A01~step A04.
In addition, can further include after described step A04:
A05, the information being returned from photographic head using RTP or real time streaming transport protocol parsing, if information is Setup failed information, then reuse HTML (Hypertext Markup Language) and send setting command to photographic head, by the coded format of photographic head It is set to select coded format;
A06, when 3 times acquisition information be configuration information, then by the original encoding form of photographic head be set to from coding Form.
As shown in figure 4, work as that respective coding be have selected by different encoders (such as encoder 1, encoder 2 ...) After form, the video stream data for different photographic head (such as photographic head 1, photographic head 2 ...) uses different coding staffs Method, such as coding 1, coding 2 ..., produce different video files, such as video file 1, video file 2 ... respectively, this Sample can determine respective coded format according to each photographic head feature of oneself, improves the motility of system.
If described photographic head supports multiple codings it is determined that the forced coding form of this photographic head save as choosing Included with the operation of coded format:Described multiple codings are compared with the priority list prestoring, determines various coding lattice The priority of formula, the coded format of highest priority is defined as forced coding form.Described priority list can be according to volume Code efficiency or coded format new and old arranging, for example H.265 coded format has precedence over and H.264 encodes.
In addition, before step A, can further include:
A00, set up thread pool and connection pool according to photographic head quantity, the video stream data correspondence of each photographic head is respective Thread and connecting interface, when increasing or decreasing photographic head, described resource allocation unit increases or decreases corresponding thread and company Connection interface.
Thus, the processing system for video of the present invention and method, the reception of energy fast and stable, preservation data, the resource of occupancy Fewer, in some embodiments, or even 220 road videos can be received simultaneously, intelligence can be stablized at a high speed in a large number and account for Process video data with resource less.
In addition, the processing system for video of the present invention and method also have automatic detection and automatic setting control function it is not necessary to add Configuration file, direct and equipment is attached exchanging, and reads device parameter, and the coded format that equipment is supported detects, sends out Send the up-to-date coded command of setting (http agreement and rtp agreement), video code rate, resolution etc. are configured, all adopt Automatically complete.
It should be noted that above-mentioned embodiment is only the present invention preferably embodiment it is impossible to be understood as to this The restriction of invention protection domain, under the premise of without departing from present inventive concept, any minor variations that the present invention is done and modification Belong to protection scope of the present invention.

Claims (10)

1. a kind of processing system for video, described system includes more than one photographic head, video flowing receiving unit, video file upload Unit, distributed file system, video file download unit and streaming media service unit, wherein,
Video flowing receiving unit connects one above photographic head and video file uploading unit, for obtaining the choosing of photographic head With coded format, the coded format arranging photographic head is to select coded format, and using described selection coded format to photographic head Video stream data is encoded, by the video file transfer after coding to video file uploading unit;
Video file uploading unit passes through network connection to distributed file system, for by video file transfer to distributed literary composition Part system;
Distributed file system is used for using video file described in distributed storage and its backup;
Video file download unit passes through network connection to distributed file system, regards for downloading in distributed file system Frequency file;
Streaming media service unit, connects to video file download unit, for providing Streaming Media using video file for client Service.
2. the processing system for video according to claim 1 is it is characterised in that described video flowing receiving unit includes automatically Detector unit, resolver, encoder and conservator, automatic detection unit connects to resolver, and resolver connects to encoder, compiles Code device connects to conservator, and wherein, automatic detection unit is used for using HTML (Hypertext Markup Language) and one above photographic head Set up interaction, send sense command, the information being returned from photographic head using RTP or real time streaming transport protocol parsing, Therefrom obtain photographic head parameter;
After resolver is used for obtaining photographic head parameter, sets up a parsing container, from photographic head parameter, isolate photographic head The network address, hardware address and the additional parameter including support coded format, if described photographic head supports multiple coded formats, Then determine the forced coding form of this photographic head and save as and select coded format, if described photographic head only supports single coding Form, just saves as this coded format and selects coded format;
Automatic detection unit utilizes HTML (Hypertext Markup Language) to send setting command to photographic head, by the coded format setting of photographic head It is to select coded format;
Encoder is encoded to video stream data from coded format using determined by resolver;
Conservator saves as video file for the video flowing after coding.
3. coded format is excellent it is characterised in that described resolver is stored with for the processing system for video according to claim 2 First level list, if described photographic head supports multiple codings, determines photographic head according to described coded format priority list Forced coding form.
4. the processing system for video according to claim 2 is it is characterised in that described additional parameter includes code check, coding Form, resolution ratio of camera head, system version, whether support audio frequency, maximum focusing parameter, frame period.
5. the processing system for video according to claim 2 is it is characterised in that described video flowing receiving unit also includes providing Source allocation unit, described resource allocation unit sets up thread pool and connection pool, the video of each photographic head according to photographic head quantity The corresponding respective thread of flow data and connecting interface, when increasing or decreasing photographic head, described resource allocation unit increasing adds deduct Few corresponding thread and connecting interface.
6. a kind of method for processing video frequency, including step:
A, automatically obtain the selection coded format of photographic head using video flowing receiving unit, the coded format of setting photographic head is choosing With coded format, and using described selection coded format, camera video flow data is encoded and preserved, coding is preserved Video file transfer to video file uploading unit;
B, by video file transfer to distributed file system;
C, from distributed file system downloading video files, using video file be client provide streaming media service.
7. the method for processing video frequency according to claim 6 is it is characterised in that automatically obtained using video flowing receiving unit The step of the selection coded format of photographic head includes:
A01, set up using HTML (Hypertext Markup Language) and more than one photographic head and interact, transmission sense command, using real-time Transmission Agreement or real time streaming transport protocol parsing, from the information of photographic head return, therefrom obtain photographic head parameter;
After A02, acquisition photographic head parameter, set up a parsing container, isolate the network ground of photographic head from photographic head parameter Location, hardware address and include support coded format additional parameter, if described photographic head support multiple coded formats it is determined that The forced coding form of this photographic head simultaneously saves as and selects coded format, if described photographic head only supports single coded format, Just this coded format is saved as and select coded format;
A03, using HTML (Hypertext Markup Language) to photographic head send setting command, by the coded format of photographic head be set to from compile Code form;
A04, photographic head setting are coded format from coded format, return setting success or setup failed letter according to setting result Breath.
8. the method for processing video frequency according to claim 7 is it is characterised in that also wrap further after described step A04 Include:
A05, the information being returned from photographic head using RTP or real time streaming transport protocol parsing, if information is setting Failure information, then reuse HTML (Hypertext Markup Language) and send setting command to photographic head, by the coded format setting of photographic head It is to select coded format;
A06, when 3 times acquisition information be configuration information, then the original encoding form of photographic head is set to select coded format.
If the method for processing video frequency 9. according to claim 7 is it is characterised in that the support of described photographic head is multiple Coding is it is determined that the forced coding form of this photographic head operation that saves as from coded format includes:By described multiple volumes Code is compared with the priority list prestoring, and determines the priority of various coded formats, by the coded format of highest priority It is defined as forced coding form.
10. the method for processing video frequency according to claim 7 is it is characterised in that before step A, further include:
A00, set up thread pool and connection pool according to photographic head quantity, the video stream data of each photographic head corresponds to respective thread And connecting interface, when increasing or decreasing photographic head, described resource allocation unit increases or decreases corresponding thread and connection connects Mouthful.
CN201611028441.8A 2016-11-21 2016-11-21 Processing system for video and method Active CN106454271B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611028441.8A CN106454271B (en) 2016-11-21 2016-11-21 Processing system for video and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611028441.8A CN106454271B (en) 2016-11-21 2016-11-21 Processing system for video and method

Publications (2)

Publication Number Publication Date
CN106454271A true CN106454271A (en) 2017-02-22
CN106454271B CN106454271B (en) 2019-06-11

Family

ID=58221375

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611028441.8A Active CN106454271B (en) 2016-11-21 2016-11-21 Processing system for video and method

Country Status (1)

Country Link
CN (1) CN106454271B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040686A (en) * 2018-08-22 2018-12-18 苏宁易购集团股份有限公司 Software deployment method and Internet of Things camera system in a kind of Internet of Things camera system
CN109040585A (en) * 2018-07-27 2018-12-18 华南师范大学 Camera control method and system
CN109246158A (en) * 2018-11-20 2019-01-18 北京数码视讯软件技术发展有限公司 Video encoding/decoding method and device
CN109743627A (en) * 2019-01-16 2019-05-10 上海文广科技(集团)有限公司 Playback method based on AVS+ Video coding digital movie packet
CN110620910A (en) * 2019-09-24 2019-12-27 中国船舶重工集团公司第七0七研究所 Image information transmission method of dual-camera network transmission system based on OpenCV

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090486A (en) * 2007-06-25 2007-12-19 中国联合通信有限公司 Monitoring device for multimedium monitoring information and its monitoring method
CN101198046A (en) * 2007-12-21 2008-06-11 北京天天宽广网络科技有限公司 Contents distribution and memory system and method in video network based on P2P technology
CN102045540A (en) * 2009-10-20 2011-05-04 华为软件技术有限公司 Video monitoring method, system and equipment
US20130024898A1 (en) * 2011-07-22 2013-01-24 Toshihiko Munetsugu Content playback device, content playback method, content playback program, and content providing system
CN105450997A (en) * 2015-12-15 2016-03-30 李哲 Cloud storage based video monitoring system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090486A (en) * 2007-06-25 2007-12-19 中国联合通信有限公司 Monitoring device for multimedium monitoring information and its monitoring method
CN101198046A (en) * 2007-12-21 2008-06-11 北京天天宽广网络科技有限公司 Contents distribution and memory system and method in video network based on P2P technology
CN102045540A (en) * 2009-10-20 2011-05-04 华为软件技术有限公司 Video monitoring method, system and equipment
US20130024898A1 (en) * 2011-07-22 2013-01-24 Toshihiko Munetsugu Content playback device, content playback method, content playback program, and content providing system
CN105450997A (en) * 2015-12-15 2016-03-30 李哲 Cloud storage based video monitoring system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040585A (en) * 2018-07-27 2018-12-18 华南师范大学 Camera control method and system
CN109040686A (en) * 2018-08-22 2018-12-18 苏宁易购集团股份有限公司 Software deployment method and Internet of Things camera system in a kind of Internet of Things camera system
CN109040686B (en) * 2018-08-22 2020-12-01 苏宁云计算有限公司 Software deployment method in Internet of things camera system and Internet of things camera system
CN109246158A (en) * 2018-11-20 2019-01-18 北京数码视讯软件技术发展有限公司 Video encoding/decoding method and device
CN109743627A (en) * 2019-01-16 2019-05-10 上海文广科技(集团)有限公司 Playback method based on AVS+ Video coding digital movie packet
CN109743627B (en) * 2019-01-16 2021-11-09 上海文广科技(集团)有限公司 Playing method of digital movie package based on AVS + video coding
CN110620910A (en) * 2019-09-24 2019-12-27 中国船舶重工集团公司第七0七研究所 Image information transmission method of dual-camera network transmission system based on OpenCV

Also Published As

Publication number Publication date
CN106454271B (en) 2019-06-11

Similar Documents

Publication Publication Date Title
CN106454271B (en) Processing system for video and method
US20150007237A1 (en) On the fly transcoding of video on demand content for adaptive streaming
CN105187850B (en) The method and apparatus that the information of encoded video data is provided and receives encoded video data
CN102143385B (en) Media play processing method, digital media server and system
RU2510908C2 (en) Description of aggregated units of media data with backward compatibility
US20130083848A1 (en) Systems and methods for dynamic transcoding of indexed media file formats
CN103957389A (en) 3G video transmission method and system based on compression sensing
CN103139559B (en) Multi-media signal transmission method and device
US7809830B2 (en) Optimization of quality of service in the distribution of bitstreams
JP4983917B2 (en) Moving image distribution system, conversion device, and moving image distribution method
CN103828325A (en) Statistical multiplexing of streaming media
CN105306969A (en) Adaptive streaming media processing system and method
US20240022787A1 (en) Carriage and signaling of neural network representations
CN105230016A (en) For the single network Abstraction Layer units bag with decoding order numbering of video coding
CN105554513A (en) Panoramic video transmission method and system based on H.264
US11888913B2 (en) External stream representation properties
US11006161B1 (en) Assistance metadata for production of dynamic Over-The-Top (OTT) adjustable bit rate (ABR) representations using On-The-Fly (OTF) transcoding
JP5472094B2 (en) Moving image conversion apparatus, moving image distribution system, moving image conversion method, and program
Buysschaert et al. Creating bandwidth-efficient workflows with JPEG XS and SMPTE ST 2110
US10271075B2 (en) Cloud encoding system
Psannis et al. QoS for wireless interactive multimedia streaming
WO2018044338A1 (en) Quantization parameter reporting for video streaming
André et al. Multimedia Systems Adaptation in Mobile Environments.
Coelho Low Cost Transcoder
KR100597313B1 (en) Multi video compressing method and video stream server system

Legal Events

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