CN105472456B - A kind of video broadcasting method and device - Google Patents

A kind of video broadcasting method and device Download PDF

Info

Publication number
CN105472456B
CN105472456B CN201510849484.1A CN201510849484A CN105472456B CN 105472456 B CN105472456 B CN 105472456B CN 201510849484 A CN201510849484 A CN 201510849484A CN 105472456 B CN105472456 B CN 105472456B
Authority
CN
China
Prior art keywords
video
video clip
segment
broadcasting
clip
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
CN201510849484.1A
Other languages
Chinese (zh)
Other versions
CN105472456A (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201510849484.1A priority Critical patent/CN105472456B/en
Publication of CN105472456A publication Critical patent/CN105472456A/en
Application granted granted Critical
Publication of CN105472456B publication Critical patent/CN105472456B/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/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, rendering scenes according to MPEG-4 scene graphs
    • 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, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4408Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving video stream encryption, e.g. re-encrypting a decrypted video stream for redistribution in a home network

Abstract

The embodiment of the invention provides a kind of video broadcasting method and devices.This method comprises: determining default script file corresponding to target video segment during playing target video segment;Based on the broadcasting syntagmatic in default script file, judge target video segment with the presence or absence of branch;When the judgment result is yes, the first kind video clip for belonging to the branch of target video segment is determined;Before the broadcasting end time of target video segment, the branching selection prompt information of user guidance information of the output comprising first kind video clip;Receive the selection result that user is issued based on branching selection prompt information;First of first kind video clip based on alternatively result plays initial time, and the first kind video clip of alternatively result is played after finishing target video segment.By this programme, may be implemented to provide the purpose of desired branch plot in video display process for user.

Description

A kind of video broadcasting method and device
Technical field
The present invention relates to field of video broadcasting technology, more particularly to a kind of video broadcasting method and device.
Background technique
In the prior art, a video file (such as movie file, variety section watched for user in video website Mesh file or TV play file etc.) for, generally include multiple video clips, for convenience of user to watch, video website It is launched after multiple video clips are generated a video file by Video coding mode, so that video file is more when playing A video clip is played according to single order.Such as: one watched for user up to 90 minutes movie file and Speech, is generated multiple video clips by Video coding mode by video website.
With the raising of user experience, movie or television play is generally for meeting the needs of different users, and shooting is more in advance A final result, and variety show can have multiple scenes, i.e., there are branch's plots in video file.And the prior art is by multiple videos Segment is integrated into a fixed video file, and playing sequence is single, and the desired branch's plot seen can not be provided for user, So that user experience is lower.
Therefore, how in video display process for user to provide desired branch's plot and be one and urgently to be resolved ask Topic.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of video broadcasting method and device, to be in video display process User provides desired branch plot.Specific technical solution is as follows:
In a first aspect, the embodiment of the invention provides a kind of video broadcasting methods, comprising:
During playing target video segment, default script file corresponding to the target video segment is determined; Wherein, recording in the default script file has: exist play incidence relation multiple video clips broadcasting initial time and It plays the end time, and, user's guidance of the broadcasting syntagmatic of multiple video clips, the video clip for belonging to branch is believed Breath;
Based on the broadcasting syntagmatic, judge the target video segment with the presence or absence of branch;
When the judgment result is yes,
Determine the first kind video clip for belonging to the branch of the target video segment;
Before the broadcasting end time of the target video segment, output includes the user of the first kind video clip The branching selection prompt information of guidance information;
Receive the selection result that user is issued based on the branching selection prompt information;
First of first kind video clip based on alternatively result plays initial time, is finishing the target The first kind video clip of alternatively result is played after video clip.
Optionally, the embodiment of the invention provides a kind of video broadcasting methods, further includes:
When the judgment result is no,
The determining and consecutive next video clip of the target video segment;
Second based on next video clip plays initial time, broadcasts after finishing the target video segment Put next video clip.
Optionally, the first of the first kind video clip based on alternatively result plays initial time, is playing Finish the first kind video clip that alternatively result is played after the target video segment, comprising:
After finishing the target video segment, played from the first of the first kind video clip of alternatively result The first kind video clip of alternatively result is played at initial time.
Optionally, described before the broadcasting end time of the target video segment, output is regarded comprising the first kind The branching selection prompt information of user's guidance information of frequency segment, comprising:
Before the scheduled duration of the broadcasting end time of the target video segment, output includes the first kind video The branching selection prompt information of user's guidance information of segment;Wherein, the scheduled duration is based on that predefined size can be preloaded The duration of video content determined;
The first of the first kind video clip based on alternatively result plays initial time, described finishing The first kind video clip of alternatively result is played after target video segment, comprising:
It plays from initial time from the first of the first kind video clip of alternatively result to the of alternatively result A kind of video clip executes preloading, and the first kind view of alternatively result is played after finishing the target video segment The preloaded content of frequency segment, and continue load alternatively the first kind video clip of result first play the end time it Preceding remaining video content.
Optionally, second based on next video clip plays initial time, is finishing the target Next video clip is played after video clip, comprising:
After finishing the target video segment, broadcast from the second broadcasting initial time of next video clip Put next video clip.
Optionally, second based on next video clip plays initial time, is finishing the target Next video clip is played after video clip, comprising:
Preloading is executed to next video clip from the second broadcasting initial time of next video clip, The preloaded content of next video clip is played after finishing the target video segment, and continues to load described next The second of video clip plays the remaining video content before the end time.
Second aspect, the embodiment of the invention provides a kind of video play devices, comprising:
Script file determining module, for determining the target video segment during playing target video segment Corresponding default script file;Wherein, recording in the default script file has: there are the multiple videos for playing incidence relation The broadcasting initial time of segment and broadcasting end time, and, the broadcasting syntagmatic of multiple video clips, the view for belonging to branch User's guidance information of frequency segment;
Judgment module judges the target video segment with the presence or absence of branch for being based on the broadcasting syntagmatic;
Branch's determining module determines the of the branch for belonging to the target video segment for when the judgment result is yes A kind of video clip, and trigger prompt information output module;
The prompt information output module, for before the broadcasting end time of the target video segment, output to be wrapped The branching selection prompt information of user's guidance information containing the first kind video clip, and triggering selection result receiving module;
The selection result receiving module, the selection knot issued for receiving user based on the branching selection prompt information Fruit, and trigger first kind video clip playing module;
The first kind video clip playing module, first for the first kind video clip based on alternatively result Initial time is played, the first kind video clip of alternatively result is played after finishing the target video segment.
Optionally, the embodiment of the invention provides a kind of video play devices, further includes:
Next video clip determining module, for when the judgment result is no, determination to be connected with the target video segment Continuous next video clip triggers next video clip playing module;
Next video clip playing module plays initial time for second based on next video clip, Next video clip is played after finishing the target video segment.
Optionally, the first kind video clip playing module includes:
First broadcast unit, for after finishing the target video segment, from the first kind of alternatively result The first of video clip plays the first kind video clip that alternatively result is played at initial time.
Optionally, the prompt information output module includes:
Prompt information output unit, for the target video segment broadcasting the end time scheduled duration before, The branching selection prompt information of user guidance information of the output comprising the first kind video clip;Wherein, the scheduled duration It is determined based on the duration for the video content that can preload predefined size;The first kind video clip playing module includes:
Second broadcast unit, for from the first broadcasting initial time of the first kind video clip from alternatively result pairs Alternatively the first kind video clip of result executes preloading, plays after finishing the target video segment as choosing Select the preloaded content of the first kind video clip of result, and continue load alternatively the first kind video clip of result the One plays the remaining video content before the end time.
Optionally, next video clip playing module includes:
First broadcast unit, for after finishing the target video segment, from the of next video clip Two play broadcasting next video clip at initial time.
Optionally, next video clip playing module includes:
Second broadcast unit, for playing from initial time from the second of next video clip to next video Segment executes preloading, and the preloaded content of next video clip is played after finishing the target video segment, And continue the remaining video content before the second broadcasting end time for loading next video clip.
Compared with prior art, in the embodiment of the present invention, in advance in the presence of the multiple video clip structures for playing incidence relation Build script file, in the script file record have: exist play incidence relation multiple video clips broadcasting initial time and It plays the end time, and, user's guidance of the broadcasting syntagmatic of multiple video clips, the video clip for belonging to branch is believed Breath;In turn, when playing target video segment, default script file corresponding to the target video segment is determined, when based on this Broadcasting syntagmatic in default script file judges the target video segment there are when branch, and determination belongs to the target video The first kind video clip of the branch of segment;Before the broadcasting end time of target video segment, output includes the first kind The branching selection prompt information of user's guidance information of video clip;Receive what user was issued based on the branching selection prompt information Selection result;First of first kind video clip based on alternatively result plays initial time, is finishing the target The first kind video clip that alternatively result is played after video clip, is realized with this and is mentioned in video display process for user For the purpose of desired branch's plot.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical 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 It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow chart of video broadcasting method provided by the embodiment of the present invention;
Fig. 2 is a kind of another flow chart of video broadcasting method provided by the embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of video play device provided by the embodiment of the present invention;
Fig. 4 is a kind of another structural schematic diagram of video play device provided by the embodiment of the present invention;
Fig. 5 is the relation schematic diagram in the presence of the multiple videos for playing incidence relation.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In order to provide desired branch plot in video display process for user, the embodiment of the invention provides one kind Video broadcasting method and device.
A kind of video method method is provided for the embodiments of the invention first below to be introduced.
It should be noted that a kind of video broadcasting method provided by the embodiment of the present invention can be applied to player, it should The player that player can be called by video website may be the player that client software is called, this is all reasonable 's.Also, the video clip that presence mentioned by the embodiment of the present invention plays incidence relation can be multiple views about film Frequency segment, multiple video clips about TV play or video clip about variety show, etc..
As described in Figure 1, a kind of video broadcasting method provided by the embodiment of the present invention, may include steps of:
S101 determines default script text corresponding to the target video segment during playing target video segment Part;
In order to solve prior art problem, during playing target video segment, the target video can be determined Default script file corresponding to segment, wherein recording in the default script file has: there are the multiple views for playing incidence relation The broadcasting initial time of frequency segment and broadcasting end time, and, the broadcasting syntagmatic of multiple video clips belongs to branch User's guidance information of video clip.It is understood that being corresponded in the presence of the multiple video clips for playing incidence relation same pre- If script file, the video clip, also, video can be characterized by the fragment identification of video clip in default script file The fragment identification of segment can be used as the lookup foundation for determining the broadcast address of the video clip, and this is also rational.
Wherein, which can be any video clip in multiple video clips, also, user can be with hand Dynamic first video clip opened in multiple video clips, and then subsequent be performed both by the playing process of each video clip Scheme provided by the embodiment of the present invention, alternatively, first video clip can be played automatically by radio hookup list, and then it is subsequent Scheme provided by the embodiment of the present invention is performed both by the playing process of each video clip.In addition, playing target video piece Can specifically it refer to during section: when starting to play target video segment, alternatively, playing the specific duration of target video segment Afterwards, etc., this is all reasonable.
It is emphasized that through the embodiment of the present invention, there are the multiple video clips for playing incidence relation without passing through Video coding mode is integrated into a video file, but realizes that the association of multiple video clips is broadcast based on default script file It puts;In addition, being complete video file to allow user to feel, can be provided for user in multiple video clip from time angle The broadcasting entrance for the video clip for needing to play first is spent, the concrete form of the broadcasting entrance can pass through video using existing Coding mode is formed by the form of the broadcasting entrance of video file, for example: video poster or video name, etc..
Wherein, the building process for presetting script file can be pre-generated manually, can specifically include:
Selection will do multiple video clips that the presence made plays incidence relation, multiple video clip from video library In at least two video clips belong to branch's video in the plot of a certain video clip;
It determines the broadcasting initial time of multiple video clips obtained and plays the end time;
It determines the broadcasting syntagmatic of multiple video clips and belongs to user's guidance information of the video clip of branch;
Construct script file, wherein script file record has: there is broadcasting for the multiple video clips for playing incidence relation It puts initial time and plays the end time, and, the broadcasting syntagmatics of multiple video clips, the video clip for belonging to branch User's guidance information.
Wherein, the user's guidance information for belonging to the video clip of video branching can be the description information about plot, when So it is not limited thereto;And play syntagmatic and can show that the playing sequence of each video clip, wherein plays syntagmatic Concrete form it is not limited here, such as: play syntagmatic can be shown by multiway tree form, be not limited to certainly This;In addition, the broadcasting initial time of video clip and the video content played between the end time can be the video clip Full content, or the partial content of the video clip, and specifically full content or partial content can be in feet It is set according to actual conditions when this document editor, for example: the playing duration of video clip A is 30 minutes, then, preset foot The broadcasting initial time of video clip A in this document can be 10:00, and playing the end time can be 20:00, this Sample plays initial time and plays the partial video content that the video content between the end time is video clip A, alternatively, The broadcasting initial time of video clip A in default script file can be 00:00, and playing the end time can be 30: 00, in this way, playing initial time and playing all videos content that the video content between the end time is video clip A.
S102 is based on the broadcasting syntagmatic, judges the target video segment with the presence or absence of branch, if so, executing S103;
Wherein, after determining default script file, the broadcasting syntagmatic in script file can be preset by this, come Determine that the target video segment with the presence or absence of branch, and when the judgment result is yes, executes S103.
S103 determines the first kind video clip for belonging to the branch of the target video segment;
Judging the target video segment, there are when branch, can be based further on broadcasting syntagmatic to determine to belong to In the first kind video clip of the branch of the target video segment.
Wherein, " first kind " in so-called " first kind video clip " will be just to will belong to point of the target video segment The video clip of branch is different from other video clips, and does not have any limiting meaning.
S104, before the broadcasting end time of the target video segment, output includes the use of the first kind video clip The branching selection prompt information of family guidance information;
It wherein, can be in the target after determining to belong to the first kind video clip of the branch of the target video segment Before the broadcasting end time of video clip, the branching selection of user guidance information of the output comprising the first kind video clip is mentioned Show information, so that user selects branch's plot by the branching selection prompt information.
It is understood that the specific display form of branching selection prompt information can be set according to the actual situation, For example, which can be with are as follows: pop-up form or floating layer form, etc..
S105 receives the selection result that user is issued based on the branching selection prompt information;
Wherein, after user is based on a certain branch of branching selection prompt information selection, it can receive user and be based on the branch The selection result for selecting prompt information to issue executes subsequent operation based on selection result in turn.
S106, first of the first kind video clip based on alternatively result play initial time, are finishing this The first kind video clip of alternatively result is played after target video segment.
After receiving the selection result that user is issued based on the branching selection prompt information, in order to play desired by user Branch's plot, be based on the first kind video clip of selection result first play initial time, finishing The first kind video clip of alternatively result is played after the target video segment.
Specifically, in one implementation, the first of the first kind video clip based on alternatively result is broadcast Initial time is put, the first kind video clip of alternatively result is played after finishing the target video segment, can wrap It includes:
After finishing the target video segment, from playing the first of the first kind video clip of alternatively result The first kind video clip of alternatively result is played at time beginning.
Further, in the second implementation, described in the target video piece in order to guarantee the fluency watched Before the broadcasting end time of section, the branching selection of user guidance information of the output comprising the first kind video clip prompts letter It ceases, may include:
Before the scheduled duration of the broadcasting end time of the target video segment, output includes the first kind video clip User's guidance information branching selection prompt information;Wherein, the scheduled duration is based on the video that can preload predefined size The duration of content is determined;
Correspondingly, the first of the first kind video clip based on alternatively result plays initial time, playing The first kind video clip for playing alternatively result after the target video segment is finished, may include:
It plays from initial time from the first of the first kind video clip of alternatively result to the of alternatively result A kind of video clip executes preloading, and the first kind video of alternatively result is played after finishing the target video segment The preloaded content of segment, and continue load alternatively the first kind video clip of result first play the end time before Remaining video content.
Wherein, which can be greater than or equal to the duration that can preload the video content of predefined size, and energy Enough preloading the duration of the video content of predefined size can be empirical value.
Compared with prior art, in the embodiment of the present invention, in advance in the presence of the multiple video clip structures for playing incidence relation Build script file, in the script file record have: exist play incidence relation multiple video clips broadcasting initial time and It plays the end time, and, user's guidance of the broadcasting syntagmatic of multiple video clips, the video clip for belonging to branch is believed Breath;In turn, when playing target video segment, default script file corresponding to the target video segment is determined, when based on this Broadcasting syntagmatic in default script file judges the target video segment there are when branch, and determination belongs to the target video The first kind video clip of the branch of segment;Before the broadcasting end time of target video segment, output includes the first kind The branching selection prompt information of user's guidance information of video clip;Receive what user was issued based on the branching selection prompt information Selection result;First of first kind video clip based on alternatively result plays initial time, is finishing the target The first kind video clip that alternatively result is played after video clip, is realized with this and is mentioned in video display process for user For the purpose of desired branch's plot.
In addition, due to the embodiment of the present invention by script file will be present play incidence relation multiple video files combine Together, and not by Video coding mode, therefore, realization provides desired branch in video display process for user While the purpose of plot, so that there is the work of the generation of video file corresponding to the multiple video clips for playing incidence relation Work amount reduction.
Further, on the basis of embodiment shown in Fig. 1, as shown in Fig. 2, one kind provided by the embodiment of the present invention Video broadcasting method can also include:
S107, when the judgment result is no, the determining and consecutive next video clip of the target video segment;
When the judgment result is no, played in order, the determining and consecutive next video of the target video segment are shown to be Segment.
S108, second based on next video clip plays initial time, after finishing the target video segment Play next video clip.
It is determining that next video clip can be based on after the consecutive next video clip of the target video segment Second play initial time, next video clip is played after finishing the target video segment.
Specifically, in one implementation, second based on next video clip plays initial time, broadcasting It discharges and plays next video clip after finishing the target video segment, may include:
After finishing the target video segment, plays to play from initial time from the second of next video clip and be somebody's turn to do Next video clip.
Further, in the second implementation, described to be based on next piece of video in order to guarantee to watch fluency The second of section plays initial time, and next video clip is played after finishing the target video segment, may include:
Preloading is executed to next video clip from the second broadcasting initial time of next video clip, is being played The preloaded content of next video clip is played after finishing the target video segment, and continues to load next video clip Second plays the remaining video content before the end time.
Wherein, the specific implementation preloaded is executed to next video clip and is referred to pre-add in the prior art The specific implementation of video content is carried, this will not be repeated here.
It should be noted that when the target video segment is in the presence of last in the multiple video clips for playing incidence relation One video clip, i.e., not only there is no belong to the target video segment branch first kind video clip, also there is no to The next video clip played, at this point, directly terminating the process flow of the provided scheme of the embodiment of the present invention.
It is emphasized that " first " and " second in " first plays initial time " mentioned by the embodiment of the present invention " second " in broadcasting initial time " does not have any limit just for the sake of the broadcasting initial time of differentiation different video segment Determine meaning;Similar, " first " in " the first broadcasting end time " mentioned by the embodiment of the present invention and " the second broadcasting terminates " second " in time " does not have any limiting meaning just for the sake of the broadcasting end time of differentiation different video segment
A kind of video broadcasting method is provided for the embodiments of the invention below with reference to specific application example to be introduced.
Assuming that there are the multiple video clips for playing incidence relation: video clip A, video clip B1, video in video file 1 Segment B2, video clip B3, video clip C and video clip D, the broadcasting syntagmatic of multiple video clips is as shown in figure 5, tool Body are as follows: video clip A is first video clip for needing to play, and video clip B1, video clip B2 and video clip B3 belong to In the branch of video clip A, after video clip B1, video clip B2 and video clip B3 played in order video clip C and Video clip D;Also, each video clip when it is 20 minutes a length of, the broadcasting initial time of each video clip is 00:00, The broadcasting end time is 20:00, i.e. broadcasting initial time and the video content played between the end time is corresponding video segment Complete video content.
Based on above- mentioned information, it is encoded with script file a in advance, recording in script file a has: there are broadcasting incidence relations Multiple video clips broadcasting initial time and play the end time, and, the broadcasting syntagmatics of multiple video clips belongs to In user's guidance information of the video clip of branch, wherein playing sequence as shown in Figure 5 can be stated by playing syntagmatic, User's guidance information is the content description information of video clip.
So, the playing process that there is the video file 1 for the multiple video clips for playing incidence relation is as follows:
Player determines script file a corresponding to video clip A when starting to play video clip A;
Based on the broadcasting syntagmatic that script file a is recorded, judge that there are branches by video clip A, in turn, really Make the video clip B1, video clip B2 and video clip B3 for belonging to the branch of video clip A;
When being played to the 15th minute of video clip A, output includes video clip B1, video clip B2 and video clip The branching selection superposed layer of user's guidance information of B3, to prompt user to select branch's plot;
Receive the selection result that user is issued based on branching selection superposed layer: video clip B2;
Preloading is executed to video clip B2 from the broadcasting initial time of video clip B2, is finishing the piece of video The preloaded content of video clip B2 is played after section A, and continues to load the residue of video clip B2 played before the end time Video content;
Also,
When starting to play video clip B2, script file a corresponding to video clip B2 is determined;
Based on the broadcasting syntagmatic that script file a is recorded, judging video clip B2, there is no branches;
The determining and consecutive next video clip of video clip B2: video clip C;
Preloading is executed to video clip C from the broadcasting initial time of video clip C, is finishing the video The preloaded content of video clip C is played after segment B2, and continue to load the second of video clip C play the end time it Preceding remaining video content;
Further, when starting to play video clip C, script file a corresponding to video clip C is determined;
Based on the broadcasting syntagmatic that script file a is recorded, judging video clip C, there is no branches;
The determining and consecutive next video clip of video clip C: video clip D;
Preloading is executed to video clip D from the broadcasting initial time of video clip D, is finishing the video The preloaded content of video clip D is played after segment C, and continue to load the second of video clip D play the end time it Preceding remaining video content;
When starting to play video clip D, script file a corresponding to video clip D is determined;
Based on the broadcasting syntagmatic that script file a is recorded, determine that video clip D is the last one piece of video Section, then, terminate video playing after finishing video clip D.
As it can be seen that may be implemented to provide desired branch plot in video display process for user by this programme Purpose.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of video play devices, as shown in figure 3, May include:
Script file determining module 310, for determining the target video piece during playing target video segment Default script file corresponding to section;Wherein, recording in the default script file has: there are the multiple views for playing incidence relation The broadcasting initial time of frequency segment and broadcasting end time, and, the broadcasting syntagmatic of multiple video clips belongs to branch User's guidance information of video clip;
Judgment module 320 judges that the target video segment whether there is and divides for being based on the broadcasting syntagmatic Branch;
Branch's determining module 330, for when the judgment result is yes, determining the branch for belonging to the target video segment First kind video clip, and trigger prompt information output module 340;
The prompt information output module 340, for exporting before the broadcasting end time of the target video segment The branching selection prompt information of user's guidance information comprising the first kind video clip, and triggering selection result receiving module 350;
The selection result receiving module 350, the choosing issued for receiving user based on the branching selection prompt information It selects as a result, and triggering first kind video clip playing module 360;
The first kind video clip playing module 360, for the first kind video clip based on alternatively result First plays initial time, and the first kind piece of video of alternatively result is played after finishing the target video segment Section.
Compared with prior art, in the embodiment of the present invention, in advance in the presence of the multiple video clip structures for playing incidence relation Build script file, in the script file record have: exist play incidence relation multiple video clips broadcasting initial time and It plays the end time, and, user's guidance of the broadcasting syntagmatic of multiple video clips, the video clip for belonging to branch is believed Breath;In turn, when playing target video segment, default script file corresponding to the target video segment is determined, when based on this Broadcasting syntagmatic in default script file judges the target video segment there are when branch, and determination belongs to the target video The first kind video clip of the branch of segment;Before the broadcasting end time of target video segment, output includes the first kind The branching selection prompt information of user's guidance information of video clip;Receive what user was issued based on the branching selection prompt information Selection result;First of first kind video clip based on alternatively result plays initial time, is finishing the target The first kind video clip that alternatively result is played after video clip, is realized with this and is mentioned in video display process for user For the purpose of desired branch's plot.
Further, video play device provided by the embodiment of the present invention, as shown in figure 4, can also include:
Next video clip determining module 370 is used for when the judgment result is no, the determining and target video segment phase Continuous next video clip, triggers next video clip playing module 380;
Next video clip playing module 380, when playing starting for second based on next video clip Between, next video clip is played after finishing the target video segment.
Specifically, the first kind video clip playing module 360 may include:
First broadcast unit, for after finishing the target video segment, from the first kind of alternatively result The first of video clip plays the first kind video clip that alternatively result is played at initial time.
Specifically, the prompt information output module 340 may include:
Prompt information output unit, for the target video segment broadcasting the end time scheduled duration before, The branching selection prompt information of user guidance information of the output comprising the first kind video clip;Wherein, the scheduled duration It is determined based on the duration for the video content that can preload predefined size;
Correspondingly, the first kind video clip playing module 360 may include:
Second broadcast unit, for from the first broadcasting initial time of the first kind video clip from alternatively result pairs Alternatively the first kind video clip of result executes preloading, plays after finishing the target video segment as choosing Select the preloaded content of the first kind video clip of result, and continue load alternatively the first kind video clip of result the One plays the remaining video content before the end time.
Specifically, next video clip playing module 380 may include:
First broadcast unit, for after finishing the target video segment, from the of next video clip Two play broadcasting next video clip at initial time.
Specifically, next video clip playing module 380 may include:
Second broadcast unit, for playing from initial time from the second of next video clip to next video Segment executes preloading, and the preloaded content of next video clip is played after finishing the target video segment, And continue the remaining video content before the second broadcasting end time for loading next video clip.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (10)

1. a kind of video broadcasting method characterized by comprising
During playing target video segment, default script file corresponding to the target video segment is determined;Wherein, Recording in the default script file has: there is the broadcasting initial time for the multiple video clips for playing incidence relation and plays knot The beam time, and, the broadcasting syntagmatic of multiple video clips, belong to branch video clip user's guidance information;Wherein, The multiple video clips that there is broadcasting incidence relation correspond to same default script file;The presence plays incidence relation Multiple video clips are not integrated into a video file by Video coding mode, and realize institute by the default script file The association for stating multiple video clips plays;
Based on the broadcasting syntagmatic recorded in the default script file, judge that the target video segment whether there is Branch;
When the judgment result is yes, based on the broadcasting syntagmatic recorded in the default script file, determination belongs to institute State the first kind video clip of the branch of target video segment;It is defeated before the broadcasting end time of the target video segment The branching selection prompt information of user's guidance information comprising the first kind video clip out;It receives user and is based on the branch The selection result for selecting prompt information to issue;When first of first kind video clip based on alternatively result plays starting Between, the first kind video clip of alternatively result is played after finishing the target video segment;
When the judgment result is no, the determining and consecutive next video clip of the target video segment;Based on described next The second of video clip plays initial time, and next video clip is played after finishing the target video segment.
2. the method according to claim 1, wherein the first kind video clip based on alternatively result First play initial time, the first kind piece of video of alternatively result is played after finishing the target video segment Section, comprising:
After finishing the target video segment, starting is played from the first of the first kind video clip of alternatively result The first kind video clip of alternatively result is played at time.
3. the method according to claim 1, wherein the broadcasting end time in the target video segment Before, the branching selection prompt information of user guidance information of the output comprising the first kind video clip, comprising:
Before the scheduled duration of the broadcasting end time of the target video segment, output includes the first kind video clip User's guidance information branching selection prompt information;Wherein, the scheduled duration is based on the view that can preload predefined size The duration of frequency content is determined;
The first of the first kind video clip based on alternatively result plays initial time, is finishing the target The first kind video clip of alternatively result is played after video clip, comprising:
The first kind from initial time to alternatively result is played from the first of the first kind video clip of alternatively result Video clip executes preloading, and the first kind piece of video of alternatively result is played after finishing the target video segment Section preloaded content, and continue load alternatively the first kind video clip of result first play the end time before Remaining video content.
4. the method according to claim 1, wherein second based on next video clip plays Begin the time, next video clip played after finishing the target video segment, comprising:
After finishing the target video segment, is played from the second of next video clip and play institute from initial time State next video clip.
5. the method according to claim 1, wherein second based on next video clip plays Begin the time, next video clip played after finishing the target video segment, comprising:
Preloading is executed to next video clip from the second broadcasting initial time of next video clip, is being played The preloaded content of next video clip is played after finishing the target video segment, and continues to load next video The second of segment plays the remaining video content before the end time.
6. a kind of video play device characterized by comprising
Script file determining module, for during playing target video segment, determining that the target video segment institute is right The default script file answered;Wherein, recording in the default script file has: there are the multiple video clips for playing incidence relation Broadcasting initial time and play the end time, and, the broadcasting syntagmatic of multiple video clips, the piece of video for belonging to branch User's guidance information of section;Wherein, the multiple video clips that there is broadcasting incidence relation correspond to same default script file; The multiple video clips that there is broadcasting incidence relation are not integrated into a video file by Video coding mode, and pass through The default script file realizes that the association of the multiple video clip plays;Judgment module, for being based on the default script The broadcasting syntagmatic recorded in file judges the target video segment with the presence or absence of branch;
Branch's determining module is used for when the judgment result is yes, based on the broadcasting group recorded in the default script file Conjunction relationship determines the first kind video clip for belonging to the branch of the target video segment, and triggers prompt information output module;
The prompt information output module, for before the broadcasting end time of the target video segment, output to include institute State the branching selection prompt information of user's guidance information of first kind video clip, and triggering selection result receiving module;
The selection result receiving module, the selection result issued for receiving user based on the branching selection prompt information, And trigger first kind video clip playing module;
The first kind video clip playing module, first for the first kind video clip based on alternatively result plays Initial time plays the first kind video clip of alternatively result after finishing the target video segment;
Next video clip determining module, for when the judgment result is no, determination to be consecutive with the target video segment Next video clip triggers next video clip playing module;
Next video clip playing module plays initial time for second based on next video clip, is broadcasting Next video clip is played after discharging Bi Suoshu target video segment.
7. device according to claim 6, which is characterized in that the first kind video clip playing module includes:
First broadcast unit, for after finishing the target video segment, from the first kind video of alternatively result The first of segment plays the first kind video clip that alternatively result is played at initial time.
8. device according to claim 6, which is characterized in that the prompt information output module includes:
Prompt information output unit, for exporting before the scheduled duration of the broadcasting end time of the target video segment The branching selection prompt information of user's guidance information comprising the first kind video clip;Wherein, the scheduled duration is based on The duration that the video content of predefined size can be preloaded is determined;The first kind video clip playing module includes:
Second broadcast unit, first for the first kind video clip from alternatively result plays from initial time to conduct The first kind video clip of selection result executes preloading, plays after finishing the target video segment and alternatively ties The preloaded content of the first kind video clip of fruit, and continue load alternatively the first kind video clip of result first is broadcast Put the remaining video content before the end time.
9. device according to claim 6, which is characterized in that next video clip playing module includes:
First broadcast unit, for being broadcast from the second of next video clip after finishing the target video segment It puts and plays next video clip at initial time.
10. device according to claim 6, which is characterized in that next video clip playing module includes:
Second broadcast unit, for playing from initial time from the second of next video clip to next video clip Preloading is executed, the preloaded content of next video clip is played after finishing the target video segment, and is held The second of continuous load next video clip plays the remaining video content before the end time.
CN201510849484.1A 2015-11-27 2015-11-27 A kind of video broadcasting method and device Active CN105472456B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510849484.1A CN105472456B (en) 2015-11-27 2015-11-27 A kind of video broadcasting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510849484.1A CN105472456B (en) 2015-11-27 2015-11-27 A kind of video broadcasting method and device

Publications (2)

Publication Number Publication Date
CN105472456A CN105472456A (en) 2016-04-06
CN105472456B true CN105472456B (en) 2019-05-10

Family

ID=55609667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510849484.1A Active CN105472456B (en) 2015-11-27 2015-11-27 A kind of video broadcasting method and device

Country Status (1)

Country Link
CN (1) CN105472456B (en)

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331525A (en) * 2016-08-29 2017-01-11 陈虎 Realization method for interactive film
CN106507189A (en) * 2016-11-01 2017-03-15 热波(北京)网络科技有限责任公司 A kind of man-machine interaction method and system based on VR videos
CN106803993B (en) * 2017-03-01 2020-04-07 腾讯科技(深圳)有限公司 Method and device for realizing video branch selection playing
CN107943533B (en) * 2017-11-07 2020-12-01 Oppo广东移动通信有限公司 Image acquisition method and device, storage medium and electronic equipment
CN109982142A (en) * 2017-12-28 2019-07-05 优酷网络技术(北京)有限公司 Video broadcasting method and device
CN108924584A (en) * 2018-05-30 2018-11-30 互影科技(北京)有限公司 The packaging method and device of interactive video
CN108881977A (en) * 2018-06-27 2018-11-23 北京优屏科技服务有限公司 Dynamic interaction advertisement implementation method and system
US10771865B2 (en) 2019-02-11 2020-09-08 Netflix, Inc. Techniques for advancing playback of interactive media titles in response to user selections
CN112104908A (en) * 2019-06-18 2020-12-18 上海哔哩哔哩科技有限公司 Audio and video file playing method and device, computer equipment and readable storage medium
CN112104921A (en) * 2019-06-18 2020-12-18 上海哔哩哔哩科技有限公司 Video playing method and device and computer equipment
CN112104909A (en) * 2019-06-18 2020-12-18 上海哔哩哔哩科技有限公司 Interactive video playing method and device, computer equipment and readable storage medium
WO2021013272A1 (en) * 2019-07-25 2021-01-28 网宿科技股份有限公司 Video playback method, electronic device, and storage medium
CN110381384A (en) * 2019-07-25 2019-10-25 网宿科技股份有限公司 A kind of method and device that interactive audiovisual plays
WO2021057693A1 (en) * 2019-09-24 2021-04-01 广州虎牙科技有限公司 Processing of and playing control over interactive video
CN112584218A (en) * 2019-09-27 2021-03-30 腾讯科技(深圳)有限公司 Video playing method and device, computer equipment and storage medium
CN111031395A (en) * 2019-12-19 2020-04-17 北京奇艺世纪科技有限公司 Video playing method, device, terminal and storage medium
CN111031373A (en) * 2019-12-23 2020-04-17 北京百度网讯科技有限公司 Video playing method and device, electronic equipment and computer readable storage medium
CN111225292B (en) * 2020-01-15 2022-05-06 北京奇艺世纪科技有限公司 Information display method and device, storage medium and electronic device
CN111356018A (en) * 2020-03-06 2020-06-30 北京奇艺世纪科技有限公司 Play control method and device, electronic equipment and storage medium
CN111654730B (en) * 2020-06-05 2021-05-28 腾讯科技(深圳)有限公司 Video playing method, data processing method, related device and medium
CN112261473A (en) * 2020-10-20 2021-01-22 重庆虚拟实境科技有限公司 Video integration loading method, computer device and readable storage medium
CN112312219A (en) * 2020-11-26 2021-02-02 上海连尚网络科技有限公司 Streaming media video playing and generating method and equipment
CN113423003A (en) * 2021-06-10 2021-09-21 山东云缦智能科技有限公司 Method for playing interactive video
CN113596555B (en) * 2021-06-21 2024-01-19 维沃移动通信(杭州)有限公司 Video playing method and device and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101111895A (en) * 2004-12-02 2008-01-23 索尼株式会社 Reproducing apparatus, reproducing method, reproducing program, recording medium, and data structure
CN101127867A (en) * 2006-08-16 2008-02-20 任峰 Video playing method for selectable scenario
CN103079115A (en) * 2013-02-05 2013-05-01 北京奇艺世纪科技有限公司 Control method and device of multimedia data
CN103517131A (en) * 2012-08-14 2014-01-15 Tcl集团股份有限公司 Method for playing segmental videos in gapless mode in television set and television set
CN103686414A (en) * 2013-12-19 2014-03-26 北京奇艺世纪科技有限公司 Network video playing method and device
CN104113785A (en) * 2014-06-26 2014-10-22 小米科技有限责任公司 Information acquisition method and device
CN104581208A (en) * 2015-01-30 2015-04-29 百度在线网络技术(北京)有限公司 VOD (video on demand) and VOD aiding methods and devices

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009125404A2 (en) * 2008-04-07 2009-10-15 Ramot At Tel-Aviv University Ltd. System for generating an interactive or non-interactive branching movie segment by segment and methods useful in conjunction therewith
CN102215366A (en) * 2010-04-02 2011-10-12 中兴通讯股份有限公司 Methods and systems for generating and playing multimedia file
US20140028780A1 (en) * 2012-05-31 2014-01-30 Volio, Inc. Producing content to provide a conversational video experience
CN104219557B (en) * 2013-05-31 2019-03-01 腾讯科技(北京)有限公司 A kind of video file broadcasting method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101111895A (en) * 2004-12-02 2008-01-23 索尼株式会社 Reproducing apparatus, reproducing method, reproducing program, recording medium, and data structure
CN101127867A (en) * 2006-08-16 2008-02-20 任峰 Video playing method for selectable scenario
CN103517131A (en) * 2012-08-14 2014-01-15 Tcl集团股份有限公司 Method for playing segmental videos in gapless mode in television set and television set
CN103079115A (en) * 2013-02-05 2013-05-01 北京奇艺世纪科技有限公司 Control method and device of multimedia data
CN103686414A (en) * 2013-12-19 2014-03-26 北京奇艺世纪科技有限公司 Network video playing method and device
CN104113785A (en) * 2014-06-26 2014-10-22 小米科技有限责任公司 Information acquisition method and device
CN104581208A (en) * 2015-01-30 2015-04-29 百度在线网络技术(北京)有限公司 VOD (video on demand) and VOD aiding methods and devices

Also Published As

Publication number Publication date
CN105472456A (en) 2016-04-06

Similar Documents

Publication Publication Date Title
CN105472456B (en) A kind of video broadcasting method and device
US7085844B2 (en) Method and apparatus for random play technology
KR100883106B1 (en) Method for displaying video data and portable device using the same
US20080263620A1 (en) Script Synchronization Using Fingerprints Determined From a Content Stream
CA2801751A1 (en) Tv-centric actions in triggered declarative objects
US20090103889A1 (en) Media generation system
WO2005079501A3 (en) Methods and apparatus to determine audience viewing of video-on-demand programs
JP2007534261A (en) Method and apparatus for catching up distributed or stored content during broadcasting
EP2606651A1 (en) Virtual channel declarative script binding
CN105847997A (en) Audio bullet screen playing method and apparatus for video
CN106686394B (en) Video switching method and device
CN103871433B (en) A kind of control method and electronic equipment
CN101534386B (en) Video replacing method, video playing system and device
CN105657545A (en) Video play method and apparatus
CN101212443A (en) Stream switching based advertisement insertion system and implementation method
CN107872724A (en) A kind of preview video generation method and device
KR102181300B1 (en) Method and system for backward recording
CN109600653A (en) Playback method, device and the electronic equipment of video file
CN105959805B (en) Television program playing method and device
US20170249971A1 (en) Method for generating image in which sound source is inserted and apparatus therefor
DE102006015328B4 (en) Apparatus and method for recording and delayed playback of broadcasts
CN103716699A (en) Live program switching control method and system
CN100377592C (en) Method for setting inserted broadcasting point of TV-set programm
DE19846249C2 (en) Method and device for suppressing a predetermined shipment
CN102055931A (en) Channel setting device and channel setting method

Legal Events

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