CN116886973A - Fast switching equipment and method based on H.264 and H.265 video multicast code streams - Google Patents

Fast switching equipment and method based on H.264 and H.265 video multicast code streams Download PDF

Info

Publication number
CN116886973A
CN116886973A CN202310863062.4A CN202310863062A CN116886973A CN 116886973 A CN116886973 A CN 116886973A CN 202310863062 A CN202310863062 A CN 202310863062A CN 116886973 A CN116886973 A CN 116886973A
Authority
CN
China
Prior art keywords
video
multicast
stream
frame
switching
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
CN202310863062.4A
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.)
Guangdong Baolun Electronics Co ltd
Original Assignee
Guangdong Baolun Electronics 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 Guangdong Baolun Electronics Co ltd filed Critical Guangdong Baolun Electronics Co ltd
Priority to CN202310863062.4A priority Critical patent/CN116886973A/en
Publication of CN116886973A publication Critical patent/CN116886973A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • 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/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
    • H04N21/4383Accessing a communication channel
    • H04N21/4384Accessing a communication channel involving operations to reduce the access time, e.g. fast-tuning for reducing channel switching latency
    • 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/64Addressing
    • H04N21/6405Multicasting

Abstract

The invention relates to the technical field of distributed audio and video code stream switching, in particular to a device and a method for rapidly switching video multicast code streams based on H.264 and H.265, which aim to solve the problem that after a stream is taken and a group is added, an acquired first frame is not necessarily an I frame, decoding can not be performed until the I frame is acquired, and video cannot be rapidly switched. The invention comprises the following steps: the management unit issues and manages the instruction; the multi-layer switching network is used for data transmission in video switching; the video transmitting node performs video source deep compression and transmits the video in a multicast mode; and the video receiving node decodes the deep compression multicast code stream, processes the deep compression multicast code stream and sends the deep compression multicast code stream to the display equipment for display. When the video is transmitted by using the deep compressed code stream, the video grouping and stream taking is finished in advance by prejudging the operation behavior of the user under the condition of not reducing the interval of I frames, and the video decoding of the latest frame is realized by using the latest GOP strategy of the buffer memory, so that the video is quickly switched.

Description

Fast switching equipment and method based on H.264 and H.265 video multicast code streams
Technical Field
The invention relates to the technical field of distributed audio and video code stream switching, in particular to a rapid switching device and method based on H.264 and H.265 video multicast code streams.
Background
In the conventional application, for streaming video transmission of deep compressed codes in a multicast form, such as a video switching system of splicing, matrix and seat, a video receiving node acquires a source video code stream in a grouping mode, decodes the source video code stream and displays the source video code stream on a display unit.
However, with multicast-based video switching, the video switching time is typically long because the first I-frame needs to be waited for when it is not predictable. Further, if the waiting time is reduced by reducing the time of the I-frame interval, the network average bandwidth and burst bandwidth of the video receiving node become very tight, resulting in a reduced capability of concurrently receiving video.
Disclosure of Invention
Therefore, the invention provides a quick switching device and a quick switching method for a video multicast code stream based on H.264 and H.265, which are used for solving the problems of low video switching speed and poor user experience in the prior art.
In order to achieve the above objective, the present invention provides a fast switching device and method based on h.264, h.265 video multicast code streams, including:
step S1, a user selects a required video source and a display unit on a video quick switching interface of a management unit; the video receiving node corresponding to the display unit performs multicast grouping while the user selects a required video source, and caches a GOP of the newly acquired video source;
step S2, the management unit issues a video streaming instruction to a video sending node corresponding to a video source, and issues a video switching instruction to a video receiving node corresponding to a display unit;
and S3, the video receiving node performs stream fetching of the deep compression multicast code stream, performs video decoding and display by combining with the cached GOP of the latest acquired video source, and completes video fast switching.
Further, the video decoding method comprises the following steps: if the first received complete frame is an I frame, directly decoding and displaying;
if the first complete frame received is a P frame, the buffered GOP is decoded first and then the P frame is decoded.
An h.264 and h.265 video multicast-based code stream device, comprising:
the management unit is connected with the multi-layer switching network and is used for issuing and managing different video transmission switching instructions of the system;
a multi-layer switching network including a plurality of switches of different rates for data transmission in video transmission switching;
one or more video sending nodes for deeply compressing the corresponding video sources and sending the video sources to the multi-layer switching network in a multicast mode;
and the one or more video receiving nodes are used for decoding the deep compression multicast code stream received from the multi-layer switching network, performing one or more operations of shrinking, amplifying and cutting on the decoded video, and sending the decoded video to the display unit.
Further, the deep compression multicast code stream is a mixed code stream of an I frame and a P frame which are sent at a set time interval;
the I frames are key frames of a deep compression multicast code stream;
the P-frames are predicted frames of the deep compressed multicast code stream.
Further, in the decoding of the deep compressed multicast code stream, if the received first complete frame is an I frame, the first complete frame is directly decoded and displayed; if the first complete frame received is a P frame, the decoding display is waited for when the next I frame is received.
Further, the management unit comprises a signal source list and a display unit list on a video quick switching interface;
the signal source list comprises one or more signal sources corresponding to the video sending nodes, and the signal sources are marked as a signal source 1, a signal source 2, a signal source … and a signal source N;
the display unit list comprises one or more display units corresponding to the video receiving nodes, and is marked as a display unit 1, display units 2 and … and a display unit M.
Further, the video fast switching device further comprises a display device;
the display devices are in one-to-one correspondence with the display units in the display unit list.
Further, the video fast switching device further comprises a video source;
the video sources are in one-to-one correspondence with the signal sources in the signal source list.
Further, the fast switching device is an electronic device, including:
a plurality of processors; a plurality of memories communicatively coupled to the processor; wherein the memory stores instructions executable by the processor for execution by the processor to implement the fast h.264, h.265 video multicast stream based method of any of claims 1-2.
A computer readable storage medium storing computer instructions for execution by the computer to implement the fast h.264, h.265 video multicast stream based handoff method of any of claims 1-2.
Compared with the prior art, the fast switching device based on the H.264 and H.265 video multicast code streams has the beneficial effects that in a distributed video switching system, when the video is transmitted by using the deep compressed code streams, the video is added and streamed in advance by prejudging the operation behaviors of a user under the condition of not reducing the I frame interval, and the video decoding is finished as soon as possible by using a latest GOP strategy of buffering, so that the video switching speed is improved, the optimal experience is brought to the user, and the quality of the video is ensured not to be lost additionally.
Furthermore, the fast switching device based on the H.264 and H.265 video multicast code streams can also accelerate the decoding display speed by reducing the I frame interval time under the condition of not using the strategy of buffering GOP.
Drawings
Fig. 1 is a flow chart of a fast switching method based on h.264 and h.265 video multicast code streams according to the present invention;
fig. 2 is a schematic diagram of a deep compressed video frame composition of an embodiment of a fast switching method based on h.264 and h.265 video multicast streams according to the present invention;
fig. 3 is a management unit video switching interface according to an embodiment of the fast switching method based on h.264 and h.265 video multicast streams in the present invention;
fig. 4 is a schematic diagram of a group of images in a deep compressed video frame according to an embodiment of the fast switching method based on h.264 and h.265 video multicast streams.
Detailed Description
In order that the objects and advantages of the invention will become more apparent, the invention will be further described with reference to the following examples; it should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are merely for explaining the technical principles of the present invention, and are not intended to limit the scope of the present invention.
It should be noted that, in the description of the present invention, terms such as "upper," "lower," "left," "right," "inner," "outer," and the like indicate directions or positional relationships based on the directions or positional relationships shown in the drawings, which are merely for convenience of description, and do not indicate or imply that the apparatus or elements must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present invention.
Furthermore, it should be noted that, in the description of the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention can be understood by those skilled in the art according to the specific circumstances.
Fig. 1 is a flowchart of a fast switching method based on h.264 and h.265 video multicast streams according to an embodiment of the present invention.
The embodiment of the invention discloses a fast switching method based on H.264 and H.265 video multicast code streams, which comprises the following steps:
step S1, a user selects a required video source and a display unit on a video quick switching interface of a management unit; the video receiving node corresponding to the display unit performs multicast grouping while the user selects a required video source, and caches a GOP of the newly acquired video source;
step S2, the management unit issues a video streaming instruction to a video sending node corresponding to a video source, and issues a video switching instruction to a video receiving node corresponding to a display unit;
and S3, the video receiving node performs stream fetching of the deep compression multicast code stream, performs video decoding and display by combining with the cached GOP of the latest acquired video source, and completes video fast switching.
The invention is based on H.264, H.265 video multicast code stream fast switching equipment, in a distributed video switching system, when using the deep compressed code stream to transmit video, under the condition of not reducing I frame interval, through prejudging the operation behavior of users, finish video grouping and stream taking in advance, use and cache a latest GOP strategy, finish video decoding as soon as possible, thus has improved the switching speed of the video, bring the best experience to users, can guarantee the quality of the video not to receive the extra loss at the same time.
Specifically, the video decoding method comprises the following steps: if the first received complete frame is an I frame, directly decoding and displaying;
if the first complete frame received is a P frame, the buffered GOP is decoded first and then the P frame is decoded.
The invention relates to H.264 and H.265 video multicast code stream equipment, which is characterized by comprising the following components:
the management unit is connected with the multi-layer switching network and is used for issuing and managing different video transmission switching instructions of the system;
a multi-layer switching network including a plurality of switches of different rates for data transmission in video transmission switching;
one or more video sending nodes for deeply compressing the corresponding video sources and sending the video sources to the multi-layer switching network in a multicast mode;
and the one or more video receiving nodes are used for decoding the deep compression multicast code stream received from the multi-layer switching network, performing one or more operations of shrinking, amplifying and cutting on the decoded video, and sending the decoded video to the display unit.
Fig. 2 is a schematic diagram showing a deep compressed video frame composition according to an embodiment of the fast switching method based on h.264 and h.265 video multicast streams.
Specifically, the deep compressed multicast code stream is a mixed code stream of an I frame and a P frame sent at a set time interval;
the I frames are key frames of a deep compression multicast code stream;
the P-frames are predicted frames of the deep compressed multicast code stream.
Specifically, in the decoding of the deep compressed multicast code stream, if the first received complete frame is an I frame, the first complete frame is directly decoded and displayed; if the first complete frame received is a P frame, the decoding display is waited for when the next I frame is received.
Fig. 3 shows a management unit video switching interface according to an embodiment of the fast switching method based on h.264 and h.265 video multicast streams.
Specifically, the management unit comprises a signal source list and a display unit list on a video quick switching interface;
the signal source list comprises one or more signal sources corresponding to the video sending nodes, and the signal sources are marked as a signal source 1, a signal source 2, a signal source … and a signal source N;
the display unit list comprises one or more display units corresponding to the video receiving nodes, and is marked as a display unit 1, display units 2 and … and a display unit M.
Fig. 4 is a schematic diagram showing a group of images in a deep compressed video frame according to an embodiment of the fast switching method based on h.264 and h.265 video multicast streams.
Specifically, the video fast switching device further comprises a display device;
the display devices are in one-to-one correspondence with the display units in the display unit list.
Specifically, the video fast switching device further comprises a video source;
the video sources are in one-to-one correspondence with the signal sources in the signal source list.
Specifically, the fast switching device is an electronic device, including:
a plurality of processors; a plurality of memories communicatively coupled to the processor; wherein the memory stores instructions executable by the processor for execution by the processor to implement the fast h.264, h.265 video multicast stream based method of any of claims 1-2.
In particular, a computer readable storage medium storing computer instructions for execution by the computer to implement the fast handover method based on the h.264, h.265 video multicast stream as claimed in any one of claims 1-2.
The fast switching device based on the H.264 and H.265 video multicast code streams can also accelerate the decoding display speed by reducing the I frame interval time under the condition of not using the strategy of caching GOP.
Thus far, the technical solution of the present invention has been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of protection of the present invention is not limited to these specific embodiments. Equivalent modifications and substitutions for related technical features may be made by those skilled in the art without departing from the principles of the present invention, and such modifications and substitutions will be within the scope of the present invention.
The foregoing description is only of the preferred embodiments of the invention and is not intended to limit the invention; various modifications and variations of the present invention will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. The fast switching method based on the H.264 and H.265 video multicast code streams is characterized by comprising the following steps of:
step S1, a user selects a required video source and a display unit on a video quick switching interface of a management unit; the video receiving node corresponding to the display unit performs multicast grouping while the user selects a required video source, and caches a GOP of the newly acquired video source;
step S2, the management unit issues a video streaming instruction to a video sending node corresponding to a video source, and issues a video switching instruction to a video receiving node corresponding to a display unit;
and S3, the video receiving node performs stream fetching of the deep compression multicast code stream, performs video decoding and display by combining with the cached GOP of the latest acquired video source, and completes video fast switching.
2. The fast switching method based on h.264 and h.265 video multicast streams according to claim 1, wherein the method for decoding video is as follows: if the first received complete frame is an I frame, directly decoding and displaying;
if the first complete frame received is a P frame, the buffered GOP is decoded first and then the P frame is decoded.
3. An h.264, h.265 video multicast-based bitstream device implementing the fast handover method of any one of claims 1 and 2, comprising:
the management unit is connected with the multi-layer switching network and is used for issuing and managing different video transmission switching instructions of the system;
a multi-layer switching network including a plurality of switches of different rates for data transmission in video transmission switching;
one or more video sending nodes for deeply compressing the corresponding video sources and sending the video sources to the multi-layer switching network in a multicast mode;
and the one or more video receiving nodes are used for decoding the deep compression multicast code stream received from the multi-layer switching network, performing one or more operations of shrinking, amplifying and cutting on the decoded video, and sending the decoded video to the display unit.
4. The h.264 and h.265 video multicast stream-based fast switching device according to claim 3, wherein said deep compressed multicast stream is a mixed stream of I frames and P frames transmitted at a set time interval;
the I frames are key frames of a deep compression multicast code stream;
the P-frames are predicted frames of the deep compressed multicast code stream.
5. The h.264 and h.265 video multicast stream-based fast switching device according to claim 4, wherein said deep compressed multicast stream is decoded and displayed directly if the first complete frame received during decoding is an I frame; if the first complete frame received is a P frame, the decoding display is waited for when the next I frame is received.
6. The h.264 and h.265 video multicast stream-based fast switching device according to claim 3, wherein said management unit has a video fast switching interface comprising a list of signal sources and a list of display units;
the signal source list comprises one or more signal sources corresponding to the video sending nodes, and the signal sources are marked as a signal source 1, a signal source 2, a signal source … and a signal source N;
the display unit list comprises one or more display units corresponding to the video receiving nodes, and is marked as a display unit 1, display units 2 and … and a display unit M.
7. The h.264, h.265 video multicast stream-based fast switching device of claim 6, further comprising a display device;
the display devices are in one-to-one correspondence with the display units in the display unit list.
8. The h.264, h.265 video multicast stream-based fast switching device of claim 6, further comprising a video source;
the video sources are in one-to-one correspondence with the signal sources in the signal source list.
9. The h.264 and h.265 video multicast stream-based fast switching device of claim 6, wherein said fast switching device is an electronic device comprising:
a plurality of processors; a plurality of memories communicatively coupled to the processor; wherein the memory stores instructions executable by the processor for execution by the processor to implement the fast h.264, h.265 video multicast stream based method of any of claims 1-2.
10. A computer readable storage medium storing computer instructions for execution by the computer to implement the fast h.264, h.265 video multicast stream based handoff method of any of claims 1-2.
CN202310863062.4A 2023-07-13 2023-07-13 Fast switching equipment and method based on H.264 and H.265 video multicast code streams Pending CN116886973A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310863062.4A CN116886973A (en) 2023-07-13 2023-07-13 Fast switching equipment and method based on H.264 and H.265 video multicast code streams

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310863062.4A CN116886973A (en) 2023-07-13 2023-07-13 Fast switching equipment and method based on H.264 and H.265 video multicast code streams

Publications (1)

Publication Number Publication Date
CN116886973A true CN116886973A (en) 2023-10-13

Family

ID=88263938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310863062.4A Pending CN116886973A (en) 2023-07-13 2023-07-13 Fast switching equipment and method based on H.264 and H.265 video multicast code streams

Country Status (1)

Country Link
CN (1) CN116886973A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117156223A (en) * 2023-10-31 2023-12-01 中央广播电视总台 Real-time stream switching method, device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117156223A (en) * 2023-10-31 2023-12-01 中央广播电视总台 Real-time stream switching method, device, electronic equipment and storage medium
CN117156223B (en) * 2023-10-31 2024-03-15 中央广播电视总台 Real-time stream switching method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US8253775B2 (en) Multipoint conference system, multipoint conference method, and program
US9497502B2 (en) Method and apparatus enabling fast channel change for DSL system
EP1815684B1 (en) Method and apparatus for channel change in dsl system
WO2016131223A1 (en) Frame loss method for video frame and video sending apparatus
US20080018803A1 (en) Fast Channel Change in Digital Video Broadcast Systems over Dsl Using Redundant Video Streams
US11172227B2 (en) Video sending and receiving method, apparatus, and terminal thereof
CN106961625B (en) Channel switching method and device
CN107566855B (en) Method for quickly switching channels, server and set top box
CN116886973A (en) Fast switching equipment and method based on H.264 and H.265 video multicast code streams
US10382809B2 (en) Method and decoder for decoding a video bitstream using information in an SEI message
CN110708569B (en) Video processing method and device, electronic equipment and storage medium
US20100132007A1 (en) Accelerating channel change time with external picture property markings
CN111447457A (en) Live video processing method and device and storage medium
KR20090037741A (en) Remote surveillance system using a network camera
EP1993289A1 (en) System having improved switching times between broadcast/multicast bearers
EP2047681B1 (en) Technique for media frame decoding
CN115695856B (en) Video multicast code stream fast switching device, method, electronic device and storage medium
CN114079796A (en) Channel switching method, device and system
CN110971860B (en) Display method and device
KR102531337B1 (en) Device, server and method for providing broadcast channel
WO2021012180A1 (en) Transmission control method and device for code streams, and computer readable storage medium
JP2004007066A (en) Picture transmission device
JP2011061287A (en) Communication control device, communication control method, and communication control program
CN112672147A (en) Decoding method, device and system based on screen projection
MX2008000117A (en) Multi-point conference system, multi-point conference method, and program.

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