CN107360402A - A kind of HD video recording method based on RTSP agreements - Google Patents

A kind of HD video recording method based on RTSP agreements Download PDF

Info

Publication number
CN107360402A
CN107360402A CN201710764658.3A CN201710764658A CN107360402A CN 107360402 A CN107360402 A CN 107360402A CN 201710764658 A CN201710764658 A CN 201710764658A CN 107360402 A CN107360402 A CN 107360402A
Authority
CN
China
Prior art keywords
data
network camera
video
logger
cache
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
CN201710764658.3A
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.)
Shaanxi Qianshan Avionics Co Ltd
Original Assignee
Shaanxi Qianshan Avionics 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 Shaanxi Qianshan Avionics Co Ltd filed Critical Shaanxi Qianshan Avionics Co Ltd
Priority to CN201710764658.3A priority Critical patent/CN107360402A/en
Publication of CN107360402A publication Critical patent/CN107360402A/en
Pending legal-status Critical Current

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
    • 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
    • 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/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64723Monitoring of network processes or resources, e.g. monitoring of network load
    • H04N21/6473Monitoring network processes errors

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Television Signal Processing For Recording (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

The present invention provides a kind of HD video recording method based on RTSP agreements.HD video recording method of the present invention can receive the HD video data sent based on RTSP agreements;Data are handled by cache logger, and the data after processing are write in data card by SATA2.0 interfaces.Can solve the problem that can not directly support RTSP agreements to transmit based on VxWorks real time operating system, compared with conventional recording method, can conveniently record the H.264 video information based on the transmission of RTSP agreements, meet the requirement that user records to high-resolution quality video.

Description

A kind of HD video recording method based on RTSP agreements
Technical field
The present invention provides a kind of airborne video record method, more particularly to a kind of HD video record based on RTSP agreements Method.
Background technology
Currently, the video quality of inferior grade can not meet particular/special requirement of the user to HD image quality, be limited to Network bandwidth limits, and has the H.264 video compression standard of good compression performance and high quality graphic in video real-time Communication for Power, net Very important effect is played in the technologies such as network video stream media, H.264 video coding technique has been using the transmission of RTSP agreements Through being widely used.
Aircraft HD video record system, being capable of record-setting flight device in real time in aircraft daily workout and in-flight particularly significant Various information in flight and training process, can more intuitively react aircraft flight attitude and pilot operator situation in the air. Air equipment is very high to airborne electronic equipment product requirement of real-time, and airborne products use VxWoks operating systems, without ready-made Api interface function supports RTSP agreements to carry out data receiver.Therefore, RTSP agreements are directly received using VxWoks operating systems to pass Defeated H.264 video information turns into a kind of problem and is based on RTSP agreement HD videos, it is necessary to be realized in VxWoks operating systems The method of record.
The content of the invention
Goal of the invention:A kind of HD video recording method based on RTSP agreements is provided, facilitates HD video information record.
Technical scheme:One kind is based on RTSP agreement HD video recording methods, including network camera instrument [1], cache record Device [2] and data card [3], the network camera instrument [1] complete collection, compression and the coding of Airborne Video System information, and by with Too network interface is transferred to cache logger [2], and the cache logger [3] is carried out at data to the HD video data of reception Reason, the data card [3] are attached by SATA2.0 interfaces and cache logger [2], receive cache logger [2] processing HD video information afterwards;
Cache logger [1] data processing method is as follows:
Step 1: establishing UDP ethernet ports, and IP address and port numbers are set;TCP ethernet ports are established, and are set Put IP address and port numbers;
Step 2: TCP ethernet ports are connected with network camera instrument, cache logger by TCP ethernet ports to Network camera instrument sends TEARDOWN message, and network camera instrument receives feedback acknowledgment information after TEARDOWN message;
Step 3: cache logger sends SETUP message, network shooting by TCP ethernet ports to network camera instrument Instrument receives feedback acknowledgment information after SETUP message;
Step 4: cache logger sends PLAY message, network camera instrument by TCP ethernet ports to network camera instrument Receive feedback acknowledgment information after SETUP message;
Step 5: cache logger [2] receives the output data of network camera instrument [1], network by UDP ethernet ports The output format of video camera [1] is H.264 naked bit stream data;Cache logger [2] is according to RTSP agreements to the data that receive Parsing, and add packet header and lapse of time write-in data card [3].
In step 5, when occurring more than 3 seconds and not receiving data, step 2 is returned to.
Cache logger [2] can carry out the camera data of reception data processing, conversion by data processing method The data format that need to be stored into cache logger.
When system works, completing collection, compression and the coding of Airborne Video System information by network camera instrument [1] first turns into H.264 video format, the RTSP agreements that cache logger [2] receives network camera instrument [1] transmission by Ethernet interface are transmitted H.264 data;Data processing and packing are carried out by software algorithm, the data after processing are finally passed through into SATA2.0 interfaces Write in data card [3].
Beneficial effect:HD video recording method of the present invention based on RTSP agreements, can solve the problem that and be based on Vxworks real time operating systems can not directly support RTSP agreements to transmit, convenient record H.264 regarding based on the transmission of RTSP agreements Frequency information, meet the requirement that user records to high-resolution quality video.
Brief description of the drawings
Fig. 1 is the HD video recording method theory diagram based on RTSP agreements;
Fig. 2 is cache recorder data processing method;
Wherein, 1- network camera instruments, 2- caches logger, 3- data cards.
Embodiment
The present invention is described in further detail below in conjunction with the accompanying drawings.
Referring to Fig. 1, present invention one kind be based on RTSP agreement HD video recording methods, including network camera instrument [1], soon Logger [2] and data card [3] are taken, the network camera instrument [1] completes collection, compression and the coding of Airborne Video System information, and Cache logger [2] is transferred to by Ethernet interface, the cache logger [3] enters line number to the HD video data of reception According to processing, the data card [3] is attached by SATA2.0 interfaces and cache logger [2], receives cache logger [2] HD video information after processing;
Cache logger [1] data processing method is as follows:
Step 1: establishing UDP ethernet ports, and IP address and port numbers are set;TCP ethernet ports are established, and are set Put IP address and port numbers;
Step 2: TCP ethernet ports are connected with network camera instrument, cache logger by TCP ethernet ports to Network camera instrument sends TEARDOWN message, and network camera instrument receives feedback acknowledgment information after TEARDOWN message;
Step 3: cache logger sends SETUP message, network shooting by TCP ethernet ports to network camera instrument Instrument receives feedback acknowledgment information after SETUP message;
Step 4: cache logger sends PLAY message, network camera instrument by TCP ethernet ports to network camera instrument Receive feedback acknowledgment information after SETUP message;
Step 5: cache logger [2] receives the output data of network camera instrument [1], network by UDP ethernet ports The output format of video camera [1] is H.264 naked bit stream data;Cache logger [2] is according to RTSP agreements to the data that receive Parsing, and add packet header and lapse of time write-in data card [3].
In step 5, when occurring more than 3 seconds and not receiving data, step 2 is returned to.
Cache logger [2] can carry out the camera data of reception data processing, conversion by data processing method The data format that need to be stored into cache logger
The cache logger [3] carries out data processing to the HD video data of reception, and the data card [3] passes through SATA2.0 interfaces are attached with cache logger [2], receive the HD video information after cache logger [2] processing.
Referring to Fig. 2, cache logger [1] data processing method is as follows:Socket initialization udp port is established, Socket initialization TCP port is established, TCP socket is connected with network camera instrument, sends TEARDOWN message, network shooting Instrument [1] returns to TEARDOWN return values;If last session is over, network camera instrument [1] returns to failure information;Pass through TCP (port numbers 554) sends SETUP message to network camera instrument [1], and network camera instrument [1] returns to SETUP return values;It hurry up After taking logger [2] to receive the SETUP success messages of network camera instrument [1] return, by TCP (port numbers 554) to network Video camera [1] sends PLAY message, and network camera instrument [1] returns to PLAY return values;Cache logger [2] receives network camera instrument [1] after the PLAY success messages returned, network camera instrument [1] output format is received as H.264 naked bit stream data by UDP;It hurry up Take logger [2] to receive data by UDP, after can not receive data more than 3 seconds, re-connect operation;Cache logger [2] The data received are parsed according to RTSP agreements, and add packet header and lapse of time write-in data card [3].It is of the present invention The HD video recording method based on RTSP agreements, can solve the problem that can not directly support RTSP based on Vxworks operating systems Agreement is transmitted.Compared with conventional recording method, the H.264 video information based on the transmission of RTSP agreements can be conveniently recorded, is met The requirement that user records to high-resolution quality video.

Claims (3)

1. one kind is based on RTSP agreement HD video recording methods, including network camera instrument [1], cache logger [2] and data Block [3], the network camera instrument [1] completes collection, compression and the coding of Airborne Video System information, and is transmitted by Ethernet interface Cache logger [2] is given, the cache logger [3] carries out data processing, the data card to the HD video data of reception [3] it is attached by SATA2.0 interfaces and cache logger [2], receives the HD video letter after cache logger [2] processing Breath;
Cache logger [1] data processing method is as follows:
Step 1: establishing UDP ethernet ports, and IP address and port numbers are set;TCP ethernet ports are established, and IP is set Address and port numbers;
Step 2: TCP ethernet ports are connected with network camera instrument, cache logger is by TCP ethernet ports to network Video camera sends TEARDOWN message, and network camera instrument receives feedback acknowledgment information after TEARDOWN message;
Step 3: cache logger sends SETUP message by TCP ethernet ports to network camera instrument, network camera instrument connects Receive feedback acknowledgment information after SETUP message;
Step 4: cache logger sends PLAY message by TCP ethernet ports to network camera instrument, network camera instrument receives Feedback acknowledgment information after to SETUP message;
Step 5: cache logger [2] receives the output data of network camera instrument [1], network shooting by UDP ethernet ports The output format of instrument [1] is H.264 naked bit stream data;Cache logger [2] parses according to RTSP agreements to the data received, And add packet header and lapse of time write-in data card [3].
A kind of 2. HD video recording method based on RTSP agreements, it is characterised in that:In step 5, when occurring more than 3 When second does not receive data, step 2 is returned to.
3. a kind of HD video recording method based on RTSP agreements, it is characterised in that cache logger [2] passes through data The camera data of reception can be carried out data processing by processing method, change into the data format that cache logger need to store.
CN201710764658.3A 2017-08-30 2017-08-30 A kind of HD video recording method based on RTSP agreements Pending CN107360402A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710764658.3A CN107360402A (en) 2017-08-30 2017-08-30 A kind of HD video recording method based on RTSP agreements

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710764658.3A CN107360402A (en) 2017-08-30 2017-08-30 A kind of HD video recording method based on RTSP agreements

Publications (1)

Publication Number Publication Date
CN107360402A true CN107360402A (en) 2017-11-17

Family

ID=60289311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710764658.3A Pending CN107360402A (en) 2017-08-30 2017-08-30 A kind of HD video recording method based on RTSP agreements

Country Status (1)

Country Link
CN (1) CN107360402A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103986942A (en) * 2014-06-05 2014-08-13 北京赛维安讯科技发展有限公司 Data distribution system and method based on CDN (content distribution network)
CN106331853A (en) * 2016-08-31 2017-01-11 福建星网视易信息系统有限公司 Multimedia de-packaging method and apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103986942A (en) * 2014-06-05 2014-08-13 北京赛维安讯科技发展有限公司 Data distribution system and method based on CDN (content distribution network)
CN106331853A (en) * 2016-08-31 2017-01-11 福建星网视易信息系统有限公司 Multimedia de-packaging method and apparatus

Similar Documents

Publication Publication Date Title
US11381625B2 (en) Apparatus and method for transmitting multimedia data in hybrid network
US20080285571A1 (en) Media Data Processing Using Distinct Elements for Streaming and Control Processes
CN103237191B (en) The method of synchronized push audio frequency and video in video conference
RU2657175C2 (en) Method and apparatus for encapsulation of motion picture experts group media transport assets in international organisation for standardisation base media files
US10477282B2 (en) Method and system for monitoring video with single path of video and multiple paths of audio
CN107666619B (en) Live data transmission method, device, electronic equipment, server and storage medium
CN103369305B (en) Realize the method for speech talkback synchronization and playback in video monitoring system
JP2003338830A (en) Media transmitting method, media receiving method, media transmitter and media receiver
CN107094257A (en) A kind of system to satellite image data real-time decompression
CN108924502A (en) A kind of portable image transmission system and its figure transmission method
CN115209108A (en) Transmission system based on 5G embedded video
CN107911668A (en) Wireless image transmission system and method
US20230269410A1 (en) Method, device and system for transmitting data stream and computer storage medium
CN107360402A (en) A kind of HD video recording method based on RTSP agreements
CN106790030B (en) Multi-screen cooperative audio transmission server, client, system and processing method thereof
CN106507125A (en) A kind of pair of terminal coordinates live method and device
CN101589570B (en) Method for packet-switching transmission of media data and device for processing media data
CN112929742A (en) Ultra-high-speed video stream control method and system based on NI millimeter wave system
CN102724054B (en) Signalling analysis and system for data services network
CN104184570A (en) Communication system and method
KR101983045B1 (en) Apparatus and method for delivering multimedia data in hybrid network
CN108696474A (en) The communication means of multimedia transmission
CN112532935A (en) Device for determining video source position based on SOC
CN111131785A (en) MPEG-4 video transmission system based on DirectShow
KR200387606Y1 (en) Apparatus of Digital Multimedia Control by Wireless Network

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: 20171117

RJ01 Rejection of invention patent application after publication