CN113286175A - Video stream processing method, device and storage medium - Google Patents
Video stream processing method, device and storage medium Download PDFInfo
- Publication number
- CN113286175A CN113286175A CN202110459878.1A CN202110459878A CN113286175A CN 113286175 A CN113286175 A CN 113286175A CN 202110459878 A CN202110459878 A CN 202110459878A CN 113286175 A CN113286175 A CN 113286175A
- Authority
- CN
- China
- Prior art keywords
- thread
- video frame
- ith
- queue
- video
- 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
- 238000003672 processing method Methods 0.000 title claims abstract description 13
- 238000007781 pre-processing Methods 0.000 claims abstract description 46
- 238000000034 method Methods 0.000 claims abstract description 22
- 238000009432 framing Methods 0.000 claims abstract description 17
- 238000001514 detection method Methods 0.000 claims description 15
- 230000005540 biological transmission Effects 0.000 claims description 13
- 230000004044 response Effects 0.000 claims description 9
- 230000000977 initiatory effect Effects 0.000 claims 2
- 230000010365 information processing Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 6
- 230000006855 networking Effects 0.000 description 4
- 230000003111 delayed effect Effects 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 229920006395 saturated elastomer Polymers 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000000717 retained effect 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/60—Network 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/63—Control 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/643—Communication protocols
- H04N21/6437—Real-time Transport Protocol [RTP]
-
- 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/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
-
- 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/60—Network 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/63—Control 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/647—Control 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/64784—Data processing by the network
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The application discloses a video stream processing method, a video stream processing device and a storage medium, and belongs to the field of multimedia information processing. The method comprises the following steps: receiving a video stream pushed by an acquisition end, wherein the video stream is obtained by shooting the acquisition end; starting a reading thread to perform framing processing on a video stream to obtain an original frame sequence corresponding to the video stream, wherein the original frame sequence comprises n video frames, and n is a positive integer; starting a preprocessing thread to perform information preprocessing operation on the ith video frame in the original frame sequence, wherein i is not more than a positive integer of n; inputting the preprocessed ith video frame into an output thread; and starting an output thread to push the ith video frame to a receiving end, wherein the receiving end is used for playing the ith video frame. By framing processing and multithreading processing, the fast processing of the large-data-volume video stream is realized, so that the problem of cache overflow after RTSP information stream delay in the related technology is solved.
Description
Technical Field
The present application relates to the field of multimedia information processing, and in particular, to a method and an apparatus for processing a video stream, and a storage medium.
Background
Real Time Streaming Protocol (RTSP) is an application layer Protocol in the TCP/IP system, and the RTSP is a multimedia Streaming Protocol for controlling audio or video and allows simultaneous Control of multiple Streaming requirements.
The related art uses the RTSP protocol to transmit multimedia information, however, the RTSP protocol does not particularly emphasize time synchronization, and displays images of an interface and/or sounds with time delay when the reading and processing speed is lower than the output speed of the RTSP information stream.
With the longer delay time, the buffer area of the device will be saturated, the program will be error-reported, and the program needs to be restarted to solve the problem of buffer overflow after the RTSP information stream is delayed, so that the requirement on the performance of the device is high, and the multimedia transmission efficiency is greatly reduced.
Disclosure of Invention
The embodiment of the application provides a video stream processing method, a video stream processing device and a storage medium, which are used for solving the problem of cache overflow after RTSP information stream delay in the related technology. The technical scheme is as follows:
according to an aspect of the present application, there is provided a video stream processing method, the method including:
receiving a video stream pushed by a collection end, wherein the video stream is obtained by shooting the collection end;
starting a reading thread to perform framing processing on the video stream to obtain an original frame sequence corresponding to the video stream, wherein the original frame sequence comprises n video frames, and n is a positive integer;
starting a preprocessing thread to perform information preprocessing operation on the ith video frame in the original frame sequence, wherein i is not more than a positive integer of n;
inputting the preprocessed ith video frame into an output thread;
and starting the output thread to push the ith video frame to a receiving end, wherein the receiving end is used for playing the ith video frame.
According to another aspect of the present application, there is provided a video stream processing apparatus for a push streaming server, the apparatus comprising:
the video stream receiving module is used for receiving a video stream pushed by a collecting end, and the video stream is obtained by shooting the video stream by the collecting end;
a first starting module, configured to start a reading thread to perform framing processing on the video stream, so as to obtain an original frame sequence corresponding to the video stream, where the original frame sequence includes n video frames, and n is a positive integer;
a second starting module, configured to start a preprocessing thread to perform information preprocessing operation on an ith video frame in the original frame sequence, where i is not greater than a positive integer of n;
the video frame transmission module is used for inputting the preprocessed ith video frame to an output thread;
and the third starting module is used for starting the output thread to push the ith video frame to a receiving end, and the receiving end is used for playing the ith video frame.
According to another aspect of the present application, there is provided a computer-readable storage medium having stored therein at least one instruction, which is loaded and executed by a processor to implement the video stream processing method according to the above aspect.
According to another aspect of the present application, a video stream processing system is provided, where the video stream processing system includes an acquisition end, a stream pushing server, and a receiving end, the acquisition end is connected to the stream pushing server in a wired or wireless manner, and the receiving end is connected to the stream pushing server in a wired or wireless manner;
the acquisition end is used for acquiring video streams obtained by shooting;
the plug flow server comprises the plug flow server;
and the receiving end is used for playing the video frame pushed by the stream pushing server.
The invention has the following beneficial effects:
in the invention, a video stream pushed by an acquisition end is received, and the video stream is obtained by the acquisition end through shooting; starting a reading thread to perform framing processing on a video stream to obtain an original frame sequence corresponding to the video stream, wherein the original frame sequence comprises n video frames, and n is a positive integer; starting a preprocessing thread to perform information preprocessing operation on the ith video frame in the original frame sequence, wherein i is not more than a positive integer of n; inputting the preprocessed ith video frame into an output thread; and starting an output thread to push the ith video frame to a receiving end, wherein the receiving end is used for playing the ith video frame. By framing processing and multithreading processing, the fast processing of the video stream with large data volume is realized, the problem of buffer overflow after RTSP information stream delay in the related technology is solved, and the transmission efficiency of the super multi-path video stream is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 illustrates a schematic diagram of a video stream processing system provided by an exemplary embodiment of the present application;
FIG. 2 illustrates a method flow diagram of a video stream processing method provided by an exemplary embodiment of the present application;
fig. 3 is a flowchart illustrating a method of processing a video stream according to another exemplary embodiment of the present application;
FIG. 4 illustrates a method flow diagram of a video stream processing method provided by another exemplary embodiment of the present application;
fig. 5 is a block diagram of a video stream processing apparatus according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Reference herein to "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The related art uses the RTSP protocol to transmit multimedia information, however, the RTSP protocol does not particularly emphasize time synchronization, and displays images of an interface and/or sounds with time delay when the reading and processing speed is lower than the output speed of the RTSP information stream. With the longer delay time, the buffer area of the device will be saturated, the program will be error-reported, and the program needs to be restarted to solve the problem of buffer overflow after the RTSP information stream is delayed, so that the requirement on the performance of the device is high, and the multimedia transmission efficiency is greatly reduced.
In the present application, the transmission of the networked camera shooting information is taken as an example scenario for schematic explanation. Referring to fig. 1, a schematic diagram of a video stream processing system provided by an exemplary embodiment of the present application is shown, where the video stream processing system is configured to implement a video stream processing method of the present application. The video stream processing system comprises an acquisition end 100, a stream pushing server 200 and a receiving end 300, wherein the acquisition end 100 is connected with the stream pushing server 200 in a wired or wireless mode, and the receiving end 300 is connected with the stream pushing server 200 in a wired or wireless mode; the acquisition terminal 100 is used for acquiring a video stream obtained by a networked camera; the receiving end 300 is configured to play the video frame pushed by the push streaming server 200.
Wherein, collection end 100 includes at least one networking camera, and each networking camera is installed in the place that needs information acquisition to equipment through collection end 100 carries out information's the gathering and regulation and control of making a video recording, when receiving the plug flow instruction that plug flow server 200 sent, collection end 100 transfers the networking camera video stream that corresponds, and sends the video stream to plug flow server 200 through wired or wireless mode.
Further, the stream pushing server 200 receives the video stream pushed by the acquisition end 100, starts a reading thread to perform framing processing on the video stream to obtain an original frame sequence corresponding to the video stream, then starts a preprocessing thread by the stream pushing server 200 to perform information preprocessing operation on the ith video frame in the original frame sequence, inputs the preprocessed ith video frame to an output thread, and then starts the output thread by the stream pushing server 200 to push the ith video frame to the receiving end 300.
Therefore, the receiving end 300 plays the ith video frame in a wired or wireless mode, and finally the video of the networking camera is called.
Referring to fig. 2, a flowchart of a method for processing a video stream according to an exemplary embodiment of the present application is shown, where the method includes:
Optionally, in response to more than one camera at the acquisition end, the stream pushing server sends a stream pushing instruction to the acquisition end, where the stream pushing instruction includes a target camera identification, and the target camera identification is used to instruct to call a video stream of the target camera; further, after receiving the stream pushing instruction, the acquisition end calls a video stream of the target camera according to the target camera identification contained in the stream pushing instruction, and sends the video stream of the target camera to the stream pushing server.
In the embodiment of the application, in order to avoid the pause in the transmission of the video stream, the processing and the transmission of the video stream are realized in an asynchronous multithread processing mode under framing. Therefore, after the stream pushing server starts to receive the video stream sent by the acquisition end, the reading thread is started to perform framing processing on the video stream to obtain an original frame sequence corresponding to the video stream, wherein the original frame sequence comprises n video frames, and n is a positive integer.
Further, asynchronously to the reading thread, the plug flow server starts a preprocessing thread to perform information preprocessing operation on the ith video frame in the original frame sequence, wherein i is not greater than a positive integer of n.
Optionally, the preprocessing operation includes conventional video frame optimization operations such as signal type conversion and image optimization, which is not limited in the embodiments of the present application.
And step 204, inputting the preprocessed ith video frame to an output thread.
Furthermore, asynchronous to the reading thread and the preprocessing thread, the preprocessed video frames do not need to be retained in a queue under the preprocessing thread, and the stream pushing server inputs the preprocessed ith frame video frames to the output thread.
Therefore, the stream pushing server starts an output thread and pushes the ith video frame to the receiving end, and the receiving end plays the ith video frame.
In summary, in the embodiment of the present invention, a video stream pushed by a collection end is received, and the video stream is obtained by the collection end through shooting; starting a reading thread to perform framing processing on a video stream to obtain an original frame sequence corresponding to the video stream, wherein the original frame sequence comprises n video frames, and n is a positive integer; starting a preprocessing thread to perform information preprocessing operation on the ith video frame in the original frame sequence, wherein i is not more than a positive integer of n; inputting the preprocessed ith video frame into an output thread; and starting an output thread to push the ith video frame to a receiving end, wherein the receiving end is used for playing the ith video frame. The fast processing of the video stream with large data volume is realized through framing processing and multithreading processing, the single threads are not disturbed, the time-consuming waiting problem does not exist, the problem of buffer overflow after RTSP information stream delay in the related technology is solved, and the transmission efficiency of the super multi-path video stream is improved.
Referring to fig. 3, a flowchart of a method for processing a video stream according to another exemplary embodiment of the present application is shown, where the method includes:
Optionally, please refer to the description of step 201 in this step, and the embodiments of this application are not described herein again.
Optionally, please refer to the description of step 202 in this step, and the embodiments of this application are not described herein again.
And step 304, in response to the storage quantity of the video frames in the first queue being higher than the preset storage quantity, stopping reading the thread.
In the embodiment of the application, the video frame storage amount of the first queue is higher than the preset storage amount, the reading thread is stopped, the video frame storage amount of the first queue is lower than the preset storage amount, the reading thread is started, and more data are prevented from being cached in the queue, so that the problem of cache overflow after RTSP information stream delay in the related technology is avoided.
In the embodiment of the application, the information processing of the video frame is realized through the preprocessing thread, and the display effect of the video frame on the receiving terminal is optimized.
Referring to fig. 4, a flowchart of a method for processing a video stream according to another exemplary embodiment of the present application is shown, where the method includes:
Optionally, please refer to the description of step 201 in this step, and the embodiments of this application are not described herein again.
Optionally, please refer to the description of step 202 in this step, and the embodiments of this application are not described herein again.
And step 403, starting the reading thread to input the ith video frame into a first queue, wherein the first queue is used for storing the video frame input by the reading thread.
And step 404, in response to the storage quantity of the video frames in the first queue being higher than the preset storage quantity, stopping reading the thread.
In step 408, the ith video frame is input to the detection thread and the drawing thread through the second queue.
And 409, starting a detection thread to perform target detection on the ith video frame to obtain target area information corresponding to the ith video frame, wherein the target area information is used for indicating a target display area corresponding to the ith video frame.
And step 412, starting a drawing thread to determine a target display area corresponding to the ith video frame according to the target area information.
And step 414, inputting the target display area corresponding to the ith video frame to the output thread through the second queue.
In the embodiment of the application, a storage capacity judging mechanism is further arranged, the storage quantity of the video frames temporarily stored in the queue is judged on the basis of processing the video frames through multiple queues and multiple threads, and when the storage quantity of the video frames in the first queue is higher than the preset storage quantity, the reading thread is stopped; and when the storage quantity of the video frames in the first queue is lower than the preset storage quantity, starting a reading thread to avoid the problem of buffer overflow in the preprocessing stage.
In the embodiment of the application, the second queue and the third queue are arranged in the specific display area (target area) to determine and output the target area, and similarly, processes are not influenced by separate queues, so that the overflow problem caused by excessive data temporary storage in each queue is reduced.
Fig. 5 is a block diagram of a video stream processing apparatus according to an exemplary embodiment of the present application, where the apparatus is used for a streaming server, and the apparatus includes:
the video stream receiving module 501 is configured to receive a video stream pushed by a collection end, where the video stream is obtained by the collection end through shooting;
a first starting module 502, configured to start a reading thread to perform framing processing on the video stream, so as to obtain an original frame sequence corresponding to the video stream, where the original frame sequence includes n video frames, where n is a positive integer;
a second starting module 503, configured to start a preprocessing thread to perform information preprocessing operation on an ith video frame in the original frame sequence, where i is not greater than a positive integer of n;
a video frame transmission module 504, configured to input the i-th video frame after being preprocessed to an output thread;
a third starting module 505, configured to start the output thread to push the ith video frame to a receiving end, where the receiving end is configured to play the ith video frame.
Optionally, the second starting module 503 includes:
a first starting unit, configured to start the reading thread to input the ith video frame into a first queue, where the first queue is used to store the video frame input by the reading thread;
and the second starting unit is used for inputting the ith video frame into the preprocessing thread through the first queue to perform the information preprocessing operation.
Optionally, the video frame delivery module 504 includes:
the first conveying unit is used for starting the preprocessing thread to input the preprocessed ith video frame into a second queue, and the second queue is used for storing the video frame input by the preprocessing thread;
and the second transmission unit is used for inputting the ith video frame to the output thread through the second queue.
Optionally, the apparatus further comprises:
the first conveying module is used for inputting the ith video frame to a detection thread and a drawing thread through the second queue;
a fourth starting module, configured to start the detection thread to perform target detection on the ith video frame, so as to obtain target area information corresponding to the ith video frame, where the target area information is used to indicate a target display area corresponding to the ith video frame;
a second transmission module, configured to input target area information corresponding to the ith video frame into a third queue through the detection thread, where the third queue is used to store the target area information input by the detection thread;
a third transport module, configured to input target area information corresponding to the ith video frame to the drawing thread through the third queue;
a fifth starting module, configured to start the drawing thread, and determine a target display area corresponding to the ith video frame according to the target area information;
a fourth transmission module, configured to input the target display area corresponding to the ith video frame into the second queue through the drawing thread, where the second queue is further configured to store the target display area input by the drawing thread;
optionally, the second conveying unit is further configured to:
and inputting the target display area corresponding to the ith video frame to the output thread through the second queue.
Optionally, the first queue is provided with a preset storage number of video frames, and the apparatus further includes:
the thread stopping module is used for stopping the reading thread in response to the fact that the storage quantity of the video frames of the first queue is higher than the preset storage quantity;
and the thread starting module is used for starting the reading thread in response to the fact that the storage quantity of the video frames of the first queue is lower than the preset storage quantity.
The present application further provides a computer-readable storage medium, where at least one instruction, at least one program, a code set, or a set of instructions is stored in the storage medium, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by a processor to implement the video stream processing method provided in the foregoing method embodiments.
Optionally, the present application further provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the video stream processing method according to the above aspects.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims (8)
1. A video stream processing method, wherein the method is used for a push stream server, and the method comprises:
receiving a video stream pushed by a collection end, wherein the video stream is obtained by shooting the collection end;
starting a reading thread to perform framing processing on the video stream to obtain an original frame sequence corresponding to the video stream, wherein the original frame sequence comprises n video frames, and n is a positive integer;
starting a preprocessing thread to perform information preprocessing operation on the ith video frame in the original frame sequence, wherein i is not more than a positive integer of n;
inputting the preprocessed ith video frame into an output thread;
and starting the output thread to push the ith video frame to a receiving end, wherein the receiving end is used for playing the ith video frame.
2. The method of claim 1, wherein the initiating a pre-processing thread performs an information pre-processing operation on an ith video frame of the original frame sequence, comprising:
starting the reading thread to input the ith video frame into a first queue, wherein the first queue is used for storing the video frame input by the reading thread;
and inputting the ith video frame into the preprocessing thread through the first queue to perform the information preprocessing operation.
3. The method of claim 2, wherein inputting the preprocessed ith video frame to an output thread comprises:
starting the preprocessing thread to input the preprocessed ith video frame into a second queue, wherein the second queue is used for storing the video frame input by the preprocessing thread;
inputting the ith video frame to the output thread through the second queue.
4. The method of claim 3, wherein after the initiating the pre-processing thread to input the pre-processed ith video frame into a second queue, the method further comprises:
inputting the ith video frame to a detection thread and a drawing thread through the second queue;
starting the detection thread to perform target detection on the ith video frame to obtain target area information corresponding to the ith video frame, wherein the target area information is used for indicating a target display area corresponding to the ith video frame;
inputting target area information corresponding to the ith video frame into a third queue through the detection thread, wherein the third queue is used for storing the target area information input by the detection thread;
inputting target area information corresponding to the ith video frame to the drawing thread through the third queue;
starting the drawing thread to determine a target display area corresponding to the ith video frame according to the target area information;
inputting the target display area corresponding to the ith video frame into the second queue through the drawing thread, wherein the second queue is also used for storing the target display area input by the drawing thread;
the inputting the ith video frame to the output thread through the second queue comprises:
and inputting the target display area corresponding to the ith video frame to the output thread through the second queue.
5. The method according to any one of claims 2 to 4, wherein the first queue is provided with a preset storage number of video frames;
the method further comprises the following steps:
stopping the reading thread in response to the fact that the storage quantity of the video frames of the first queue is higher than the preset storage quantity;
and starting the reading thread in response to the fact that the storage quantity of the video frames of the first queue is lower than the preset storage quantity.
6. A video stream processing apparatus, wherein the apparatus is used for a push stream server, the apparatus comprising:
the video stream receiving module is used for receiving a video stream pushed by a collecting end, and the video stream is obtained by shooting the video stream by the collecting end;
a first starting module, configured to start a reading thread to perform framing processing on the video stream, so as to obtain an original frame sequence corresponding to the video stream, where the original frame sequence includes n video frames, and n is a positive integer;
a second starting module, configured to start a preprocessing thread to perform information preprocessing operation on an ith video frame in the original frame sequence, where i is not greater than a positive integer of n;
the video frame transmission module is used for inputting the preprocessed ith video frame to an output thread;
and the third starting module is used for starting the output thread to push the ith video frame to a receiving end, and the receiving end is used for playing the ith video frame.
7. A computer-readable storage medium having stored thereon at least one instruction for execution by a processor to implement the video stream processing method of any of claims 1 to 5.
8. A video stream processing system is characterized by comprising a collecting end, a stream pushing server and a receiving end, wherein the collecting end is connected with the stream pushing server in a wired or wireless mode;
the acquisition end is used for acquiring video streams obtained by shooting;
the push flow server comprising the push flow server of any of claims 1 to 5;
and the receiving end is used for playing the video frame pushed by the stream pushing server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110459878.1A CN113286175A (en) | 2021-04-27 | 2021-04-27 | Video stream processing method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110459878.1A CN113286175A (en) | 2021-04-27 | 2021-04-27 | Video stream processing method, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113286175A true CN113286175A (en) | 2021-08-20 |
Family
ID=77277431
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110459878.1A Pending CN113286175A (en) | 2021-04-27 | 2021-04-27 | Video stream processing method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113286175A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113747195A (en) * | 2021-09-07 | 2021-12-03 | 重庆赛迪奇智人工智能科技有限公司 | Video data processing method, device, equipment and storage medium |
CN114143579A (en) * | 2021-12-14 | 2022-03-04 | 江西电信信息产业有限公司 | Video plug-flow method and system based on multithreading queue and array |
CN115984732A (en) * | 2022-12-08 | 2023-04-18 | 联想(北京)有限公司 | Video processing method, processor and electronic device |
CN117294903A (en) * | 2023-10-25 | 2023-12-26 | 深蓝(深圳)感知科技有限公司 | Multi-channel video stream key frame marking and stream pushing method |
US12243317B1 (en) | 2024-07-01 | 2025-03-04 | King Fahd University Of Petroleum And Minerals | Real-time monitoring system for personal protective equipment compliance at worksites |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109840491A (en) * | 2019-01-25 | 2019-06-04 | 平安科技(深圳)有限公司 | Video stream playing method, system, computer installation and readable storage medium storing program for executing |
CN112423072A (en) * | 2020-09-02 | 2021-02-26 | 上海幻电信息科技有限公司 | Video pushing method and system in live scene |
CN112702576A (en) * | 2020-12-24 | 2021-04-23 | 浙江赫千电子科技有限公司 | Data acquisition plug-flow display method for vehicle-mounted video |
-
2021
- 2021-04-27 CN CN202110459878.1A patent/CN113286175A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109840491A (en) * | 2019-01-25 | 2019-06-04 | 平安科技(深圳)有限公司 | Video stream playing method, system, computer installation and readable storage medium storing program for executing |
CN112423072A (en) * | 2020-09-02 | 2021-02-26 | 上海幻电信息科技有限公司 | Video pushing method and system in live scene |
CN112702576A (en) * | 2020-12-24 | 2021-04-23 | 浙江赫千电子科技有限公司 | Data acquisition plug-flow display method for vehicle-mounted video |
Non-Patent Citations (1)
Title |
---|
陈佳林等: "基于边缘计算和深度学习的园区目标检测方法", 《电子技术与软件工程》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113747195A (en) * | 2021-09-07 | 2021-12-03 | 重庆赛迪奇智人工智能科技有限公司 | Video data processing method, device, equipment and storage medium |
CN114143579A (en) * | 2021-12-14 | 2022-03-04 | 江西电信信息产业有限公司 | Video plug-flow method and system based on multithreading queue and array |
CN114143579B (en) * | 2021-12-14 | 2024-05-10 | 江西电信信息产业有限公司 | Video push method and system based on multithreading queue and array |
CN115984732A (en) * | 2022-12-08 | 2023-04-18 | 联想(北京)有限公司 | Video processing method, processor and electronic device |
CN117294903A (en) * | 2023-10-25 | 2023-12-26 | 深蓝(深圳)感知科技有限公司 | Multi-channel video stream key frame marking and stream pushing method |
US12243317B1 (en) | 2024-07-01 | 2025-03-04 | King Fahd University Of Petroleum And Minerals | Real-time monitoring system for personal protective equipment compliance at worksites |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113286175A (en) | Video stream processing method, device and storage medium | |
CN113221706B (en) | AI analysis method and system for multi-process-based multi-path video stream | |
US6246720B1 (en) | Flexible software-based decoding system with decoupled decoding timing and output timing | |
US5488695A (en) | Video peripheral board in expansion slot independently exercising as bus master control over system bus in order to relief control of host computer | |
CN110073653B (en) | Video image data transmission method, system and storage medium | |
US20250184579A1 (en) | Frame dropping method, server and medium | |
CN109089131B (en) | Screen recording live broadcast method, device, equipment and storage medium based on IOS system | |
US6006020A (en) | Video peripheral circuitry exercising bus master control over a bus of a host computer | |
CN113038222B (en) | Video processing method, device, electronic equipment and storage medium | |
CN116993253B (en) | Real-time logistics information tracking method and system | |
CN113115100B (en) | Video adjusting method, monitoring device, computer program product and storage medium | |
CN113068074B (en) | Caching method and device, computer-readable storage medium and electronic device | |
CN119071417A (en) | A video data transmission method, device, product, equipment, medium | |
CN116866654A (en) | Channel thread buffering method and system during channel switching | |
CN112911306A (en) | Video processing method and device, electronic equipment and storage medium | |
CN112911390B (en) | Video data playing method and terminal equipment | |
US5969763A (en) | Decoding system for motion picture data | |
CN116017046B (en) | Video processing method, device, equipment and storage medium | |
CN112543374A (en) | Transcoding control method and device and electronic equipment | |
CN115941907A (en) | RTP data packet sending method, system, electronic equipment and storage medium | |
CN113453010B (en) | Processing method based on high-performance concurrent video real-time processing framework | |
US11653039B2 (en) | Video stream batching | |
CN115942000A (en) | Video stream transcoding method, device, equipment and medium based on H.264 format | |
EP2772049A1 (en) | Multiple stream processing for video analytics and encoding | |
CN119520855B (en) | AI detection method and device for asynchronous processing of video streams based on timestamp alignment |
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: 20210820 |