CN107070686A - A kind of system and method for the parallel transcoding of video monitoring platform code stream - Google Patents
A kind of system and method for the parallel transcoding of video monitoring platform code stream Download PDFInfo
- Publication number
- CN107070686A CN107070686A CN201611207047.0A CN201611207047A CN107070686A CN 107070686 A CN107070686 A CN 107070686A CN 201611207047 A CN201611207047 A CN 201611207047A CN 107070686 A CN107070686 A CN 107070686A
- Authority
- CN
- China
- Prior art keywords
- transcoding
- server
- code stream
- target video
- request
- 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 154
- 238000012544 monitoring process Methods 0.000 title claims abstract description 35
- 230000008569 process Effects 0.000 claims abstract description 109
- 238000001914 filtration Methods 0.000 claims description 3
- 239000000945 filler Substances 0.000 claims 1
- 230000002159 abnormal effect Effects 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000006855 networking Effects 0.000 description 3
- 238000010276 construction Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 210000001503 joint Anatomy 0.000 description 1
- 210000000056 organ Anatomy 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The embodiment of the present invention provides a kind of system and method for the parallel transcoding of video monitoring platform code stream.The system includes NM server, dispatch server and transcoding server cluster;NM server, for management and dispatching server and transcoding server cluster;Dispatch server, for analyzing the load condition of each transcoding server in transcoding server cluster, it is determined that obtaining the transcoding server that load condition meets default first requirement, and the code stream transcoding received is asked to send the transcoding server obtained to determination;Transcoding server in transcoding server cluster includes:Managing process and at least one transcoding process;Managing process, the code stream transcoding request for that will receive is sent at least one transcoding process;Transcoding process, for carrying out transcoding to the target video code stream got.The embodiment of the present invention is saved by transcoding process frequently restarts the wasted time caused by the collapse of transcoding process, improves the efficiency and reliability of transcoding.
Description
Technical Field
The invention relates to the field of urban video monitoring, in particular to a system and a method for code stream parallel transcoding of a video monitoring platform.
Background
In order to better guide the national public security organs to carry out the networking construction of the video monitoring system and the integration and sharing of video image information, the standards of GB/T28181 and the like are used as the interconnection standards of the video monitoring system in the public security industry, and the major tasks of provincial and municipal platform construction, networking architecture, standard mandatory items, standard conformance tests and networking platform functional performance are standardized. The GB/T28181 standard provides a uniform signaling interface and a video and audio coding and decoding interface for video monitoring platform interconnection and video monitoring platform and equipment interconnection, all systems mutually visit through the standard, interconnection and butt joint work among different manufacturers is simplified, the project cycle of system interconnection is shortened, the social overall resource cost of information sharing application is saved, and the stability and the maturity of the interfaces and the systems are favorably enhanced.
However, in the process of system advancement conforming to the national standard, the biggest problem arises as the adaptability of encoding. In short, there is no good method for accessing a large number of existing monitoring front ends to a new national standard system, because a large number of encoding devices cannot be changed into devices conforming to the national standard encoding and decoding standards by means of replacement, upgrading and the like. If the real-time videos of the devices need to be considered, the videos need to be converted through a transcoding gateway and converted into code streams meeting national standards. The transcoding gateway is a server program that decodes a private code stream into YUV (a color coding method adopted by the european television system) in an original video format through a Software Development Kit (SDK) provided by a manufacturer, and then encodes the YUV into H264, MPEG4, PS or other formats conforming to the national standard and forwards the YUV. In the implementation process of the transcoding gateway, two problems to be solved urgently exist. Firstly, the method comprises the following steps: because of numerous equipment manufacturers and different encoding modes, the decoding SDK is incompatible or unstable, thereby influencing the stability and maintainability of the whole transcoding program. Some equipment manufacturers only provide 32-bit interfaces, and the application programs of the 32-bit single process can only apply for 2G memory at most, which can cause serious waste of hardware resources; under the condition that the SDK of part manufacturers is not stable, frequent maintenance and upgrading or interface change are needed, so that the whole gateway needs to be re-developed, deployed and tested, the labor cost is wasted, and the user experience can be influenced. Secondly, the method comprises the following steps: the video monitoring system has high requirements on the real-time performance, the definition and the concurrency of code streams, when the number of users of an upper-connection platform increases and real-time videos and videos are frequently browsed, the concurrency performance of a transcoding gateway is challenged, a CPU, a memory and a network become bottlenecks, and the problems of packet loss, blockage, screen splash and the like are also solved.
The prior art provides a multi-process based transcoding method that creates multiple sub-processes from a host process. The processing processes of the sub-processes are independent, the running stability of the transcoding main program is guaranteed, and each sub-process has an independent 2GB address space and an independent resource. Meanwhile, the main process distributes tasks according to the load degree of the sub-process, so that the sub-process is prevented from being broken down due to overhigh load, and the stability of transcoding is improved. In addition, the decoding process can be restarted after being crashed through heartbeat keep-alive.
The technology solves the problem of single-process 2G memory limitation, but only reduces the influence caused by unstable collapse of the decoding SDK. Suppose that if a user operates frequently for a certain device (SDK is unstable), the number of used paths is large. Therefore, most decoding sub-processes can continuously enter a cycle state of crash restart, and other users can also be influenced when checking other devices. At this time, the whole transcoding gateway can not be used basically, so that the stability of the transcoding gateway is not solved well. And does not bring about the improvement of maintainability and concurrency performance of the program.
Disclosure of Invention
The embodiment of the invention aims to provide a system and a method for transcoding a video monitoring platform code stream in parallel, and aims to solve the problem that the load of a transcoding server is serious in the interconnection process of video monitoring platforms.
According to an aspect of the embodiments of the present invention, a system for transcoding video monitoring platforms in parallel is provided, including: the system comprises a network management server, a scheduling server and a transcoding server cluster; wherein,
the network management server is used for managing the scheduling server and the transcoding server cluster;
the scheduling server is used for analyzing the load state of each transcoding server in the transcoding server cluster, determining the transcoding server with the load state meeting the preset first requirement, and sending the received transcoding request of the code stream to the determined transcoding server;
the transcoding server in the transcoding server cluster comprises: a management process and at least one transcoding process; the management process is used for sending the received code stream transcoding request to the at least one transcoding process; and the transcoding process is used for transcoding the acquired video code stream.
According to another aspect of the embodiments of the present invention, there is also provided a method for transcoding code streams of a video monitoring platform in parallel, where the video monitoring platform includes: the system comprises a network management server, a scheduling server and a transcoding server cluster, wherein a transcoding server in the transcoding server cluster comprises: a management process and at least one transcoding process;
the method comprises the following steps:
managing the scheduling server and the transcoding server cluster by adopting the network management server;
analyzing the load state of each transcoding server in the transcoding server cluster by adopting the scheduling server, determining the transcoding server with the load state meeting the preset first requirement, and sending the received transcoding request of the code stream to the determined transcoding server;
sending the received code stream transcoding request to the at least one transcoding process by adopting the management process;
and transcoding the acquired video code stream by adopting the transcoding process.
Compared with the prior art, the embodiment of the invention has the beneficial effects that:
the embodiment of the invention provides a system and a method for code stream parallel transcoding of a video monitoring platform, wherein the system comprises the following steps: the system comprises a network management server, a scheduling server and a transcoding server cluster; the network management server is used for managing the scheduling server and the transcoding server cluster; the scheduling server is used for analyzing the load state of each transcoding server in the transcoding server cluster, determining the transcoding server with the load state meeting the preset first requirement, and sending the received transcoding request of the code stream to the determined transcoding server; the transcoding server in the transcoding server cluster comprises: a management process and at least one transcoding process; the management process is used for sending the received code stream transcoding request to the at least one transcoding process; and the transcoding process is used for transcoding the acquired video code stream. The embodiment of the invention provides a comprehensive solution in the aspects of programs and architecture, the acquired target video code stream is transcoded by setting a transcoding server cluster comprising a plurality of transcoding servers, specifically, a transcoding server with a lower load can be selected from a plurality of transcoding servers in the transcoding server cluster to transcode the acquired target video code stream, and in practical application, the transcoding server with a load state meeting a preset first requirement can be determined as the transcoding server with a lower load. Compared with the prior art that transcoding is performed by only using a plurality of transcoding processes of one transcoding server, the time wasted by frequent restarting of the transcoding process due to breakdown of the transcoding process is saved, and the transcoding efficiency and reliability are improved.
And each transcoding server comprises a management process and at least one transcoding process, the management process sends a code stream transcoding request received by the transcoding server to the at least one transcoding process, and the transcoding process transcodes the acquired target video code stream. The management process in the transcoding server can coordinate the transcoding task of at least one transcoding process, the utilization rate of at least one transcoding process is improved, the probability of crashing and restarting the transcoding process is reduced, and the transcoding speed is accelerated.
Drawings
Fig. 1 is a network topology diagram of a system for transcoding video monitoring platform code streams in parallel according to an embodiment of the present invention;
fig. 2 is a block diagram of a system for transcoding video monitoring platforms in parallel code streams provided in this embodiment;
fig. 3 is a flowchart illustrating an operation of a scheduling server in a method for transcoding video monitoring platform code streams in parallel according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating an operation of a transcoding server in a method for transcoding video monitoring platform code streams in parallel according to an embodiment of the present invention;
fig. 5 is a flowchart of a method for transcoding code streams of a video monitoring platform in parallel according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are described in further detail below with reference to the accompanying drawings.
Example one
Fig. 1 is a network topology diagram of a system for transcoding video monitoring platform code streams in parallel according to an embodiment of the present invention.
The system comprises: the system comprises a network management server, a scheduling server and a transcoding server cluster. The transcoding server cluster comprises a plurality of transcoding servers, the transcoding server cluster comprises three transcoding servers in the example shown in fig. 1, and the system is connected with a national standard platform through a gateway.
And the network management server is used for managing the scheduling server and the transcoding server cluster. Specifically, a unique ID can be assigned to each server (including a scheduling server and a transcoding server), and the scheduling server or the transcoding server can be remotely configured or restarted; the running conditions of the servers can be checked, including the use conditions of the hardware resources such as the online state, the number of transcoding paths and the like, as well as the GPU, the memory, the network and the like, and the method can also be used for updating, unloading or loading the decoder of the transcoding server.
The scheduling server can obtain a target video code stream from a non-national standard platform, manage and receive information such as cluster registration, heartbeat, load conditions and the like of the transcoding server, receive restarting and configuration messages of the network management server, send hardware resource conditions to the network management server, receive a video request from the upper-connection platform, and select a proper low-load transcoding server, wherein the video request comprises operations such as real-time video on-demand and stop, video pause and continue, video positioning, quick playing, slow playing and the like. In this embodiment, the scheduling server is configured to analyze a load state of each transcoding server in the transcoding server cluster, determine a transcoding server whose load state meets a preset first requirement, and send a received transcoding request of a code stream to the determined transcoding server.
And the transcoding server in the transcoding server cluster sends information such as registration, heartbeat, load condition and the like to the scheduling server, receives messages such as restart, configuration message and decoder updating, unloading or loading and the like of the network management server, and sends information such as hardware resource condition, current transcoding path number and the like to the network management server. Each transcoding server comprises: a management process and at least one transcoding process; the management process is used for analyzing the load state of at least one transcoding process, determining the transcoding process with the load state meeting a preset second requirement, and sending a code stream transcoding request received by the transcoding server to the at least one transcoding process; and the transcoding process is used for transcoding the target video code stream acquired from the scheduling server. The transcoding process comprises a decoding module, wherein the decoding module is used for analyzing the decoder configured in the transcoding server and restarting and unloading the decoder according to the analysis result. The transcoding process further comprises an analysis module, wherein the analysis module is used for judging whether the obtained target video code stream is in a standard code stream format, and if the obtained target video code stream is in the standard code stream format, the private filling data of the obtained target video code stream are filtered. The transcoding process further comprises a GPU coding module, wherein the GPU coding module is used for judging whether the transcoding server supports a GPU coding mode, and if the transcoding server supports the GPU coding mode, the obtained target video code stream is coded into a standard code stream format according to the GPU coding mode.
In a possible implementation manner, as shown in fig. 2, the system for transcoding video surveillance platform code streams in parallel provided by this embodiment includes: a network management server 201, a scheduling server 202 and a transcoding server 203, wherein the transcoding server 203 comprises an administration process 204 and a transcoding process 205. Transcoding process 205 includes: a code stream analysis module 206, a factory decoding module 207, a PS multiplexing module 208 and a GPU coding module 209. The functions of the processes or modules will be specifically described in the embodiment of the three-transcoding server process.
Example two
Fig. 3 is a flowchart illustrating an operation of a scheduling server in a method for transcoding a video monitoring platform code stream in parallel according to an embodiment of the present invention.
The operation steps of the scheduling server include:
step 301, receiving a video request from the upper international platform.
The video request comprises operations of real-time video on-demand and stop, video pause and continue, positioning of video, fast playing, slow playing and the like.
Step 302, judging whether a transcoding server with a lower load exists, and if so, executing step 303; if not, go to step 304.
And step 303, informing the transcoding server with lower load to perform transcoding task.
And step 304, prompting that the load is full and finishing the transcoding task.
Through cluster transcoding, users can deploy transcoding servers according to the scale of use. The method improves the expansibility and concurrency performance of the video monitoring platform.
EXAMPLE III
Fig. 4 is a flowchart illustrating operation of a transcoding server in a method for transcoding a video monitoring platform code stream in parallel according to an embodiment of the present invention.
The operation steps of the transcoding server comprise:
step 401, a video request is received from a management server.
Step 402, judging whether a transcoding process with a lower load exists, if not, prompting that no idle transcoding process exists, and ending a transcoding task; if so, proceed to step 403.
The video request comprises operations of real-time video on-demand and stop, video pause and continue, positioning of video, fast playing, slow playing and the like.
Step 403, after the transcoding process obtains the video request, the transcoding process sends the video request to the non-standard platform and receives the target video code stream at the same time.
And step 404, judging whether the target video code stream is a standard code stream or not through the code stream analysis module.
Because the code stream of a part of manufacturers is filled by a standard code stream and a private code stream, the code stream can specifically identify hexadecimal bytes of different encoding formats, such as 0x0000000167, 0x0000000168, 0x0000000165, 0x0000000161 and the like of H264, and 0x000001B0, 0x000001B6 and the like of MPEG 4. Therefore, if the target video stream is a non-transcoded stream, step 405 is performed; if the target video code stream is a standard code stream, the decoding and encoding steps can be skipped, and step 406 is executed.
Step 405, judging whether a corresponding decoder exists, if not, prompting that the decoder does not exist, and ending the transcoding task; if so, step 407 is performed.
And 406, filtering out the filling part of the private code stream, executing PS multiplexing and forwarding the code stream, and ending transcoding.
Step 407, decoding the target video code stream into a YUV frame sequence by a decoder.
Step 408, judging whether GPU coding is supported, if yes, executing step 409, and then executing step 406; if not, step 410 is performed.
Step 409, GPU coding the YUV frame sequence into standard H264 or MPEG4 format.
And step 410, carrying out software coding on the target video code stream.
Hardware resources can be fully utilized, and coding efficiency is improved. The method can be compatible with commonly-used graphic cards (INTEL, NVIDIA, AMD) on the market for accelerated coding.
In addition, in the execution process of step 407, it is determined whether an abnormal crash occurs, and if an abnormal crash occurs, the crash process is restarted, and the stack log is analyzed to unload the corresponding decoder, so as to avoid repeated errors, and the network management server may also reload the decoder by uploading the update message. If not, step 408 is performed.
Example four
Fig. 5 is a flowchart of a method for transcoding code streams of a video monitoring platform in parallel according to an embodiment of the present invention.
The video monitoring platform comprises: the system comprises a network management server, a scheduling server and a transcoding server cluster, wherein a transcoding server in the transcoding server cluster comprises: a management process and at least one transcoding process.
Step 501, managing the scheduling server and the transcoding server cluster by using the network management server.
Step 502, analyzing the load state of each transcoding server in the transcoding server cluster by using the scheduling server, determining the transcoding server with the load state meeting the preset first requirement, and sending the received transcoding request of the code stream to the determined transcoding server.
Step 503, sending the received transcoding request of the code stream to the at least one transcoding process by using the management process.
Optionally, the management process is adopted to analyze the load state of the at least one transcoding process, determine a transcoding process with the load state meeting a preset second requirement, and send the received transcoding request of the code stream to the determined transcoding process.
And step 504, transcoding the obtained target video code stream by using the transcoding process.
Optionally, the transcoding process includes a decoding module, and the method for transcoding the video monitoring platform code streams in parallel according to the embodiment of the present invention further includes: and analyzing the decoder configured in the transcoding server by adopting the decoding module, and restarting and unloading the decoder according to the analysis result.
Optionally, the transcoding process includes an analysis module, and the method for transcoding the video monitoring platform code streams in parallel according to the embodiment of the present invention further includes: and judging whether the obtained target video code stream is in a standard code stream format or not by adopting the analysis module, and filtering private filling data of the obtained target video code stream if the obtained target video code stream is in the standard code stream format.
Optionally, the transcoding process includes a GPU encoding module, and the method for transcoding the video monitoring platform code stream in parallel according to the embodiment of the present invention further includes: and judging whether the transcoding server supports a GPU coding mode or not by adopting the GPU coding module, and if so, coding the acquired target video code stream into a standard code stream format according to the GPU coding mode.
In the embodiment of the invention, the network management server is used for adding or restarting the scheduling server or the transcoding server. And uploading, unloading or loading the decoder, and monitoring the operation condition of each server.
The scheduling server receives the transcoding task of the upper-link platform, and distributes the transcoding task to the transcoding server with low load by analyzing the load condition of the transcoding server cluster; receiving a transcoding ending request of the upper connection platform, and sending a transcoding result request to a transcoding server; and receiving a network management server restart request, and executing restart.
After receiving the transcoding tasks from the scheduling server, the management process of the transcoding server sends a transcoding request to the transcoding process with low load by analyzing the load condition of each transcoding process; after receiving a transcoding ending request of a scheduling server, sending the transcoding ending request to a transcoding process; a network management server restart request is received and restarted; or receiving the request of unloading/loading the decoder from the network management server, unloading and loading the corresponding decoder; and receiving a request of uploading and updating the decoder by the network management server, and uploading and updating the decoder.
The transcoding process receives the transcoding task of the management process and applies for a target video code stream to the lower-link platform; after receiving a transcoding ending request of a management process, sending a target video code stream stop application to a downstream platform, and simultaneously stopping a transcoding task; and unloading and loading the decoder according to the notification message of the management process.
The embodiment of the invention adopts multi-process distributed transcoding to break through the limitation of a single-process 2G memory. While reducing the risk due to incompatible or unstable decoding SDKs. The GPU acceleration coding function is realized, whether a GPU acceleration module is contained or not is automatically identified, if yes, GPU acceleration coding is adopted, the coding efficiency is greatly improved, and CPU resources are saved. By dynamically analyzing the code stream, the private code stream is stripped, and the code stream can be standardized without decoding and encoding. The decoder is dynamically managed, the abnormal log is loaded or unloaded at any time, the abnormal decoder is automatically unloaded, and the decoder can be reloaded after being updated, so that the program stability is improved, and the maintenance and the updating are easy. And the coding rate is dynamically adjusted, and the coding rate can be properly reduced under the condition that the load of the transcoding server is higher, so that the load is reduced, and the phenomena of serious blockage and screen splash are avoided. The transcoding servers are deployed in a cluster mode, load balancing is achieved, and the method has the advantages that the number of the transcoding servers can be deployed according to the scale of the platform and the user amount, and different use requirements are met.
Claims (10)
1. A system for code stream parallel transcoding of a video monitoring platform is characterized by comprising: the system comprises a network management server, a scheduling server and a transcoding server cluster; wherein,
the network management server is used for managing the scheduling server and the transcoding server cluster;
the scheduling server is used for analyzing the load state of each transcoding server in the transcoding server cluster, determining the transcoding server with the load state meeting the preset first requirement, and sending the received transcoding request of the code stream to the determined transcoding server;
the transcoding server in the transcoding server cluster comprises: a management process and at least one transcoding process; the management process is used for sending the received code stream transcoding request to the at least one transcoding process; and the transcoding process is used for transcoding the acquired target video code stream.
2. The system of claim 1, wherein the management process is configured to analyze a load status of the at least one transcoding process, determine a transcoding process whose load status meets a preset second requirement, and send a received transcoding request of the code stream to the determined transcoding process.
3. The system of claim 1, wherein the transcoding process comprises a decoding module, and the decoding module is configured to analyze the decoders configured in the transcoding server, and restart and uninstall the decoders according to the analysis result.
4. The system of claim 1, wherein the transcoding process comprises an analysis module, and the analysis module is configured to determine whether the obtained target video code stream is in a standard code stream format, and if so, filter private filler data of the obtained target video code stream.
5. The system of claim 1, wherein the transcoding process comprises a GPU encoding module, and the GPU encoding module is configured to determine whether the transcoding server supports a GPU encoding mode, and encode the obtained target video code stream into a standard code stream format according to the GPU encoding mode if the transcoding server supports the GPU encoding mode.
6. A method for transcoding code streams of a video monitoring platform in parallel is characterized in that the video monitoring platform comprises: the system comprises a network management server, a scheduling server and a transcoding server cluster, wherein a transcoding server in the transcoding server cluster comprises: a management process and at least one transcoding process; the method comprises the following steps:
managing the scheduling server and the transcoding server cluster by adopting the network management server;
analyzing the load state of each transcoding server in the transcoding server cluster by adopting the scheduling server, determining the transcoding server with the load state meeting the preset first requirement, and sending the received transcoding request of the code stream to the determined transcoding server;
sending the received code stream transcoding request to the at least one transcoding process by adopting the management process;
and transcoding the obtained target video code stream by adopting the transcoding process.
7. The method of claim 6, wherein sending the received transcoding request to the at least one transcoding process using the management process comprises:
and analyzing the load state of the at least one transcoding process by adopting the management process, determining the transcoding process of which the obtained load state meets a preset second requirement, and sending the received code stream transcoding request to the determined transcoding process.
8. The method of claim 6, wherein the transcoding process comprises a decoding module, the method further comprising:
and analyzing the decoder configured in the transcoding server by adopting the decoding module, and restarting and unloading the decoder according to the analysis result.
9. The method of claim 6, wherein the transcoding process comprises an analysis module, the method further comprising:
and judging whether the obtained target video code stream is in a standard code stream format or not by adopting the analysis module, and filtering private filling data of the obtained target video code stream if the obtained target video code stream is in the standard code stream format.
10. The method of claim 6, wherein the transcoding process comprises a GPU encoding module, the method further comprising:
and judging whether the transcoding server supports a GPU coding mode or not by adopting the GPU coding module, and if so, coding the acquired target video code stream into a standard code stream format according to the GPU coding mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611207047.0A CN107070686A (en) | 2016-12-23 | 2016-12-23 | A kind of system and method for the parallel transcoding of video monitoring platform code stream |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611207047.0A CN107070686A (en) | 2016-12-23 | 2016-12-23 | A kind of system and method for the parallel transcoding of video monitoring platform code stream |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107070686A true CN107070686A (en) | 2017-08-18 |
Family
ID=59624077
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611207047.0A Pending CN107070686A (en) | 2016-12-23 | 2016-12-23 | A kind of system and method for the parallel transcoding of video monitoring platform code stream |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107070686A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108063953A (en) * | 2017-12-28 | 2018-05-22 | 武汉烽火众智数字技术有限责任公司 | The code-transferring method of video code conversion gateway, monitoring system and video code conversion gateway |
CN108391082A (en) * | 2017-12-18 | 2018-08-10 | 武汉烽火众智数字技术有限责任公司 | It is a kind of based on GB28181 agreements target structural service cut-in method, device and system |
CN108965884A (en) * | 2018-07-13 | 2018-12-07 | 网宿科技股份有限公司 | A kind of distribution method and controlling equipment, transcoding device of transcoding task |
CN109788325A (en) * | 2018-12-28 | 2019-05-21 | 网宿科技股份有限公司 | Video task distribution method and server |
CN110708564A (en) * | 2019-10-21 | 2020-01-17 | 上海网达软件股份有限公司 | Live transcoding method and system for dynamically switching video streams |
CN110740161A (en) * | 2019-08-30 | 2020-01-31 | 武汉烽火众智数字技术有限责任公司 | system and method for adapting converged communication |
CN110784731A (en) * | 2019-11-05 | 2020-02-11 | 腾讯科技(深圳)有限公司 | Data stream transcoding method, device, equipment and medium |
CN110858829A (en) * | 2018-08-22 | 2020-03-03 | 杭州海康威视数字技术股份有限公司 | Video processing method, device and system, analysis server and transcoding server |
CN112543165A (en) * | 2019-09-20 | 2021-03-23 | 浙江宇视科技有限公司 | Decoding method, device, equipment and medium |
CN113784143A (en) * | 2021-09-06 | 2021-12-10 | 广东中星电子有限公司 | Video transcoding method, device, electronic equipment and computer readable medium |
CN114079749A (en) * | 2020-08-18 | 2022-02-22 | 山东汉鑫科技股份有限公司 | Cross-platform system for field of intelligent production business of manufacturing industry |
CN114339445A (en) * | 2021-12-16 | 2022-04-12 | 以萨技术股份有限公司 | Real-time video stream self-adaptive coordination system and method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101873482A (en) * | 2010-07-02 | 2010-10-27 | 上海交通大学 | Real-time streaming media cluster transcoding system |
CN102404567A (en) * | 2011-11-03 | 2012-04-04 | 深圳市融创天下科技股份有限公司 | System and method for transcoding network monitoring video in real time according to need |
CN103647954A (en) * | 2013-12-27 | 2014-03-19 | 成都三零凯天通信实业有限公司 | Mobile video monitoring system based on 3G channel and intelligent terminal |
CN104717517A (en) * | 2015-03-31 | 2015-06-17 | 北京奇艺世纪科技有限公司 | Scheduling method and scheduling device for video transcoding task |
CN105162809A (en) * | 2015-10-23 | 2015-12-16 | 北京理工大学 | Real-time video transcoding system based on intermodule communication |
-
2016
- 2016-12-23 CN CN201611207047.0A patent/CN107070686A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101873482A (en) * | 2010-07-02 | 2010-10-27 | 上海交通大学 | Real-time streaming media cluster transcoding system |
CN102404567A (en) * | 2011-11-03 | 2012-04-04 | 深圳市融创天下科技股份有限公司 | System and method for transcoding network monitoring video in real time according to need |
CN103647954A (en) * | 2013-12-27 | 2014-03-19 | 成都三零凯天通信实业有限公司 | Mobile video monitoring system based on 3G channel and intelligent terminal |
CN104717517A (en) * | 2015-03-31 | 2015-06-17 | 北京奇艺世纪科技有限公司 | Scheduling method and scheduling device for video transcoding task |
CN105162809A (en) * | 2015-10-23 | 2015-12-16 | 北京理工大学 | Real-time video transcoding system based on intermodule communication |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108391082A (en) * | 2017-12-18 | 2018-08-10 | 武汉烽火众智数字技术有限责任公司 | It is a kind of based on GB28181 agreements target structural service cut-in method, device and system |
CN108063953A (en) * | 2017-12-28 | 2018-05-22 | 武汉烽火众智数字技术有限责任公司 | The code-transferring method of video code conversion gateway, monitoring system and video code conversion gateway |
CN108965884A (en) * | 2018-07-13 | 2018-12-07 | 网宿科技股份有限公司 | A kind of distribution method and controlling equipment, transcoding device of transcoding task |
CN110858829B (en) * | 2018-08-22 | 2023-02-07 | 杭州海康威视数字技术股份有限公司 | Video processing method, device and system, analysis server and transcoding server |
CN110858829A (en) * | 2018-08-22 | 2020-03-03 | 杭州海康威视数字技术股份有限公司 | Video processing method, device and system, analysis server and transcoding server |
CN109788325A (en) * | 2018-12-28 | 2019-05-21 | 网宿科技股份有限公司 | Video task distribution method and server |
CN109788325B (en) * | 2018-12-28 | 2021-11-19 | 网宿科技股份有限公司 | Video task allocation method and server |
CN110740161B (en) * | 2019-08-30 | 2022-05-13 | 武汉烽火众智数字技术有限责任公司 | System and method for adapting converged communication |
CN110740161A (en) * | 2019-08-30 | 2020-01-31 | 武汉烽火众智数字技术有限责任公司 | system and method for adapting converged communication |
CN112543165A (en) * | 2019-09-20 | 2021-03-23 | 浙江宇视科技有限公司 | Decoding method, device, equipment and medium |
CN112543165B (en) * | 2019-09-20 | 2022-11-15 | 浙江宇视科技有限公司 | Decoding method, device, equipment and medium |
CN110708564A (en) * | 2019-10-21 | 2020-01-17 | 上海网达软件股份有限公司 | Live transcoding method and system for dynamically switching video streams |
CN110784731A (en) * | 2019-11-05 | 2020-02-11 | 腾讯科技(深圳)有限公司 | Data stream transcoding method, device, equipment and medium |
CN114079749A (en) * | 2020-08-18 | 2022-02-22 | 山东汉鑫科技股份有限公司 | Cross-platform system for field of intelligent production business of manufacturing industry |
CN113784143A (en) * | 2021-09-06 | 2021-12-10 | 广东中星电子有限公司 | Video transcoding method, device, electronic equipment and computer readable medium |
CN114339445A (en) * | 2021-12-16 | 2022-04-12 | 以萨技术股份有限公司 | Real-time video stream self-adaptive coordination system and method |
CN114339445B (en) * | 2021-12-16 | 2023-09-05 | 以萨技术股份有限公司 | Real-time video stream self-adaptive coordination system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107070686A (en) | A kind of system and method for the parallel transcoding of video monitoring platform code stream | |
US10924783B2 (en) | Video coding method, system and server | |
CN113722077B (en) | Data processing method, system, related device, storage medium and product | |
WO2016197876A1 (en) | Remote control method, remote server, management device, and terminal | |
WO2017101488A1 (en) | Real-time transcoding monitoring method and real-time transcoding system | |
CN110662017B (en) | Video playing quality detection method and device | |
CN110740313B (en) | Hardware coding capability detection method and device | |
CN102917246B (en) | Application data supplying method, device and system based on virtual machine | |
CN105491021A (en) | Android cloud application server and Android cloud application server system | |
WO2019071678A1 (en) | Live broadcasting method and device | |
CN103294553A (en) | Method and device for managing multimedia resources of mobile terminal | |
CN110418154A (en) | A kind of multi-medium data method for pushing, apparatus and system | |
CN109274973A (en) | Fast video coding/decoding method on embedded-type ARM platform | |
CN111790159B (en) | Data processing method, device, equipment and computer readable storage medium | |
CN118337764A (en) | Video stream processing method and device, nonvolatile storage medium and electronic equipment | |
CN109788251B (en) | Video processing method, device and storage medium | |
CN115242894A (en) | Data processing method, data processing device, storage medium and computer equipment | |
CN114286128A (en) | Live video parameter adjusting method, system, device, equipment and storage medium | |
CN113066140A (en) | Image encoding method, image encoding device, computer device, and storage medium | |
CN112543374A (en) | Transcoding control method and device and electronic equipment | |
CN114422100B (en) | Up-and-down connection processing system, computer equipment and medium of national standard signaling service terminal | |
CN112073727B (en) | Transcoding method and device, electronic equipment and storage medium | |
CN104735096A (en) | Sending method and system for a message pushing request | |
WO2019071679A1 (en) | Method and device for live streaming | |
CN102572516B (en) | Code stream transmission control method and device |
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: 20170818 |