CN103916679A - Method, equipment and system for providing video information - Google Patents
Method, equipment and system for providing video information Download PDFInfo
- Publication number
- CN103916679A CN103916679A CN201410086495.4A CN201410086495A CN103916679A CN 103916679 A CN103916679 A CN 103916679A CN 201410086495 A CN201410086495 A CN 201410086495A CN 103916679 A CN103916679 A CN 103916679A
- Authority
- CN
- China
- Prior art keywords
- transcoding
- index file
- video
- equipment
- video playback
- 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
Links
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention provides a method, equipment and system for providing video information. User equipment is matched with transcoding equipment, the transcoding equipment is used for carrying out fragmented transcoding on videos corresponding to a video playing request according to the video playing request initiated by the user equipment, corresponding indexed files are set up or updated, and the user equipment is used for sending a fragmented video playing request and playing fragmented videos according to the indexed files. Compared with the prior art, real-time transcoding is carried out according to the video playing request of the user equipment, and the most coincident video resources are provided for user equipment of various types; by means of a distributed processing mode, transcoding efficiency and the system utilization rate are improved, and a playing request of a user side is quickly responded rather than returns to a user until video transcoding is completed; storage pressure of service equipment is relieved, the user side can frequently watch the videos, time for obtaining the videos by the user is shortened, and user experience is improved.
Description
Technical field
The present invention relates to internet arena, relate in particular to a kind of for the technology of video information is provided.
Background technology
Although the decoding performance of current mobile device and display resolution are become better and better, but due to the diversity of video format and the restriction of the network bandwidth and hardware resource, the video resource that user is accessed in other equipment (as Digital Video, digital camera) or network by mobile device is subject to larger restriction.
In the prior art, user realizes access and the broadcasting to video resource by downloading code-transferring method or off-line code-transferring method.Wherein, described download code-transferring method refers to that user downloads to described video resource in PC or other playback equipments, uses the transcoding software on PC or other playback equipments to carry out transcoding, is then uploaded to mobile device (as mobile phone) and carries out this locality and watch; This mode complex operation, needs user to understand the professional knowledge of some video aspects, limited larger.Described off-line code-transferring method refers to provides the video website of described video resource the video resource of uploading can be carried out to off-line transcoding, stores several parts of copies, selects to download watch for different clients; First there is time delay in this mode, because complete certain processing time of needs from uploading to off-line transcoding, secondly, because described video website can be the video that each video generate a lot of versions, need to expend a large amount of memory spaces.
Summary of the invention
The object of this invention is to provide a kind of for method, equipment and the system of video information are provided.
According to an aspect of the present invention, provide a kind of at subscriber equipment end for the method for video information is provided, wherein, the method comprises the following steps:
-send video playback request to transcoding equipment, wherein, the transcoding that described video playback request also ought often complete one section of video for described transcoding equipment according to described video playback request startup burst transcoding just can upgrade index file;
-obtain the index file that described transcoding equipment returns;
-send the segmentation video playback request corresponding with described index file according to index file to described transcoding equipment;
-play the corresponding segmentation video of described index file.
According to a further aspect in the invention, also provide a kind of method that supplies video information in transcoding equipment end for assisted Extraction, wherein, the method comprises the following steps:
-video playback the request that sends according to subscriber equipment, the corresponding video of described video playback request is carried out to burst transcoding, and in described burst transcoding process, the segmentation video obtaining according to burst transcoding, the index file that foundation or renewal are corresponding with described video playback request;
-when described index file meets when condition is provided, described index file is provided to described subscriber equipment;
-receive the segmentation video playback request corresponding with described index file that described subscriber equipment sends;
-according to the segmentation video playback request of described subscriber equipment, the segmentation video corresponding with the request of described segmentation video playback provided to described subscriber equipment, wherein, the request of described segmentation video playback is corresponding with described index file.
In accordance with a further aspect of the present invention, also provide a kind of for the subscriber equipment of video information is provided, wherein, this equipment comprises:
Send-request unit, for sending video playback request to transcoding equipment, wherein, the transcoding that described video playback request also ought often complete one section of video for described transcoding equipment according to described video playback request startup burst transcoding just can upgrade index file;
Index acquisition device, the index file returning for obtaining described transcoding equipment;
Segmentation dispensing device, for sending the segmentation video playback request corresponding with described index file according to index file to described transcoding equipment;
Playing device, for playing the corresponding segmentation video of described index file.
According to another aspect of the invention, also provide a kind of transcoding equipment that supplies video information for assisted Extraction, wherein, this equipment comprises:
Transcoding device, for the video playback request sending according to subscriber equipment, the corresponding video of described video playback request is carried out to burst transcoding, and in described burst transcoding process, the segmentation video obtaining according to burst transcoding, the index file that foundation or renewal are corresponding with described video playback request;
Index generator, while providing condition, provides described index file to described subscriber equipment for meeting when described index file;
Receiving system, the segmentation video playback request corresponding with described index file sending for receiving described subscriber equipment;
Segmentation generator, for according to the segmentation video playback request of described subscriber equipment, provides the segmentation video corresponding with the request of described segmentation video playback to described subscriber equipment, and wherein, the request of described segmentation video playback is corresponding with described index file.
According to a further aspect in the invention, also provide a kind of for the system of video information is provided, comprised subscriber equipment as described above and transcoding equipment as described above.
Compared with prior art, the present invention is by sending video playback request to transcoding equipment at subscriber equipment end, obtain the index file that described transcoding equipment returns, send the segmentation video playback request corresponding with described index file according to index file to described transcoding equipment, and play the corresponding segmentation video of described index file, correspondingly, the video playback request sending according to subscriber equipment in transcoding equipment end, the corresponding video of described video playback request is carried out to burst transcoding, and in described burst transcoding process, the segmentation video obtaining according to burst transcoding, the index file that foundation or renewal are corresponding with described video playback request, when described index file meets when condition is provided, described index file is provided to described subscriber equipment, receive the segmentation video playback request corresponding with described index file that described subscriber equipment sends, according to the segmentation video playback request of described subscriber equipment, the segmentation video corresponding with the request of described segmentation video playback provided to described subscriber equipment, wherein, the request of described segmentation video playback is corresponding with described index file.Thereby carry out real-time transcoding according to the video playback request of subscriber equipment, for various types of subscriber equipmenies provide the video resource being consistent most; Utilize the mode of distributed treatment to improve transcoding efficiency and system availability, respond fast the playing request of user side, but not video code conversion returns to user after completing again by the time; And reduced the storage pressure of service equipment, and make user side smoothness to watch video, reduce the time that user obtains video, improve user's experience.
And the present invention can also send video playback request to transcoding equipment at described subscriber equipment end, wherein, described video playback request comprises the broadcasting relevant information corresponding with described subscriber equipment; Correspondingly, in the described transcoding equipment end broadcasting relevant information included according to described video playback request, the corresponding video of described video playback request is carried out to burst transcoding, in described burst transcoding process, the segmentation video obtaining according to burst transcoding, the index file that foundation or renewal are corresponding with described video playback request; Thereby carry out real-time transcoding according to the broadcasting relevant information that the described video playback request of subscriber equipment is included, for various types of subscriber equipmenies provide the video resource being consistent most, improved user's experience.
And the present invention can also, according to predetermined update condition, upgrade processing to described index file; Thereby index file described in real-time update, ensures flexible transcoding and the smooth playing of video resource, responds fast the playing request of user side, reduce the storage pressure of service equipment, make user side smoothness to watch video, reduced the time that user obtains video, improved user's experience.
And the present invention can also be according to described index file, obtain the one or more segmentation video playback information corresponding with described index file, send the segmentation video playback request corresponding with described video playback information to described transcoding equipment; Thereby by the parsing to described index file, to obtain described segmentation video playback information and to send to described transcoding equipment, realize and utilized described index file to carry out in real time transcoding and the broadcasting of video resource, reduce the storage pressure of service equipment, make user side smoothness to watch video, reduce the time that user obtains video, improved user's experience.
And, the present invention can also be included according to described video playback request broadcasting relevant information, the corresponding video of described playing request is carried out to burst, obtain the one or more video slicings corresponding with described video, determine rule according to predetermined priority, determine and the corresponding transcoding precedence information of described video slicing, according to the corresponding transcoding priority of described video slicing, the corresponding video of described video playback request is carried out to burst transcoding; Thereby carry out real-time transcoding according to the video playback request of subscriber equipment, utilize the mode of distributed treatment to improve transcoding efficiency and system availability, the playing request of response user side fast, reduce the storage pressure of service equipment, make user side smoothness to watch video, reduce the time that user obtains video, improved user's experience.
And the present invention can also be in described burst transcoding process, the segmentation video obtaining according to burst transcoding, in conjunction with the corresponding transcoding priority of described video slicing, the index file that foundation or renewal are corresponding with described video playback request; Thereby make described index file meet user's request, can respond fast the playing request of user side, reduced the storage pressure of service equipment, make user side smoothness to watch video, reduced the time that user obtains video, improved user's experience.
And, the present invention can also be according to the device-dependent message of described subscriber equipment and/or play history information, determines the condition that provides of described index file, then, in the time providing condition described in described index file meets, described index file is provided to described subscriber equipment; Thereby according to described index file is provided flexibly, meet the relevant information of user's request and described subscriber equipment, the playing request of response user side fast, reduce the storage pressure of service equipment, make user side smoothness to watch video, reduce the time that user obtains video, improved user's experience.
Brief description of the drawings
By reading the detailed description that non-limiting example is done of doing with reference to the following drawings, it is more obvious that other features, objects and advantages of the present invention will become:
Fig. 1 illustrates a kind of for subscriber equipment and the transcoding equipment schematic diagram of video information are provided according to one aspect of the invention;
Fig. 2 illustrates in accordance with a preferred embodiment of the present invention a kind of for subscriber equipment and the transcoding equipment schematic diagram of video information are provided;
Fig. 3 illustrate according to a further aspect of the present invention a kind of by subscriber equipment with transcoding equipment phase interworking with for the method flow diagram of video information is provided;
Fig. 4 illustrate in accordance with a preferred embodiment of the present invention a kind of by subscriber equipment with transcoding equipment phase interworking with for the method flow diagram of video information is provided.
In accompanying drawing, same or analogous Reference numeral represents same or analogous parts.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail.
Fig. 1 illustrates a kind of for subscriber equipment and the transcoding equipment schematic diagram of video information are provided according to one aspect of the invention; Wherein, described subscriber equipment 1 comprises send-request unit 11, index acquisition device 12, segmentation dispensing device 13, playing device 14, and described transcoding equipment 2 comprises transcoding device 21, index generator 22, receiving system 23, segmentation generator 24.Described subscriber equipment and transcoding equipment cooperatively interact, and provide video information to realize.
Particularly, the send-request unit 11 of described subscriber equipment 1 sends video playback request to transcoding equipment; Correspondingly, the video playback request that the transcoding device 21 of described transcoding equipment 2 sends according to subscriber equipment, the corresponding video of described video playback request is carried out to burst transcoding, and in described burst transcoding process, the segmentation video obtaining according to burst transcoding, the index file that foundation or renewal are corresponding with described video playback request; Described index generator 22, when described index file meets when condition is provided, provides described index file to described subscriber equipment; Correspondingly, the index acquisition device 12 of described subscriber equipment 1 obtains the index file that described transcoding equipment returns; Described segmentation dispensing device 13 sends the segmentation video playback request corresponding with described index file according to index file to described transcoding equipment; Correspondingly, the receiving system 23 of described transcoding equipment 2 receives the segmentation video playback request corresponding with described index file that described subscriber equipment sends; Segmentation generator 24, according to the segmentation video playback request of described subscriber equipment, provides the segmentation video corresponding with the request of described segmentation video playback to described subscriber equipment, and wherein, the request of described segmentation video playback is corresponding with described index file; Correspondingly, the playing device 14 of described subscriber equipment 1 is play the corresponding segmentation video of described index file.
One or more subscriber equipmenies 1 can be connected by network with transcoding equipment 2.At this, described subscriber equipment 1 includes but not limited to PC, smart mobile phone, panel computer, intelligent television etc.Described transcoding equipment 2 include but not limited to the network equipment, subscriber equipment or with the network equipment and/or subscriber equipment by network and/or the mutually integrated equipment forming of hardware; Be that this programme can adopt high in the clouds to carry out burst transcoding, also can be by other subscriber equipmenies that are connected with subscriber equipment, as powerful PC etc. carries out burst transcoding.Wherein, the described network equipment comprise a kind of can be according to the instruction of prior setting or storage, automatically carry out the electronic equipment of numerical computations and information processing, its hardware includes but not limited to microprocessor, application-specific integrated circuit (ASIC) (ASIC), programmable gate array (FPGA), digital processing unit (DSP), embedded device etc.It includes but not limited to the cloud that computer, network host, single network server, multiple webserver collection or multiple server form the described network equipment; At this, cloud is made up of a large amount of computers based on cloud computing (Cloud Computing) or the webserver, and wherein, cloud computing is the one of Distributed Calculation, the virtual supercomputer being made up of the loosely-coupled computer collection of a group.The described network equipment such as video server, transfer server etc.It includes but not limited to any electronic product that can carry out with user man-machine interaction by keyboard, remote controller, touch pad or voice-operated device, the such as mobile device such as smart mobile phone, PDA described subscriber equipment.Described network includes but not limited to the Internet, wide area network, metropolitan area network, local area network (LAN), VPN network, wireless self-organization network (Ad Hoc network) etc.Communication mode between subscriber equipment 1 and transcoding equipment 2 includes but not limited to the packet data transmission based on such as ICP/IP protocol, udp protocol etc., and the communication mode between transcoding equipment 2 and each subscriber equipment 1 is separate.
Those skilled in the art will be understood that above-mentioned subscriber equipment 1, transcoding equipment 2 and connection network, communication mode is therebetween only for example; other transcoding equipment existing or that may occur from now on, subscriber equipment or network, communication mode are as applicable to the present invention; also should be included in protection range of the present invention, and be contained in this at this with way of reference.
Between above-mentioned each device, be constant work, at this, it will be understood by those skilled in the art that " continuing " refers to above-mentioned each device respectively in real time, or according to the mode of operation requirement of setting or adjust in real time, carry out the send and receive of video playback request, the execution of burst transcoding, the foundation of index file or renewal, the providing and receiving of index file, the send and receive of segmentation video playback request, providing and the broadcasting of segmentation video of segmentation video, until described subscriber equipment stops sending the extremely described transcoding equipment of video playback request that user initiates by subscriber equipment.
At this, those skilled in the art will be understood that, in the present invention, described the corresponding video of described video playback request is carried out to burst transcoding process, and the process of segmentation video, foundation or the renewal of obtaining according to the burst transcoding index file corresponding with described video playback request walks abreast; The segmentation video obtaining according to described burst transcoding in real time, the index file that foundation or renewal are corresponding with described video playback request, even while not comprising the whole segmentation video after the corresponding transcoding of described video in described index file, as long as provide condition when described index file meets, also the index file of the segmentation video information that comprises current transcoding can be sent to described subscriber equipment; Meanwhile, described transcoding equipment 2 continues to carry out described burst transcoding, and according to the transcoding process of described burst transcoding, continues to upgrade described index file, and according to condition is provided, described index file is provided to described subscriber equipment.
The send-request unit 11 of described subscriber equipment 1 sends video playback request to transcoding equipment, wherein, the transcoding that described video playback request also ought often complete one section of video for described transcoding equipment according to described video playback request startup burst transcoding just can upgrade index file.
Particularly, described request dispensing device 11, according to various communication protocol (as http protocol), by Various types of data coffret, directly obtains the video playback request that user utilizes the modes such as input, click, touch to initiate by subscriber equipment; Or, described request dispensing device 11 is according to various communication protocol, by Various types of data coffret, with storage or provide one or more databases of described video playback request or other third party devices to interact, the video playback request that the user who stores or provide to obtain in described database or described third party device initiates by subscriber equipment; Then, described request dispensing device 11, according to various communication protocol, by Various types of data coffret, is sent to transcoding equipment 2 by described video playback request.
Correspondingly, the video playback request that the transcoding device 21 of described transcoding equipment 2 sends according to subscriber equipment, the corresponding video of described video playback request is carried out to burst transcoding, and in described burst transcoding process, the segmentation video obtaining according to burst transcoding, the index file that foundation or renewal are corresponding with described video playback request.
Particularly, described transcoding device 21 is according to various communication protocol (as http protocol), by Various types of data coffret, interact with described subscriber equipment, or can provide the third party device of described video playback request to interact with other, the video playback request being sent to obtain described subscriber equipment.
Described transcoding device 21, according to described video playback request, starts real-time transcoding task, and the corresponding video of described video playback request is divided into multiple video segments, then carries out real-time transcoding; Further, can also utilize one or more transcoding devices 21 to carry out distributed trans-coding, to improve transcoding speed.At this, the parameter of described transcoding (as video resolution, frame per second, code check, audio sample rate etc.) can based on as described in target video format information in video playback request determine.
In described burst transcoding process, after the transcoding task of each video segment completes, the segmentation video obtaining according to burst transcoding, the index file that described transcoding device 21 is set up or renewal is corresponding with described video playback request; ,, if there is not described index file,, after at least one video segment transcoding completes, set up described index file; If there is described index file,, after at least one video segment transcoding completes, upgrade described index file.
,, in the time that transcoding does not complete, in described index file, only comprise the video segment that transcoding completes; Thereby the fragment by transcoding completes that can real-time in subsequent step offers user side.
For example, described transcoding device 21 is according to described video playback request, starts real-time transcoding task, and the corresponding video of described video playback request is carried out to segmentation with the length of every 10s, and each segmentation is utilized respectively to one or more transcoding devices transcoding that walks abreast; After at least one segmentation transcoding completes, according to the segmentation video obtaining after described transcoding, described index file is carried out to real-time update; Thereby can realize in subsequent step, to providing of described index file, for example, in the time that the segmentation video after the transcoding comprising in described index file outnumbers 1, described index file be provided to described subscriber equipment.
Described index generator 22, when described index file meets when condition is provided, provides described index file to described subscriber equipment.
Particularly, described index generator 22 real-times obtain the described index file of setting up or upgrading by described transcoding device 21, when described index file meets predetermined when condition is provided, described index generator 22 is according to various communication protocol (as http protocol), by Various types of data coffret, described index file is provided to described subscriber equipment.
Wherein, described in, provide condition to comprise following at least any one:
In-described index file, comprise the segmentation video information of obtaining after at least one transcoding, as when as described in segmentation video after the transcoding that comprised in index file while outnumbering 1, described index file is provided to described subscriber equipment;
In-described index file, comprise the segmentation video information of obtaining after the transcoding that has exceeded predetermined number, as when as described in segmentation video after the transcoding that comprised in index file while outnumbering N, described index file is provided to described subscriber equipment;
The predetermined triggered time that provides of-basis provides, and as described in obtaining as worked as, the X minute of video playback request, provides described index file to described subscriber equipment;
-provide the triggering cycle to carry out periodicity to provide according to predetermined, as described in obtaining, after the every 10S after video playback request, up-to-date index file is provided to as described in subscriber equipment;
-index file the solicited message that sends according to described subscriber equipment provides etc.
Correspondingly, the index acquisition device 12 of described subscriber equipment 1 obtains the index file that described transcoding equipment returns.
Particularly, described index acquisition device 12, according to various communication protocol (as http protocol), by Various types of data coffret, for example, utilizes the GET method in http protocol, interact with described index generator 22, to obtain the index file corresponding with described video playback request.
Described segmentation dispensing device 13 sends the segmentation video playback request corresponding with described index file according to index file to described transcoding equipment.
Particularly, described segmentation dispensing device 13 is according to various communication protocol (as http protocol), by Various types of data coffret, the segmentation video information completing according to the transcoding comprising in described index file, the segmentation video playback request to described transcoding equipment transmission with described segmentation video information.
Correspondingly, the receiving system 23 of described transcoding equipment 2 receives the segmentation video playback request corresponding with described index file that described subscriber equipment sends.
Particularly, described receiving system 23 is according to various communication protocol (as http protocol), by Various types of data coffret, receives the segmentation video playback request corresponding with described index file of the transmission that described segmentation dispensing device 13 sends.
Segmentation generator 24, according to the segmentation video playback request of described subscriber equipment, provides the segmentation video corresponding with the request of described segmentation video playback to described subscriber equipment, and wherein, the request of described segmentation video playback is corresponding with described index file.
Particularly, the segmentation video playback request that described segmentation generator 24 obtains according to described receiving system 23, determine and the corresponding segmentation video of described segmentation video playback request, and according to various communication protocol (as http protocol), by Various types of data coffret, described segmentation video is provided to described subscriber equipment; At this, the request of described segmentation video playback is corresponding with described index file, and described index file is corresponding with described video playback request.
Correspondingly, the playing device 14 of described subscriber equipment 1 is play the corresponding segmentation video of described index file.
Particularly, described playing device 14, according to various communication protocol (as http protocol), by Various types of data coffret, obtains the segmentation video that described segmentation generator 24 provides; Then described playing device 14 is play obtained segmentation video, or described playing device 14 is according to the order information in described index file, plays in order the segmentation video corresponding with the request of described segmentation video playback obtaining.
Preferably, described subscriber equipment 1 also comprises updating device (not shown), and wherein, described updating device, according to predetermined update condition, upgrades processing to described index file.
Particularly, the update condition of described updating device based on predetermined, in the time meeting described update condition, described updating device and described index generator 22 interact, utilize the generator of index described in Fig. 1 22 that the mode of described index file is provided, obtain the up-to-date index file after current renewal or the data in current index file are upgraded, to realize the renewal to described index file; Then other devices of described subscriber equipment 1 and transcoding device 2, based on the index file after described renewal, the providing and the broadcasting of segmentation video etc. of send and receive, segmentation video of proceeding the request of segmentation video playback, is used with the broadcasting that realizes subsequent video.
Those skilled in the art will be understood that the transcoding of described segmentation video, and the renewal of described index file synchronously carries out, and described subscriber equipment 1 cooperatively interacts with transcoding equipment 2, with the real-time transcoding of realizing segmentation video with provide.
At this, described predetermined update condition comprises following at least any one:
-according to predetermined update time, as the cycle based on predetermined periodically updates;
-complete information according to the transcoding of the corresponding video of described video playback request corresponding with described index file, as whole video does not complete, described index file is upgraded;
-according to other information of described index file, as described in index file there is error message, described index file is upgraded to obtain correct index file etc.
Preferably, the segmentation dispensing device 13 of described family equipment 1 can be according to described index file, obtains the one or more segmentation video playback information corresponding with described index file; Send the segmentation video playback request corresponding with described video playback information to described transcoding equipment.
Particularly, the index file that described segmentation dispensing device 13 obtains according to described index acquisition device 12, resolves described index file, to obtain the one or more segmentation video playback information corresponding with described index file; Whether the sequence number, segmentation video that wherein, includes but not limited to length, the segmentation video of the corresponding video playback request of segmentation video, segmentation video in described segmentation video playback information is request address of first paragraph segmentation video or final stage segmentation video, segmentation video etc.
Then, described segmentation dispensing device 13 is according to various communication protocol (as http protocol), by Various types of data coffret, according to obtained segmentation video playback information, send the segmentation video playback request corresponding with described video playback information to described transcoding equipment.
Preferably, described transcoding equipment 2 also comprises condition determining device (not shown), and wherein, described condition determining device, according to the device-dependent message of described subscriber equipment and/or play history information, is determined the condition that provides of described index file; In the time providing condition described in described index file meets, described index generator 22 provides described index file to described subscriber equipment.
Particularly, described condition determining device can be according to equipment device-dependent message and/or the play history information of described subscriber equipment, and the condition that provides of the index file corresponding with described subscriber equipment is provided; Wherein, described device-dependent message includes but not limited to manufacturer, model, CPU information, monitor resolution, the device plays ability of described subscriber equipment, the corresponding network condition of described subscriber equipment, available bandwidth etc.; Described play history information includes but not limited to the request frequency information to one or more videos, the frequency information to the request of segmentation video playback etc.
For example, if the corresponding available bandwidth of described user is higher than predetermined threshold, shorten the cycle time that described index file is provided, or provide in the time comprising a segmentation video that has completed transcoding in described index file, otherwise, if the corresponding available bandwidth of described user, lower than predetermined threshold, provides the cycle time of described index file, or provide in the time comprising the individual segmentation video that has completed transcoding of N in described index file; Or, if show in described play history information, the request frequency information of described subscriber equipment is higher than predetermined threshold, show that described subscriber equipment has the ability of processing multiple concurrent requests, therefore can dwindle the predetermined response time that index file is provided to described subscriber equipment, or provide etc. in the time comprising a segmentation video that has completed transcoding in described index file.
Whether described index generator 22 is according to the determined condition that provides, provide condition to meet to detect to described; In the time providing condition described in described index file meets, described index generator 22, according to various communication protocol (as http protocol), by Various types of data coffret, provides described index file to described subscriber equipment.
Fig. 2 illustrates in accordance with a preferred embodiment of the present invention a kind of for subscriber equipment and the transcoding equipment schematic diagram of video information are provided; Wherein, described subscriber equipment 1 comprises send-request unit 11 ', index acquisition device 12 ', segmentation dispensing device 13 ', playing device 14 ', described transcoding equipment 2 comprises transcoding device 21 ', index generator 22 ', receiving system 23 ', segmentation generator 24 ', and described transcoding device 21 ' comprises that burst transcoding units 211 ' and index set up unit 212 '.Described subscriber equipment and transcoding equipment cooperatively interact, and provide video information to realize.
Particularly, the send-request unit 11 ' of described subscriber equipment 1 sends video playback request to transcoding equipment, wherein, described video playback request comprises the broadcasting relevant information corresponding with described subscriber equipment, and the transcoding that described video playback request also ought often complete one section of video for described transcoding equipment according to described video playback request startup burst transcoding just can upgrade index file; Correspondingly, the broadcasting relevant information that the burst transcoding units 211 ' of described transcoding equipment 2 is included according to described video playback request, carries out burst transcoding to the corresponding video of described video playback request; Index is set up unit 212 ' in described burst transcoding process, the segmentation video obtaining according to burst transcoding, the index file that foundation or renewal are corresponding with described video playback request; Described index generator 22 ', when described index file meets when condition is provided, provides described index file to described subscriber equipment; Correspondingly, the index acquisition device 12 ' of described subscriber equipment 1 obtains the index file that described transcoding equipment returns; Described segmentation dispensing device 13 ' sends the segmentation video playback request corresponding with described index file according to index file to described transcoding equipment; Correspondingly, the receiving system 23 ' of described transcoding equipment 2 receives the segmentation video playback request corresponding with described index file that described subscriber equipment sends; Segmentation generator 24 ', according to the segmentation video playback request of described subscriber equipment, provides the segmentation video corresponding with the request of described segmentation video playback to described subscriber equipment, and wherein, the request of described segmentation video playback is corresponding with described index file; Correspondingly, the playing device 14 ' of described subscriber equipment 1 is play the corresponding segmentation video of described index file.
Wherein, the index acquisition device 12 ' of described subscriber equipment 1, segmentation dispensing device 13 ', playing device 14 ', the index generator 22 ' of described transcoding equipment 2, receiving system 23 ', segmentation generator 24 ' are identical with corresponding intrument shown in Fig. 1 or basic identical, so locate to repeat no more, and mode is by reference contained in this.
Between above-mentioned each device, be constant work, at this, it will be understood by those skilled in the art that " continuing " refers to above-mentioned each device respectively in real time, or according to the mode of operation requirement of setting or adjust in real time, carry out the send and receive of video playback request, the execution of burst transcoding, the foundation of index file or renewal, the providing and receiving of index file, the send and receive of segmentation video playback request, providing and the broadcasting of segmentation video of segmentation video, until described subscriber equipment stops sending the extremely described transcoding equipment of video playback request that user initiates by subscriber equipment.
At this, those skilled in the art will be understood that, in the present invention, described the corresponding video of described video playback request is carried out to burst transcoding process, and the process of segmentation video, foundation or the renewal of obtaining according to the burst transcoding index file corresponding with described video playback request walks abreast; The segmentation video obtaining according to described burst transcoding in real time, the index file that foundation or renewal are corresponding with described video playback request, even while not comprising the whole segmentation video after the corresponding transcoding of described video in described index file, as long as provide condition when described index file meets, also the index file of the segmentation video information that comprises current transcoding can be sent to described subscriber equipment; Meanwhile, described transcoding equipment 2 continues to carry out described burst transcoding, and according to the transcoding process of described burst transcoding, continues to upgrade described index file, and according to condition is provided, described index file is provided to described subscriber equipment.
The send-request unit 11 ' of described subscriber equipment 1 sends video playback request to transcoding equipment, wherein, described video playback request comprises the broadcasting relevant information corresponding with described subscriber equipment, and the transcoding that described video playback request also ought often complete one section of video for described transcoding equipment according to described video playback request startup burst transcoding just can upgrade index file.
Particularly, described request dispensing device 11 ', according to various communication protocol (as http protocol), by Various types of data coffret, directly obtains the video playback request that user utilizes the modes such as input, click, touch to initiate by subscriber equipment; Or, described request dispensing device 11 ' is according to various communication protocol, by Various types of data coffret, with storage or provide one or more databases of described video playback request or other third party devices to interact, the video playback request that the user who stores or provide to obtain in described database or described third party device initiates by subscriber equipment; Then, described request dispensing device 11 ', according to various communication protocol, by Various types of data coffret, is sent to transcoding equipment 2 by described video playback request.
Wherein, described video playback request comprises the broadcasting relevant information corresponding with described subscriber equipment; Described broadcasting relevant information include but not limited to current device device-dependent message (as described in equipment manufacturer, model, CPU information, monitor resolution, as described in the corresponding network condition of equipment, available bandwidth etc.) and/or target video access object information (as video type, broadcast mode (as live or recorded broadcast) etc.).
Correspondingly, the broadcasting relevant information that the burst transcoding units 211 ' of described transcoding equipment 2 is included according to described video playback request, carries out burst transcoding to the corresponding video of described video playback request.
Particularly, described burst transcoding units 211 ' is according to various communication protocol (as http protocol), by Various types of data coffret, interact with described subscriber equipment, or can provide the third party device of described video playback request to interact with other, the video playback request being sent to obtain described subscriber equipment.
Described burst transcoding units 211 ', according to described video playback request, starts real-time transcoding task, and the corresponding video of described video playback request is divided into multiple video segments, then carries out real-time transcoding; Further, can also utilize one or more burst transcoding units 211 ' to carry out distributed trans-coding, to improve transcoding speed.At this, the parameter (as video resolution, frame per second, code check, audio sample rate etc.) of described transcoding can based on as described in the broadcasting relevant information that comprised of video playback request determine, described broadcasting relevant information include but not limited to current device device-dependent message (as described in equipment manufacturer, model, CPU information, monitor resolution, as described in the corresponding network condition of equipment, available bandwidth etc.) and/or target video access object information (as video type, broadcast mode (as live or recorded broadcast) etc.).
Index is set up unit 212 ' in described burst transcoding process, the segmentation video obtaining according to burst transcoding, the index file that foundation or renewal are corresponding with described video playback request.
Particularly, in described burst transcoding process, after the transcoding task of each video segment completes, the segmentation video obtaining according to burst transcoding, unit 212 ' foundation or the renewal index file corresponding with described video playback request set up in described index; ,, if there is not described index file,, after at least one video segment transcoding completes, set up described index file; If there is described index file,, after at least one video segment transcoding completes, upgrade described index file.
,, in the time that transcoding does not complete, in described index file, only comprise the video segment that transcoding completes; Thereby the fragment by transcoding completes that can real-time in subsequent step offers user side.
Preferably, the broadcasting relevant information that described burst transcoding units 211 ' can be included according to described video playback request, carries out burst to the corresponding video of described playing request, obtains the one or more video slicings corresponding with described video; Determine rule according to predetermined priority, determine and the corresponding transcoding precedence information of described video slicing; According to the corresponding transcoding priority of described video slicing, the corresponding video of described video playback request is carried out to burst transcoding.
Particularly, described burst transcoding units 211 ' can be according to the broadcasting relevant information comprising in described video playback request, according to different broadcasting relevant informations, the corresponding video of described playing request is carried out to burst, for example, according to different network conditions, determine the information such as quantity, resolution of burst, thereby obtain the one or more video slicings corresponding with described video.
Then, described burst transcoding units 211 ' is determined rule according to predetermined priority, and the corresponding transcoding priority of described video slicing is determined; Wherein, described priority determines that rule includes but not limited to following at least any one:
-according to the corresponding order information of described video slicing, as first transcoding first, other carry out parallel burst transcoding;
-according to the corresponding content information of described video slicing, as the head that repeat can directly adopt other head that transcoding is good to play, therefore reduce the transcoding priority of described head;
-according to the corresponding broadcasting frequency of described video slicing information, as some burst is play frequency higher (as adopted the mode of F.F. to play certain fragment for certain video user), preferential these bursts of transcoding.
Then, described burst transcoding units 211 ', according to the corresponding transcoding priority of described video slicing, carries out burst transcoding according to the sequencing of priority to described video slicing.
Further, described burst transcoding units 211 ' can also, according to the corresponding transcoding priority of described video slicing, be determined the transcoding server corresponding with described video slicing, thereby the corresponding video of described video playback request is carried out to burst transcoding.
Preferably, unit 212 ' set up in described index can be in described burst transcoding process, the segmentation video obtaining according to burst transcoding, in conjunction with the corresponding transcoding priority of described video slicing, the index file that foundation or renewal are corresponding with described video playback request.
Particularly, in described burst transcoding process, after the transcoding task of each video segment completes, the segmentation video obtaining according to burst transcoding, in conjunction with the corresponding transcoding priority of described video slicing, unit 212 ' foundation or the renewal index file corresponding with described video playback request set up in described index; ,, if there is not described index file,, after at least one video segment transcoding completes, set up described index file; If there is described index file,, after at least one video segment transcoding completes, upgrade described index file; If exist multiple video segments while transcodings to complete, upgrade the video slicing that transcoding priority is high in preferential indexed file.
Fig. 3 illustrate according to a further aspect of the present invention a kind of by subscriber equipment with transcoding equipment phase interworking with for the method flow diagram of video information is provided.Described subscriber equipment and transcoding equipment cooperatively interact, and provide video information to realize.
Particularly, in step s1, described subscriber equipment 1 sends video playback request to transcoding equipment; Correspondingly, in step s2, the video playback request that described transcoding equipment 2 sends according to subscriber equipment, the corresponding video of described video playback request is carried out to burst transcoding, and in described burst transcoding process, the segmentation video obtaining according to burst transcoding, the index file that foundation or renewal are corresponding with described video playback request; In step s3, described transcoding equipment 2, when described index file meets when condition is provided, provides described index file to described subscriber equipment; Correspondingly, in step s3, described subscriber equipment 1 obtains the index file that described transcoding equipment returns; In step s4, described subscriber equipment 1 sends the segmentation video playback request corresponding with described index file according to index file to described transcoding equipment; Correspondingly, in step s4, described transcoding equipment 2 receives the segmentation video playback request corresponding with described index file that described subscriber equipment sends; In step s5, described transcoding equipment 2 is according to the segmentation video playback request of described subscriber equipment, the segmentation video corresponding with the request of described segmentation video playback provided to described subscriber equipment, and wherein, the request of described segmentation video playback is corresponding with described index file; Correspondingly, in step s6, described subscriber equipment 1 is play the corresponding segmentation video of described index file.
Between above steps, be constant work, at this, it will be understood by those skilled in the art that " continuing " refers to that above steps respectively in real time, or according to the mode of operation requirement of setting or adjust in real time, carry out the send and receive of video playback request, the execution of burst transcoding, the foundation of index file or renewal, the providing and receiving of index file, the send and receive of segmentation video playback request, providing and the broadcasting of segmentation video of segmentation video, until described subscriber equipment stops sending the extremely described transcoding equipment of video playback request that user initiates by subscriber equipment.
At this, those skilled in the art will be understood that, in the present invention, described the corresponding video of described video playback request is carried out to burst transcoding process, and the process of segmentation video, foundation or the renewal of obtaining according to the burst transcoding index file corresponding with described video playback request walks abreast; The segmentation video obtaining according to described burst transcoding in real time, the index file that foundation or renewal are corresponding with described video playback request, even while not comprising the whole segmentation video after the corresponding transcoding of described video in described index file, as long as provide condition when described index file meets, also the index file of the segmentation video information that comprises current transcoding can be sent to described subscriber equipment; Meanwhile, described transcoding equipment 2 continues to carry out described burst transcoding, and according to the transcoding process of described burst transcoding, continues to upgrade described index file, and according to condition is provided, described index file is provided to described subscriber equipment.
In step s1, described subscriber equipment 1 sends video playback request to transcoding equipment, wherein, the transcoding that described video playback request also ought often complete one section of video for described transcoding equipment according to described video playback request startup burst transcoding just can upgrade index file.
Particularly, in step s1, described subscriber equipment 1, according to various communication protocol (as http protocol), by Various types of data coffret, directly obtains the video playback request that user utilizes the modes such as input, click, touch to initiate by subscriber equipment; Or, in step s1, described subscriber equipment 1 is according to various communication protocol, by Various types of data coffret, with storage or provide one or more databases of described video playback request or other third party devices to interact, the video playback request that the user who stores or provide to obtain in described database or described third party device initiates by subscriber equipment; Then,, in step s1, described subscriber equipment 1, according to various communication protocol, by Various types of data coffret, is sent to transcoding equipment 2 by described video playback request.
Correspondingly, in step s2, the video playback request that described transcoding equipment 2 sends according to subscriber equipment, the corresponding video of described video playback request is carried out to burst transcoding, and in described burst transcoding process, the segmentation video obtaining according to burst transcoding, the index file that foundation or renewal are corresponding with described video playback request.
Particularly, in step s2, described transcoding equipment 2 is according to various communication protocol (as http protocol), by Various types of data coffret, interact with described subscriber equipment, or can provide the third party device of described video playback request to interact with other, the video playback request being sent to obtain described subscriber equipment.
In step s2, described transcoding equipment 2, according to described video playback request, starts real-time transcoding task, and the corresponding video of described video playback request is divided into multiple video segments, then carries out real-time transcoding; Further, can also utilize one or morely in step s2, described transcoding equipment 2 carries out distributed trans-coding, to improve transcoding speed.At this, the parameter of described transcoding (as video resolution, frame per second, code check, audio sample rate etc.) can based on as described in target video format information in video playback request determine.
In described burst transcoding process, after the transcoding task of each video segment completes, the segmentation video obtaining according to burst transcoding, in step s2, the index file that described transcoding equipment 2 is set up or renewal is corresponding with described video playback request; ,, if there is not described index file,, after at least one video segment transcoding completes, set up described index file; If there is described index file,, after at least one video segment transcoding completes, upgrade described index file.
,, in the time that transcoding does not complete, in described index file, only comprise the video segment that transcoding completes; Thereby the fragment by transcoding completes that can real-time in subsequent step offers user side.
For example, in step s2, described transcoding equipment 2, according to described video playback request, starts real-time transcoding task, the corresponding video of described video playback request is carried out to segmentation with the length of every 10s, each segmentation is utilized respectively to one or more transcoding equipment transcoding that walks abreast; After at least one segmentation transcoding completes, according to the segmentation video obtaining after described transcoding, described index file is carried out to real-time update; Thereby can realize in subsequent step, to providing of described index file, for example, in the time that the segmentation video after the transcoding comprising in described index file outnumbers 1, described index file be provided to described subscriber equipment.
In step s3, described transcoding equipment 2, when described index file meets when condition is provided, provides described index file to described subscriber equipment.
Particularly, in step s3, described transcoding equipment 2 real-times obtain the described index file of setting up or upgrading by described step s2, when described index file meets predetermined when condition is provided, in step s3, described transcoding equipment 2, according to various communication protocol (as http protocol), by Various types of data coffret, provides described index file to described subscriber equipment.
Wherein, described in, provide condition to comprise following at least any one:
In-described index file, comprise the segmentation video information of obtaining after at least one transcoding, as when as described in segmentation video after the transcoding that comprised in index file while outnumbering 1, described index file is provided to described subscriber equipment;
In-described index file, comprise the segmentation video information of obtaining after the transcoding that has exceeded predetermined number, as when as described in segmentation video after the transcoding that comprised in index file while outnumbering N, described index file is provided to described subscriber equipment;
The predetermined triggered time that provides of-basis provides, and as described in obtaining as worked as, the X minute of video playback request, provides described index file to described subscriber equipment;
-provide the triggering cycle to carry out periodicity to provide according to predetermined, as described in obtaining, after the every 10S after video playback request, up-to-date index file is provided to as described in subscriber equipment;
-index file the solicited message that sends according to described subscriber equipment provides etc.
Correspondingly, in step s3, described subscriber equipment 1 obtains the index file that described transcoding equipment returns.
Particularly, in step s3, described subscriber equipment 1 is according to various communication protocol (as http protocol), by Various types of data coffret, for example utilize the GET method in http protocol, interact with described transcoding equipment 2, to obtain the index file corresponding with described video playback request.
In step s4, described subscriber equipment 1 sends the segmentation video playback request corresponding with described index file according to index file to described transcoding equipment.
Particularly, in step s4, described subscriber equipment 1 is according to various communication protocol (as http protocol), by Various types of data coffret, the segmentation video information completing according to the transcoding comprising in described index file, the segmentation video playback request to described transcoding equipment transmission with described segmentation video information.
Correspondingly, in step s4, described transcoding equipment 2 receives the segmentation video playback request corresponding with described index file that described subscriber equipment sends.
Particularly, in step s4, described transcoding equipment 2 is according to various communication protocol (as http protocol), by Various types of data coffret, receives the segmentation video playback request corresponding with described index file of the transmission that described subscriber equipment 1 sends.
In step s5, described transcoding equipment 2 is according to the segmentation video playback request of described subscriber equipment, the segmentation video corresponding with the request of described segmentation video playback provided to described subscriber equipment, and wherein, the request of described segmentation video playback is corresponding with described index file.
Particularly, in step s5, the segmentation video playback request that described transcoding equipment 2 obtains according to described step s4, determine and the corresponding segmentation video of described segmentation video playback request, and according to various communication protocol (as http protocol), by Various types of data coffret, described segmentation video is provided to described subscriber equipment; At this, the request of described segmentation video playback is corresponding with described index file, and described index file is corresponding with described video playback request.
Correspondingly, in step s6, described subscriber equipment 1 is play the corresponding segmentation video of described index file.
Particularly, in step s6, described subscriber equipment 1, according to various communication protocol (as http protocol), by Various types of data coffret, obtains the segmentation video that described transcoding equipment 2 provides; Then in step s6, described subscriber equipment 1 is play obtained segmentation video, or in step s6, described subscriber equipment 1, according to the order information in described index file, is play the segmentation video corresponding with the request of described segmentation video playback obtaining in order.
Preferably, described subscriber equipment 1 also comprises that step s7(is not shown), wherein, in step s7, described subscriber equipment 1, according to predetermined update condition, upgrades processing to described index file.
Particularly, in step s7, the update condition of described subscriber equipment 1 based on predetermined, in the time meeting described update condition, described subscriber equipment 1 interacts with described transcoding equipment 2, utilize transcoding equipment 2 in the s3 of step described in Fig. 3 that the mode of described index file is provided, obtain the up-to-date index file after current renewal, to realize the renewal to described index file; Then other devices of described subscriber equipment 1 and transcoding equipment 2, based on the index file after described renewal, the providing and the broadcasting of segmentation video etc. of send and receive, segmentation video of proceeding the request of segmentation video playback, is used with the broadcasting that realizes subsequent video.
Those skilled in the art will be understood that the transcoding of described segmentation video, and the renewal of described index file synchronously carries out, and described subscriber equipment 1 cooperatively interacts with transcoding equipment 2, with the real-time transcoding of realizing segmentation video with provide.
At this, described predetermined update condition comprises following at least any one:
-according to predetermined update time, as the cycle based on predetermined periodically updates;
-complete information according to the transcoding of the corresponding video of described video playback request corresponding with described index file, as whole video does not complete, described index file is upgraded;
-according to other information of described index file, as described in index file there is error message, described index file is upgraded to obtain correct index file etc.
Preferably, in step s4, described subscriber equipment 1 can be according to described index file, obtains the one or more segmentation video playback information corresponding with described index file; Send the segmentation video playback request corresponding with described video playback information to described transcoding equipment.
Particularly, in step s4, described subscriber equipment 1, according to the index file obtaining in described step s3, is resolved described index file, to obtain the one or more segmentation video playback information corresponding with described index file; Whether the sequence number, segmentation video that wherein, includes but not limited to length, the segmentation video of the corresponding video playback request of segmentation video, segmentation video in described segmentation video playback information is request address of first paragraph segmentation video or final stage segmentation video, segmentation video etc.
Then, in step s4, described subscriber equipment 1 is according to various communication protocol (as http protocol), by Various types of data coffret, according to obtained segmentation video playback information, send the segmentation video playback request corresponding with described video playback information to described transcoding equipment.
Preferably, described transcoding equipment 2 also comprises that step s8(is not shown), wherein, in step s8, described transcoding equipment 2, according to the device-dependent message of described subscriber equipment and/or play history information, is determined the condition that provides of described index file; In the time providing condition described in described index file meets, in step s3, described transcoding equipment 2 provides described index file to described subscriber equipment.
Particularly, in step s8, described transcoding equipment 2 can be according to equipment device-dependent message and/or the play history information of described subscriber equipment, and the condition that provides of the index file corresponding with described subscriber equipment is provided; Wherein, described device-dependent message includes but not limited to manufacturer, model, CPU information, monitor resolution, the device plays ability of described subscriber equipment, the corresponding network condition of described subscriber equipment, available bandwidth etc.; Described play history information includes but not limited to the request frequency information to one or more videos, the frequency information to the request of segmentation video playback etc.
For example, if the corresponding available bandwidth of described user is higher than predetermined threshold, shorten the cycle time that described index file is provided, or provide in the time comprising a segmentation video that has completed transcoding in described index file, otherwise, if the corresponding available bandwidth of described user, lower than predetermined threshold, provides the cycle time of described index file, or provide in the time comprising the individual segmentation video that has completed transcoding of N in described index file; Or, if show in described play history information, the request frequency information of described subscriber equipment is higher than predetermined threshold, show that described subscriber equipment has the ability of processing multiple concurrent requests, therefore can dwindle the predetermined response time that index file is provided to described subscriber equipment, or provide etc. in the time comprising a segmentation video that has completed transcoding in described index file.
Whether, in step s3, described transcoding equipment 2 is according to the determined condition that provides, provide condition to meet to detect to described; In the time providing condition described in described index file meets, in step s3, described transcoding equipment 2, according to various communication protocol (as http protocol), by Various types of data coffret, provides described index file to described subscriber equipment.
Fig. 4 illustrate in accordance with a preferred embodiment of the present invention a kind of by subscriber equipment with transcoding equipment phase interworking with for the method flow diagram of video information is provided.Described subscriber equipment and transcoding equipment cooperatively interact, and provide video information to realize.
Particularly, in step s1 ', described subscriber equipment 1 sends video playback request to transcoding equipment, wherein, described video playback request comprises the broadcasting relevant information corresponding with described subscriber equipment, and the transcoding that described video playback request also ought often complete one section of video for described transcoding equipment according to described video playback request startup burst transcoding just can upgrade index file; Correspondingly, in step s21 ', the broadcasting relevant information that described transcoding equipment 2 is included according to described video playback request, carries out burst transcoding to the corresponding video of described video playback request; In step s22 ', described transcoding equipment 2 in described burst transcoding process, the segmentation video obtaining according to burst transcoding, the index file that foundation or renewal are corresponding with described video playback request; In step s3 ', described transcoding equipment 2, when described index file meets when condition is provided, provides described index file to described subscriber equipment; Correspondingly, in step s3 ', described subscriber equipment 1 obtains the index file that described transcoding equipment returns; In step s4 ', described subscriber equipment 1 sends the segmentation video playback request corresponding with described index file according to index file to described transcoding equipment; Correspondingly, in step s4 ', described transcoding equipment 2 receives the segmentation video playback request corresponding with described index file that described subscriber equipment sends; In step s5 ', described transcoding equipment 2 is according to the segmentation video playback request of described subscriber equipment, the segmentation video corresponding with the request of described segmentation video playback provided to described subscriber equipment, and wherein, the request of described segmentation video playback is corresponding with described index file; Correspondingly, in step s6 ', described subscriber equipment 1 is play the corresponding segmentation video of described index file.
Wherein, described subscriber equipment 1 is identical or basic identical with corresponding step shown in Fig. 3 with step s3 ', step s4 ', step s5 ', the step s6 ' of described transcoding equipment 2, so locate to repeat no more, and mode is by reference contained in this.
Between above steps, be constant work, at this, it will be understood by those skilled in the art that " continuing " refers to that above steps respectively in real time, or according to the mode of operation requirement of setting or adjust in real time, carry out the send and receive of video playback request, the execution of burst transcoding, the foundation of index file or renewal, the providing and receiving of index file, the send and receive of segmentation video playback request, providing and the broadcasting of segmentation video of segmentation video, until described subscriber equipment stops sending the extremely described transcoding equipment of video playback request that user initiates by subscriber equipment.
At this, those skilled in the art will be understood that, in the present invention, described the corresponding video of described video playback request is carried out to burst transcoding process, and the process of segmentation video, foundation or the renewal of obtaining according to the burst transcoding index file corresponding with described video playback request walks abreast; The segmentation video obtaining according to described burst transcoding in real time, the index file that foundation or renewal are corresponding with described video playback request, even while not comprising the whole segmentation video after the corresponding transcoding of described video in described index file, as long as provide condition when described index file meets, also the index file of the segmentation video information that comprises current transcoding can be sent to described subscriber equipment; Meanwhile, described transcoding equipment 2 continues to carry out described burst transcoding, and according to the transcoding process of described burst transcoding, continues to upgrade described index file, and according to condition is provided, described index file is provided to described subscriber equipment.
In step s1 ', described subscriber equipment 1 sends video playback request to transcoding equipment, wherein, described video playback request comprises the broadcasting relevant information corresponding with described subscriber equipment, and the transcoding that described video playback request also ought often complete one section of video for described transcoding equipment according to described video playback request startup burst transcoding just can upgrade index file.
Particularly, in step s1 ', described subscriber equipment 1, according to various communication protocol (as http protocol), by Various types of data coffret, directly obtains the video playback request that user utilizes the modes such as input, click, touch to initiate by subscriber equipment; Or, in step s1 ', described subscriber equipment 1 is according to various communication protocol, by Various types of data coffret, with storage or provide one or more databases of described video playback request or other third party devices to interact, the video playback request that the user who stores or provide to obtain in described database or described third party device initiates by subscriber equipment; Then,, in step s1 ', described subscriber equipment 1, according to various communication protocol, by Various types of data coffret, is sent to transcoding equipment 2 by described video playback request.
Wherein, described video playback request comprises the broadcasting relevant information corresponding with described subscriber equipment; Described broadcasting relevant information include but not limited to current device device-dependent message (as described in equipment manufacturer, model, CPU information, monitor resolution, as described in the corresponding network condition of equipment, available bandwidth etc.) and/or target video access object information (as video type, broadcast mode (as live or recorded broadcast) etc.).
Correspondingly, in step s21 ', the broadcasting relevant information that described transcoding equipment 2 is included according to described video playback request, carries out burst transcoding to the corresponding video of described video playback request.
Particularly, in step s21 ', described transcoding equipment 2 is according to various communication protocol (as http protocol), by Various types of data coffret, interact with described subscriber equipment, or can provide the third party device of described video playback request to interact with other, the video playback request being sent to obtain described subscriber equipment.
In step s21 ', described transcoding equipment 2, according to described video playback request, starts real-time transcoding task, and the corresponding video of described video playback request is divided into multiple video segments, then carries out real-time transcoding; Further, can also utilize one or more transcoding equipment to carry out distributed trans-coding, to improve transcoding speed.At this, the parameter (as video resolution, frame per second, code check, audio sample rate etc.) of described transcoding can based on as described in the broadcasting relevant information that comprised of video playback request determine, described broadcasting relevant information include but not limited to current device device-dependent message (as described in equipment manufacturer, model, CPU information, monitor resolution, as described in the corresponding network condition of equipment, available bandwidth etc.) and/or target video access object information (as video type, broadcast mode (as live or recorded broadcast) etc.).
In step s22 ', described transcoding equipment 2 in described burst transcoding process, the segmentation video obtaining according to burst transcoding, the index file that foundation or renewal are corresponding with described video playback request.
Particularly, in described burst transcoding process, after the transcoding task of each video segment completes, the segmentation video obtaining according to burst transcoding, in step s22 ', the index file that described transcoding equipment 2 is set up or renewal is corresponding with described video playback request; ,, if there is not described index file,, after at least one video segment transcoding completes, set up described index file; If there is described index file,, after at least one video segment transcoding completes, upgrade described index file.
,, in the time that transcoding does not complete, in described index file, only comprise the video segment that transcoding completes; Thereby the fragment by transcoding completes that can real-time in subsequent step offers user side.
Preferably, in step s21 ', the broadcasting relevant information that described transcoding equipment 2 can be included according to described video playback request, carries out burst to the corresponding video of described playing request, obtains the one or more video slicings corresponding with described video; Determine rule according to predetermined priority, determine and the corresponding transcoding precedence information of described video slicing; According to the corresponding transcoding priority of described video slicing, the corresponding video of described video playback request is carried out to burst transcoding.
Particularly, in step s21 ', described transcoding equipment 2 can be according to the broadcasting relevant information comprising in described video playback request, according to different broadcasting relevant informations, the corresponding video of described playing request is carried out to burst, for example, according to different network conditions, determine the information such as quantity, resolution of burst, thereby obtain the one or more video slicings corresponding with described video.
Then,, in step s21 ', described transcoding equipment 2 is determined rule according to predetermined priority, and the corresponding transcoding priority of described video slicing is determined; Wherein, described priority determines that rule includes but not limited to following at least any one:
-according to the corresponding order information of described video slicing, as first transcoding first, other carry out parallel burst transcoding;
-according to the corresponding content information of described video slicing, as the head that repeat can directly adopt other head that transcoding is good to play, therefore reduce the transcoding priority of described head;
-according to the corresponding broadcasting frequency of described video slicing information, as some burst is play frequency higher (as adopted the mode of F.F. to play certain fragment for certain video user), preferential these bursts of transcoding.
Then,, in step s21 ', described transcoding equipment 2, according to the corresponding transcoding priority of described video slicing, carries out burst transcoding according to the sequencing of priority to described video slicing.
Further, in step s21 ', described transcoding equipment 2 can also, according to the corresponding transcoding priority of described video slicing, be determined the transcoding server corresponding with described video slicing, thereby the corresponding video of described video playback request is carried out to burst transcoding.
Preferably, in step s22 ', described transcoding equipment 2 can be in described burst transcoding process, the segmentation video obtaining according to burst transcoding, in conjunction with the corresponding transcoding priority of described video slicing, the index file that foundation or renewal are corresponding with described video playback request.
Particularly, in described burst transcoding process, after the transcoding task of each video segment completes, the segmentation video obtaining according to burst transcoding, in conjunction with the corresponding transcoding priority of described video slicing, in step s22 ', the index file that described transcoding equipment 2 is set up or renewal is corresponding with described video playback request; ,, if there is not described index file,, after at least one video segment transcoding completes, set up described index file; If there is described index file,, after at least one video segment transcoding completes, upgrade described index file; If exist multiple video segments while transcodings to complete, upgrade the video slicing that transcoding priority is high in preferential indexed file.
To those skilled in the art, obviously the invention is not restricted to the details of above-mentioned example embodiment, and in the situation that not deviating from spirit of the present invention or essential characteristic, can realize the present invention with other concrete form.Therefore, no matter from which point, all should regard embodiment as exemplary, and be nonrestrictive, scope of the present invention is limited by claims instead of above-mentioned explanation, is therefore intended to all changes that drop in the implication and the scope that are equal to important document of claim to be included in the present invention.Any Reference numeral in claim should be considered as limiting related claim.In addition, obviously other unit or step do not got rid of in " comprising " word, and odd number is not got rid of plural number.Multiple unit of stating in device claim or device also can be realized by software or hardware by a unit or device.The first, the second word such as grade is used for representing title, and does not represent any specific order.
Claims (13)
1. a method that is used for providing video information at subscriber equipment end, wherein, the method comprises the following steps:
-send video playback request to transcoding equipment, wherein, the transcoding that described video playback request also ought often complete one section of video for described transcoding equipment according to described video playback request startup burst transcoding just can upgrade index file;
-obtain the index file that described transcoding equipment returns;
-send the segmentation video playback request corresponding with described index file according to index file to described transcoding equipment;
-play the corresponding segmentation video of described index file.
2. method according to claim 1, wherein, described in obtain the index file that described transcoding equipment returns after, described method also comprises:
-according to predetermined update condition, described index file is upgraded to processing.
3. method according to claim 1 and 2, wherein, the described step that sends the segmentation video playback request corresponding with described index file to described transcoding equipment according to index file comprises:
-according to described index file, obtain the one or more segmentation video playback information corresponding with described index file;
-send the segmentation video playback request corresponding with described video playback information to described transcoding equipment.
4. a method that supplies video information in transcoding equipment end for assisted Extraction, wherein, the method comprises the following steps:
-video playback the request that sends according to subscriber equipment, the corresponding video of described video playback request is carried out to burst transcoding, and in described burst transcoding process, the segmentation video obtaining according to burst transcoding, the index file that foundation or renewal are corresponding with described video playback request;
-when described index file meets when condition is provided, described index file is provided to described subscriber equipment;
-receive the segmentation video playback request corresponding with described index file that described subscriber equipment sends;
-according to the segmentation video playback request of described subscriber equipment, the segmentation video corresponding with the request of described segmentation video playback provided to described subscriber equipment, wherein, the request of described segmentation video playback is corresponding with described index file.
5. method according to claim 4, wherein, the step of described foundation or the renewal index file corresponding with described video playback request comprises:
-broadcasting the relevant information included according to described video playback request, carries out burst transcoding to the corresponding video of described video playback request;
-in described burst transcoding process, the segmentation video obtaining according to burst transcoding, the index file that foundation or renewal are corresponding with described video playback request.
6. according to the method described in claim 4 or 5, wherein, the method also comprises:
-according to the device-dependent message of described subscriber equipment and/or play history information, determine the condition that provides of described index file;
Wherein, described described index file provided to the step of described subscriber equipment and comprised:
-in the time providing condition described in described index file meets, described index file is provided to described subscriber equipment.
7. for a subscriber equipment for video information is provided, wherein, this equipment comprises:
Send-request unit, for sending video playback request to transcoding equipment, wherein, the transcoding that described video playback request also ought often complete one section of video for described transcoding equipment according to described video playback request startup burst transcoding just can upgrade index file;
Index acquisition device, the index file returning for obtaining described transcoding equipment;
Segmentation dispensing device, for sending the segmentation video playback request corresponding with described index file according to index file to described transcoding equipment;
Playing device, for playing the corresponding segmentation video of described index file.
8. subscriber equipment according to claim 7, wherein, described subscriber equipment also comprises:
Updating device, for according to predetermined update condition, upgrades processing to described index file.
9. according to the subscriber equipment described in claim 7 or 8, wherein, described segmentation dispensing device is used for:
-according to described index file, obtain the one or more segmentation video playback information corresponding with described index file;
-send the segmentation video playback request corresponding with described video playback information to described transcoding equipment.
10. the transcoding equipment for video information for assisted Extraction, wherein, this equipment comprises:
Transcoding device, for the video playback request sending according to subscriber equipment, the corresponding video of described video playback request is carried out to burst transcoding, and in described burst transcoding process, the segmentation video obtaining according to burst transcoding, the index file that foundation or renewal are corresponding with described video playback request;
Index generator, while providing condition, provides described index file to described subscriber equipment for meeting when described index file;
Receiving system, the segmentation video playback request corresponding with described index file sending for receiving described subscriber equipment;
Segmentation generator, for according to the segmentation video playback request of described subscriber equipment, provides the segmentation video corresponding with the request of described segmentation video playback to described subscriber equipment, and wherein, the request of described segmentation video playback is corresponding with described index file.
11. transcoding equipment according to claim 10, wherein, described transcoding device comprises:
Burst transcoding units, for the broadcasting relevant information included according to described video playback request, carries out burst transcoding to the corresponding video of described video playback request;
Unit set up in index, at described burst transcoding process, and the segmentation video obtaining according to burst transcoding, the index file that foundation or renewal are corresponding with described video playback request.
12. according to the transcoding equipment described in claim 10 or 11, and wherein, this equipment also comprises:
Condition determining device, for according to the device-dependent message of described subscriber equipment and/or play history information, determines the condition that provides of described index file;
Wherein, described index generator is used for:
-in the time providing condition described in described index file meets, described index file is provided to described subscriber equipment.
13. 1 kinds for providing the system of video information, comprises subscriber equipment as described in any one in claim 7 to 9 and the transcoding equipment as described in any one in claim 10 to 12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410086495.4A CN103916679B (en) | 2014-03-10 | 2014-03-10 | A kind of method, equipment and system for being used to provide video information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410086495.4A CN103916679B (en) | 2014-03-10 | 2014-03-10 | A kind of method, equipment and system for being used to provide video information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103916679A true CN103916679A (en) | 2014-07-09 |
CN103916679B CN103916679B (en) | 2018-04-10 |
Family
ID=51042022
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410086495.4A Active CN103916679B (en) | 2014-03-10 | 2014-03-10 | A kind of method, equipment and system for being used to provide video information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103916679B (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104469401A (en) * | 2014-12-25 | 2015-03-25 | 武汉市烽视威科技有限公司 | HLS based on-demand playing system and method |
CN105338368A (en) * | 2015-11-02 | 2016-02-17 | 腾讯科技(北京)有限公司 | Method, device and system for converting live stream of video into on-demand data |
CN105657449A (en) * | 2014-12-03 | 2016-06-08 | 中国移动通信集团公司 | Video transcode allocation method and device and video transcode system |
CN105872807A (en) * | 2016-05-16 | 2016-08-17 | 乐视控股(北京)有限公司 | Video playing method and system |
CN105959714A (en) * | 2016-04-28 | 2016-09-21 | 武汉斗鱼网络科技有限公司 | Method and system for automatically recommending network broadcast parameters according to hardware environment of user |
CN106817588A (en) * | 2017-02-06 | 2017-06-09 | 网宿科技股份有限公司 | Transcoding control method and device, net cast method and system |
WO2017101370A1 (en) * | 2015-12-14 | 2017-06-22 | 乐视控股(北京)有限公司 | Live video processing method and apparatus |
CN106961613A (en) * | 2017-03-30 | 2017-07-18 | 上海七牛信息技术有限公司 | A kind of streaming real-time transcoding order method and system |
CN108322772A (en) * | 2018-01-30 | 2018-07-24 | 北京奇艺世纪科技有限公司 | A kind of video file processing method, device and electronic equipment |
CN110213616A (en) * | 2018-05-15 | 2019-09-06 | 腾讯科技(深圳)有限公司 | Video providing method, acquisition methods, device and equipment |
CN110636340A (en) * | 2019-09-30 | 2019-12-31 | 普联技术有限公司 | Video file uploading method and storage device |
CN110856017A (en) * | 2019-11-07 | 2020-02-28 | 西安奥卡云数据科技有限公司 | Video processing method and device |
CN111031355A (en) * | 2019-12-25 | 2020-04-17 | 湖南快乐阳光互动娱乐传媒有限公司 | Media resource playing processing method, device and system |
CN111698536A (en) * | 2019-03-15 | 2020-09-22 | 瑞昱半导体股份有限公司 | Video processing method and system |
CN114786042A (en) * | 2022-04-12 | 2022-07-22 | 北京字节跳动网络技术有限公司 | Video playing method, device, equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101420619A (en) * | 2008-11-20 | 2009-04-29 | 四川长虹电器股份有限公司 | Distributed media format code transferring method |
CN101951512A (en) * | 2010-08-24 | 2011-01-19 | 中国科学院深圳先进技术研究院 | Fragmentation transcoding method and system of live video and real-time video |
CN102123303A (en) * | 2011-03-25 | 2011-07-13 | 天脉聚源(北京)传媒科技有限公司 | Audio/video file playing method and system as well as transmission control device |
CN102572555A (en) * | 2012-01-16 | 2012-07-11 | 深圳市同洲视讯传媒有限公司 | Method and system for realizing live video playback at HTTP live streaming (HLS) client |
CN102802053A (en) * | 2012-07-23 | 2012-11-28 | 深圳市融创天下科技股份有限公司 | Audio and video file transcoding cluster dispatching method and device |
CN103354618A (en) * | 2013-06-24 | 2013-10-16 | 西安交通大学 | HLS-based multi-scenario streaming media adaptive live broadcast method |
CN103491431A (en) * | 2013-09-11 | 2014-01-01 | 深圳市创维软件有限公司 | Method, terminal and system for audio and video sharing of digital television |
CN103581693A (en) * | 2013-11-12 | 2014-02-12 | 北京清源新创科技有限公司 | Internet-oriented large-scale live time shifting method and system based on fragment transmission |
-
2014
- 2014-03-10 CN CN201410086495.4A patent/CN103916679B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101420619A (en) * | 2008-11-20 | 2009-04-29 | 四川长虹电器股份有限公司 | Distributed media format code transferring method |
CN101951512A (en) * | 2010-08-24 | 2011-01-19 | 中国科学院深圳先进技术研究院 | Fragmentation transcoding method and system of live video and real-time video |
CN102123303A (en) * | 2011-03-25 | 2011-07-13 | 天脉聚源(北京)传媒科技有限公司 | Audio/video file playing method and system as well as transmission control device |
CN102572555A (en) * | 2012-01-16 | 2012-07-11 | 深圳市同洲视讯传媒有限公司 | Method and system for realizing live video playback at HTTP live streaming (HLS) client |
CN102802053A (en) * | 2012-07-23 | 2012-11-28 | 深圳市融创天下科技股份有限公司 | Audio and video file transcoding cluster dispatching method and device |
CN103354618A (en) * | 2013-06-24 | 2013-10-16 | 西安交通大学 | HLS-based multi-scenario streaming media adaptive live broadcast method |
CN103491431A (en) * | 2013-09-11 | 2014-01-01 | 深圳市创维软件有限公司 | Method, terminal and system for audio and video sharing of digital television |
CN103581693A (en) * | 2013-11-12 | 2014-02-12 | 北京清源新创科技有限公司 | Internet-oriented large-scale live time shifting method and system based on fragment transmission |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105657449B (en) * | 2014-12-03 | 2018-12-28 | 中国移动通信集团公司 | A kind of video code conversion distribution method, device and video code conversion system |
CN105657449A (en) * | 2014-12-03 | 2016-06-08 | 中国移动通信集团公司 | Video transcode allocation method and device and video transcode system |
CN104469401A (en) * | 2014-12-25 | 2015-03-25 | 武汉市烽视威科技有限公司 | HLS based on-demand playing system and method |
CN105338368A (en) * | 2015-11-02 | 2016-02-17 | 腾讯科技(北京)有限公司 | Method, device and system for converting live stream of video into on-demand data |
CN105338368B (en) * | 2015-11-02 | 2019-03-15 | 腾讯科技(北京)有限公司 | A kind of method, apparatus and system of the live stream turning point multicast data of video |
WO2017101370A1 (en) * | 2015-12-14 | 2017-06-22 | 乐视控股(北京)有限公司 | Live video processing method and apparatus |
CN105959714A (en) * | 2016-04-28 | 2016-09-21 | 武汉斗鱼网络科技有限公司 | Method and system for automatically recommending network broadcast parameters according to hardware environment of user |
CN105872807A (en) * | 2016-05-16 | 2016-08-17 | 乐视控股(北京)有限公司 | Video playing method and system |
CN106817588A (en) * | 2017-02-06 | 2017-06-09 | 网宿科技股份有限公司 | Transcoding control method and device, net cast method and system |
CN106961613A (en) * | 2017-03-30 | 2017-07-18 | 上海七牛信息技术有限公司 | A kind of streaming real-time transcoding order method and system |
CN108322772A (en) * | 2018-01-30 | 2018-07-24 | 北京奇艺世纪科技有限公司 | A kind of video file processing method, device and electronic equipment |
CN110213616A (en) * | 2018-05-15 | 2019-09-06 | 腾讯科技(深圳)有限公司 | Video providing method, acquisition methods, device and equipment |
CN110213616B (en) * | 2018-05-15 | 2021-12-28 | 腾讯科技(深圳)有限公司 | Video providing method, video obtaining method, video providing device, video obtaining device and video providing equipment |
CN111698536A (en) * | 2019-03-15 | 2020-09-22 | 瑞昱半导体股份有限公司 | Video processing method and system |
CN111698536B (en) * | 2019-03-15 | 2023-03-28 | 瑞昱半导体股份有限公司 | Video processing method and system |
CN110636340A (en) * | 2019-09-30 | 2019-12-31 | 普联技术有限公司 | Video file uploading method and storage device |
CN110636340B (en) * | 2019-09-30 | 2021-11-09 | 普联技术有限公司 | Video file uploading method, storage device, terminal device and storage medium |
CN110856017A (en) * | 2019-11-07 | 2020-02-28 | 西安奥卡云数据科技有限公司 | Video processing method and device |
CN111031355A (en) * | 2019-12-25 | 2020-04-17 | 湖南快乐阳光互动娱乐传媒有限公司 | Media resource playing processing method, device and system |
CN114786042A (en) * | 2022-04-12 | 2022-07-22 | 北京字节跳动网络技术有限公司 | Video playing method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN103916679B (en) | 2018-04-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103916679A (en) | Method, equipment and system for providing video information | |
CN103384275B (en) | Cross-terminal downloading method, system cloud server and terminal | |
CN101802777B (en) | System and method for distributing media data | |
CN106843828B (en) | Interface display and loading method and device | |
EP2957103B1 (en) | Cloud-based video delivery | |
CN102075528B (en) | Method and equipment for playing network multimedia files of multiple encapsulation formats | |
CN101803335B (en) | System and method for combining media data | |
US9774642B2 (en) | Method and device for pushing multimedia resource and display terminal | |
CN109729386B (en) | A kind of video file start broadcasting method, system and electronic equipment and storage medium | |
CN102882829A (en) | Transcoding method and system | |
CN103095684B (en) | Obtain and pay close attention to the method for user's aggregation information, Apparatus and system | |
CN102404567A (en) | System and method for transcoding network monitoring video stream in real time as required | |
CN1538701A (en) | Method and data formate for synchronizing contents | |
CN103531218B (en) | A kind of online multimedia file editing method and system | |
EP3275201B1 (en) | Determining initial bit rate for adaptive bit rate video playback | |
CN104796439A (en) | Webpage pushing method, webpage pushing client, webpage pushing server and webpage pushing system | |
CN104349177A (en) | Method for turning to play multimedia file under desktop cloud, virtual machine and system | |
CN106850720A (en) | Method for upgrading software, apparatus and system | |
CN104580267A (en) | A resource downloading method, device, server and corresponding system | |
CN102404616A (en) | Method and system for carrying out data cloud pushing based on digital television network | |
CN103581218A (en) | Method and equipment for updating mobile search applications in mobile terminal | |
CN102685155B (en) | The method that content transmits, content delivering server and content transmit proxy server | |
US20110145440A1 (en) | Method of distributed computing electronic device and system applying the method | |
CN110300182A (en) | Network node dispatching method and device, computer installation and storage medium | |
KR102327910B1 (en) | Apparatus and method providing hybrid smart tv based on cloud |
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 |