[go: up one dir, main page]

CN112104893B - Video stream management method and device for realizing plug-in-free playing of webpage end - Google Patents

Video stream management method and device for realizing plug-in-free playing of webpage end Download PDF

Info

Publication number
CN112104893B
CN112104893B CN202011217408.6A CN202011217408A CN112104893B CN 112104893 B CN112104893 B CN 112104893B CN 202011217408 A CN202011217408 A CN 202011217408A CN 112104893 B CN112104893 B CN 112104893B
Authority
CN
China
Prior art keywords
video
serialized
packet group
video packet
sending
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.)
Active
Application number
CN202011217408.6A
Other languages
Chinese (zh)
Other versions
CN112104893A (en
Inventor
张凯
王开学
罗伦文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Zhongke Tongda High New Technology Co Ltd
Original Assignee
Wuhan Zhongke Tongda High New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Zhongke Tongda High New Technology Co Ltd filed Critical Wuhan Zhongke Tongda High New Technology Co Ltd
Priority to CN202011217408.6A priority Critical patent/CN112104893B/en
Publication of CN112104893A publication Critical patent/CN112104893A/en
Application granted granted Critical
Publication of CN112104893B publication Critical patent/CN112104893B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing 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
    • H04N21/234336Processing 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 by media transcoding, e.g. video is transformed into a slideshow of still pictures or audio is converted into text
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4782Web browsing, e.g. WebTV
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application provides a video stream management method for realizing plug-in-free playing of a webpage end, which is characterized in that the webpage end and a transcoding server are communicated through a websocket, then an initial data packet is adopted to initialize a player of the webpage end, so that when video data are played, video frames are directly combined into a serialized video packet group, the player can directly play videos formed by the serialized video packet group after receiving the serialized video packet group, plug-in-free playing is realized, one transcoding server corresponds to a plurality of webpage ends, only one-time packaging is needed to be carried out on the video frames, after the serialized video packet group is obtained through packaging, according to playing requests of different webpage ends, only the decoding time of the serialized video packet group needs to be changed, playing can be carried out at different webpage ends, and each webpage end does not need to correspond to the transcoding server, and each transcoding server packages the corresponding serialized video packet group for each webpage end, so that the resource consumption is reduced.

Description

Video stream management method and device for realizing plug-in-free playing of webpage end
Technical Field
The application relates to the technical field of intelligent traffic, in particular to a video stream management method and device for realizing plug-in-free playing of a webpage end.
Background
In wisdom traffic technical field, in order to look over the illegal action of vehicle or pedestrian, can adopt the server to handle the data back of front end camera, when webpage end looks over illegal action, can adopt plug-in components broadcast the video data that illegal action corresponds, nevertheless when adopting the plug-in components to look over video data, need download specific plug-in components, the broadcast process is comparatively complicated, and when adopting the plug-in components to broadcast, has the risk that data reveal.
Therefore, the technical problems of low efficiency and data leakage risk exist in the playing process of the existing video data due to the fact that plug-in playing is needed.
Disclosure of Invention
The embodiment of the application provides a video stream management method and device for realizing plug-in-free playing of a webpage end, and aims to solve the technical problems that in the playing process of existing video data, plug-in playing is needed, so that the efficiency is low and the risk of data leakage exists.
The embodiment of the application provides a video stream management method for realizing plug-in-free playing of a webpage end, which is applied to a traffic police system, wherein the traffic police system comprises the webpage end and a transcoding server, the webpage end and the transcoding server are communicated through a websocket, and the video stream management method for realizing plug-in-free playing of the webpage end comprises the following steps:
the transcoding server receives a video playing request sent by the webpage end;
acquiring a video stream corresponding to the video playing request according to the video playing request;
acquiring a video frame in the video stream according to the video stream, and judging whether the video frame in the video stream is a key frame;
when the video frame is the key frame, determining an initial data packet according to the key frame, and sending the initial data packet to the webpage end so as to initialize a player by the webpage end;
after the key frame is sent to the webpage end, whether the next video frame is a key frame or not is judged;
when the next video frame is not the key frame, caching the non-key frame to a cache queue, and after finding out the next key frame, packaging the previous key frame and the non-key frame to obtain a serialized video packet group;
and correcting the decoding time of the serialized video packet group according to the serialized video packet group and the video playing request of the webpage end, and sending the corrected serialized video packet group to the corresponding webpage end so that the player plays videos.
Simultaneously, this application embodiment still provides a video stream management device who realizes webpage end plug-in free broadcast, and this video stream management device who realizes webpage end plug-in free broadcast is applied to the traffic police system, the traffic police system includes webpage end and transcoding server, the webpage end with transcoding server passes through websocket communication, the video stream management device who realizes webpage end plug-in free broadcast includes:
the receiving module is used for receiving a video playing request sent by the webpage end;
the acquisition module is used for acquiring a video stream corresponding to the video playing request according to the video playing request;
the first judgment module is used for acquiring a video frame in the video stream according to the video stream and judging whether the video frame in the video stream is a key frame;
a first sending module, configured to determine an initial data packet according to the key frame when the video frame is the key frame, and send the initial data packet to the web page, so that the web page initializes a player;
the second judgment module is used for judging whether the next video frame is a key frame or not after the key frame is sent to the webpage end;
the packaging module is used for caching the non-key frames to a cache queue when the next video frame is not the key frame, and packaging the key frame and the non-key frames to obtain a serialized video packet group after the next key frame is found;
and the second sending module is used for correcting the decoding time of the serialized video packet group according to the serialized video packet group and the video playing request of the webpage end, and sending the corrected serialized video packet group to the corresponding webpage end so that the player plays videos.
Meanwhile, the transcoding server comprises a memory, a processor and a computer program which is stored on the memory and runs on the processor, wherein the processor executes the program and realizes the steps in the video stream management method for realizing the plug-in-free playing of the webpage end.
Meanwhile, a computer-readable storage medium is provided, where multiple instructions are stored in the computer-readable storage medium, and the instructions are suitable for being loaded by a processor to execute the steps in the video stream management method for implementing plug-in-free playing at a web page side.
Has the advantages that: the embodiment of the application provides a video stream management method for realizing the plug-in-free playing of a webpage end, which is applied to a traffic police system, the traffic police system comprises the webpage end and a transcoding server, the webpage end is communicated with the transcoding server through a websocket, the video stream management method for realizing the plug-in-free playing of the webpage end comprises the steps of firstly receiving a video playing request sent by the webpage end by the transcoding server, then obtaining a video stream corresponding to the video playing request according to the video playing request, then obtaining a video frame in the video stream according to the video stream, judging whether the video frame in the video stream is a key frame or not, determining an initial data packet according to the key frame when the video frame is the key frame, sending the initial data packet to the webpage end so as to initialize a player by the webpage end, then sending the key frame to the webpage end, judging whether the next video frame is a key frame, caching a non-key frame into a cache queue when the next video frame is not the key frame, packaging the previous key frame and the non-key frame after the next key frame is found to obtain a serialized video packet group, correcting the decoding time of the serialized video packet group according to the serialized video packet group and a video playing request of a webpage end, and sending the corrected serialized video packet group to the corresponding webpage end so that a player plays a video; the embodiment of the application enables the webpage end and the transcoding server to communicate through the websocket, and then initializes the player of the webpage end by adopting the initial data packet, so that when playing video data, after directly combining the video frames into the serialized video packet group, the player can directly play the video formed by the serialized video packet group after receiving the serialized video packet group, thereby realizing play without plug-in, and in the process of play without plug-in, one transcoding server can correspond to a plurality of webpage ends, only one packaging needs to be carried out on the video frames, after obtaining the serialized video packet group by packaging, aiming at the play requests of different webpage ends, only the decoding time of the serialized video packet group needs to be changed, the play can be carried out at different webpage ends without corresponding transcoding servers to each webpage end, and each transcoding server can package the corresponding serialized video packet group for each webpage end, the resource consumption is reduced.
Drawings
The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a schematic view of a scene of an intelligent transportation system according to an embodiment of the present application.
Fig. 2 is a schematic flowchart of a video stream management method for implementing plug-in-free play at a web page end according to an embodiment of the present application.
Fig. 3 is a schematic view of a video frame in a video stream management method for implementing plug-in-free play at a web page end according to an embodiment of the present application.
Fig. 4 is a schematic diagram of a cache queue in a video stream management method for implementing plug-in-free play at a web page end according to an embodiment of the present application.
Fig. 5 is a schematic diagram of a transmission queue in a video stream management method for implementing plug-in-free play at a web page according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a video stream management apparatus for implementing plug-in-free playing on a web page end according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of a transcoding server according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic view of a scenario of an intelligent transportation system according to an embodiment of the present application, where the system may include a web page 11 and a transcoding server 12 connected to communicate through a websocket gateway, which is not described again, where:
the web page end 11 includes, but is not limited to, a web page of a mobile terminal, a PC (Personal Computer) end, and the web page is written by using HTML (Hyper Text Markup Language) 5.
Transcoding server 12 comprises a local server and/or a remote server, etc.
Transcoding server 12 may receive a video playing request sent by the web page end; acquiring a video stream corresponding to the video playing request according to the video playing request; acquiring a video frame in the video stream according to the video stream, and judging whether the video frame in the video stream is a key frame; when the video frame is the key frame, determining an initial data packet according to the key frame, and sending the initial data packet to the webpage end so as to initialize a player by the webpage end; after the key frame is sent to the webpage end, whether the next video frame is a key frame or not is judged; when the next video frame is not the key frame, caching the non-key frame to a cache queue, and after finding out the next key frame, packaging the previous key frame and the non-key frame to obtain a serialized video packet group; and correcting the decoding time of the serialized video packet group according to the serialized video packet group and the video playing request of the webpage end, and sending the corrected serialized video packet group to the corresponding webpage end so that the player plays videos.
It should be noted that the system scenario diagram shown in fig. 1 is an example, and the server and the scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not form a limitation on the technical solution provided in the embodiment of the present application, and as a person having ordinary skill in the art knows, with the evolution of the system and the occurrence of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems. The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
Fig. 2 is a schematic flow chart of a video stream management method for implementing plug-in-free playing on a web page end according to an embodiment of the present application, please refer to fig. 2, where the video stream management method for implementing plug-in-free playing on a web page end includes the following steps:
201: and the transcoding server receives a video playing request sent by the webpage end.
In an embodiment, the video playing request includes a request for viewing a real-time monitoring video stream of the front-end device from the webpage end, and may also include a request for viewing a stored historical monitoring video stream, and when the webpage end sends the video playing request to the transcoding server, the video playing request may be sent to the transcoding server through the websocket.
In one embodiment, the real-time monitoring video stream includes videos shot by front-end devices, such as high-definition cameras, and includes real-time monitoring of vehicles passing through the front-end devices and real-time monitoring of pedestrians passing through the front-end devices, and meanwhile, in the real-time monitoring video stream, information of corresponding time and addresses of the front-end devices can be recorded, so that when illegal behaviors occur in the real-time monitoring video stream, corresponding recording can be performed on the time and the addresses of the illegal behaviors, and the illegal behaviors can be processed according to the corresponding records when the illegal behaviors are processed subsequently.
In an embodiment, the historical surveillance video stream may be video data obtained by processing the real-time surveillance video stream after the real-time surveillance video stream is obtained, for example, after the transcoding server obtains a data packet from the media server, the data packet is processed to obtain a video stream in an H264 (mpeg-4 tenth part, mpeg refers to Motion Picture Experts Group-4) format, and then the video stream in the H264 format is stored in the storage server, so that when the video stream needs to be called or viewed, the transcoding server obtains the video stream from the storage server.
202: and acquiring a video stream corresponding to the video playing request according to the video playing request.
In an embodiment, after the transcoding server receives a video playing request sent by a web page, the transcoding server obtains a video stream according to the video playing request, for example, if the content of the video playing request is a real-time monitoring video requesting a front-end camera in a certain area or a certain specific location, the transcoding server may obtain a data packet sent by a media server, and then process the data packet to obtain a video stream, or if the content of the video playing request is historical monitoring video data, the transcoding server may obtain the video stream by sending a data obtaining request to a storage server.
In one embodiment, when the webpage end sends a video playing request to the transcoding server, the webpage end needs to carry the identifier of the transcoding server first, so that the transcoding server needing to be requested can be determined, and at the same time, the video playing request needs to carry the webpage identifier of the webpage end, so that the transcoding server can determine the webpage end sending the request, correspondingly determine whether the webpage end has the right to access, and subsequently return the data corresponding to the request, so that the webpage end can view the video data, and at the same time, the video playing request needs to carry the data identifier, so that the transcoding server can obtain the video stream corresponding to the data identifier, and in the video playing request, the size of the data content can be carried, so that the transcoding server can allocate the memory to perform corresponding processing according to the size of the data.
203: and acquiring a video frame in the video stream according to the video stream, and judging whether the video frame in the video stream is a key frame.
In an embodiment, after the transcoding server acquires the video stream, the transcoding server receives a video frame in the video stream, as shown in fig. 3, where the video frame includes a key frame 31 and a non-key frame 32, and it is necessary to determine that the video frame is the key frame, so that the web page end can initialize according to the key frame to play video data correspondingly.
In an embodiment, before a video frame is obtained, each key frame and non-key frame in the video frame need to be sequenced according to a time sequence, so that in the received video frame, the key frame and the non-key frame can be combined according to the time sequence to form a complete picture without searching a corresponding non-key frame for each key frame.
In one embodiment, when it is determined that the video stream is not a key frame, the video frame needs to be deleted, which means that the video frame belongs to a non-key frame, and there is no corresponding key frame, and the video frame cannot be played normally, the video frame needs to be deleted, and this step includes: and when the video frame is not the key frame, deleting the video frame and judging whether the next video frame is the key frame.
204: when the video frame is a key frame, an initial data packet is determined according to the key frame, and the initial data packet is sent to the webpage end, so that the webpage end initializes the player.
In an embodiment, when a video frame is a key frame, the key frame may be processed to obtain an initial data packet, so that the web page end initializes the player, and the corresponding web page end can play subsequent video data after initialization.
205: and after the key frame is sent to the webpage end, judging whether the next video frame is the key frame.
In one embodiment, an initial data packet is sent to a webpage end at a transcoding server, so that the webpage end can directly play video data after the webpage end initializes a player, at the moment, the video data needs to be packaged so that the video data received by the webpage end can be directly played, each complete picture in the video frames has a key frame and a non-key frame, when the transcoding server extracts the video frames, the video frames are sequentially arranged according to a sequence, a serialized video packet group is obtained, when the webpage end can play the serialized video packet group, a component of the serialized video packet group needs to be determined, as the video frames are sequentially arranged, a non-key frame with a key frame positioned behind the key frame is searched, the serialized video packet group can be obtained, when whether the non-key frame is obtained or not is judged, whether the next video frame is the key frame or not can be judged, thereby making it possible to determine the composition of the serialized video packet group by making a decision on the next video frame.
206: and when the next video frame is not the key frame, caching the non-key frame into a cache queue, and after finding out the next key frame, packaging the previous key frame and the non-key frame to obtain a serialized video packet group.
In an embodiment, when the player is initialized at the web page, and the web page can directly play video data, and whether the next video frame is a key frame or a non-key frame is determined, the situation that the next video frame is a key frame or a non-key frame occurs.
In one embodiment, when a serialized video packet group is obtained by encapsulating key frames and non-key frames, the non-key frames may be buffered in a buffer queue according to a time sequence, so that when the key frames and the non-key frames are encapsulated to form the serialized video packet group, the non-key frames can be directly extracted from the buffer queue according to the sequence of the non-key frames, and thus the key frames and the non-key frames can be directly encapsulated to obtain the serialized video packet group, which includes: when the next video frame is not a key frame, sequentially caching the non-key frames to a cache queue according to the time sequence; after the next key frame is found, the previous key frame is obtained, and non-key frames positioned between adjacent key frames are obtained from a buffer queue; obtaining a serialized video packet group according to the previous key frame and the non-key frame positioned between the adjacent key frames; specifically, as shown in fig. 4, an I frame 401 is used as a key frame, a P frame 402 is used as a non-key frame, the I frame 401 located at the uppermost side is sent to a web page end, so that after the player is initialized at the web page end, a next key frame is searched, for example, the next video frame is used as the P frame 402, the P frame 402 is cached in a cache queue 403, as shown in fig. 4, when the P frame 402 is cached in the cache queue 403, the P frame 402 is cached according to a time sequence, so that the non-key frame can be directly extracted from the cache queue when a serialized video packet group is formed by using the key frame and the non-key frame, thereby avoiding that the video frames need to be sorted again after the key frame and the non-key frame are obtained, and when the key frame and the non-key frame are obtained, the non-key frame located between two adjacent key frames and the previous key frame form a serialized video packet group, thereby sequentially obtaining each serialized video packet group, and playing the video.
In an embodiment, after finding the next key frame, the previous key frame and the corresponding non-key frame may be directly encapsulated into a serialized video packet group, and then the serialized video packet group is directly sent to the web page end, or after a plurality of serialized video packet groups are formed by encapsulation, the serialized video packet group is sequentially sent to the web page end, in this process, when the non-key frame corresponding to each serialized video packet group is cached, the non-key frame of the next serialized video packet group may be cached after the non-key frame of the previous serialized video packet group is extracted, or the non-key frames of different serialized video packet groups may be cached by using different cache queues, so that the key frame and the corresponding non-key frame can be correspondingly encapsulated, and the problem of encapsulation error caused by non-correspondence of the key frame and the non-key frame is avoided.
207: and correcting the decoding time of the serialized video packet group according to the serialized video packet group and the video playing request of the webpage end, and sending the corrected serialized video packet group to the corresponding webpage end so that the player plays the video.
In an embodiment, after the serialized video packet groups are obtained, the video playing time of each webpage end is determined according to the video playing request of each webpage end, so that the decoding time of each serialized video packet group can be corrected, and each webpage end can watch corresponding video data at corresponding time. In an embodiment, when a video playing request sent by a web page is received, a corresponding websocket port may be allocated to each web page, so that each web page communicates with the corresponding websocket port, and thus, during communication, data is prevented from being disordered, which includes: distributing a corresponding websocket port for the webpage end according to the video playing request; detecting the websocket port, and after receiving a video playing request, adding a webpage end corresponding to the video playing request to a forwarding list corresponding to the websocket; and correcting the decoding time of the serialized video packet group according to the serialized video packet group and the video playing request, and sending the corrected serialized video packet group to a corresponding webpage end in a forwarding list.
In an embodiment, after receiving a video playing request from a web page, the web page in a forwarding list of the transcoding server has a corresponding timestamp, so that in a sending process of a serialized video packet group, a decoding time corresponding to the serialized video packet group is adjusted according to the timestamp. In an embodiment, when sending a modified serialized video packet group to a web page, a web page that needs to send the serialized video packet group needs to be determined first, at this time, a websocket port may be set on a transcoding server, so that the web page can only communicate through the websocket port, and then the websocket port is detected, when there is a request for sending the web page, the web page is added to a forwarding list, so that after video data is encapsulated, the serialized video packet group is sent to a corresponding web page in the forwarding list, where the step includes: setting a websocket port; detecting the websocket port, and adding a webpage end corresponding to a video playing request to a forwarding list after the websocket port receives the video playing request; correcting the decoding time of the serialized video packet group according to the serialized video packet group and the video playing request, and sending the corrected serialized video packet group to a corresponding webpage end in a forwarding list; specifically, when sending the serialized video packet groups to a plurality of web page terminals, the serialized video packet groups may be sent in sequence according to the order of the video playing request of each web page terminal, or the corresponding serialized video packet groups may be sent to a plurality of web page terminals at the same time. In one embodiment, when sending a serialized video packet group to a web page, in order to avoid that video data in a transcoding server is changed, the serialized video packet group is copied and sent to a play queue corresponding to each web page, thereby retaining video data of the web page, and enabling each web page to play corresponding video data according to the corresponding play queue, and when sending the serialized video packet group to each web page, sequencing according to a time sequence of the serialized video packet group, sending the serialized video packet group to each web page in sequence, and correcting decoding time of each serialized video packet group, so that each web page can receive the corresponding serialized video packet group, and playing time of the serialized video packet group of each web page is accurate, the method includes: acquiring the picture time of the serialized video packet group according to the serialized video packet group; according to the picture time of the serialized video packet group, caching the serialized video packet group to a sending queue according to the time sequence; according to the sequence of the serialized video packet groups in the sending queue and the video playing request of the webpage end, sequentially copying the corresponding serialized video packet groups from the sending queue, correcting the decoding time of the serialized video packet groups to obtain corrected serialized video packet groups, and caching the corrected serialized video packet groups into the corresponding playing queue; specifically, as shown in fig. 5, it is assumed that when the serialized video packet group one 511, the serialized video packet group two 512, and the serialized video packet groups three 513 and … are sequentially buffered to the sending queue 51 according to the screen time of the serialized video packet group, when a plurality of web sites send video playing requests, the serialized video packet group one 511, the serialized video packet group two 512, and the serialized video packet group three 513 are sequentially copied, and then corresponding serialized video packet groups are sequentially sent to the playing queue one 521, the playing queue two 522, and the playing queue three 523, and the decoding time of the serialized video packet groups is modified, so that the corresponding web sites can play videos at corresponding times.
In one embodiment, when the corresponding serialized video packet group is copied from the transmission queue, the serialized video packet groups at the head positions in the transmission queue are sequentially copied and distributed, so that each serialized video packet group can be copied and distributed, omission of the serialized video packet groups is avoided, the serialized video packet groups sent to the webpage end are complete, and the webpage end can normally play pictures.
It should be noted that the picture time refers to the time of each serialized video packet group in the same video, for example, a certain video includes 10 serialized video packet groups, and 10 serialized video packet groups have corresponding playing time, so that the playing time can be used as the picture time of the serialized video packet groups, or the picture time is given to the serialized video packet groups according to the playing sequence of the serialized video packet groups, so that the serialized video packet groups can be arranged according to the time sequence, and thus, when the serialized video packet groups are sequentially sent to a web page, the problem of missing the serialized video packet groups does not occur.
In one embodiment, when obtaining the serialized video packet group in the transmission queue and needing to transmit the serialized video packet group to the corresponding web page, the decoding time corresponding to each web page needs to be determined, and the target decoding time corresponding to each web page can be determined according to the playing time of each web page and the decoding time of the serialized video packet group, so that the decoding time of the serialized video packet group can be corrected and then transmitted to the corresponding web page, and the method includes the following steps: acquiring playing time corresponding to the webpage end according to the video playing request of the webpage end; acquiring the decoding time of the serialized video packet group; correcting the decoding time of the serialized video packet group according to the decoding time of the serialized video packet group and the playing time corresponding to the webpage end to obtain the target decoding time of the serialized video packet group corresponding to the video playing request; correcting the decoding time of the serialized video packet group according to the target decoding time of the serialized video packet group, and sending the corrected serialized video packet group to a corresponding webpage end so that the player can play videos; specifically, for example, after the playing time of a certain web page end is 0 second, the decoding time of the serialized video packet group is 0 second, and the time length of the serialized video packet group required to be decoded is 10 seconds, the target decoding time is 10 seconds, so that the web page end can play video data at the corresponding time.
In an embodiment, when the transcoding server sends data to the webpage end, if disconnection or other abnormal states of the webpage end occur, the data cannot be sent to the webpage end, so that data accumulation occurs in the transcoding server, a preset data volume can be set at the moment, whether data accumulation occurs in the transcoding server is judged through the preset data volume, when the data accumulation occurs, connection between the webpage end and the transcoding server is disconnected, threads are recycled, and the phenomenon that the data accumulation occupies resources of the transcoding server is avoided.
It should be noted that the decoding time refers to the playing time of each serialized video packet group that already includes the serialized video packet group when being formed, the playing time is the decoding time of the serialized video packet group, and when different web page ends are watched, if a first web page end starts watching in 0 second and a second web page end starts watching in 10 second, the decoding time corresponding to the first web page end is 10 seconds and the decoding time corresponding to the second web page end is 0 second, so that the same serialized video packet group can be sent to different web page ends only by modifying the decoding time of the serialized video packet group.
In one embodiment, when sending the serialized video packet group to the web page, a socket handle is used for sending data, but in the process, a situation that data is not sent completely occurs, at this time, a data sending position in a sending queue can be recorded, and when sending data next time, the unsent serialized video packet group can be sent continuously according to the data sending position, and the step includes: detecting the connection state of a webpage end and the data sending state in the sending queue, and judging whether the sending of the serialized video packet group in the sending queue is finished; when the sending of the serialized video packet group in the play queue is not finished, recording the data sending position in the sending queue; and according to the data sending position, when the webpage end is reconnected, the serialized video packet group is continuously sent.
In one embodiment, when processing video frames, the video frames may be encapsulated by an encapsulation thread, and then the encapsulation thread may communicate with a sending thread by using a transmission signal, so that the sending thread may send the serialized video packet group to the web page side, and this step includes: acquiring thread representations of encapsulation threads encapsulating key frames and non-key frames, detecting the encapsulation state of the encapsulation threads, and judging whether the serialized video packet group is encapsulated; acquiring a thread identifier of a sending thread for sending the corrected serialized video packet group; after the serialized video packet group is packaged, acquiring a corresponding transmission signal according to the thread identifier of the packaging thread and the thread identifier of the sending thread; transmitting a transmission signal to the transmission thread, correcting the decoding time of the serialized video packet group according to the transmission signal, and transmitting the corrected serialized video packet group to a corresponding webpage end so that the player plays a video; specifically, the encapsulation thread and the sending thread are responsible for corresponding content, the encapsulation thread is responsible for encapsulating key frames and non-key frames, the sending thread is responsible for sending encapsulated serialized video packet groups, and the encapsulation thread and the sending thread communicate through transmission signals, so that cross use between the encapsulation thread and the sending thread is avoided, and sending of the serialized video packet groups is achieved through interaction of the transmission signals.
The embodiment of the application provides a video stream management method for realizing plug-in-free playing of a webpage end, which is characterized in that the webpage end is communicated with a transcoding server, the transcoding server packages the video frames and sends the video frames to the webpage end, the webpage end can directly play video data without plug-in playing, one transcoding server can correspond to a plurality of webpage ends, therefore, when the video data is sent to the webpage end, the video data can be sent to different webpage ends only by changing the decoding time of the serialized video packet group without corresponding transcoding servers for each webpage end, and each transcoding server packages the corresponding serialized video packet group for each webpage end, thereby reducing resource consumption, and the encapsulation thread and the sending thread work independently through signal interaction, so that the thread is prevented from being disordered, and the video data is stably transmitted.
Correspondingly, fig. 6 is a schematic structural diagram of a video stream management device for implementing plug-in-free playing on a web page end according to an embodiment of the present application; referring to fig. 6, the video stream management apparatus for implementing plug-in-free playing on a web page includes the following modules:
a receiving module 601, configured to receive a video playing request sent by the web page;
an obtaining module 602, configured to obtain, according to the video playing request, a video stream corresponding to the video playing request;
a first determining module 603, configured to obtain a video frame in the video stream according to the video stream, and determine whether the video frame in the video stream is a key frame;
a first sending module 604, configured to determine an initial data packet according to the key frame when the video frame is the key frame, and send the initial data packet to the web page, so that the web page initializes a player;
a second judging module 605, configured to judge whether a next video frame is a key frame after sending the key frame to the web page end;
a packaging module 606, configured to cache a non-key frame in a cache queue when a next video frame is not a key frame, and package the key frame and the non-key frame after finding the next key frame to obtain a serialized video packet group;
a second sending module 607, configured to modify the decoding time of the serialized video packet group according to the serialized video packet group and the video playing request of the web page, and send the modified serialized video packet group to the corresponding web page, so that the player plays a video.
In an embodiment, the video stream management apparatus for implementing plug-in-free playing on a web page further includes a deletion module, where the deletion module is configured to delete the video frame when the video frame is not a key frame, and determine whether a next video frame is a key frame.
In an embodiment, the encapsulating module 606 is configured to buffer the non-key frames to a buffer queue sequentially according to a time sequence when the next video frame is not a key frame; after the next key frame is found, the previous key frame is obtained, and non-key frames positioned between adjacent key frames are obtained from a buffer queue; the set of serialized video packets is derived from the last key frame and the non-key frames located between adjacent key frames.
In an embodiment, the second sending module 607 is configured to allocate a corresponding websocket port to the web page end according to the video playing request; detecting the websocket port, and after receiving a video playing request, adding a webpage end corresponding to the video playing request to a forwarding list corresponding to the websocket; and correcting the decoding time of the serialized video packet group according to the serialized video packet group and the video playing request, and sending the corrected serialized video packet group to a corresponding webpage end in a forwarding list.
In one embodiment, the second sending module 607 is configured to set a websocket port; detecting the websocket port, and adding a webpage end corresponding to a video playing request to a forwarding list after the websocket port receives the video playing request; and correcting the decoding time of the serialized video packet group according to the serialized video packet group and the video playing request, and sending the corrected serialized video packet group to a corresponding webpage end in a forwarding list.
In one embodiment, the second sending module 607 is configured to obtain the picture time of the serialized video packet group according to the serialized video packet group; according to the picture time of the serialized video packet group, caching the serialized video packet group to a sending queue according to the time sequence; and according to the sequence of the serialized video packet groups in the sending queue and the video playing request of the webpage end, sequentially copying the corresponding serialized video packet groups from the sending queue, correcting the decoding time of the serialized video packet groups to obtain corrected serialized video packet groups, and caching the corrected serialized video packet groups into the corresponding playing queue.
In an embodiment, the second sending module 607 is configured to obtain, according to the video playing request of the web page end, a playing time corresponding to the web page end; acquiring the decoding time of the serialized video packet group; correcting the decoding time of the serialized video packet group according to the decoding time of the serialized video packet group and the playing time corresponding to the webpage end to obtain the target decoding time of the serialized video packet group corresponding to the video playing request; and correcting the decoding time of the serialized video packet group according to the target decoding time of the serialized video packet group, and sending the corrected serialized video packet group to a corresponding webpage end so that the player plays videos.
In an embodiment, the video stream management apparatus for implementing plug-in-free playing at a web page end further includes a detection module, where the detection module is configured to detect a connection state of the web page end and a data transmission state in the transmission queue, and determine whether a serialized video packet group in the transmission queue is completely transmitted; when the sending of the serialized video packet group in the play queue is not finished, recording the data sending position in the sending queue; and according to the data sending position, when the webpage end is reconnected, the serialized video packet group is continuously sent.
In an embodiment, the video stream management apparatus for implementing plug-in-free playing at a web page end further includes a transmission module, where the transmission module is configured to obtain a thread identifier of an encapsulation thread encapsulating a key frame and a non-key frame, detect an encapsulation state of the encapsulation thread, and determine whether encapsulation of the serialized video packet group is completed; acquiring a thread identifier of a sending thread for sending the corrected serialized video packet group; after the serialized video packet group is packaged, acquiring a corresponding transmission signal according to the thread identifier of the packaging thread and the thread identifier of the sending thread; and sending a transmission signal to the sending thread, correcting the decoding time of the serialized video packet group according to the transmission signal, and sending the corrected serialized video packet group to a corresponding webpage end so that the player plays a video.
Accordingly, embodiments of the present application also provide a transcoding server, as shown in fig. 7, the transcoding server may include Radio Frequency (RF) circuits 701, a memory 702 including one or more computer-readable storage media, an input unit 703, a display unit 704, a sensor 705, an audio circuit 706, a Wireless Fidelity (WiFi) module 707, a processor 708 including one or more processing cores, and a power supply 709. Those skilled in the art will appreciate that the transcoding server architecture shown in fig. 7 does not constitute a limitation of the transcoding server and may include more or fewer components than shown, or some portions combined, or a different arrangement of components. Wherein:
the RF circuit 701 may be used for receiving and transmitting signals during a message transmission or communication process, and in particular, for receiving downlink information of a base station and then sending the received downlink information to the one or more processors 708 for processing; in addition, data relating to uplink is transmitted to the base station. The memory 702 may be used to store software programs and modules, and the processor 708 executes various functional applications and data processing by operating the software programs and modules stored in the memory 702. The input unit 703 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
The display unit 704 may be used to display information input by or provided to the user and various graphical user interfaces of the transcoding server, which may be made up of graphics, text, icons, video, and any combination thereof.
The transcoding server may also include at least one sensor 705, such as light sensors, motion sensors, and other sensors. The audio circuitry 706 includes speakers that may provide an audio interface between the user and the transcoding server.
WiFi belongs to short-range wireless transmission technology, and the transcoding server can help the user send and receive e-mail, browse web pages, access streaming media, etc. through the WiFi module 707, and it provides wireless broadband internet access for the user. Although fig. 7 shows the WiFi module 707, it is understood that it does not belong to the essential constitution of the transcoding server, and may be omitted entirely as needed within the scope of not changing the essence of the application.
The processor 708 is the control center of the transcoding server, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the transcoding server and processes data by running or executing software programs and/or modules stored in the memory 702 and calling data stored in the memory 702, thereby performing overall monitoring of the handset.
The transcoding server also includes a power source 709 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 708 via a power management system, such that the functions of managing charging, discharging, and power consumption are performed via the power management system.
Although not shown, the transcoding server may further include a camera, a bluetooth module, and the like, which will not be described herein. Specifically, in this embodiment, the processor 708 in the transcoding server loads the executable file corresponding to the process of one or more application programs into the memory 702 according to the following instructions, and the processor 708 runs the application programs stored in the memory 702, so as to implement the following functions:
receiving a video playing request sent by the webpage end; acquiring a video stream corresponding to the video playing request according to the video playing request; acquiring a video frame in the video stream according to the video stream, and judging whether the video frame in the video stream is a key frame; when the video frame is the key frame, determining an initial data packet according to the key frame, and sending the initial data packet to the webpage end so as to initialize a player by the webpage end; after the key frame is sent to the webpage end, whether the next video frame is a key frame or not is judged; when the next video frame is not the key frame, caching the non-key frame to a cache queue, and after finding out the next key frame, packaging the previous key frame and the non-key frame to obtain a serialized video packet group; and correcting the decoding time of the serialized video packet group according to the serialized video packet group and the video playing request of the webpage end, and sending the corrected serialized video packet group to the corresponding webpage end so that the player plays videos.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description, and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to implement the following functions:
receiving a video playing request sent by the webpage end; acquiring a video stream corresponding to the video playing request according to the video playing request; acquiring a video frame in the video stream according to the video stream, and judging whether the video frame in the video stream is a key frame; when the video frame is the key frame, determining an initial data packet according to the key frame, and sending the initial data packet to the webpage end so as to initialize a player by the webpage end; after the key frame is sent to the webpage end, whether the next video frame is a key frame or not is judged; when the next video frame is not the key frame, caching the non-key frame to a cache queue, and after finding out the next key frame, packaging the previous key frame and the non-key frame to obtain a serialized video packet group; and correcting the decoding time of the serialized video packet group according to the serialized video packet group and the video playing request of the webpage end, and sending the corrected serialized video packet group to the corresponding webpage end so that the player plays videos.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any method provided in the embodiments of the present application, the beneficial effects that can be achieved by any method provided in the embodiments of the present application can be achieved, for details, see the foregoing embodiments, and are not described herein again.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The video stream management method and apparatus, the transcoding server, and the computer-readable storage medium for implementing plug-in-free play on a web page end provided in the embodiments of the present application are introduced in detail above, and specific examples are applied in this document to explain the principles and embodiments of the present application, and the descriptions of the above embodiments are only used to help understand the technical solutions and core ideas of the present application; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications or substitutions do not depart from the spirit and scope of the present disclosure as defined by the appended claims.

Claims (10)

1. The utility model provides a realize that webpage end does not have video stream management method of plug-in playing which characterized in that is applied to traffic police system, traffic police system includes webpage end and transcoding server, the webpage end with transcoding server passes through websocket communication, realize that webpage end does not have video stream management method of plug-in playing and include:
the transcoding server receives a video playing request sent by the webpage end;
acquiring a video stream corresponding to the video playing request according to the video playing request;
acquiring a video frame in the video stream according to the video stream, and judging whether the video frame in the video stream is a key frame;
when the video frame is the key frame, determining an initial data packet according to the key frame, and sending the initial data packet to the webpage end so as to initialize a player by the webpage end;
after the key frame is sent to the webpage end, whether the next video frame is a key frame or not is judged;
when the next video frame is not the key frame, caching the non-key frame to a cache queue, and after finding out the next key frame, packaging the previous key frame and the non-key frame to obtain a serialized video packet group;
correcting the decoding time of the serialized video packet group according to the serialized video packet group and the video playing request of the webpage end, and the method comprises the following steps: acquiring playing time corresponding to the webpage end according to the video playing request of the webpage end; acquiring the decoding time of the serialized video packet group; correcting the decoding time of the serialized video packet group according to the decoding time of the serialized video packet group and the playing time corresponding to the webpage end to obtain the target decoding time of the serialized video packet group corresponding to the video playing request; and correcting the decoding time of the serialized video packet group according to the target decoding time of the serialized video packet group, and sending the corrected serialized video packet group to a corresponding webpage end so that the player plays videos.
2. The method for managing video stream to realize plug-in-free play at web site according to claim 1, wherein after the steps of obtaining video frames in the video stream according to the video stream and determining whether the video frames in the video stream are key frames, the method further comprises:
and when the video frame is not the key frame, deleting the video frame and judging whether the next video frame is the key frame.
3. The method for managing video stream to realize plug-in-free play at web site as claimed in claim 1, wherein the step of buffering non-key frames to the buffer queue when the next video frame is not a key frame, and encapsulating the previous key frame and the non-key frame after finding the next key frame to obtain the serialized video packet group comprises:
when the next video frame is not a key frame, sequentially caching the non-key frames to a cache queue according to the time sequence;
after the next key frame is found, the previous key frame is obtained, and non-key frames positioned between adjacent key frames are obtained from a buffer queue;
the set of serialized video packets is derived from the last key frame and the non-key frames located between adjacent key frames.
4. The method for managing video stream to realize plug-in-free play at web site according to claim 1, wherein the step of modifying the decoding time of the serialized video packet group according to the serialized video packet group and the video play request at web site, and sending the modified serialized video packet group to the corresponding web site, so that the player plays video comprises:
distributing corresponding websocket ports for all webpage ends according to the video playing request;
detecting each websocket port, and after receiving a video playing request, adding a webpage end corresponding to the video playing request to a forwarding list corresponding to the websocket;
and correcting the decoding time of the serialized video packet group according to the serialized video packet group and the video playing request, and sending the corrected serialized video packet group to a corresponding webpage end in a forwarding list.
5. The method for managing video stream to realize plug-in-free play at web site according to claim 1, wherein the step of modifying the decoding time of the serialized video packet group according to the serialized video packet group and the video play request at web site, and sending the modified serialized video packet group to the corresponding web site, so that the player plays video comprises:
setting a unique websocket port for all webpage ends;
detecting the websocket port, and adding a webpage end corresponding to a video playing request to a forwarding list after the websocket port receives the video playing request;
and correcting the decoding time of the serialized video packet group according to the serialized video packet group and the video playing request, and sending the corrected serialized video packet group to a corresponding webpage end in a forwarding list.
6. The method for managing video stream to realize plug-in-free play at web site according to claim 1, wherein the step of modifying the decoding time of the serialized video packet group according to the serialized video packet group and the video play request at web site, and sending the modified serialized video packet group to the corresponding web site, so that the player plays video comprises:
acquiring the picture time of the serialized video packet group according to the serialized video packet group;
according to the picture time of the serialized video packet group, caching the serialized video packet group to a sending queue according to the time sequence;
and according to the sequence of the serialized video packet groups in the sending queue and the video playing request of the webpage end, sequentially copying the corresponding serialized video packet groups from the sending queue, correcting the decoding time of the serialized video packet groups to obtain corrected serialized video packet groups, and caching the corrected serialized video packet groups into the corresponding playing queue.
7. The method for managing video stream to implement plug-in-free playing on a web page side according to claim 6, wherein after the step of modifying the decoding time of the serialized video packet group according to the serialized video packet group and the video playing request of the web page side and sending the modified serialized video packet group to the corresponding web page side so that the player plays video, the method further comprises:
detecting the connection state of a webpage end and the data sending state in the sending queue, and judging whether the sending of the serialized video packet group in the sending queue is finished;
when the sending of the serialized video packet group in the play queue is not finished, recording the data sending position in the sending queue;
and according to the data sending position, when the webpage end is reconnected, the serialized video packet group is continuously sent.
8. The method for managing video stream to implement plug-in-free playing on a web page side according to claim 1, wherein before the step of modifying the decoding time of the serialized video packet group according to the serialized video packet group and the video playing request of the web page side and sending the modified serialized video packet group to the corresponding web page side so that the player plays video, the method further comprises:
acquiring thread identifications of encapsulation threads encapsulating key frames and non-key frames, detecting the encapsulation state of the encapsulation threads, and judging whether the serialized video packet group is encapsulated;
acquiring a thread identifier of a sending thread for sending the corrected serialized video packet group;
after the serialized video packet group is packaged, acquiring a corresponding transmission signal according to the thread identifier of the packaging thread and the thread identifier of the sending thread;
and sending a transmission signal to the sending thread, correcting the decoding time of the serialized video packet group according to the transmission signal, and sending the corrected serialized video packet group to a corresponding webpage end so that the player plays a video.
9. The utility model provides a realize video stream management device of no plug-in play of webpage end which characterized in that is applied to the traffic police system, the traffic police system includes webpage end and transcoding server, the webpage end with transcoding server passes through websocket communication, realize the video stream management device of no plug-in play of webpage end and include:
the receiving module is used for receiving a video playing request sent by the webpage end;
the acquisition module is used for acquiring a video stream corresponding to the video playing request according to the video playing request;
the first judgment module is used for acquiring a video frame in the video stream according to the video stream and judging whether the video frame in the video stream is a key frame;
a first sending module, configured to determine an initial data packet according to the key frame when the video frame is the key frame, and send the initial data packet to the web page, so that the web page initializes a player;
the second judgment module is used for judging whether the next video frame is a key frame or not after the key frame is sent to the webpage end;
the packaging module is used for caching the non-key frames to a cache queue when the next video frame is not the key frame, and packaging the previous key frame and the non-key frames to obtain a serialized video packet group after the next key frame is found;
a second sending module, configured to modify the decoding time of the serialized video packet group according to the serialized video packet group and the video playing request of the web page, where the second sending module includes: acquiring playing time corresponding to the webpage end according to the video playing request of the webpage end; acquiring the decoding time of the serialized video packet group; correcting the decoding time of the serialized video packet group according to the decoding time of the serialized video packet group and the playing time corresponding to the webpage end to obtain the target decoding time of the serialized video packet group corresponding to the video playing request; and correcting the decoding time of the serialized video packet group according to the target decoding time of the serialized video packet group, and sending the corrected serialized video packet group to a corresponding webpage end so that the player plays videos.
10. A computer-readable storage medium storing instructions adapted to be loaded by a processor to perform the steps of the method for managing video stream for webside plug-less playback according to any one of claims 1 to 8.
CN202011217408.6A 2020-11-04 2020-11-04 Video stream management method and device for realizing plug-in-free playing of webpage end Active CN112104893B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011217408.6A CN112104893B (en) 2020-11-04 2020-11-04 Video stream management method and device for realizing plug-in-free playing of webpage end

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011217408.6A CN112104893B (en) 2020-11-04 2020-11-04 Video stream management method and device for realizing plug-in-free playing of webpage end

Publications (2)

Publication Number Publication Date
CN112104893A CN112104893A (en) 2020-12-18
CN112104893B true CN112104893B (en) 2021-01-29

Family

ID=73784571

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011217408.6A Active CN112104893B (en) 2020-11-04 2020-11-04 Video stream management method and device for realizing plug-in-free playing of webpage end

Country Status (1)

Country Link
CN (1) CN112104893B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112929755B (en) * 2021-01-21 2022-08-16 稿定(厦门)科技有限公司 Video file playing method and device in progress dragging process
CN113259737A (en) * 2021-05-12 2021-08-13 中移智行网络科技有限公司 Monitoring method, related device and readable storage medium
CN114567789A (en) * 2021-11-04 2022-05-31 浙江浙大中控信息技术有限公司 Video live broadcast method based on double buffer queues and video frame congestion control
CN114245176A (en) * 2021-12-16 2022-03-25 北京数码视讯技术有限公司 Transmission detection device and method for multimedia stream
CN114329295A (en) * 2021-12-29 2022-04-12 杭州趣链科技有限公司 Video playback method, device, terminal device, and computer-readable storage medium
CN116418942A (en) * 2021-12-30 2023-07-11 浙江宇视科技有限公司 Audio and video processing method and device based on browser, electronic equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277004A (en) * 2017-06-13 2017-10-20 重庆扬讯软件技术股份有限公司 A kind of browser is without plug-in unit net cast method
CN109379624A (en) * 2018-11-27 2019-02-22 Oppo广东移动通信有限公司 Video processing method, device, electronic device and storage medium
US10222926B2 (en) * 2012-03-19 2019-03-05 Citrix Systems, Inc. Systems and methods for providing user interfaces for management applications
CN109981664A (en) * 2019-03-29 2019-07-05 北京致远互联软件股份有限公司 Website logging method, device and the realization device of page end
CN111010603A (en) * 2019-12-18 2020-04-14 浙江大华技术股份有限公司 Video caching and forwarding processing method and device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101568038B (en) * 2009-06-04 2010-12-29 西南交通大学 Multi-viewpoint error resilient coding scheme based on disparity/movement joint estimation
CN102761773A (en) * 2012-07-03 2012-10-31 Ut斯达康通讯有限公司 Method for improving user experience of IPTV (Internet Protocol Television) service by using I frames
CN104202680B (en) * 2014-08-11 2017-11-03 福建星网锐捷网络有限公司 The method and device that Streaming Media is obtained
US9955183B2 (en) * 2016-04-14 2018-04-24 Avid Technology, Inc. Open to closed group of pictures conversion in interframe video compression
CN106713941A (en) * 2017-01-04 2017-05-24 北京百度网讯科技有限公司 Audio and video live broadcast implementation method and server
CN108632642B (en) * 2017-03-16 2021-09-03 杭州海康威视数字技术股份有限公司 Streaming media pushing method and device
CN108600696B (en) * 2018-04-20 2021-02-02 浙江大华技术股份有限公司 Video stream decoding method and decoding equipment
US10841662B2 (en) * 2018-07-27 2020-11-17 Telefonaktiebolaget Lm Ericsson (Publ) System and method for inserting advertisement content in 360° immersive video

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10222926B2 (en) * 2012-03-19 2019-03-05 Citrix Systems, Inc. Systems and methods for providing user interfaces for management applications
CN107277004A (en) * 2017-06-13 2017-10-20 重庆扬讯软件技术股份有限公司 A kind of browser is without plug-in unit net cast method
CN109379624A (en) * 2018-11-27 2019-02-22 Oppo广东移动通信有限公司 Video processing method, device, electronic device and storage medium
CN109981664A (en) * 2019-03-29 2019-07-05 北京致远互联软件股份有限公司 Website logging method, device and the realization device of page end
CN111010603A (en) * 2019-12-18 2020-04-14 浙江大华技术股份有限公司 Video caching and forwarding processing method and device

Also Published As

Publication number Publication date
CN112104893A (en) 2020-12-18

Similar Documents

Publication Publication Date Title
CN112104893B (en) Video stream management method and device for realizing plug-in-free playing of webpage end
US20220095002A1 (en) Method for transmitting media stream, and electronic device
CN107454416B (en) Video stream sending method and device
CN110324671B (en) Webpage video playing method and device, electronic equipment and storage medium
US8903916B2 (en) Method, system, and computer-readable medium to render repeatable data objects streamed over a network
WO2020192152A1 (en) Video transmission method, root node, child node, p2p server, and system
CN111083536B (en) Method and device for adjusting video code rate
CN111970215B (en) Data packet management method and device
CN104394127B (en) A multimedia sharing method, device and system
CN106998485B (en) Video live broadcasting method and device
EP3952316A1 (en) Resource transmission method and terminal
KR102788919B1 (en) Audio data processing method, server, and storage medium
US20020073136A1 (en) Data reproduction method, data receiving terminal and data receiving method
US20220060532A1 (en) Method for transmitting resources and electronic device
KR20150096440A (en) Distributed cross-platform user interface and application projection
US10560753B2 (en) Method and system for image alteration
CN102036058A (en) Method, server, terminal and system for switching videos in video monitoring system
JP2020511084A (en) Channel change method and device
US20070160048A1 (en) Method for providing data and data transmission system
WO2015180446A1 (en) System and method for maintaining connection channel in multi-device interworking service
CN111866526B (en) A kind of live broadcast service processing method and device
CN111935497B (en) Video stream management method and data server for traffic police system
US20220414178A1 (en) Methods, apparatuses and systems for displaying alarm file
CN112188245A (en) Front-end camera real-time video-on-demand method and device and electronic equipment
WO2021190050A1 (en) Service monitoring method, apparatus and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant