CN104469521B - A kind of multiple-format video media, which passes through, broadcasts control method - Google Patents

A kind of multiple-format video media, which passes through, broadcasts control method Download PDF

Info

Publication number
CN104469521B
CN104469521B CN201410812607.XA CN201410812607A CN104469521B CN 104469521 B CN104469521 B CN 104469521B CN 201410812607 A CN201410812607 A CN 201410812607A CN 104469521 B CN104469521 B CN 104469521B
Authority
CN
China
Prior art keywords
video
format
module
switch
play
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410812607.XA
Other languages
Chinese (zh)
Other versions
CN104469521A (en
Inventor
陈志勇
万里
万思军
纪英豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Hisense Network Technology Co Ltd
Original Assignee
Qingdao Hisense Network 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 Qingdao Hisense Network Technology Co Ltd filed Critical Qingdao Hisense Network Technology Co Ltd
Priority to CN201410812607.XA priority Critical patent/CN104469521B/en
Publication of CN104469521A publication Critical patent/CN104469521A/en
Application granted granted Critical
Publication of CN104469521B publication Critical patent/CN104469521B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4318Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Studio Circuits (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

It is passed through the invention discloses a kind of multiple-format video media and broadcasts control method, including switch step between format, switch step includes following sub-step between the format:(11), system initialization, open and play the video information in initial format;(12), judge whether to need to switch format, if desired, then control continues to play the video information of current format, while in the information for loading new format from the background;(13), judge the whether equal loadeds of video of all display areas in new format, if so, and the new format of display, close original format set type, otherwise, continue to play original format set type.The multiple-format video media of the present invention, which passes through, broadcasts control method, the video of new format is loaded on backstage first, up to the whether equal loaded of video of all display areas in new format, it just carries out switching between format, otherwise continue to play original format set type, so can effectively prevent due to new format has not loaded and if original format set type stops caused by blank screen, interim card etc. play incoherent phenomenon.

Description

A kind of multiple-format video media, which passes through, broadcasts control method
Technical field
It is to be related to a kind of multiple-format video media and pass through to broadcast specifically the present invention relates to a kind of video display arts field Control method.
Background technology
, it is necessary to provide Domestic News, wide to the masses in some public places such as track traffic or city bus field The demand of the video playings such as notice or audio-visual broadcasting is broadcast, including playing local video and live streaming stream video.System is generally with version The mode of formula plays video, wherein, format includes several video modules, video display area number that different formats include, position It puts, all possible difference of size, a system includes several different formats, touched by external control system or time predefined point Hair, is switched to another format after triggering.It is needed during switching according to business or plays new video or continue to play current video. It is that no video exports in the process since video needs to buffer when commencing play out a new video;Especially loading Division format(Such as H264)Live streaming stream video when, it is necessary to read a certain number of video datas with determine its specific form, do not have There is the time that picture exports can be longer.When these can all cause to might have longer during the video switching in format switching or format Between blank screen, influence result of broadcast;Meanwhile if loading new video overlong time, and former video played and finish, it is likely that Cause picture interim card.
In addition, when being switched to new format, since format loading can expend the regular hour, can result in the need for continuing to play Position when can not be closed after video switching from last format continues to play, and can not ensure continuity.
The content of the invention
The present invention carries out being susceptible to the continuities such as blank screen, interim card difference during format switching to solve existing video playing Technical problem, the present invention, which proposes a kind of multiple-format video media, passes through and broadcasts control method, and continuity is good, can overcome above-mentioned technology Problem.
In order to solve the above-mentioned technical problem, the present invention is achieved by the following scheme:
A kind of multiple-format video media, which passes through, broadcasts control method, including switch step between format, switch step between the format Including following sub-step:
(11), system initialization, open and play the video information in initial format;
(12), judge whether to need to switch format, if desired, then control continues to play the video information of current format, together When loading the information of new format from the background;
(13), judge the whether equal loadeds of video of all display areas in new format, if so, and display new edition Formula closes original format set type, otherwise, continues to play original format set type.
Further, switch step between video is further included in same format, switch step between video in the same format Including following sub-step:
(21), two video modules are respectively created for each video display area, and make two video module positions weights It closing, described two video modules are respectively the first video module and the second video module, wherein, first video module is upper Layer playing module, the video played for this video display area to be loaded currently to need, and play out, second video screen module Block is lower floor's playing module, and for loading the next video to be played of this video display area, second video module adds When carrying video, by video mute;
(22), judge whether to need Switch Video, if desired, then perform step(23);If need not, repeat step (22);
(23), detection second video module whether complete to load and have picture output, if second video module It detects this module to have completed to load and had picture output, then performs step(24a);Otherwise, step is performed(24b);
(24a), the second video module is placed in upper strata, switch to upper strata playing module, while open sound;
(24b), judge whether time-out, if being not timed-out, return to step(23)If overtime, show that video is adding The animation of load.
Further, the step(11)In, during system initialization, calculate each video display area video to be played And its start-stop reproduction time, and it is put into caching.
Further, the step(12)In, judge whether to need the method for switching format slow by judging whether to reach It deposits the format switching time point of middle storage or whether receives the switching format order of external system transmission.
Further, the step(12)In, by judge whether to reach in caching the format switching time point that stores come It is the time point for detecting whether to reach format switching to judge switching format method, if not reaching, is judged as that version need not be switched Formula, return to step(12), otherwise, it is judged as needing, control continues to play the video information of current format, while loads on backstage The information of new format.
Further, the step(13)In, if the inwhole loadeds of the video of all display areas in new format, and The video of at least one of which display area, which played, in original format set type finishes, then judges whether time-out, is judging that format switches In no time-out step, including time threshold △ T2, the timing since the video playing of the display area finishes the time, if during △ T2 The video of all display areas is fully completed loading in interior new format, then be judged as it is not overtime, otherwise, be judged as time-out and Video played the display area finished and show the animation that video is loading.
Further, the step(22)In, judge whether that Switch Video is needed to comprise the following steps:
Judge whether the first video module finishes, if it is not, Switch Video is then not required, first video module after Continued broadcasting is put, if so, needing Switch Video, and picture still is played to the last frame of video in the first video module.
Further, the step(24b)In when judging whether time-out, including time threshold △ T1, from the first video screen module Block finishes beginning timing, if in the △ T1 times the second video module complete loading, be judged as it is not overtime, otherwise, judge The animation that video is loading is shown for time-out and in the video region.
Compared with prior art, the advantages and positive effects of the present invention are:The multiple-format video media of the present invention passes through Broadcast Control Method processed when switching between format, first loads the video of new format on backstage, until all display areas in new format The whether equal loaded of video just carries out switching between format, otherwise continues to play original format set type, so can effectively prevent due to new Format has not loaded and blank screen, interim card etc. caused by if original format set type stopping play incoherent phenomenon, especially for multiple-format The switching of video, video playing continuity are good.
After the detailed description of embodiment of the present invention is read in conjunction with the figure, the other features and advantages of the invention will become more Add clear.
Description of the drawings
It in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is that multiple-format video media proposed by the invention passes through a kind of embodiment flow diagram for broadcasting control method;
Fig. 2 is that multiple-format video media proposed by the invention passes through another the embodiment process blocks for broadcasting control method Figure.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work Embodiment belongs to the scope of protection of the invention.
Embodiment one, the present embodiment, which proposes a kind of multiple-format video media and passes through, broadcasts control method, as shown in Figure 1, including Switch step between format, switch step includes following sub-step between the format:
S11, system initialization are opened and play the video information in initial format;
S12, judge whether to need to switch format, if desired, then control continues to play the video information of current format, simultaneously The information of new format is being loaded from the background;
S13, the whether equal loaded of video for judging all display areas in new format, if so, and the new format of display, Original format set type is closed, otherwise, continues to play original format set type, and repeats step S13.
The multiple-format video media of the present embodiment, which passes through, broadcasts control method, when receiving external system format switching command, System continues to play current format, while is loading new format from the background, when detecting that the video in new format all has the picture defeated New format is played after going out, just close original format set type, so can effectively prevent due to new format has not loaded and original format set type stop Blank screen, interim card etc. caused by words play incoherent phenomenon, especially for the switching of multiple-format video, video playing continuity It is good.
In the present embodiment, switch step between video is further included in same format, as shown in Fig. 2, in the same format Switch step includes following sub-step between video:
S21, two video modules are respectively created for each video display area, and make two video module position weights It closing, described two video modules are respectively the first video module and the second video module, wherein, first video module is upper Layer playing module, the video played for this video display area to be loaded currently to need, and play out, second video screen module Block is lower floor's playing module, and for loading the next video to be played of this video display area, second video module adds When carrying video, by video mute;
S22, judge whether to need Switch Video, if desired, then perform step S23;If need not, repeat step S22;
Whether S23, detection second video module are completed to load and have picture output, if second video module is examined It surveys this module to have completed to load and had picture output, then performs step S24a;Otherwise, step S24b is performed;
S24a, the second video module is placed in upper strata, switchs to upper strata playing module, while open sound;
24b, time-out is judged whether, if being not timed-out, return to step S23 if overtime, shows what video was loading Animation.
By the way that two video modules are respectively created for each video display area in step S21, a video module is used for Foreground plays, another video module for loading from the background, and when needing Switch Video, the video of backstage loading can directly be cut Foreground broadcasting is shifted to, it, cannot be defeated in time due to new video loading buffering etc. when can effectively prevent due to regarding inter-frequency handoff Go out, caused by blank screen, interim card etc. play incoherent phenomenon, especially for the switching between video in same format, video playing Continuity is good.
In the step S11, during system initialization, calculate video that each video display area to be played and its start-stop is broadcast It puts the time, and is put into caching.By calculating video and its beginning and ending time that each video area to be played in advance, and put it into Caching, avoids causing precisely to cut according to time point due to recalculating overlong time when detecting video switching time point It changes, shows format so as to most fast.When format switches, calculated according to the beginning and ending time recorded in caching and current time Its initial position, due to just being switched over after the completion of the loading of new format, switching time is extremely short, can be neglected, so as to ensure to regard Frequency is coherent to be played.
In the step S12, judge whether that the method for switching format is needed to reach what is stored in caching by judging whether Format switching time point or the switching format order for whether receiving external system transmission.Wherein, according to judge whether to The mode of the format switching time point stored up in caching judges that can set will such as reach predefined switching time point It is defined as:It is reached in 1 second, so can be that new edition formula is reserved with certain buffer time, when preventing from switching due to new format not The blank screen phenomenon for finishing and occurring can be buffered in time, cut again when arrival time point is waited if completion was preloaded in 1 second It changes.
In the step S12, judge to switch version by judging whether to reach the format switching time point stored in caching Formula method is the time point for detecting whether to reach format switching, if not reaching, is judged as that format need not be switched, returns to step Rapid S12 continues to play the video in current format, otherwise, is judged as needing, and control continues to play the video letter of current format Breath, while in the information for loading new format from the background.Technology is preloaded using format, is opened up after video loaded in format Show, ensure when format switches without blank screen phenomenon;If the video in new format preloads time-out, system is prompted just in animated way In loading video, picture interim card is avoided.
In the step S13, if the inwhole loadeds of the video of all display areas in new format, and in original format set type extremely The video of few one of display area, which played, to be finished, then judges whether time-out, is judging the whether overtime step of format switching In, including time threshold △ T2, the timing since the video playing of the display area finishes the time, if new format in the △ T2 times In the videos of all display areas be fully completed loading, then be judged as not overtime, otherwise, be judged as time-out and played in video The display area finished shows the animation that video is loading.When this mode can ensure to switch between two formats, each video The fluency of display area if interval is smaller, will not bring vision interim card effect by the way of frozen frame to user, moreover, when Between threshold value △ T2 for example could be provided as 300 milliseconds, can complete to buffer and export picture for 300 milliseconds under normal circumstances;It is if super 300 milliseconds are crossed, then easily causes obvious vision interim card, video is played when this step is by more than 300 milliseconds and is being loaded Animation, mitigate user viewing when interim card effect.
In the step S22, judge whether that Switch Video is needed to comprise the following steps:
Judge whether the first video module finishes, if it is not, Switch Video is then not required, first video module after Continued broadcasting is put, if so, needing Switch Video, and picture still is played to the last frame of video in the first video module, so The judgement in step 23 is performed afterwards.
When judging whether time-out in the step S24b, including time threshold △ T1, finished from the first video module Start timing, if in the △ T1 times the second video module complete loading, be judged as it is not overtime, otherwise, be judged as time-out and The video region shows the animation that video is loading.The principle of this step is identical with the principle switched between format, if Every smaller, video frequent switching will not be caused, moreover, time threshold △ T1 for example could be provided as 300 milliseconds, under normal circumstances 300 milliseconds can complete to buffer and export picture;If more than 300 milliseconds, easily cause obvious vision interim card, this step The animation that video is loading is played during by more than 300 milliseconds, mitigates interim card effect of the user in viewing, avoids being considered Video is stuck.
Certainly, above description is not limitation of the present invention, and the present invention is also not limited to the example above, this technology neck The variations, modifications, additions or substitutions that the those of ordinary skill in domain is made in the essential scope of the present invention, should also belong to this hair Bright protection domain.

Claims (7)

1. a kind of multiple-format video media, which passes through, broadcasts control method, which is characterized in that including switch step between format, between the format Switch step includes following sub-step:
(11), system initialization, open and play the video information in initial format;
(12), judge whether to need to switch format, if desired, then control continues to play the video information of current format, at the same Backstage loads the information of new format;
(13), judge the whether equal loaded of video of all display areas in new format, if so, show new format, close Otherwise original format set type, continues to play original format set type,
The step(13)In, if the inwhole loadeds of the video of all display areas in new format, and in original format set type at least The video of one of display area, which played, to be finished, then judges whether time-out, in the whether overtime step of format switching is judged, Including time threshold △ T2, the timing since the video playing of the display area finishes the time, if new format in the △ T2 times In the videos of all display areas be fully completed loading, then be judged as not overtime, otherwise, be judged as time-out and played in video The display area finished shows the animation that video is loading.
2. the multiple-format video media according to claim 1, which passes through, broadcasts control method, which is characterized in that further includes same version Switch step between video in formula, switch step includes following sub-step between video in the same format:
(21), two video modules are respectively created for each video display area, and overlap two video module positions, institute It is respectively the first video module and the second video module to state two video modules, wherein, first video module is broadcast for upper strata Amplification module, the video played for this video display area to be loaded currently to need, and play out, second video module is Lower floor's playing module, for loading the next video to be played of this video display area, the second video module loading regards During frequency, by video mute;
(22), judge whether to need Switch Video, if desired, then perform step(23);If need not, repeat step (22);
(23), detection second video module whether complete to load and have picture output, if second video module detects This module has been completed to load and has had picture output, then performs step(24a);Otherwise, step is performed(24b);
(24a), the second video module is placed in upper strata, switch to upper strata playing module, while open sound;
(24b), judge whether time-out, if being not timed-out, return to step(23)If overtime, show what video was loading Animation.
3. the multiple-format video media according to claim 2, which passes through, broadcasts control method, which is characterized in that the step(11) In, during system initialization, video and its start-stop reproduction time that each video display area to be played are calculated, and is put into caching.
4. the multiple-format video media according to claim 2, which passes through, broadcasts control method, which is characterized in that the step(12) In, judge whether to need to switch the method for format by judge whether to reach the format switching time point stored in caching or Whether the switching format order of external system transmission is received.
5. the multiple-format video media according to claim 4, which passes through, broadcasts control method, which is characterized in that the step(12) In, by judging whether to reach in caching the format switching time point that stores to judge to switch format method be to detect whether At the time point switched up to format, if not reaching, it is judged as that format, return to step need not be switched(12), otherwise, it is judged as needing Will, control continues to play the video information of current format, while in the information for loading new format from the background.
It 6. is passed through according to claim 2-5 any one of them multiple-format video medias and broadcasts control method, which is characterized in that is described Step(22)In, judge whether that Switch Video is needed to comprise the following steps:
Judge whether the first video module finishes, if it is not, Switch Video is then not required, first video module is after continued broadcasting It puts, if so, needing Switch Video, and picture still is played to the last frame of video in the first video module.
7. the multiple-format video media according to claim 6, which passes through, broadcasts control method, which is characterized in that the step(24b) In when judging whether time-out, including time threshold △ T1, the timing since finishing the first video module, if during △ T1 In the second video module complete loading, then be judged as not overtime, otherwise, be judged as time-out and shown in the video region The animation that video is loading.
CN201410812607.XA 2014-12-24 2014-12-24 A kind of multiple-format video media, which passes through, broadcasts control method Active CN104469521B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410812607.XA CN104469521B (en) 2014-12-24 2014-12-24 A kind of multiple-format video media, which passes through, broadcasts control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410812607.XA CN104469521B (en) 2014-12-24 2014-12-24 A kind of multiple-format video media, which passes through, broadcasts control method

Publications (2)

Publication Number Publication Date
CN104469521A CN104469521A (en) 2015-03-25
CN104469521B true CN104469521B (en) 2018-05-29

Family

ID=52914770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410812607.XA Active CN104469521B (en) 2014-12-24 2014-12-24 A kind of multiple-format video media, which passes through, broadcasts control method

Country Status (1)

Country Link
CN (1) CN104469521B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104837051B (en) * 2015-05-26 2019-02-22 腾讯科技(北京)有限公司 Video broadcasting method and client
CN107370814B (en) * 2017-07-21 2018-09-04 掌阅科技股份有限公司 E-book reads aloud processing method, terminal device and computer storage media
CN110722985B (en) * 2019-10-31 2021-02-26 湖北亿咖通科技有限公司 Vehicle-mounted system and theme interface switching method of instrument display thereof
CN111093116A (en) * 2019-12-09 2020-05-01 北京达佳互联信息技术有限公司 Video loading information processing method and device and storage medium
CN114356155A (en) * 2020-09-30 2022-04-15 北京字跳网络技术有限公司 Video-based interaction method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281566A (en) * 2013-06-13 2013-09-04 天脉聚源(北京)传媒科技有限公司 Method and device for video switch
CN103327267A (en) * 2013-06-26 2013-09-25 Tcl集团股份有限公司 Video playing method, device and television
CN104219579A (en) * 2014-08-20 2014-12-17 北京奇艺世纪科技有限公司 Video switching method and video switching device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4586389B2 (en) * 2004-03-22 2010-11-24 セイコーエプソン株式会社 Multi-screen video playback device and video playback method in multi-screen video playback device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281566A (en) * 2013-06-13 2013-09-04 天脉聚源(北京)传媒科技有限公司 Method and device for video switch
CN103327267A (en) * 2013-06-26 2013-09-25 Tcl集团股份有限公司 Video playing method, device and television
CN104219579A (en) * 2014-08-20 2014-12-17 北京奇艺世纪科技有限公司 Video switching method and video switching device

Also Published As

Publication number Publication date
CN104469521A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
CN104469521B (en) A kind of multiple-format video media, which passes through, broadcasts control method
CN102930852B (en) Method of improving mobile terminal system performance by dynamically regulating of screen refresh rate
CN101815199B (en) Video processing method and terminal
CN105979347A (en) Video play method and device
CN107948735A (en) Video playing method and device and electronic equipment
CN104079955B (en) More push up OTT live method, apparatus and system
CN105872576A (en) Video playing method and device
US20170111839A1 (en) Methods for automatically switching between a mobile network and a local area network
CN109275008B (en) Audio and video synchronization method and device
CN104185075B (en) Information display method and device
CN101533655B (en) Playing method for a plurality of TS video files based on high definition media player
CN103731727A (en) Video playing method and video player
CN103686312B (en) DVR multipath audio and video recording method
CN104822008A (en) Video synchronizing method and device
CN104837051A (en) Video playing method and client side
CN102883217A (en) Method and device for controlling video playing
CN105915985A (en) Method for performing watch-back in live broadcasting and device thereof
CN103391467A (en) Method for achieving synchronization of decoding and displaying of audio and video of network set-top box
CN110166845A (en) Video broadcasting method and device
CN106375835A (en) Streaming media playing method and device
CN102665051A (en) Embedded system based display terminal and method and system for subtitle display of display terminal
JP2012222503A (en) Information processing device and method, and program
CN104661092A (en) Video playing control method and system as well as STB (set-top box)
CN103139641A (en) Method and device for achieving audio/video seamless switching in real-time digital television time shifting playing
US7813621B2 (en) Synchronized streaming layer with presentation layer

Legal Events

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