CN105472456A - Video playing method and device - Google Patents

Video playing method and device Download PDF

Info

Publication number
CN105472456A
CN105472456A CN201510849484.1A CN201510849484A CN105472456A CN 105472456 A CN105472456 A CN 105472456A CN 201510849484 A CN201510849484 A CN 201510849484A CN 105472456 A CN105472456 A CN 105472456A
Authority
CN
China
Prior art keywords
video segment
video
broadcasting
fragment
selection result
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.)
Granted
Application number
CN201510849484.1A
Other languages
Chinese (zh)
Other versions
CN105472456B (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention provides a video playing method and device. The method includes the following steps that: in the playing process of a target video segment, a preset script file corresponding to the target video segment is determined; based on playing combination relationships in the preset script file, whether the target video segment has any branches is judged; when the target video segment has branches, it is confirmed that the branches of the target video segment belong to a first class video segment; before the playing termination time of the target video segment, branch selection prompting information containing the user guidance information of the first class video segment is outputted; a selection result which is transmitted by a user based on the branch selection prompting information is received; based on the first playing starting time of the first class video segment which is adopted as the selection result, the first class video segment adopted as the selection result is played after the playing of the target video segment is completed. With the video playing method and device of the invention adopted, desired branch plots can be provided for the user in a video playing process.

Description

A kind of video broadcasting method and device
Technical field
The present invention relates to video display arts field, particularly relate to a kind of video broadcasting method and device.
Background technology
In prior art, for the video file (as movie file, variety show file or TV play file etc.) that user watches in video website, it generally includes multiple video segment, for convenience of user to watch, video website is thrown in after multiple video segment is generated a video file by Video coding mode, thus when video file is play, multiple video segment is play according to single order.Such as: one that watches for user reaches for the movie file of 90 minutes, and multiple video segment generated by Video coding mode by video website by it.
Along with the raising of Consumer's Experience, movie or television play generally for and meets different user's requests, take multiple final result in advance, and variety show can exist multiple scene, namely there is branch's plot in video file.And multiple video segment is integrated into a fixing video file by prior art, playing sequence is single, cannot for user provide desired by branch's plot of seeing, make Consumer's Experience lower.
Therefore, how in video display process for user provides desired branch's plot to be a problem demanding prompt solution.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of video broadcasting method and device, with in video display process for user provides desired branch's plot.Concrete technical scheme is as follows:
First aspect, embodiments provides a kind of video broadcasting method, comprising:
In the process playing target video fragment, determine the default script file corresponding to described target video fragment; Wherein, record in described default script file: there is the broadcasting initial time of the multiple video segments playing incidence relation and play the end time, and, the broadcasting syntagmatic of multiple video segment, belong to user's guidance information of the video segment of branch;
Based on described broadcasting syntagmatic, judge whether described target video fragment exists branch;
When judged result is for being,
Determine the first kind video segment of the branch belonging to described target video fragment;
Before the broadcasting end time of described target video fragment, output packet is containing the branching selection information of user's guidance information of described first kind video segment;
Receive the selection result that user sends based on described branching selection information;
Play initial time based on first of the first kind video segment as selection result, after finishing described target video fragment, play the first kind video segment as selection result.
Optionally, embodiments provide a kind of video broadcasting method, also comprise:
When judged result is no,
Determine next video segment consecutive with described target video fragment;
Play initial time based on second of next video segment described, after finishing described target video fragment, play next video segment described.
Optionally, described the first broadcasting initial time based on the first kind video segment as selection result, after finishing described target video fragment, play the first kind video segment as selection result, comprising:
After finishing described target video fragment, play the first kind video segment of initial time broadcasting as selection result from first of the first kind video segment as selection result.
Optionally, described before the broadcasting end time of described target video fragment, output packet, containing the branching selection information of user's guidance information of described first kind video segment, comprising:
Before the scheduled duration of the broadcasting end time of described target video fragment, output packet is containing the branching selection information of user's guidance information of described first kind video segment; Wherein, described scheduled duration is based on can the duration of video content of the pre-sizing of prestrain determine;
Described the first broadcasting initial time based on the first kind video segment as selection result, after finishing described target video fragment, play the first kind video segment as selection result, comprising:
Play initial time from first of the first kind video segment as selection result and prestrain is performed to the first kind video segment as selection result, the preloaded content of the first kind video segment as selection result is play after finishing described target video fragment, and the remaining video content before continuing to load as the first broadcasting end time of the first kind video segment of selection result.
Optionally, described the second broadcasting initial time based on next video segment described, after finishing described target video fragment, play next video segment described, comprising:
After finishing described target video fragment, play initial time from second of next video segment described and play next video segment described.
Optionally, described the second broadcasting initial time based on next video segment described, after finishing described target video fragment, play next video segment described, comprising:
Play initial time from second of next video segment described and prestrain is performed to next video segment described, the preloaded content of broadcasting next video segment described after finishing described target video fragment, and continue the remaining video content before the second broadcasting end time loading next video segment described.
Second aspect, embodiments provides a kind of video play device, comprising:
Script file determination module, in the process playing target video fragment, determines the default script file corresponding to described target video fragment; Wherein, record in described default script file: there is the broadcasting initial time of the multiple video segments playing incidence relation and play the end time, and, the broadcasting syntagmatic of multiple video segment, belong to user's guidance information of the video segment of branch;
Judge module, for based on described broadcasting syntagmatic, judges whether described target video fragment exists branch;
Branch's determination module, for when judged result is for being, determines the first kind video segment of the branch belonging to described target video fragment, and trigger prompts message output module;
Described information output module, for before the broadcasting end time of described target video fragment, output packet is containing the branching selection information of user's guidance information of described first kind video segment, and triggering selection result receiver module;
Described selection result receiver module, for receiving the selection result that user sends based on described branching selection information, and triggers first kind video segment playing module;
Described first kind video segment playing module, for playing initial time based on first of the first kind video segment as selection result, plays the first kind video segment as selection result after finishing described target video fragment.
Optionally, embodiments provide a kind of video play device, also comprise:
Next video segment determination module, during for being no when judged result, determining next video segment consecutive with described target video fragment, triggering next video segment playing module;
Next video segment playing module described, for playing initial time based on second of next video segment described, plays next video segment described after finishing described target video fragment.
Optionally, described first kind video segment playing module comprises:
First broadcast unit, for after finishing described target video fragment, plays the first kind video segment of initial time broadcasting as selection result from first of the first kind video segment as selection result.
Optionally, described information output module comprises:
Information output unit, for before the scheduled duration of the broadcasting end time of described target video fragment, output packet is containing the branching selection information of user's guidance information of described first kind video segment; Wherein, described scheduled duration is based on can the duration of video content of the pre-sizing of prestrain determine; Described first kind video segment playing module comprises:
Second broadcast unit, for playing initial time from first of the first kind video segment as selection result, prestrain is performed to the first kind video segment as selection result, the preloaded content of the first kind video segment as selection result is play after finishing described target video fragment, and the remaining video content before continuing to load as the first broadcasting end time of the first kind video segment of selection result.
Optionally, next video segment playing module described comprises:
First broadcast unit, for after finishing described target video fragment, plays initial time from second of next video segment described and plays next video segment described.
Optionally, next video segment playing module described comprises:
Second broadcast unit, for playing initial time from second of next video segment described, prestrain is performed to next video segment described, the preloaded content of broadcasting next video segment described after finishing described target video fragment, and continue the remaining video content before the second broadcasting end time loading next video segment described.
Compared with prior art, in the embodiment of the present invention, script file is built in advance for there are the multiple video segments playing incidence relation, record in this script file: there is the broadcasting initial time of the multiple video segments playing incidence relation and play the end time, and, the broadcasting syntagmatic of multiple video segment, belong to user's guidance information of the video segment of branch; And then, when playing target video fragment, determining the default script file corresponding to this target video fragment, when judging that this target video fragment exists branch based on the broadcasting syntagmatic in this default script file, determining the first kind video segment of the branch belonging to this target video fragment; Before the broadcasting end time of target video fragment, output packet is containing the branching selection information of user's guidance information of this first kind video segment; Receive the selection result that user sends based on this branching selection information; Initial time is play based on first of the first kind video segment as selection result, after finishing this target video fragment, play the first kind video segment as selection result, achieve in video display process as user provides the object of desired branch's plot with this.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The flow chart of a kind of video broadcasting method that Fig. 1 provides for the embodiment of the present invention;
Another flow chart of a kind of video broadcasting method that Fig. 2 provides for the embodiment of the present invention;
The structural representation of a kind of video play device that Fig. 3 provides for the embodiment of the present invention;
Another structural representation of a kind of video play device that Fig. 4 provides for the embodiment of the present invention;
Fig. 5 is the relation schematic diagram that there are the multiple videos playing incidence relation.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In order in video display process for user provides desired branch's plot, embodiments provide a kind of video broadcasting method and device.
First a kind of video method method that the embodiment of the present invention provides is introduced below.
It should be noted that, a kind of video broadcasting method that the embodiment of the present invention provides can be applied to player, the player that the player that this player can call for video website also can call for client software, and this is all rational.Further, the video segment that incidence relation is play in the existence mentioned by the embodiment of the present invention can be the multiple video segments about film, the multiple video segment about TV play or the video segment about variety show, etc.
As described in Figure 1, a kind of video broadcasting method that the embodiment of the present invention provides, can comprise the steps:
S101, in the process playing target video fragment, determines the default script file corresponding to this target video fragment;
In order to solve prior art problem, in the process playing target video fragment, the default script file corresponding to this target video fragment can be determined, wherein, record in this default script file: there is the broadcasting initial time of the multiple video segments playing incidence relation and play the end time, and, the broadcasting syntagmatic of multiple video segment, belong to user's guidance information of the video segment of branch.Be understandable that, there is the corresponding same default script file of the multiple video segments playing incidence relation, preset in script file and can characterize this video segment by the fragment identification of video segment, and, the fragment identification of video segment can as determine this video segment broadcast address search foundation, this is also rational.
Wherein, this target video fragment can be the arbitrary video segment in multiple video segment, and, user can first video segment in the multiple video segment of manual unlocking, and then the follow-up scheme all performing the embodiment of the present invention and provide in the playing process of each video segment, or first video segment can be play automatically by radio hookup list, and then the follow-up scheme all performing the embodiment of the present invention and provide in the playing process of each video segment.In addition, specifically can refer in the process playing target video fragment: when starting to play target video fragment, or, after the specific duration of broadcasting target video fragment, etc., this is all rational.
It is emphasized that by the embodiment of the present invention, there are multiple video segments of broadcasting incidence relation without the need to being integrated into a video file by Video coding mode, but realize the association broadcasting of multiple video segment based on default script file; In addition, feel it is complete video file to allow user, the broadcasting entrance needing the video segment first play in the plurality of video segment from time angle can be provided for user, the concrete form of this broadcasting entrance can adopt the form of the broadcasting entrance of the existing video file formed by Video coding mode, for example: video placard or video name, etc.
Wherein, the building process presetting script file can generate manually in advance, specifically can comprise:
Select to do multiple video segments that incidence relation is play in the existence that makes from video library, in the plurality of video segment, at least two video segments belong to the branch's video in the plot of a certain video segment;
Determine the broadcasting initial time of obtained multiple video segments and play the end time;
User's guidance information of the broadcasting syntagmatic determining multiple video segment and the video segment belonging to branch;
Build script file, wherein, this script file records: there is the broadcasting initial time of the multiple video segments playing incidence relation and play the end time, and, the broadcasting syntagmatic of multiple video segment, belong to user's guidance information of the video segment of branch.
Wherein, the user's guidance information belonging to the video segment of video branching for the descriptor about plot, can be not limited thereto certainly, and play the playing sequence that syntagmatic can show each video segment, wherein, the concrete form playing syntagmatic does not limit at this, such as: play syntagmatic and can be shown by multiway tree form, is certainly not limited thereto, in addition, the broadcasting initial time of video segment and the video content play between the end time can be the full content of this video segment, also can be this video segment partial content, and specifically full content or partial content can set according to actual conditions when script file editor, for example: the playing duration of video segment A is 30 minutes, so, the broadcasting initial time presetting this video segment A in script file can be 10:00, and play the end time can for 20:00, like this, the video content play between initial time and broadcasting end time is the partial video content of this video segment A, or, the broadcasting initial time presetting this video segment A in script file can be 00:00, and play the end time can for 30:00, like this, the video content play between initial time and broadcasting end time is all videos content of this video segment A.
S102, based on this broadcasting syntagmatic, judges whether this target video fragment exists branch, if so, performs S103;
Wherein, after determining default script file, by the broadcasting syntagmatic in this default script file, can determine whether this target video fragment exists branch, and when judged result is for being, perform S103.
S103, determines the first kind video segment of the branch belonging to this target video fragment;
When judging that this target video fragment exists branch, the first kind video segment of the branch belonging to this target video fragment can be determined further based on broadcasting syntagmatic.
Wherein, " first kind " in so-called " first kind video segment ", just to the video segment of the branch belonging to this target video fragment is different from other video segments, does not have any limiting meaning.
S104, before the broadcasting end time of this target video fragment, output packet is containing the branching selection information of user's guidance information of this first kind video segment;
Wherein, after determining the first kind video segment of the branch belonging to this target video fragment, can before the broadcasting end time of this target video fragment, output packet contains the branching selection information of user's guidance information of this first kind video segment, so that user selects branch's plot by this branching selection information.
Be understandable that, the concrete display form of branching selection information can set according to actual conditions, and for example, this concrete display form can be: play window shape formula or floating layer form, etc.
S105, receives the selection result that user sends based on this branching selection information;
Wherein, after user selects a certain branch based on branching selection information, the selection result that user sends based on this branching selection information can be received, and then, perform follow-up operation based on selection result.
S106, plays initial time based on first of the first kind video segment as selection result, plays the first kind video segment as selection result after finishing this target video fragment.
After receiving the selection result that user sends based on this branching selection information, in order to play the branch's plot desired by user, initial time can be play based on first of the first kind video segment as selection result, after finishing this target video fragment, play the first kind video segment as selection result.
Concrete, in one implementation, described the first broadcasting initial time based on the first kind video segment as selection result, after finishing this target video fragment, play the first kind video segment as selection result, can comprise:
After finishing this target video fragment, play the first kind video segment of initial time broadcasting as selection result from first of the first kind video segment as selection result.
Further, in order to ensure the fluency watched, in the second implementation, described before the broadcasting end time of this target video fragment, output packet, containing the branching selection information of user's guidance information of this first kind video segment, can comprise:
Before the scheduled duration of the broadcasting end time of this target video fragment, output packet is containing the branching selection information of user's guidance information of this first kind video segment; Wherein, this scheduled duration is based on can the duration of video content of the pre-sizing of prestrain determine;
Accordingly, described the first broadcasting initial time based on the first kind video segment as selection result, after finishing this target video fragment, play the first kind video segment as selection result, can comprise:
Play initial time from first of the first kind video segment as selection result and prestrain is performed to the first kind video segment as selection result, the preloaded content of the first kind video segment as selection result is play after finishing this target video fragment, and the remaining video content before continuing to load as the first broadcasting end time of the first kind video segment of selection result.
Wherein, this scheduled duration can be more than or equal to can the duration of video content of the pre-sizing of prestrain, and can the duration of video content of the pre-sizing of prestrain can be empirical value.
Compared with prior art, in the embodiment of the present invention, script file is built in advance for there are the multiple video segments playing incidence relation, record in this script file: there is the broadcasting initial time of the multiple video segments playing incidence relation and play the end time, and, the broadcasting syntagmatic of multiple video segment, belong to user's guidance information of the video segment of branch; And then, when playing target video fragment, determining the default script file corresponding to this target video fragment, when judging that this target video fragment exists branch based on the broadcasting syntagmatic in this default script file, determining the first kind video segment of the branch belonging to this target video fragment; Before the broadcasting end time of target video fragment, output packet is containing the branching selection information of user's guidance information of this first kind video segment; Receive the selection result that user sends based on this branching selection information; Initial time is play based on first of the first kind video segment as selection result, after finishing this target video fragment, play the first kind video segment as selection result, achieve in video display process as user provides the object of desired branch's plot with this.
In addition, because the embodiment of the present invention is combined there are the multiple video files playing incidence relation by script file, and not by Video coding mode, therefore, to realize in video display process, for while user provides the object of desired branch's plot, the workload of the generation that there is the video file corresponding to multiple video segments playing incidence relation being reduced.
Further, on basis embodiment illustrated in fig. 1, as shown in Figure 2, a kind of video broadcasting method that the embodiment of the present invention provides can also comprise:
S107, when judged result is no, determines next video segment consecutive with this target video fragment;
When judged result is no, be shown to be played in order, determine next video segment consecutive with this target video fragment.
S108, plays initial time based on second of this next video segment, plays this next video segment after finishing this target video fragment.
Determining with this target video fragment after next video segment consecutive, initial time can play based on second of this next video segment, after finishing this target video fragment, play this next video segment.
Concrete, in one implementation, described the second broadcasting initial time based on this next video segment, after finishing this target video fragment, play this next video segment, can comprise:
After finishing this target video fragment, play initial time from second of this next video segment and play this next video segment.
Further, in order to ensure to watch fluency, in the second implementation, described the second broadcasting initial time based on this next video segment, after finishing this target video fragment, play this next video segment, can comprise:
Play initial time from second of this next video segment and prestrain is performed to this next video segment, after finishing this target video fragment, play the preloaded content of this next video segment, and continue the remaining video content before the second broadcasting end time loading this next video segment.
Wherein, the specific implementation of this next video segment execution prestrain with reference to the specific implementation of prestrain video content of the prior art, can not repeated at this.
It should be noted that, when this target video fragment is there is last video segment in the multiple video segments playing incidence relation, namely not only there is not the first kind video segment of the branch belonging to this target video fragment, there is not next video segment to be played yet, now, directly terminate the embodiment of the present invention the handling process of scheme is provided.
It is emphasized that, " second " in " first " and " second plays initial time " in " first plays initial time " mentioned by the embodiment of the present invention is only used to the broadcasting initial time distinguishing different video fragment, does not have any limiting meaning; Similar, " second " in " first " and " second plays the end time " in " first plays the end time " mentioned by the embodiment of the present invention is only used to the broadcasting end time distinguishing different video fragment, does not have any limiting meaning
Below in conjunction with concrete application example, a kind of video broadcasting method that the embodiment of the present invention provides is introduced.
Suppose that video file 1 exists the multiple video segments playing incidence relation: video segment A, video segment B1, video segment B2, video segment B3, video segment C and video segment D, the broadcasting syntagmatic of multiple video segment as shown in Figure 5, be specially: video segment A is first video segment needing to play, video segment B1, video segment B2 and video segment B3 belong to the branch of video segment A, played in order video segment C and video segment D after video segment B1, video segment B2 and video segment B3; And, the duration of each video segment is 20 minutes, the broadcasting initial time of each video segment is 00:00, and the broadcasting end time is 20:00, and namely the video content play between initial time and broadcasting end time is the complete video content of corresponding video fragment.
Based on above-mentioned information, write script file a in advance, record in this script file a: there is the broadcasting initial time of the multiple video segments playing incidence relation and play the end time, and, the broadcasting syntagmatic of multiple video segment, belong to user's guidance information of the video segment of branch, wherein, broadcasting syntagmatic can state playing sequence as shown in Figure 5, and user's guidance information is the content description information of video segment.
So, the playing process that there is the video file 1 of the multiple video segments playing incidence relation is as follows:
Player, when starting displaying video Segment A, determines the script file a corresponding to this video segment A;
Based on the broadcasting syntagmatic that this script file a records, judge that this video segment A exists branch, and then, determine the video segment B1 of the branch belonging to this video segment A, video segment B2 and video segment B3;
When being played to the 15th minute of video segment A, output packet, containing the branching selection superposed layer of user's guidance information of video segment B1, video segment B2 and video segment B3, selects branch's plot to point out user;
Receive the selection result that user sends based on branching selection superposed layer: video segment B2;
Prestrain is performed to video segment B2, the preloaded content of displaying video fragment B2 after finishing this video segment A from the broadcasting initial time of video segment B2, and continue the remaining video content before the broadcasting end time of loading video segment B2;
Further,
When starting displaying video fragment B2, determine the script file a corresponding to this video segment B2;
Based on the broadcasting syntagmatic that this script file a records, judge that this video segment B2 does not exist branch;
Determine next video segment consecutive with this video segment B2: video segment C;
From the broadcasting initial time of this video segment C, prestrain is performed to this video segment C, after finishing this video segment B2, play the preloaded content of this video segment C, and continue the remaining video content before the second broadcasting end time loading this video segment C;
Further, when starting displaying video fragment C, the script file a corresponding to this video segment C is determined;
Based on the broadcasting syntagmatic that this script file a records, judge that this video segment C does not exist branch;
Determine next video segment consecutive with this video segment C: video segment D;
From the broadcasting initial time of this video segment D, prestrain is performed to this video segment D, after finishing this video segment C, play the preloaded content of this video segment D, and continue the remaining video content before the second broadcasting end time loading this video segment D;
When starting displaying video fragment D, determine the script file a corresponding to this video segment D;
Based on the broadcasting syntagmatic that this script file a records, determine that this video segment D is last video segment, so, after finishing video segment D, terminate video playback.
Visible, by this programme, can achieve in video display process as user provides the object of desired branch's plot.
Corresponding to said method embodiment, the embodiment of the present invention additionally provides a kind of video play device, as shown in Figure 3, can comprise:
Script file determination module 310, in the process playing target video fragment, determines the default script file corresponding to described target video fragment; Wherein, record in described default script file: there is the broadcasting initial time of the multiple video segments playing incidence relation and play the end time, and, the broadcasting syntagmatic of multiple video segment, belong to user's guidance information of the video segment of branch;
Judge module 320, for based on described broadcasting syntagmatic, judges whether described target video fragment exists branch;
Branch's determination module 330, for when judged result is for being, determines the first kind video segment of the branch belonging to described target video fragment, and trigger prompts message output module 340;
Described information output module 340, for before the broadcasting end time of described target video fragment, output packet is containing the branching selection information of user's guidance information of described first kind video segment, and triggering selection result receiver module 350;
Described selection result receiver module 350, for receiving the selection result that user sends based on described branching selection information, and triggers first kind video segment playing module 360;
Described first kind video segment playing module 360, for playing initial time based on first of the first kind video segment as selection result, plays the first kind video segment as selection result after finishing described target video fragment.
Compared with prior art, in the embodiment of the present invention, script file is built in advance for there are the multiple video segments playing incidence relation, record in this script file: there is the broadcasting initial time of the multiple video segments playing incidence relation and play the end time, and, the broadcasting syntagmatic of multiple video segment, belong to user's guidance information of the video segment of branch; And then, when playing target video fragment, determining the default script file corresponding to this target video fragment, when judging that this target video fragment exists branch based on the broadcasting syntagmatic in this default script file, determining the first kind video segment of the branch belonging to this target video fragment; Before the broadcasting end time of target video fragment, output packet is containing the branching selection information of user's guidance information of this first kind video segment; Receive the selection result that user sends based on this branching selection information; Initial time is play based on first of the first kind video segment as selection result, after finishing this target video fragment, play the first kind video segment as selection result, achieve in video display process as user provides the object of desired branch's plot with this.
Further, the video play device that the embodiment of the present invention provides, as shown in Figure 4, can also comprise:
Next video segment determination module 370, during for being no when judged result, determining next video segment consecutive with described target video fragment, triggering next video segment playing module 380;
Next video segment playing module 380 described, for playing initial time based on second of next video segment described, plays next video segment described after finishing described target video fragment.
Concrete, described first kind video segment playing module 360 can comprise:
First broadcast unit, for after finishing described target video fragment, plays the first kind video segment of initial time broadcasting as selection result from first of the first kind video segment as selection result.
Concrete, described information output module 340 can comprise:
Information output unit, for before the scheduled duration of the broadcasting end time of described target video fragment, output packet is containing the branching selection information of user's guidance information of described first kind video segment; Wherein, described scheduled duration is based on can the duration of video content of the pre-sizing of prestrain determine;
Accordingly, described first kind video segment playing module 360 can comprise:
Second broadcast unit, for playing initial time from first of the first kind video segment as selection result, prestrain is performed to the first kind video segment as selection result, the preloaded content of the first kind video segment as selection result is play after finishing described target video fragment, and the remaining video content before continuing to load as the first broadcasting end time of the first kind video segment of selection result.
Concrete, next video segment playing module 380 described can comprise:
First broadcast unit, for after finishing described target video fragment, plays initial time from second of next video segment described and plays next video segment described.
Concrete, next video segment playing module 380 described can comprise:
Second broadcast unit, for playing initial time from second of next video segment described, prestrain is performed to next video segment described, the preloaded content of broadcasting next video segment described after finishing described target video fragment, and continue the remaining video content before the second broadcasting end time loading next video segment described.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Each embodiment in this specification all adopts relevant mode to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (12)

1. a video broadcasting method, is characterized in that, comprising:
In the process playing target video fragment, determine the default script file corresponding to described target video fragment; Wherein, record in described default script file: there is the broadcasting initial time of the multiple video segments playing incidence relation and play the end time, and, the broadcasting syntagmatic of multiple video segment, belong to user's guidance information of the video segment of branch;
Based on described broadcasting syntagmatic, judge whether described target video fragment exists branch;
When judged result is for being,
Determine the first kind video segment of the branch belonging to described target video fragment;
Before the broadcasting end time of described target video fragment, output packet is containing the branching selection information of user's guidance information of described first kind video segment;
Receive the selection result that user sends based on described branching selection information;
Play initial time based on first of the first kind video segment as selection result, after finishing described target video fragment, play the first kind video segment as selection result.
2. method according to claim 1, is characterized in that, also comprises:
When judged result is no,
Determine next video segment consecutive with described target video fragment;
Play initial time based on second of next video segment described, after finishing described target video fragment, play next video segment described.
3. method according to claim 1 and 2, it is characterized in that, described the first broadcasting initial time based on the first kind video segment as selection result, after finishing described target video fragment, play the first kind video segment as selection result, comprising:
After finishing described target video fragment, play the first kind video segment of initial time broadcasting as selection result from first of the first kind video segment as selection result.
4. method according to claim 1 and 2, is characterized in that, described before the broadcasting end time of described target video fragment, and output packet, containing the branching selection information of user's guidance information of described first kind video segment, comprising:
Before the scheduled duration of the broadcasting end time of described target video fragment, output packet is containing the branching selection information of user's guidance information of described first kind video segment; Wherein, described scheduled duration is based on can the duration of video content of the pre-sizing of prestrain determine;
Described the first broadcasting initial time based on the first kind video segment as selection result, after finishing described target video fragment, play the first kind video segment as selection result, comprising:
Play initial time from first of the first kind video segment as selection result and prestrain is performed to the first kind video segment as selection result, the preloaded content of the first kind video segment as selection result is play after finishing described target video fragment, and the remaining video content before continuing to load as the first broadcasting end time of the first kind video segment of selection result.
5. method according to claim 2, is characterized in that, described the second broadcasting initial time based on next video segment described, plays next video segment described, comprising after finishing described target video fragment:
After finishing described target video fragment, play initial time from second of next video segment described and play next video segment described.
6. method according to claim 2, is characterized in that, described the second broadcasting initial time based on next video segment described, plays next video segment described, comprising after finishing described target video fragment:
Play initial time from second of next video segment described and prestrain is performed to next video segment described, the preloaded content of broadcasting next video segment described after finishing described target video fragment, and continue the remaining video content before the second broadcasting end time loading next video segment described.
7. a video play device, is characterized in that, comprising:
Script file determination module, in the process playing target video fragment, determines the default script file corresponding to described target video fragment; Wherein, record in described default script file: there is the broadcasting initial time of the multiple video segments playing incidence relation and play the end time, and, the broadcasting syntagmatic of multiple video segment, belong to user's guidance information of the video segment of branch;
Judge module, for based on described broadcasting syntagmatic, judges whether described target video fragment exists branch;
Branch's determination module, for when judged result is for being, determines the first kind video segment of the branch belonging to described target video fragment, and trigger prompts message output module;
Described information output module, for before the broadcasting end time of described target video fragment, output packet is containing the branching selection information of user's guidance information of described first kind video segment, and triggering selection result receiver module;
Described selection result receiver module, for receiving the selection result that user sends based on described branching selection information, and triggers first kind video segment playing module;
Described first kind video segment playing module, for playing initial time based on first of the first kind video segment as selection result, plays the first kind video segment as selection result after finishing described target video fragment.
8. device according to claim 7, is characterized in that, also comprises:
Next video segment determination module, during for being no when judged result, determining next video segment consecutive with described target video fragment, triggering next video segment playing module;
Next video segment playing module described, for playing initial time based on second of next video segment described, plays next video segment described after finishing described target video fragment.
9. the device according to claim 7 or 8, is characterized in that, described first kind video segment playing module comprises:
First broadcast unit, for after finishing described target video fragment, plays the first kind video segment of initial time broadcasting as selection result from first of the first kind video segment as selection result.
10. the device according to claim 7 or 8, is characterized in that, described information output module comprises:
Information output unit, for before the scheduled duration of the broadcasting end time of described target video fragment, output packet is containing the branching selection information of user's guidance information of described first kind video segment; Wherein, described scheduled duration is based on can the duration of video content of the pre-sizing of prestrain determine; Described first kind video segment playing module comprises:
Second broadcast unit, for playing initial time from first of the first kind video segment as selection result, prestrain is performed to the first kind video segment as selection result, the preloaded content of the first kind video segment as selection result is play after finishing described target video fragment, and the remaining video content before continuing to load as the first broadcasting end time of the first kind video segment of selection result.
11. devices according to claim 8, is characterized in that, next video segment playing module described comprises:
First broadcast unit, for after finishing described target video fragment, plays initial time from second of next video segment described and plays next video segment described.
12. devices according to claim 8, is characterized in that, next video segment playing module described comprises:
Second broadcast unit, for playing initial time from second of next video segment described, prestrain is performed to next video segment described, the preloaded content of broadcasting next video segment described after finishing described target video fragment, and continue the remaining video content before the second broadcasting end time loading next video segment described.
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 true CN105472456A (en) 2016-04-06
CN105472456B 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)

Cited By (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
CN106803993A (en) * 2017-03-01 2017-06-06 腾讯科技(深圳)有限公司 It is a kind of to realize the method and device that video branching selection is played
CN107943533A (en) * 2017-11-07 2018-04-20 广东欧珀移动通信有限公司 Image acquiring method, device, storage medium and electronic equipment
CN108881977A (en) * 2018-06-27 2018-11-23 北京优屏科技服务有限公司 Dynamic interaction advertisement implementation method and system
CN108924584A (en) * 2018-05-30 2018-11-30 互影科技(北京)有限公司 The packaging method and device of interactive video
CN109982142A (en) * 2017-12-28 2019-07-05 优酷网络技术(北京)有限公司 Video broadcasting method and device
CN110381384A (en) * 2019-07-25 2019-10-25 网宿科技股份有限公司 A kind of method and device that interactive audiovisual plays
CN111031373A (en) * 2019-12-23 2020-04-17 北京百度网讯科技有限公司 Video playing method and device, electronic equipment and computer readable storage medium
CN111031395A (en) * 2019-12-19 2020-04-17 北京奇艺世纪科技有限公司 Video playing method, device, terminal and storage medium
CN111225292A (en) * 2020-01-15 2020-06-02 北京奇艺世纪科技有限公司 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
CN111654730A (en) * 2020-06-05 2020-09-11 腾讯科技(深圳)有限公司 Video playing method, data processing method, related device and 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
CN112104908A (en) * 2019-06-18 2020-12-18 上海哔哩哔哩科技有限公司 Audio and video file playing method and device, computer equipment and readable storage medium
CN112261473A (en) * 2020-10-20 2021-01-22 重庆虚拟实境科技有限公司 Video integration loading method, computer device and readable storage medium
WO2021013272A1 (en) * 2019-07-25 2021-01-28 网宿科技股份有限公司 Video playback method, electronic device, and storage medium
CN112312219A (en) * 2020-11-26 2021-02-02 上海连尚网络科技有限公司 Streaming media video playing and generating method and equipment
CN112584218A (en) * 2019-09-27 2021-03-30 腾讯科技(深圳)有限公司 Video playing method and device, computer equipment and storage medium
WO2021057693A1 (en) * 2019-09-24 2021-04-01 广州虎牙科技有限公司 Processing of and playing control over interactive video
CN113423003A (en) * 2021-06-10 2021-09-21 山东云缦智能科技有限公司 Method for playing interactive video
CN113424553A (en) * 2019-02-11 2021-09-21 奈飞公司 Techniques for facilitating playback of interactive media items in response to user selections
CN113596555A (en) * 2021-06-21 2021-11-02 维沃移动通信(杭州)有限公司 Video playing method and device and electronic equipment

Citations (11)

* 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
US20110126106A1 (en) * 2008-04-07 2011-05-26 Nitzan Ben Shaul 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
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
US20140028780A1 (en) * 2012-05-31 2014-01-30 Volio, Inc. Producing content to provide a conversational video experience
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
CN104219557A (en) * 2013-05-31 2014-12-17 腾讯科技(北京)有限公司 Video file playing method and device
CN104581208A (en) * 2015-01-30 2015-04-29 百度在线网络技术(北京)有限公司 VOD (video on demand) and VOD aiding methods and devices

Patent Citations (11)

* 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
US20110126106A1 (en) * 2008-04-07 2011-05-26 Nitzan Ben Shaul 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
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
CN104219557A (en) * 2013-05-31 2014-12-17 腾讯科技(北京)有限公司 Video file playing method and device
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

Cited By (33)

* 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
CN106803993A (en) * 2017-03-01 2017-06-06 腾讯科技(深圳)有限公司 It is a kind of to realize the method and device that video branching selection is played
CN106803993B (en) * 2017-03-01 2020-04-07 腾讯科技(深圳)有限公司 Method and device for realizing video branch selection playing
CN107943533A (en) * 2017-11-07 2018-04-20 广东欧珀移动通信有限公司 Image acquiring method, 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
US11917271B2 (en) 2019-02-11 2024-02-27 Netflix, Inc. Techniques for advancing playback of interactive media titles in response to user selections
CN113424553A (en) * 2019-02-11 2021-09-21 奈飞公司 Techniques for facilitating playback of interactive media items in response to user selections
CN112104909A (en) * 2019-06-18 2020-12-18 上海哔哩哔哩科技有限公司 Interactive video 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
CN112104908A (en) * 2019-06-18 2020-12-18 上海哔哩哔哩科技有限公司 Audio and video file playing method and device, computer equipment and readable storage medium
WO2021012665A1 (en) * 2019-07-25 2021-01-28 网宿科技股份有限公司 Interactive audio and video playing method and apparatus
WO2021013272A1 (en) * 2019-07-25 2021-01-28 网宿科技股份有限公司 Video playback method, electronic device, and storage medium
CN111787406B (en) * 2019-07-25 2022-11-18 网宿科技股份有限公司 Video playing method, electronic equipment and storage medium
CN110381384A (en) * 2019-07-25 2019-10-25 网宿科技股份有限公司 A kind of method and device that interactive audiovisual plays
GB2590018A (en) * 2019-07-25 2021-06-16 Wangsu Science & Tech Co Ltd Video playback method, electronic device, and storage medium
CN111787406A (en) * 2019-07-25 2020-10-16 网宿科技股份有限公司 Video playing method, electronic equipment and storage medium
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
CN111225292A (en) * 2020-01-15 2020-06-02 北京奇艺世纪科技有限公司 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
CN111654730A (en) * 2020-06-05 2020-09-11 腾讯科技(深圳)有限公司 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
CN113596555A (en) * 2021-06-21 2021-11-02 维沃移动通信(杭州)有限公司 Video playing method and device and electronic equipment
CN113596555B (en) * 2021-06-21 2024-01-19 维沃移动通信(杭州)有限公司 Video playing method and device and electronic equipment

Also Published As

Publication number Publication date
CN105472456B (en) 2019-05-10

Similar Documents

Publication Publication Date Title
CN105472456A (en) Video playing method and device
CN103873921A (en) Seamless video play method and player
CN105578229A (en) Electronic equipment control method and device
US10116976B2 (en) System and method for distributing media content associated with an event
WO2017181597A1 (en) Method and device for video playback
US20120054790A1 (en) Image display apparatus and image displaying method thereof
CN103607631A (en) Carousel program introduction method and device of intelligent TV set
CN109040811A (en) A kind of video broadcasting method and device
CN104837037A (en) Method and device for generating video playback list
CN105744307A (en) Advertising management method and platform
CN105721942A (en) Starting method for intelligent television and intelligent television
EP2510684B1 (en) Method and apparatus for recording television content
CN108616769B (en) Video-on-demand method and device
CN104202652A (en) Television set top box and playback control method thereof
KR101265385B1 (en) User message system and method for digital video recorder
CN101529896A (en) Apparatus for receiving broadcast in processing broadcast program reserved for viewing and method thereof
CN105898398A (en) Advertisement play method and device, advertising method and device and advertisement system
CN103200458A (en) Television program message display method and user equipment
JP6305558B2 (en) Method and system for reverse recording
CN103596034A (en) Control method and control device for desktop display of intelligent television
CN110933508B (en) Video playing method and device and electronic equipment
CN106060661A (en) Method and device for processing no signal of television and smart television
CN109600653A (en) Playback method, device and the electronic equipment of video file
CN112203108A (en) Method and equipment for identifying and switching to live video stream according to short video stream
CN107872724A (en) A kind of preview video generation method and device

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