CN103338392A - Method for seamless switching of images in video polling - Google Patents
Method for seamless switching of images in video polling Download PDFInfo
- Publication number
- CN103338392A CN103338392A CN2013102366060A CN201310236606A CN103338392A CN 103338392 A CN103338392 A CN 103338392A CN 2013102366060 A CN2013102366060 A CN 2013102366060A CN 201310236606 A CN201310236606 A CN 201310236606A CN 103338392 A CN103338392 A CN 103338392A
- Authority
- CN
- China
- Prior art keywords
- prediction scheme
- video
- frame
- media server
- streaming media
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention provides a method for seamless switching of images in a video recycle, which comprises the following steps: step 1, a terminal user side configures a pre-arranged plan, wherein the plan comprises a plurality of video stream channels; step 2, in the 15 seconds before the switching of the pre-arranged plan, a client side informs a streaming media server to be ready in advance; step 3, the streaming media server stores a nearest I frame in videos shot by each camera in the pre-arranged plan; step 4, when the switching time approaches, the streaming media server sends the nearest I frame firstly, and then other P frames to which the I frame corresponds, so as to realize the seamless switching of the images in the video polling.
Description
[technical field]
The present invention relates to a kind of method of video taking turn seamless switching picture.
[background technology]
Digital video generally adopts the H264 standard that the analog signal of camera input is carried out digital coding, in order to reduce transmission and to preserve required bandwidth and the memory space of digital video signal, signal behind the coding is divided into I frame and P frame, the I frame is key frame, do not have the I frame, the follow-up P frame that receives can't be decoded and be reverted to analog signal and carry out video playback.The sequence of general digital video signal be an I frame heel with several P frame, the I frame has been preserved the complete information of piece image, the size behind the coding is bigger, the P frame is preserved with respect to the I frame, the information that image changes, so size is less.
When the terminal use need check a certain video, generally be to file an application to streaming media server, if streaming media server is being transmitted this passage video, then increase and be transmitted to this user, if streaming media server is not being transmitted this passage video, then streaming media server is submitted the preview video application to the camera passage of user's appointment.Terminal use end can dispose prediction scheme, and a prediction scheme comprises a plurality of camera passages, and the user can once watch a plurality of video playback by prediction scheme, and when prediction scheme time during to point, taking turn switches to next group prediction scheme and carries out the picture demonstration automatically.But, following problem can appear in this processing mode: when the prediction scheme time point then, the application of next the group video channel of preview of filing an application to streaming media server, because application constantly, just the I frame arrives, and may cause existing on the screen some seconds no video (and blank screen), simultaneously, also there is the network delay reason, causes on the screen some seconds no video.
[summary of the invention]
The technical problem to be solved in the present invention is to provide a kind of method of video taking turn seamless switching picture, and present technique reaches the seamless switching of picture by catching nearest I frame.
The present invention is achieved in that
A kind of method of video taking turn seamless switching picture comprises the steps:
Step 1, terminal use hold the configuration prediction scheme, dispose the demonstration time of described prediction scheme, and described prediction scheme comprises a plurality of video flowing passages; The prediction scheme of described prediction scheme for showing, the video flowing passage of a plurality of video flowing passages that comprise in the prediction scheme for showing;
Step 2, is set the prior notice time that prediction scheme is switched, when the described prior notice time then, client notification streams media server is ready;
Step 3, described streaming media server are preserved I frame nearest in the video that each camera is taken in the described prediction scheme and P frame subsequently;
Step 4, switching time, then described streaming media server at first sent described nearest I frame, sent the remaining P frame of this nearest I frame correspondence again, thus the seamless switching of picture when having realized the video taking turn.
Further, when the terminal use required streaming media server to close a certain video flowing, described streaming media server checked whether the passage of this video flowing correspondence is contained in the described prediction scheme, if then the passage of this video flowing correspondence is not done and closed.
Further, in the described step 2, the prior notice time is 15 seconds, switches preceding 15 seconds in prediction scheme, and client notification streams media server is ready.
The present invention has following advantage:
The present invention by prior notice time of switching in prediction scheme then, client prior notice streaming media server is ready, described streaming media server is preserved nearest I frame in the video that each camera is taken in the described prediction scheme; Switching time, then described streaming media server at first sent described nearest I frame, sent the remaining P frame of this nearest I frame correspondence again, thus the seamless switching of picture when having realized the video taking turn.
[description of drawings]
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the inventive method structural representation.
[embodiment]
A kind of method of video taking turn seamless switching picture comprises the steps:
Step 1, terminal use hold the configuration prediction scheme, dispose the demonstration time of described prediction scheme, and described prediction scheme comprises a plurality of video flowing passages; The prediction scheme of described prediction scheme for showing, the video flowing passage of a plurality of video flowing passages that comprise in the prediction scheme for showing;
Step 2, is set the prior notice time that prediction scheme is switched, when the described prior notice time then, client notification streams media server is ready; The described prior notice time is early than the demonstration time of described prediction scheme; At present embodiment be, the prior notice time is 15 seconds, switches preceding 15 seconds in prediction scheme, and client notification streams media server is ready;
Step 3, described streaming media server are preserved I frame nearest in the video that each camera is taken in the described prediction scheme and P frame subsequently; Because the I frame of each video flowing passage is that nearest I frame is exactly every one of some time (such as every 1 second): the I frame of Dao Laiing and the P frame of arrival the latest subsequently cover previous I frame and the P frame of preserving;
Step 4, switching time are then, described streaming media server at first sends described nearest I frame, send the remaining P frame of this nearest I frame correspondence again, because streaming media server in time captures nearest I frame, thereby some seconds no video (and blank screen) can not appear in the seamless switching of picture when having realized the video taking turn on the screen.
In step 1 to step 4 implementation, when if the terminal use requires streaming media server to close a certain video flowing, described streaming media server checks earlier whether the passage of this video flowing correspondence is contained in the described prediction scheme, if then the passage of this video flowing correspondence is not done and closed.Because the video that will browse this passage is the video flowing passage of prediction scheme, streaming media server will be preserved nearest I frame and P frame subsequently, therefore can not close this passage; Simultaneously, also avoid operations such as passage opens and closes frequently, improved the response speed of poll.
The present invention by prior notice time of switching in prediction scheme then, client prior notice streaming media server is ready, described streaming media server is preserved nearest I frame in the video that each camera is taken in the described prediction scheme; Switching time, then described streaming media server at first sent described nearest I frame, sent the remaining P frame of this nearest I frame correspondence again, thus the seamless switching of picture when having realized the video taking turn.
Though more than described the specific embodiment of the present invention; but being familiar with those skilled in the art is to be understood that; our described specific embodiment is illustrative; rather than for the restriction to scope of the present invention; those of ordinary skill in the art are in modification and the variation of the equivalence of doing according to spirit of the present invention, all should be encompassed in the scope that claim of the present invention protects.
Claims (3)
1. the method for a video taking turn seamless switching picture is characterized in that: comprise the steps:
Step 1, terminal use hold the configuration prediction scheme, dispose the demonstration time of described prediction scheme, and described prediction scheme comprises a plurality of video flowing passages; The prediction scheme of described prediction scheme for showing, the video flowing passage of a plurality of video flowing passages that comprise in the prediction scheme for showing;
Step 2, is set the prior notice time that prediction scheme is switched, when the described prior notice time then, client notification streams media server is ready;
Step 3, described streaming media server are preserved I frame nearest in the video that each camera is taken in the described prediction scheme and P frame subsequently;
Step 4, switching time, then described streaming media server at first sent described nearest I frame, sent the remaining P frame of this nearest I frame correspondence again, thus the seamless switching of picture when having realized the video taking turn.
2. the method for a kind of video taking turn seamless switching picture according to claim 1, it is characterized in that: when the terminal use requires streaming media server to close a certain video flowing, described streaming media server checks whether the passage of this video flowing correspondence is contained in the described prediction scheme, if then the passage of this video flowing correspondence is not done and is closed.
3. the method for a kind of video taking turn seamless switching picture according to claim 1, it is characterized in that: in the described step 2, the prior notice time is 15 seconds, switches preceding 15 seconds in prediction scheme, client notification streams media server is ready.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013102366060A CN103338392A (en) | 2013-06-14 | 2013-06-14 | Method for seamless switching of images in video polling |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013102366060A CN103338392A (en) | 2013-06-14 | 2013-06-14 | Method for seamless switching of images in video polling |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103338392A true CN103338392A (en) | 2013-10-02 |
Family
ID=49246476
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013102366060A Pending CN103338392A (en) | 2013-06-14 | 2013-06-14 | Method for seamless switching of images in video polling |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103338392A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104010139A (en) * | 2014-05-23 | 2014-08-27 | 杭州宽云视讯科技有限公司 | Method for achieving video stream seamless switching based on DPI packet inspection technology |
CN106231208A (en) * | 2016-08-09 | 2016-12-14 | 杭州当虹科技有限公司 | A kind of multi-screen that realizes monitors mechanism and the method thereof of seamless taking turn |
CN106507123A (en) * | 2016-11-07 | 2017-03-15 | 天脉聚源(北京)传媒科技有限公司 | A kind of Promgramming method and system of virtual channel |
CN106550249A (en) * | 2016-11-07 | 2017-03-29 | 天脉聚源(北京)传媒科技有限公司 | A kind of Promgramming method and system of virtual channel |
CN107979777A (en) * | 2016-10-25 | 2018-05-01 | 央视国际网络无锡有限公司 | A kind of live TV stream seamless handover method and device |
CN110830758A (en) * | 2018-08-07 | 2020-02-21 | 浙江宇视科技有限公司 | Video polling method, device, video server and storage medium |
CN114827553A (en) * | 2022-06-28 | 2022-07-29 | 深圳市信润富联数字科技有限公司 | Video patrol control method, device, equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101131408A (en) * | 2006-12-31 | 2008-02-27 | 台达电子电源(东莞)有限公司 | Electrostatic testing apparatus |
US20100023504A1 (en) * | 2008-07-22 | 2010-01-28 | Elumindata, Inc. | System and method for automatically selecting a data source for providing data related to a query |
CN101742271A (en) * | 2008-11-10 | 2010-06-16 | 华为技术有限公司 | Method, system and device for transmitting stream media data |
CN102547411A (en) * | 2010-12-14 | 2012-07-04 | 康佳集团股份有限公司 | Method for transmitting and playing streaming video, and implementation device thereof |
CN102811342A (en) * | 2011-06-02 | 2012-12-05 | 华为软件技术有限公司 | Video profile cut control method, device and system |
CN103139641A (en) * | 2011-12-02 | 2013-06-05 | 三星电子(中国)研发中心 | Method and device for achieving audio/video seamless switching in real-time digital television time shifting playing |
-
2013
- 2013-06-14 CN CN2013102366060A patent/CN103338392A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101131408A (en) * | 2006-12-31 | 2008-02-27 | 台达电子电源(东莞)有限公司 | Electrostatic testing apparatus |
US20100023504A1 (en) * | 2008-07-22 | 2010-01-28 | Elumindata, Inc. | System and method for automatically selecting a data source for providing data related to a query |
CN101742271A (en) * | 2008-11-10 | 2010-06-16 | 华为技术有限公司 | Method, system and device for transmitting stream media data |
CN102547411A (en) * | 2010-12-14 | 2012-07-04 | 康佳集团股份有限公司 | Method for transmitting and playing streaming video, and implementation device thereof |
CN102811342A (en) * | 2011-06-02 | 2012-12-05 | 华为软件技术有限公司 | Video profile cut control method, device and system |
CN103139641A (en) * | 2011-12-02 | 2013-06-05 | 三星电子(中国)研发中心 | Method and device for achieving audio/video seamless switching in real-time digital television time shifting playing |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104010139A (en) * | 2014-05-23 | 2014-08-27 | 杭州宽云视讯科技有限公司 | Method for achieving video stream seamless switching based on DPI packet inspection technology |
CN104010139B (en) * | 2014-05-23 | 2017-02-22 | 杭州宽云视讯科技有限公司 | Method for achieving video stream seamless switching based on DPI packet inspection technology |
CN106231208A (en) * | 2016-08-09 | 2016-12-14 | 杭州当虹科技有限公司 | A kind of multi-screen that realizes monitors mechanism and the method thereof of seamless taking turn |
CN107979777A (en) * | 2016-10-25 | 2018-05-01 | 央视国际网络无锡有限公司 | A kind of live TV stream seamless handover method and device |
CN106507123A (en) * | 2016-11-07 | 2017-03-15 | 天脉聚源(北京)传媒科技有限公司 | A kind of Promgramming method and system of virtual channel |
CN106550249A (en) * | 2016-11-07 | 2017-03-29 | 天脉聚源(北京)传媒科技有限公司 | A kind of Promgramming method and system of virtual channel |
CN106550249B (en) * | 2016-11-07 | 2020-01-10 | 天脉聚源(北京)传媒科技有限公司 | Program scheduling method and system of virtual channel |
CN106507123B (en) * | 2016-11-07 | 2020-01-14 | 天脉聚源(北京)传媒科技有限公司 | Program scheduling method and system of virtual channel |
CN110830758A (en) * | 2018-08-07 | 2020-02-21 | 浙江宇视科技有限公司 | Video polling method, device, video server and storage medium |
CN110830758B (en) * | 2018-08-07 | 2021-12-28 | 浙江宇视科技有限公司 | Video polling method, device, video server and storage medium |
CN114827553A (en) * | 2022-06-28 | 2022-07-29 | 深圳市信润富联数字科技有限公司 | Video patrol control method, device, equipment and storage medium |
CN114827553B (en) * | 2022-06-28 | 2022-10-28 | 深圳市信润富联数字科技有限公司 | Video patrol control method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103338392A (en) | Method for seamless switching of images in video polling | |
US10856029B2 (en) | Providing low and high quality streams | |
CN107223316B (en) | System and method for supporting selective backtracking data recording | |
US8949912B2 (en) | ABR live to VOD system and method | |
US11228764B2 (en) | Streaming multiple encodings encoded using different encoding parameters | |
KR101526081B1 (en) | System and method for controllably viewing digital video streams captured by surveillance cameras | |
CA3088790A1 (en) | Distribution and playback of media content | |
CN107566918B (en) | A kind of low delay under video distribution scene takes the neutrel extraction of root | |
JP2020519094A (en) | Video playback method, device, and system | |
CA2951065A1 (en) | Synchronizing playback of segmented video content across multiple video playback devices | |
US10862940B1 (en) | Low latency live video on a communication session | |
US20140223502A1 (en) | Method of Operating an IP Client | |
US11303688B2 (en) | Methods and apparatuses for dynamic adaptive streaming over HTTP | |
US11570226B2 (en) | Protocol conversion of a video stream | |
CN106664449A (en) | Device switching for a streaming service | |
KR102084510B1 (en) | Computing System with Content Feature Based Trigger Feature | |
EP3748983B1 (en) | Video playback method, terminal apparatus, and storage medium | |
US11184655B1 (en) | System and method for intelligent delivery of segmented media streams | |
CN113225585A (en) | Video definition switching method and device, electronic equipment and storage medium | |
US20130064308A1 (en) | Coding and decoding synchronized compressed video bitstreams | |
EP2312826A2 (en) | Network device, information processing apparatus, stream switching method, information processing method, program, and content distribution system | |
CN105359539A (en) | Content provision device, content provision method, program, terminal device, and content provision system | |
CN106331847B (en) | Audio and video playing method and apparatus | |
US9363574B1 (en) | Video throttling based on individual client delay | |
KR101603976B1 (en) | Method and apparatus for concatenating video files |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20131002 |