CN115086780A - Video stream transmission method, system, device and terminal equipment - Google Patents

Video stream transmission method, system, device and terminal equipment Download PDF

Info

Publication number
CN115086780A
CN115086780A CN202210801914.2A CN202210801914A CN115086780A CN 115086780 A CN115086780 A CN 115086780A CN 202210801914 A CN202210801914 A CN 202210801914A CN 115086780 A CN115086780 A CN 115086780A
Authority
CN
China
Prior art keywords
frame
key
initial
client
coding
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
Application number
CN202210801914.2A
Other languages
Chinese (zh)
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.)
BDstar Intelligent and Connected Vehicle Technology Co Ltd
Original Assignee
BDstar Intelligent and Connected Vehicle 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 BDstar Intelligent and Connected Vehicle Technology Co Ltd filed Critical BDstar Intelligent and Connected Vehicle Technology Co Ltd
Priority to CN202210801914.2A priority Critical patent/CN115086780A/en
Publication of CN115086780A publication Critical patent/CN115086780A/en
Pending legal-status Critical Current

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/60Network 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/63Control 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/637Control signals issued by the client directed to the server or network components
    • H04N21/6375Control signals issued by the client directed to the server or network components for requesting retransmission, e.g. of data packets lost or corrupted during transmission from server
    • 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/44008Processing 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 operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4425Monitoring of client processing errors or hardware failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network 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/63Control 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/637Control signals issued by the client directed to the server or network components
    • H04N21/6377Control signals issued by the client directed to the server or network components directed to server

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the application provides a video stream transmission method, a system, a device and a terminal device, wherein the video stream transmission system comprises a client and a server, the client is used for receiving display parameters and initial coding frames, decoding the initial coding frames, when the initial coding frames are decoded abnormally, sending decoding abnormal information to the server, the server is further used for adding at least one key frame according to the decoding abnormal information, coding the at least one key frame to obtain at least one corresponding key coding frame, sending the at least one key coding frame to the client, and the client is further used for decoding and displaying based on the display parameters and the at least one key coding frame. The method and the device can avoid the problem that the client cannot normally display due to the abnormal encoding of the initial key frame or the abnormal decoding of the subsequent frame, and can effectively improve the problem of abnormal display of the client, thereby reducing the quality dependence on the initial image of the camera.

Description

Video stream transmission method, system, device and terminal equipment
Technical Field
The present invention relates to the field of network technologies, and in particular, to a method, a system, an apparatus, and a terminal device for transmitting a video stream.
Background
In the video streaming media transmission process based on the camera, one end that sends the video stream usually needs to encode and compress the video stream before transmission, and the end that receives the video stream needs to decode before display. Currently, the existing coding technology uses one coded key frame (i.e. I frame) and multiple coded forward predicted frames (i.e. P frames) to complete real-time image coding within 1 second according to the frame rate of the camera itself. However, the forward predicted frame needs to rely on the image of the previous frame for difference value restoration, so that when the first key frame received by the receiving end is decoded abnormally, all the images of 1 second cannot be decoded and displayed normally, and in the starting process of the video encoder, the abnormal image is easy to appear in the initial image, so that the key frame image in the initial encoding is abnormal.
Disclosure of Invention
In a first aspect, the present invention provides a video streaming system, where the system includes a client and a server, and includes:
the client is used for receiving the display parameters and the initial coding frame, decoding the initial coding frame, and sending decoding abnormal information to the server when the initial coding frame is decoded abnormally;
the server is further used for adding at least one key frame according to the decoding abnormal information, coding the at least one key frame to obtain at least one corresponding key coding frame, and sending the at least one key coding frame to the client;
the client is further configured to receive the at least one key encoded frame, decode and display based on the display parameter and the at least one key encoded frame.
In an optional embodiment, the video streaming system further comprises:
and the client is also used for decoding and displaying based on the display parameters and the initial coding frame when the initial coding frame is decoded normally.
In an optional embodiment, the video streaming system further comprises:
the server is also used for receiving a connection request sent by the client and establishing connection with the client according to the connection request.
In an alternative embodiment, when the at least one key frame is N key frames, the N key frames are consecutive N key frames starting from the second key frame, and N is an integer greater than or equal to 2.
In a second aspect, the present invention provides a video streaming method, applied to a server, where the method includes:
acquiring display parameters and initial key frames in a video stream;
encoding the initial key frame to obtain an initial encoding frame, sending the display parameter and the initial encoding frame to a client so that the client decodes the initial encoding frame, and sending decoding abnormal information to the server when the initial encoding frame is decoded abnormally;
and adding at least one key frame according to the decoding abnormal information, coding the at least one key frame to obtain at least one corresponding key coding frame, and sending the at least one key coding frame to the client so that the client decodes and displays the at least one key coding frame.
In a third aspect, the present invention provides a video streaming method, applied to a client, the method including:
receiving display parameters and an initial coding frame sent by a server, and decoding the initial coding frame;
when the initial coding frame is decoded abnormally, sending decoding abnormal information to the server side, so that the server side adds at least one key frame according to the decoding abnormal information, encodes the at least one key frame to obtain at least one corresponding key coding frame, and sends the at least one key coding frame to the client side;
receiving the at least one key encoded frame, decoding and displaying based on the display parameters and the at least one key encoded frame.
In an alternative embodiment, the method further comprises:
and when the initial coding frame is decoded normally, decoding and displaying based on the display parameters and the initial coding frame.
In a fourth aspect, the present invention provides a video streaming apparatus, which is applied to a server, and the apparatus includes:
the acquisition module is used for acquiring display parameters and initial key frames in the video stream;
a sending module, configured to code the initial key frame to obtain an initial encoded frame, send the display parameter and the initial encoded frame to a client, so that the client decodes the initial encoded frame, and send decoding abnormality information to the server when the initial encoded frame is decoded abnormally;
and the display module is used for adding at least one key frame according to the decoding abnormal information, coding the at least one key frame to obtain at least one corresponding key coding frame, and sending the at least one key coding frame to the client so that the client decodes and displays the at least one key coding frame.
In a fifth aspect, the present invention provides a terminal device comprising a memory and a processor, the memory storing a computer program which, when run on the processor, performs the video streaming method.
In a sixth aspect, the invention provides a readable storage medium storing a computer program which, when run on a processor, performs the video streaming method.
The embodiment of the application has the following beneficial effects:
the embodiment of the application provides a video stream transmission system, which comprises a client and a server, wherein the client is used for receiving display parameters and initial coding frames, decoding the initial coding frames, sending decoding abnormal information to the server when the initial coding frames are decoded abnormally, the server is also used for adding at least one key frame according to the decoding abnormal information, coding the at least one key frame to obtain at least one corresponding key coding frame, sending the at least one key coding frame to the client, and the client is also used for receiving the at least one key coding frame, decoding and displaying the at least one key coding frame based on the display parameters. The method and the device can avoid the problem that the client cannot normally display due to the abnormal encoding of the initial key frame or the abnormal decoding of the subsequent frame, and can effectively improve the problem of abnormal display of the client, thereby reducing the quality dependence on the initial image of the camera.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings required to be used in the embodiments will be briefly described below, and it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope of the present invention. Like components are numbered similarly in the various figures.
Fig. 1 shows a first flow diagram of video streaming of a video streaming system according to an embodiment of the present application;
fig. 2 shows a second flow diagram of video streaming of the video streaming system of the embodiment of the present application;
fig. 3 is a third flow chart of video streaming of the video streaming system according to the embodiment of the present application;
fig. 4 shows a first flowchart of a video streaming method according to an embodiment of the present application;
fig. 5 is a second flowchart of a video streaming method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a video streaming apparatus according to an embodiment of the present application.
Description of the main element symbols:
10-a video streaming system; 11-a client; 12-a server; 20-video streaming means; 21-an acquisition module; 22-a sending module; 23-display module.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
Hereinafter, the terms "including", "having", and their derivatives, which may be used in various embodiments of the present invention, are only intended to indicate specific features, numbers, steps, operations, elements, components, or combinations of the foregoing, and should not be construed as first excluding the existence of, or adding to, one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.
Furthermore, the terms "first," "second," "third," and the like are used solely to distinguish one from another, and are not to be construed as indicating or implying relative importance.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the present invention belong. The terms (such as those defined in commonly used dictionaries) should be interpreted as having a meaning that is consistent with their contextual meaning in the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in various embodiments of the present invention.
Example 1
Referring to fig. 1, a schematic flow chart of video streaming of a video streaming system 10 according to an embodiment of the present application is shown, where the video streaming system 10 includes a client 11 and a server 12. The following describes a process of implementing video streaming by the video streaming system 10 according to the embodiment of the present application.
Step S110: the client receives the display parameters and the initial coding frame, decodes the initial coding frame, and sends decoding abnormal information to the server when the initial coding frame is abnormal in decoding.
It can be understood that the client includes a video decoder, and the client receives the display parameters and the initial encoded frame sent by the server, and performs decoding processing on the initial encoded frame through the video decoder. When the client decodes the initial coding frame, whether the initial coding frame is decoded abnormally needs to be judged, if the decoding is abnormal, the client sends decoding abnormal information to the server, and therefore the situation that the client cannot normally display the received initial coding frame due to the fact that the initial coding frame is decoded abnormally is avoided. The decoding abnormality may be represented by the fact that decoding cannot be performed, a large mosaic exists in a decoded picture, and a video decoder is jammed. The video decoder refers to a program or a device capable of compressing or decompressing digital video, and an initial coding frame is obtained by coding a first key frame of the video.
Step S120: the server adds at least one key frame according to the decoding abnormal information, codes the at least one key frame to obtain at least one corresponding key coding frame, and sends the at least one key coding frame to the client.
It can be understood that, after receiving the decoding abnormal information, the server adds at least one key frame of the video acquired by the camera, encodes at least one key frame after the initial key frame by using the video encoder to obtain at least one corresponding key encoded frame, and sends the obtained at least one key encoded frame to the client.
Step S130: the client receives at least one key encoded frame, decodes and displays based on the display parameters and the at least one key encoded frame.
And the client decodes the at least one key coding frame through the video decoder and displays the video based on the decoded at least one key coding frame and the received display parameters. When the added at least one key frame is N key frames, the N key frames may be N key frames that are consecutive from a second key frame, in other words, N key frames that are consecutive from a first key frame after the initial key frame, where N is an integer greater than or equal to 2. Exemplarily, when five key frames are added, the five key frames at this time should be five key frames which are consecutive after the initial key frame, i.e., a second key frame, a third key frame, a fourth key frame, a fifth key frame and a sixth key frame.
As shown in fig. 2, the transmission mode of the video streaming system further includes the following steps:
step S140: and when the initial coding frame is decoded normally, the client decodes and displays the initial coding frame based on the display parameters.
It can be understood that, when the client decodes the encoded frame sent by the server, and the decoding is normal, the client displays the video acquired by the camera based on the display parameter and the decoded initial encoded frame, that is, the initial encoded frame is decoded and displayed based on the display parameters such as the resolution and the frame rate corresponding to the video.
In one embodiment, as shown in fig. 3, the video streaming system further includes steps S150 to S160 during the video streaming process.
Step S150: and the server receives the connection request sent by the client and establishes connection with the client according to the connection request.
In this embodiment, before the video streaming system performs video streaming, a connection between the server and the client is established, that is, the client sends a connection request to the server, and the server receives the connection request.
It can be understood that, after receiving the connection request sent by the client, the server establishes a network connection with the client according to the connection request. Among them, the implementation of Streaming transmission has a specific Real-Time transmission Protocol, which adopts Real-Time Streaming Protocol (RTSP) and other Real-Time transmission protocols.
Step S160: the server side obtains the display parameters and the initial key frames in the video stream, codes the initial key frames to obtain initial coding frames, and sends the display parameters and the initial coding frames to the client side.
In this embodiment, the server is configured to process the acquired video, and when a video stream needs to be transmitted, acquire an initial key frame and related information of video data recorded by the camera, where the related information of the video data is a display parameter, and the display parameter includes, but is not limited to, a frame rate and a resolution of the video, which are related parameters for video display. The display parameters and the initial key frame are used for displaying the video data at the client. Where video streaming refers to the transmission of video data, for example, it can be handled as a steady and continuous stream through a network.
The server side comprises a video encoder, the video encoder of the server side is started while or after the display parameters are sent to the client side, a first key frame, namely an initial key frame, of the obtained video data is encoded to obtain an initial encoding frame, the initial encoding frame is sent to the client side, and therefore the client side receives the initial encoding frame and then decodes the initial encoding frame through a video decoder.
The video encoder is composed of a special audio and video compression codec chip, a data and alarm input and output channel, a network interface, an audio and video interface (HDMI, VGA, HD-SDI), RS232 serial interface control, protocol interface control, embedded software and the like. The video encoder is a device for compressing video source codes into network streams and realizing remote transmission or live broadcast of videos through various transmission modes, and the video encoder is generally an encoding mode such as MPEG-2, MPEG-4, H.264, H.265 and the like.
According to the method and the system, by increasing the communication between the client and the server, when the client is abnormal in decoding, the server is informed to increase the encoding of the key frame, so that the problem that the client cannot normally display due to the abnormal encoding of the initial key frame or the abnormal decoding of the subsequent frame can be avoided, the problem of abnormal display of the client can be effectively improved, and the quality dependence on the initial image of the camera is reduced.
Referring to fig. 4, an embodiment of the present application provides a video streaming method applied to a server, where the video streaming method exemplarily includes steps S210 to S230:
step S210: display parameters and initial key frames in a video stream are acquired.
Step S220: and coding the initial key frame to obtain an initial coding frame, sending the display parameters and the initial coding frame to the client so that the client decodes the initial coding frame, and sending decoding abnormity information to the server when the initial coding frame is abnormally decoded.
Step S230: and adding at least one key frame according to the decoding abnormal information, coding the at least one key frame to obtain at least one corresponding key coding frame, and sending the at least one key coding frame to the client so that the client decodes and displays the at least one key coding frame.
It is understood that the method steps of the present embodiment correspond to the server 12 performing corresponding functions in the video streaming system in the above embodiment, wherein the options regarding the server 12 in the above video streaming method are also applicable to the method of the present embodiment, and the description is not repeated here.
Referring to fig. 5, an embodiment of the present application further provides a video streaming method applied to a client, exemplarily, the video streaming method includes steps S310 to S350:
step S310: and receiving the display parameters and the initial coding frame sent by the server, and decoding the initial coding frame.
Step S320: whether the initial coding frame is decoded abnormally is detected.
Step S330: when the initial coding frame is decoded abnormally, sending decoding abnormal information to the server side, enabling the server side to add at least one key frame according to the decoding abnormal information, coding the at least one key frame to obtain at least one corresponding key coding frame, and sending the at least one key coding frame to the client side.
Step S340: at least one key encoded frame is received, decoded and displayed based on the display parameters and the at least one key encoded frame.
Step S350: and when the initial coding frame is decoded normally, decoding and displaying based on the display parameters and the initial coding frame.
It is understood that the method steps of the present embodiment correspond to the client 11 performing corresponding functions in the video streaming system in the above embodiment, wherein the options for the client 11 in the above video streaming method are also applicable to the method of the present embodiment, and the description is not repeated here.
Referring to fig. 6, based on the method of the foregoing embodiment, the embodiment of the present application further provides a video streaming apparatus 20, which is applied to a server, where the video streaming apparatus 20 includes:
an obtaining module 21, configured to obtain the display parameters and the initial key frames in the video stream.
The sending module 22 is configured to code the initial key frame to obtain an initial encoded frame, send the display parameter and the initial encoded frame to the client, so that the client decodes the initial encoded frame, and send decoding abnormality information to the server when the initial encoded frame is decoded abnormally.
The display module 23 is configured to add at least one key frame according to the decoding abnormality information, encode the at least one key frame to obtain at least one corresponding key encoding frame, and send the at least one key encoding frame to the client, so that the client decodes and displays the at least one key encoding frame based on the at least one key encoding frame.
The video streaming apparatus 20 of this embodiment is configured to execute the video streaming method of the foregoing embodiment, and the implementation and beneficial effects of the foregoing embodiment are also applicable to this embodiment, and are not described herein again.
The embodiment of the present application further provides a terminal device, which includes a memory and a processor, where the memory stores a computer program, and the computer program executes the video streaming method in the foregoing embodiment when running on the processor.
Embodiments of the present application also provide a readable storage medium, which stores a computer program that, when executed on a processor, implements the video streaming method in the above embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention or a part of the technical solution that contributes to the prior art in essence can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a smart phone, a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention.

Claims (10)

1. A video streaming system, the system comprising a client and a server, comprising:
the client is used for receiving the display parameters and the initial coding frame, decoding the initial coding frame, and sending decoding abnormal information to the server when the initial coding frame is decoded abnormally;
the server is further used for adding at least one key frame according to the decoding abnormal information, coding the at least one key frame to obtain at least one corresponding key coding frame, and sending the at least one key coding frame to the client;
the client is further configured to receive the at least one key encoded frame, decode and display based on the display parameter and the at least one key encoded frame.
2. The video streaming system of claim 1, further comprising:
and the client is also used for decoding and displaying based on the display parameters and the initial coding frame when the initial coding frame is decoded normally.
3. The video streaming system of claim 1, further comprising:
the server is also used for receiving a connection request sent by the client and establishing connection with the client according to the connection request;
the server is used for acquiring the display parameters and the initial key frames in the video stream, encoding the initial key frames to obtain the initial encoding frames, and sending the display parameters and the initial encoding frames to the client.
4. The video streaming system of claim 1, wherein when the at least one key frame is N key frames, the N key frames are consecutive N key frames starting from a second key frame, and N is an integer greater than or equal to 2.
5. A video streaming method, applied to a server, the method comprising:
acquiring display parameters and initial key frames in a video stream;
encoding the initial key frame to obtain an initial encoding frame, sending the display parameter and the initial encoding frame to a client so that the client decodes the initial encoding frame, and sending decoding abnormal information to the server when the initial encoding frame is decoded abnormally;
and adding at least one key frame according to the decoding abnormal information, coding the at least one key frame to obtain at least one corresponding key coding frame, and sending the at least one key coding frame to the client so that the client decodes and displays the at least one key coding frame.
6. A video streaming method applied to a client, the method comprising:
receiving display parameters and an initial coding frame sent by a server, and decoding the initial coding frame;
when the initial coding frame is decoded abnormally, sending decoding abnormal information to the server side, so that the server side adds at least one key frame according to the decoding abnormal information, encodes the at least one key frame to obtain at least one corresponding key coding frame, and sends the at least one key coding frame to the client side;
receiving the at least one key encoded frame, decoding and displaying based on the display parameters and the at least one key encoded frame.
7. The video streaming method according to claim 6, further comprising:
and when the initial coding frame is decoded normally, decoding and displaying based on the display parameters and the initial coding frame.
8. A video streaming apparatus, applied to a server, the apparatus comprising:
the acquisition module is used for acquiring display parameters and initial key frames in the video stream;
a sending module, configured to code the initial key frame to obtain an initial encoded frame, send the display parameter and the initial encoded frame to a client, so that the client decodes the initial encoded frame, and send decoding abnormality information to the server when the initial encoded frame is decoded abnormally;
and the display module is used for adding at least one key frame according to the decoding abnormal information, coding the at least one key frame to obtain at least one corresponding key coding frame, and sending the at least one key coding frame to the client so that the client decodes and displays the at least one key coding frame.
9. A terminal device, characterized in that it comprises a memory and a processor, the memory storing a computer program which, when run on the processor, performs the video streaming method of any of claims 5 to 7.
10. A readable storage medium, characterized in that it stores a computer program which, when run on a processor, performs the video streaming method of any of claims 5 to 7.
CN202210801914.2A 2022-07-07 2022-07-07 Video stream transmission method, system, device and terminal equipment Pending CN115086780A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210801914.2A CN115086780A (en) 2022-07-07 2022-07-07 Video stream transmission method, system, device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210801914.2A CN115086780A (en) 2022-07-07 2022-07-07 Video stream transmission method, system, device and terminal equipment

Publications (1)

Publication Number Publication Date
CN115086780A true CN115086780A (en) 2022-09-20

Family

ID=83258601

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210801914.2A Pending CN115086780A (en) 2022-07-07 2022-07-07 Video stream transmission method, system, device and terminal equipment

Country Status (1)

Country Link
CN (1) CN115086780A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360243A (en) * 2008-09-24 2009-02-04 腾讯科技(深圳)有限公司 Video communication system and method based on feedback reference frame
US20100238789A1 (en) * 2009-03-18 2010-09-23 Microsoft Corporation Error recovery in an audio-video multipoint control component
US20130329798A1 (en) * 2012-06-08 2013-12-12 Apple Inc. Inferred key frames for fast initiation of video coding sessions
CN106713947A (en) * 2016-12-13 2017-05-24 飞狐信息技术(天津)有限公司 Method and device for reducing live broadcasting time delay and standstill as well as live broadcasting system
CN111478916A (en) * 2020-04-15 2020-07-31 北京仁光科技有限公司 Data transmission method, device and storage medium based on video stream
CN112153413A (en) * 2020-08-25 2020-12-29 广州市保伦电子有限公司 Method and server for processing screen splash in one-screen broadcast
US20210092412A1 (en) * 2019-09-23 2021-03-25 Axis Ab Video encoding method and method for reducing file size of encoded video

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360243A (en) * 2008-09-24 2009-02-04 腾讯科技(深圳)有限公司 Video communication system and method based on feedback reference frame
US20100238789A1 (en) * 2009-03-18 2010-09-23 Microsoft Corporation Error recovery in an audio-video multipoint control component
US20130329798A1 (en) * 2012-06-08 2013-12-12 Apple Inc. Inferred key frames for fast initiation of video coding sessions
CN106713947A (en) * 2016-12-13 2017-05-24 飞狐信息技术(天津)有限公司 Method and device for reducing live broadcasting time delay and standstill as well as live broadcasting system
US20210092412A1 (en) * 2019-09-23 2021-03-25 Axis Ab Video encoding method and method for reducing file size of encoded video
CN111478916A (en) * 2020-04-15 2020-07-31 北京仁光科技有限公司 Data transmission method, device and storage medium based on video stream
CN112153413A (en) * 2020-08-25 2020-12-29 广州市保伦电子有限公司 Method and server for processing screen splash in one-screen broadcast

Similar Documents

Publication Publication Date Title
US9414086B2 (en) Partial frame utilization in video codecs
US20080084927A1 (en) Real-time network adaptive digital video encoding/decoding
JPH08111867A (en) Coding method and decoding method for dynamic image
CN101742289B (en) Method, system and device for compressing video code stream
CN111641804A (en) Video data processing method and device, terminal, camera and video conference system
WO2021057697A1 (en) Video encoding and decoding methods and apparatuses, storage medium, and electronic device
CN115134629B (en) Video transmission method, system, equipment and storage medium
CN113794903A (en) Video image processing method and device and server
JP2007507128A (en) Video picture encoding and decoding with delayed reference picture refresh
US11849127B2 (en) Video encoding method, video decoding method, and related apparatuses
Brites et al. Feedback channel in pixel domain Wyner-Ziv video coding: myths and realities
CN114125448B (en) Video coding method, decoding method and related devices
US8798140B2 (en) Encoding video frames in a video encoder
US9426460B2 (en) Electronic devices for signaling multiple initial buffering parameters
CN110572677B (en) Video encoding and decoding method and device, storage medium and electronic device
JP5784823B2 (en) On-demand intra-refresh for end-to-end coded video transmission systems
CN111770347A (en) Video transmission method and system
EP2177034B1 (en) Method and device for reconstructing a picture
CN115086780A (en) Video stream transmission method, system, device and terminal equipment
JP2007166618A (en) Video data encoder, video data decoder, video data encoding method, and video data decoding method
CN116962613A (en) Data transmission method and device, computer equipment and storage medium
WO2021057676A1 (en) Video coding method and apparatus, video decoding method and apparatus, electronic device and readable storage medium
CN108933762B (en) Media stream playing processing method and device
CN101841704A (en) Method and device for compressing and decompressing video bit stream
US20030108104A1 (en) Video encoding and decoding method of mitigating data losses in an encoded video signal transmitted through a channel

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