CN111757179A - Network camera localization system and method - Google Patents
Network camera localization system and method Download PDFInfo
- Publication number
- CN111757179A CN111757179A CN202010598384.7A CN202010598384A CN111757179A CN 111757179 A CN111757179 A CN 111757179A CN 202010598384 A CN202010598384 A CN 202010598384A CN 111757179 A CN111757179 A CN 111757179A
- Authority
- CN
- China
- Prior art keywords
- camera
- network
- data
- video data
- network camera
- 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
- 238000000034 method Methods 0.000 title claims abstract description 17
- 230000004807 localization Effects 0.000 title claims abstract description 10
- 238000001514 detection method Methods 0.000 claims abstract description 16
- 238000012545 processing Methods 0.000 claims abstract description 13
- 230000005540 biological transmission Effects 0.000 claims abstract description 10
- 238000006243 chemical reaction Methods 0.000 claims description 7
- 230000006835 compression Effects 0.000 claims description 4
- 238000007906 compression Methods 0.000 claims description 4
- 210000001503 joint Anatomy 0.000 claims description 4
- 230000002452 interceptive effect Effects 0.000 abstract description 4
- 238000004891 communication Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/002—Diagnosis, testing or measuring for television systems or their details for television cameras
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/858—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
- H04N21/8586—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a network CAMERA localization system, which comprises a detection module, a data acquisition module, a data processing module and a CAMERA application, wherein the detection module is used for searching a network CAMERA in a network in real time through an ONVIF protocol and acquiring a video transmission URL (uniform resource locator) of the network CAMERA; the data acquisition module is connected with the url through the detection module to acquire video data; the data processing module is used for decoding video data and processing images; and opening the CAMERA equipment and acquiring the data of the CAMERA through a CAMERA interface applied by the CAMERA. Meanwhile, a method for localizing the network camera is also disclosed, the video data of the network camera is acquired, decoded and processed, the network camera is used for replacing the traditional camera, the use scene of the camera is widened through the network camera, the use position of the camera is extended, the limitation of distance and position is avoided, and the interactive use experience of users is improved.
Description
Technical Field
The invention relates to the technical field of streaming media systems and audio and video, in particular to a network camera localization system and a network camera localization method.
Background
In recent years, with the continuous development of communication technology, the network bandwidth, the computer processing capability and various video information processing technologies are rapidly improved, and the application scene based on audio and video is continuously expanded. In the 2G era, information transmission was basically limited to voice and text information. In the 4G, 5G era, users need instant video transmission. As an important module of home entertainment, televisions are also required to develop various applications for home entertainment communication to meet the increasing demands of users. The camera is an important video acquisition device of the television, and common use scenes related to the camera include artificial intelligence services and the like with video call, photographing, video recording, AR and instant video information as input. Various video applications may be developed based on various video scenes. The effect and convenience of video acquisition directly relate to the experience and evaluation of users on products, and the improvement of the user experience is one of the core requirements of consumer electronics and household appliances.
At present, a camera is a standard video input device of a television, and generally, a fixed camera and an external USB camera are supported on the television. However, the two devices have the limitation of distance, namely the two devices are required to be attached to a television or be close to the television, and the use scenes of the camera are limited to a great extent. For example, when a video conference is started through a television, the focal length of a camera needs to be adjusted frequently, when all participants are shot, the focal length needs to be adjusted far, and when a document currently discussed is projected, the focal length needs to be reduced. Therefore, a camera with adjustable focus and flexible position is needed for video acquisition. The network camera (IPCAMERA) is connected with the television through a wireless network, the distance between the network camera (IPCAMERA) and the television is flexible, the shortage of the television camera can be overcome by localizing the network camera (IPCAMERA) to simulate the USB camera, the use scene extends to the whole room from the front of the television, and extends to the outdoor or even any remote place through network connection from the indoor.
Disclosure of Invention
In order to solve the problems in the prior art, the invention aims to provide a network camera localization system and a network camera localization method; the USB CAMERA is expanded, video data of the network CAMERA acquired by a network is decoded and converted into preview data with the same output format as the USB CAMERA, the preview data is provided for CAMERA application, and the use scene of the CAMERA is widened through the network CAMERA.
In order to achieve the purpose, the invention adopts the technical scheme that:
a network CAMERA localization system is characterized by comprising a detection module, a data acquisition module, a data processing module and a CAMERA application, wherein the detection module is used for searching a network CAMERA in a network in real time through an ONVIF protocol and acquiring a video transmission URL of the network CAMERA; the data acquisition module is connected with the url through the detection module to acquire video data; the data processing module is connected with the data acquisition module and is used for decoding video data and processing images to ensure that the video data acquired by the network camera has the same data output format as the USB camera; the CAMERA application opens the CAMERA equipment and acquires the data of the CAMERA through the CAMERA interface, so that the flow and operation of the network CAMERA are consistent with those of the USB CAMERA, and the network CAMERA can be used for replacing the USB CAMERA or the common CAMERA.
A method for localizing a network CAMERA is characterized in that video data of the network CAMERA is obtained by searching the network CAMERA on a network, then decoded and converted into video data with the same output format as a USB CAMERA, and provided for a CAMERA application, and the network CAMERA is used for replacing the USB CAMERA, and the method specifically comprises the following steps:
firstly, a user sends a CAMERA query command through a CAMERA application, a network CAMERA in a network is searched in real time, and a url of a network CAMERA video stream is obtained;
connecting the url, acquiring video data, separating audio and video data in the url, and extracting video data after coding and compression;
step three, decoding the obtained coded video data, and performing format conversion on the video data;
and step four, a standard CAMERA interface is connected in a butt joint mode, the converted video data are transmitted to a CAMERA application, and data transmission is carried out.
Further, the third step includes decompressing the obtained encoded video to generate a YUV or RGB image that can be directly used for display; and performing format conversion on the width, height and pixels of the generated image according to the picture format set by the CAMERA application.
The invention has the beneficial effects that:
the use scene of the USB camera or the common camera is widened through the network camera, so that the use position of the camera is extended, the limitation of distance and position is avoided, and the interactive use experience of a user is improved.
Drawings
Fig. 1 is a schematic diagram of a network camera ontology system according to an embodiment of the present invention.
Fig. 2 is a flowchart of a method for localizing a network camera according to an embodiment of the present invention.
Detailed Description
The following description is presented to disclose the invention so as to enable any person skilled in the relevant art to practice the invention. The embodiments described below are intended to be examples only, and other obvious modifications will occur to those skilled in the relevant art and are within the scope of the invention.
Embodiments of the present invention will be described in detail below with reference to fig. 1-2.
In one embodiment, as shown in figure 1,
a network CAMERA localization system applied in television equipment comprises a detection module, a data acquisition module, a data processing module and a CAMERA application,
A) the detection module is accessed to a network and used for retrieving a network camera in the network in real time and acquiring a video streaming URL (uniform resource locator) of the network camera;
the television searches whether the Network camera equipment is accessed in the current Network or not through an ONVIF protocol, wherein the ONVIF protocol is an Open industry standard established by an Open Network Video Interface Forum. The purpose of this interface standard is to ensure the interoperability of network video products produced by different manufacturers. The network camera ONVIF detection module of the television periodically sends UDP multicast signals of the local network and then receives response data sent back by the network video equipment of each IP address. And then the network camera detection module analyzes the response data to acquire the information of the network video equipment, so that the url of the video streaming transmission of the network camera required to be used can be finally obtained. Through the url, the video stream recorded by the network camera in real time can be acquired.
B) The data acquisition module is connected with the detection module and is connected with the url through the detection module to acquire video data;
after the video stream url is obtained, the detection module transmits the url to the data acquisition module, and then the network camera is connected to acquire video data of rtsp. Some webcams transmit video and audio together, so demultiplexing is required to separate the video and audio to obtain separate video stream data.
C) The data processing module is connected with the data acquisition module and is used for decoding video data and carrying out processing such as image format conversion or scaling to ensure that the video data acquired by the network camera is consistent with the data output format of the USB camera;
the method comprises the steps of obtaining compressed and coded network camera video stream data, mostly adopting an h264 or h265 compression coding mode for network cameras, then decoding separated video data to obtain frame number images capable of being directly displayed, and mostly adopting YUV or RGB format for images.
The USB camera on the television outputs YVYU format pictures sampled by AD conversion, and pictures decoded and generated after acquiring the network camera are generally YUV420 format, so format conversion needs to be performed on the decoded pictures to generate YVYU format pictures as the output format of the USB camera. In addition, the width and height of the picture required by the CAMERA application may be different from the width and height of the picture obtained by the network CAMERA, and the picture needs to be zoomed to generate the picture with the same width and height required by the CAMERA application.
D) The CAMERA application is provided with a CAMERA interface, CAMERA equipment is opened and CAMERA data is acquired through the CAMERA interface, the flow and operation of the network CAMERA are consistent with those of the USB CAMERA, and the network CAMERA replaces the USB or a common CAMERA;
the CAMERA equipment is opened and CAMERA data are obtained through the standard CAMERA interface by the CAMERA application, so that the operation of the network CAMERA is required to be connected with the CAMERA through the CAMERA interface, the operation of the network CAMERA is accessed into each interface of the CAMERA one by one, the operation of the network CAMERA is completely the same as that of the USB CAMERA in the process of operating the network CAMERA, and the universality and operability of the CAMERA are improved.
The CAMERA application acquires and processes the network CAMERA data according to a normal flow;
after the standard CAMERA interface is connected, the CAMERA application can operate the network CAMERA and the USB CAMERA as a device, such as photographing, recording, previewing and the like. Therefore, the network camera is used for replacing the traditional camera, the application range of the network camera is wider, and the operation is more convenient.
In another embodiment, as shown in figure 2,
a method for localizing a network CAMERA obtains video data of the network CAMERA by retrieving the network CAMERA on a network, then decodes the video data and converts the video data into video preview data with the same output format as a USB CAMERA, and the video preview data is provided for a CAMERA application, so that the network CAMERA can be used for replacing the USB CAMERA, the effect of widening the use scene of the CAMERA is achieved, and the interactive use experience of a user is improved.
The method comprises the following specific steps:
firstly, a user sends a CAMERA query command through a CAMERA application, a network CAMERA in a network is searched in real time, and a url of a network CAMERA video stream is obtained;
connecting the url, acquiring video data, separating audio and video data in the url, and extracting video data after coding and compression;
decoding the acquired coded video data to generate a YUV or RGB image which can be directly used for display;
step four, according to the width, height and pixel format of the picture set by the CAMERA application, the width, height and pixel format of the generated image frame are converted;
and step five, a standard CAMERA interface is connected in a butt joint mode, the converted image data is transmitted to the needed CAMERA application through a data transmission channel of the standard CAMERA, and data transmission is completed.
By the method, the network CAMERA is simulated to be CAMERA to realize the function of common CAMERA in a mode that the network CAMERA is connected with the CAMERA interface in a butt joint mode, the connection between the network CAMERA and the television is carried out, the defect that the common CAMERA is limited by the length of a cable is overcome, the use scene of the television CAMERA is widened, and the interactive use experience of a user is improved.
The above-mentioned embodiments only express the specific embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention.
Claims (3)
1. A network CAMERA localization system is characterized by comprising a detection module, a data acquisition module, a data processing module and a CAMERA application, wherein the detection module is used for searching a network CAMERA in a network in real time through an ONVIF protocol and acquiring a video transmission URL of the network CAMERA; the data acquisition module is connected with the url through the detection module to acquire video data; the data processing module is connected with the data acquisition module and is used for decoding video data and processing images to ensure that the video data acquired by the network camera has the same data output format as the USB camera; the CAMERA application opens the CAMERA equipment and acquires the data of the CAMERA through the CAMERA interface, so that the flow and operation of the network CAMERA are consistent with those of the USB CAMERA, and the network CAMERA can be used for replacing the USB CAMERA or the common CAMERA.
2. A method for localizing a network CAMERA is characterized in that video data of the network CAMERA is obtained by searching the network CAMERA on a network, then decoded and converted into video data with the same output format as a USB CAMERA, and provided for a CAMERA application, and the network CAMERA is used for replacing the USB CAMERA, and the method specifically comprises the following steps:
firstly, a user sends a CAMERA query command through a CAMERA application, a network CAMERA in a network is searched in real time, and a url of a network CAMERA video stream is obtained;
connecting the url, acquiring video data, separating audio and video data in the url, and extracting video data after coding and compression;
step three, decoding the obtained coded video data, and performing format conversion on the video data;
and step four, a standard CAMERA interface is connected in a butt joint mode, the converted video data are transmitted to a CAMERA application, and data transmission is carried out.
3. The method for localizing the network camera according to claim 2, wherein the third step comprises decompressing the obtained encoded video to generate YUV or RGB image directly used for display; and performing format conversion on the width, height and pixels of the generated image according to the picture format set by the CAMERA application.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010598384.7A CN111757179A (en) | 2020-06-28 | 2020-06-28 | Network camera localization system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010598384.7A CN111757179A (en) | 2020-06-28 | 2020-06-28 | Network camera localization system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111757179A true CN111757179A (en) | 2020-10-09 |
Family
ID=72677645
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010598384.7A Pending CN111757179A (en) | 2020-06-28 | 2020-06-28 | Network camera localization system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111757179A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102811235A (en) * | 2011-06-01 | 2012-12-05 | 腾讯科技(深圳)有限公司 | Media file off-line downloading method and device and off-line downloading server |
CN103581695A (en) * | 2012-07-27 | 2014-02-12 | 永泰软件有限公司 | System and method for achieving access of mobile terminal to global eye |
CN104836980A (en) * | 2015-05-08 | 2015-08-12 | 烽火通信科技股份有限公司 | System and method for implementing video calls based on intelligent terminals and IP (Internet Protocol) cameras |
CN106791714A (en) * | 2017-02-23 | 2017-05-31 | 青岛海信电器股份有限公司 | The matching process and equipment of IP Camera and server device |
US20190058676A1 (en) * | 2016-02-23 | 2019-02-21 | Videotec S.P.A. | Intelligent network switch |
US20190088027A1 (en) * | 2017-09-18 | 2019-03-21 | Shoppar Inc. | Method for developing augmented reality experiences in low computer power systems and devices |
CN109510998A (en) * | 2018-12-21 | 2019-03-22 | 南京理工大学 | The method for obtaining unpressed IP Camera initial data |
US20200162458A1 (en) * | 2018-11-16 | 2020-05-21 | Mutualink, Inc. | System and method for secure access to camera systems |
-
2020
- 2020-06-28 CN CN202010598384.7A patent/CN111757179A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102811235A (en) * | 2011-06-01 | 2012-12-05 | 腾讯科技(深圳)有限公司 | Media file off-line downloading method and device and off-line downloading server |
CN103581695A (en) * | 2012-07-27 | 2014-02-12 | 永泰软件有限公司 | System and method for achieving access of mobile terminal to global eye |
CN104836980A (en) * | 2015-05-08 | 2015-08-12 | 烽火通信科技股份有限公司 | System and method for implementing video calls based on intelligent terminals and IP (Internet Protocol) cameras |
US20190058676A1 (en) * | 2016-02-23 | 2019-02-21 | Videotec S.P.A. | Intelligent network switch |
CN106791714A (en) * | 2017-02-23 | 2017-05-31 | 青岛海信电器股份有限公司 | The matching process and equipment of IP Camera and server device |
US20190088027A1 (en) * | 2017-09-18 | 2019-03-21 | Shoppar Inc. | Method for developing augmented reality experiences in low computer power systems and devices |
US20200162458A1 (en) * | 2018-11-16 | 2020-05-21 | Mutualink, Inc. | System and method for secure access to camera systems |
CN109510998A (en) * | 2018-12-21 | 2019-03-22 | 南京理工大学 | The method for obtaining unpressed IP Camera initial data |
Non-Patent Citations (1)
Title |
---|
刘成: "《基于Android平台的智能网络摄像头应用程序设计与开发》", 《中国优秀硕士学位论文全文数据库》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10237548B2 (en) | Video transmission based on independently encoded background updates | |
US8659638B2 (en) | Method applied to endpoint of video conference system and associated endpoint | |
US10511766B2 (en) | Video transmission based on independently encoded background updates | |
CN103404160A (en) | Method and device for view switching | |
KR101528863B1 (en) | Method of synchronizing tiled image in a streaming service providing system of panoramic image | |
KR20100085188A (en) | A three dimensional video communication terminal, system and method | |
US20170163934A1 (en) | Data, multimedia & video transmission updating system | |
KR101861929B1 (en) | Providing virtual reality service considering region of interest | |
US20180091860A1 (en) | Enhancing A Media Recording Comprising A Camera Recording | |
KR20110052933A (en) | Camera apparatus and method for providing recorded image | |
CN105451004A (en) | Intelligent set top box, and media processing system and method supporting video communication monitoring | |
CN111757179A (en) | Network camera localization system and method | |
CN114666477B (en) | Video data processing method, device, equipment and storage medium | |
CN115412702A (en) | Conference terminal and video wall integrated equipment and system | |
CN101340546A (en) | High-resolution video conference system | |
KR20020015219A (en) | Apparatus and method for video transmission in video conferencing system | |
WO2024012295A1 (en) | Video transmission method, apparatus, and system, device, and medium | |
JP4612826B2 (en) | Storage device, storage method, computer-readable storage medium, and program | |
KR100953508B1 (en) | Method and System for Transmitting and Receiving Digital Video Stream | |
Gunawardhana | Low Latency Requirement and Video Usage in Sri Lanka | |
CN113473059A (en) | Data processing method, intelligent device and intelligent processing system | |
KR101827244B1 (en) | HD CCTV Video Surveillance System | |
Stuurman et al. | KeyFrame Video with Toll-by pass | |
CN117459768A (en) | Nondestructive preview method and system based on ultra-high definition camera on intelligent television | |
CN115865879A (en) | Unattended video remote monitoring system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201009 |