Stable solution method for realizing multipath video input by single PC
A multi-channel video and solution technology, applied in the field of computer desktop applications, can solve problems such as system instability, interruption of video capture, and huge resources.
Inactive Publication Date: 2016-11-23
ZHEJIANG WANPENG EDUCATION TECH CO LTD
View PDF7 Cites 1 Cited by
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
When the computer performs multi-channel video collection, compression, and transmission, the resources consumed are relatively huge, and sometimes it may cause system instability, resulting in abnormal phenomena such as interruption of video collection
Method used
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View moreExamples
Experimental program
Comparison scheme
Effect test
Embodiment
[0022] Assuming that the main process is capturing the content of camera No. 1, and now needs to capture the content of camera No. 2, the main process creates the following command line parameters: " / hWndMain 45348876 / SubID 1 / CameraID 2", and executes the following command to create the capture process" iCamera.exe / hWndMain 45348876 / SubID 1 / CameraID 2", after the capture process obtains the parameters, it knows that this process should capture No. , sent to the window 45348876, which is the receiving window of the main process. After receiving the data, according to SubID=1, it can be known that this is the No. 1 capture process, that is, the data captured by the No. 2 camera.
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More PUM
Login to View More Abstract
The invention discloses a stable solution method for realizing multipath video input by a single PC. The stable solution method disclosed by the invention comprises the following steps: step 1, a main process of an application program creates a command line parameter for starting a capture process, wherein the contents of the command line parameter comprise a window handle of the main process for inter-process communication, an identification serial number of the capture process, and a camera serial number to be captured, and then starting the capture process through the command line parameter; step 2, analyzing the window handle of the main process for inter-process communication, the identification serial number of the capture process and the camera serial number to be captured from the command line parameter, and then calling a capture function provided by a DirectShow framework of the Windows to start the capture; and step 3, combining the captured data with the identification serial number of the capture process, sending the same to the window handle transmitted by the command line parameter through SendMessage, receiving the window handle by the main process and carrying out subsequent processing. According to the stable solution method disclosed by the invention, the multi-process technology is adopted to simplify the collection process and improve the compression stability.
Description
technical field [0001] The invention belongs to the field of computer desktop applications, in particular to a method for reducing complexity and enhancing stability when multi-channel video capture is required. Background technique [0002] With the increase of today's network bandwidth, video applications have begun to develop towards high-definition. When a single-channel video cannot meet the needs of users, the demand for simultaneous recording and transmission of multiple-channel videos has emerged as the times require. When the computer performs multi-channel video collection, compression, and transmission, the resources consumed are relatively huge, and sometimes it may cause system instability, resulting in abnormal phenomena such as interruption of video collection. Contents of the invention [0003] The purpose of the present invention is to provide a stable solution for realizing multi-channel video input by a single PC aiming at the gap in the prior art. [0...
Claims
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More Application Information
Patent Timeline
Login to View More IPC IPC(8): H04N7/18
CPCH04N7/181
Inventor 胡开荆李群巍
Owner ZHEJIANG WANPENG EDUCATION TECH CO LTD
