CN105721901A - Video transcoder adaption method, device and system - Google Patents
Video transcoder adaption method, device and system Download PDFInfo
- Publication number
- CN105721901A CN105721901A CN201410857050.1A CN201410857050A CN105721901A CN 105721901 A CN105721901 A CN 105721901A CN 201410857050 A CN201410857050 A CN 201410857050A CN 105721901 A CN105721901 A CN 105721901A
- Authority
- CN
- China
- Prior art keywords
- transcoding
- priority
- video
- task
- resource
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The invention discloses a video transcoder adaption method, a device and a system. The video transcoder adaption method comprises steps of performing film source level adaption on the video in the film source level adaption group according to the film source parameter, obtaining the priority of the transcoding task corresponding to the video, a transcoding source and a video transcoding mode, regulating the obtained transcoding task according to the film source parameter of the film source parameter of the video, the obtained priority of the transcoding task and the video transcoding mode, obtaining the regulated transcoding task and the regulated transcoding priority, and generating a transcoding order according to the regulated transcoding task priority and the video transcoding resource corresponding to the transcoding task, and indicating the corresponding transcoding resource to perform transcoding on the video. The video transcoder adaption method, the device and the system avoid the fact that the emergency task cannot promptly perform transcoding and the transcoding production is in an uncontrollable state.
Description
Technical field
The application relates to communication technical field, is specifically related to a kind of video code conversion adaptation method, Apparatus and system.
Background technology
Cloud transcoding refers to the cloud computing technology that video is converted to the video format being suitable for mobile device plays by server (high in the clouds).When generally we download film, great majority be all with rmvb avi in the majority, and some move equipment, as mobile phone MP4 PSP etc. do not support again to be at this time accomplished by the broadcasting of these forms user and carry out manual film transcoding operation.Serviced by cloud transcoding, by film after the terminal downloaded just takes a turn for the better, it is provided that download to user, be greatly saved a lot of quality time of user.
In the face of the above factor, in order to meet different demands, prior art develops high in the clouds transcoding technology, to meet user to different video form, different resolution, different code streams, the user demand of different terminals.
And for high in the clouds transcoding technology, effective adaptation method can ensure that the efficient execution of transcoding, but, in prior art in adaptation, specifying and default priority two ways based on user, priority level is chaotic, the situation that a large amount of high-priority task overstock often occurs, cause hot job cannot transcoding in time, be in uncontrollable state.Support for customizing transcoding demand is dumb, and autgmentability is poor, it is necessary to upgrading trans-coding system could realize, and adds substantial amounts of maintenance cost.
Summary of the invention
In view of this, the present invention provides a kind of video code conversion adaptation method, Apparatus and system, and it can solve one of the problems referred to above of the prior art or whole.
The invention provides a kind of video code conversion adaptation method, comprising:
Sheet source dates according to video, carries out sheet source class adaptive in sheet source class adaptation group to described video, it is thus achieved that the priority of transcoding task that described video is corresponding, transcoding resource, video transcoding mode;
The transcoding mode of sheet source dates according to described video and the priority of transcoding task of acquisition, video adjusts the transcoding task of described acquisition, the priority of transcoding task after being adjusted and the transcoding task after adjusting;
Transcoding resource according to the video corresponding with this transcoding task of the priority of transcoding task after adjusting, generation transcoding instruction, indicate corresponding transcoding resource that described video is carried out transcoding.
Preferably, in an embodiment of the application, the transcoding mode of the described sheet source dates according to described video and the priority of transcoding task of acquisition, video adjusts the transcoding task of described acquisition, particularly as follows:
Video code rate information in sheet source dates according to described video generates at least one transcoding task of the transcoding task association corresponding with this video, and the described transcoding task of generation inherits transcoding resource corresponding to transcoding task associated with it and priority;
If described transcoding mode is self adaptation transcoding, then code check priority delta is set according at least one in the video duration in sheet source dates, user profile, service label or combination in any, it is added with the priority of the transcoding task of described generation, the priority of the transcoding task after being adjusted and the transcoding task after adjustment;
Otherwise, code check priority delta is set according to the code rate information in sheet source dates, is added with the priority of the transcoding task of described generation, the priority of the transcoding task after the adjustment of transcoding task after being adjusted.
Preferably, in an embodiment of the application, each described transcoding task includes: the code rate information of video, sheet source address, transcoding resource information, priority;
The transcoding resource of the described video corresponding with this transcoding task according to the priority of the transcoding task after adjusting, generates transcoding instruction, particularly as follows:
According to the transcoding resource that each transcoding task after adjusting is corresponding, set up the transcoding task list according to priority arrangement corresponding with this transcoding resource, generate transcoding instruction.
Preferably, in an embodiment of the application, described transcoding resource includes: private resource, public resource;
Described according to transcoding resource corresponding to each transcoding task after adjusting, when setting up corresponding with this transcoding resource transcoding task list according to priority arrangement, if task list corresponding to private resource takes, then the resource that adjustment task is corresponding is public resource.
Preferably, in an embodiment of the application, task list described in periodic detection, if the waiting time of the transcoding task of lowest priority exceedes predetermined threshold value in described task list, then improves the priority of the transcoding task of described lowest priority.
The invention provides a kind of video code conversion adaptive device, comprising:
Adaptation module, for sheet source dates according to video, carries out sheet source class adaptive in sheet source class adaptation group to described video, it is thus achieved that the priority of transcoding task that described video is corresponding, transcoding resource, video transcoding mode;
Priority adjusting module, the transcoding mode being used for the sheet source dates according to described video and the priority of transcoding task of acquisition, video adjusts the transcoding task of described acquisition, the priority of the transcoding task after being adjusted and the transcoding task after adjustment;
Transcoding directive generation module, is used for the transcoding resource of the video corresponding with this transcoding task of the priority according to the transcoding task after adjusting, and generates transcoding instruction, indicates corresponding transcoding resource that described video is carried out transcoding.
Preferably, in an embodiment of the application, described priority adjusting module generates at least one transcoding task of the transcoding task association corresponding with this video specifically for the video code rate information in the sheet source dates according to described video, and the described transcoding task of generation inherits transcoding resource corresponding to transcoding task associated with it and priority;
If described transcoding mode is self adaptation transcoding, then code check priority delta is set according at least one in the video duration in sheet source dates, user profile, service label or combination in any, it is added with the priority of the transcoding task of described generation, the priority of the transcoding task after being adjusted and the transcoding task after adjustment;
Otherwise, code check priority delta is set according to the code rate information in sheet source dates, is added with the priority of the transcoding task of described generation, the priority of the transcoding task after the adjustment of transcoding task after being adjusted.
Preferably, in an embodiment of the application, each described transcoding task includes: the code rate information of video, sheet source address, transcoding resource information, priority;
Described priority adjusting module, specifically for the transcoding resource corresponding according to each transcoding task after adjusting, sets up the transcoding task list according to priority arrangement corresponding with this transcoding resource, generates transcoding instruction.
Preferably, in an embodiment of the application, described transcoding resource includes: private resource, public resource;
Described priority adjusting module is specifically for the transcoding resource corresponding according to each transcoding task after adjusting, when setting up corresponding with this transcoding resource transcoding task list according to priority arrangement, if the task list that private resource is corresponding takes, then the resource adjusting task corresponding is public resource.
Preferably, in an embodiment of the application, described priority adjusting module, specifically for task list described in periodic detection, if the waiting time of the transcoding task of lowest priority exceedes predetermined threshold value in described task list, then improves the priority of the transcoding task of described lowest priority.
The application provides a kind of video code conversion adaption system, comprising: control centre, transcoding center, described control centre includes sheet source class adaptation group and code check level adaptation group;Wherein,
Described video, for the sheet source dates according to video, is carried out sheet source class adaptive by described source class adaptation group in sheet source class adaptation group, it is thus achieved that the priority of transcoding task that described video is corresponding, transcoding resource, video transcoding mode;
Described code check level adaptation group adjusts the transcoding task of described acquisition for the transcoding mode of the sheet source dates according to described video and the priority of transcoding task of acquisition, video, the priority of transcoding task after being adjusted and the transcoding task after adjusting;
Described transcoding center is used for the transcoding resource of the video corresponding with this transcoding task of the priority according to the transcoding task after adjusting, and generates transcoding instruction, indicates corresponding transcoding resource that described video is carried out transcoding.
From above technical scheme, in the present invention, due to the sheet source dates according to video, described video is carried out by sheet source class adaptation group sheet source class adaptive, it is thus achieved that the priority of transcoding task that described video is corresponding, transcoding resource, video transcoding mode;The priority of the transcoding task of described acquisition, the transcoding task after being adjusted and the transcoding task after adjustment is adjusted afterwards further according to the transcoding mode of the sheet source dates of described video and the priority of transcoding task of acquisition, video;Finally, transcoding resource according to the video corresponding with this transcoding task of the priority of transcoding task after adjusting, generate transcoding instruction, indicate corresponding transcoding resource that described video is carried out transcoding, the situation being different from prior art to be specified a large amount of high-priority task of causing to overstock by user, thus avoiding hot job transcoding and transcoding production cannot be in uncontrollable state in time.It addition, for the demand customized, it is possible to identify and carry out adaptation, thus improve the autgmentability of transcoding production system, trans-coding system of need not upgrading, reduce substantial amounts of maintenance cost.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes the part of the application, and the schematic description and description of the application is used for explaining the application, is not intended that the improper restriction to the application.In the accompanying drawings:
Fig. 1 is the embodiment of the present application one video code conversion adaptation method schematic flow sheet;
Fig. 2 is the structural representation adjusting transcoding task priority in the present embodiment two;
Fig. 3 is the embodiment of the present application three video code conversion adaptation method schematic flow sheet;
Fig. 4 is the schematic flow sheet that the embodiment of the present application four generates transcoding instruction;
Fig. 5 is the embodiment of the present application five video code conversion adaptation method schematic flow sheet;
Fig. 6 is the structural representation of the embodiment of the present application six video code conversion adaptive device;
Fig. 7 is the structural representation of the embodiment of the present application seven video code conversion adaption system.
Detailed description of the invention
Describe presently filed embodiment in detail below in conjunction with drawings and Examples, thereby the application how application technology means are solved technical problem and reaches the process that realizes of technology effect and can fully understand and implement according to this.
Embodiment describes
Fig. 1 is the embodiment of the present application one video code conversion adaptation method schematic flow sheet;As it is shown in figure 1, it at least includes:
S101, sheet source dates according to video, carry out sheet source class adaptive in sheet source class adaptation group to described video, it is thus achieved that the priority of transcoding task that described video is corresponding, transcoding resource, video transcoding mode;
In the present embodiment, described source dates can but be not limited to include code check, form, frame per second, duration, resolution etc., and live, with broadcasting label acute, urgent, channel number, service line, whether paying customer or registration user etc..Urgent label can include the priority setting options being exposed to user.Channel number can refer to the channel of cloud platform such as LETV main website, using by channel number as adaptive reference information.Service line can include the type of service referring to an access trans-coding system, such as cloud video, LETV main website, live, cloud disk, UGC, movie-buff etc..
In S101, when adaptation, it is possible to schematically carry out with reference to following adaptive principle:
The urgency level of live transcoding demand is more than cloud disk, and the transcoding task priority of live video broadcasts the transcoding task priority of video higher than cloud;If a video belongs to live play, and another one to be video belong to cloud broadcasts video, then give live video higher transcoding task priority, and give cloud and broadcast the transcoding task priority that video is relatively low.
Main website, with broadcasting the priority of play more than ordinary video, namely main broadcaster's video transcoding task priority, with the transcoding task priority transcoding task priority more than ordinary video source broadcasting video;Namely give the transcoding task priority that main broadcaster's video is higher, and give the transcoding task priority that ordinary video is relatively low, give the transcoding task priority higher with broadcasting video, and give the transcoding task priority that ordinary video is relatively low.
In same service line, the priority of different user is also different, such as the video that paying customer uploads, its transcoding task priority is higher, and the video that domestic consumer uploads, its transcoding task priority is relatively low, the video code conversion that the video priority that paying customer uploads is uploaded in domestic consumer.Namely give the transcoding task priority that the video uploaded of paying customer is higher, and give the transcoding task priority that domestic consumer is relatively low.
It should be noted that the adaptive principle of above-mentioned simply schematic view, do not illustrate to use above-mentioned specific limited adaptive principle when S101 adaptation.
In the present embodiment, transcoding mode can include common transcoding, self adaptation transcoding, one enter to have more transcoding, burst transcoding etc..Enter to have more transcoding for one, when adaptation generates transcoding mode, if sheet source dates being learnt, video is the video of high code check, high duration, then adopt one to enter to have more transcoding, both ensured that transcoding finished product quickly exports, the consumption of transcoding resource can be reduced again.If having urgent label by sheet source dates, then can adopt burst transcoding, it is ensured that quickly export.
S102, transcoding mode according to the sheet source dates of described video and the priority of transcoding task of acquisition, video adjust the transcoding task of described acquisition, the priority of transcoding task after being adjusted and the transcoding task after adjusting;
In the present embodiment, owing to different sheet source dates, different transcoding mode have the attributes such as different timeliness and resource consumption.Therefore, in the present embodiment, according to the priority of the sheet source dates of video and transcoding task and transcoding mode, the priority of the transcoding task generated in step S101 is adjusted, to reach the Appropriate application of resource, and ensures the fast transcoding of video.
Furthermore it is also possible to carry out the adjustment of transcoding task priority according to the video code rate information whether forgiven in sheet source dates in the transcoding mode specified and sheet source dates, refer to following Fig. 2 embodiment in detail.
S103, transcoding resource according to the video corresponding with this transcoding task of the priority of transcoding task after adjusting, generate transcoding instruction, indicate corresponding transcoding resource that described video is carried out transcoding.
In step S103, transcoding instruction be used for control transcoding resource to video according to transcoding task priority to carry out transcoding control.
Fig. 2 is the structural representation adjusting transcoding task priority in the present embodiment two;As in figure 2 it is shown, comprising:
S201, at least one the transcoding task associated according to the transcoding task that the video code rate information generation in the sheet source dates of described video is corresponding with this video, the described transcoding task of generation inherits transcoding resource corresponding to transcoding task associated with it and priority;
The sheet source dates of video comprises the code rate information of video, such as a video file needs to be transcoded into code check in 3, such as high definition, SD, super clear, then the transcoding task of corresponding current video generates 3 transcoding tasks accordingly, the priority of 3 the transcoding tasks generated is identical with the priority of current transcoding task, and is that the transcoding resource that 3 transcoding tasks generated are distributed is also identical with current transcoding task.
Owing to different videos has different video code rate information, video code rate information includes in sheet source dates.Such as same video has high definition, SD, can be determined that, by this step S201, the video that same priority is corresponding, and its different code checks have identical priority, and use identical transcoding resource when transcoding.Such as, the high definition of A video can be identical with to the priority of A video, and can use identical transcoding resource.
S202, judge whether it is self adaptation transcoding;If it is, perform step S203, otherwise perform step S204;
In the present embodiment, if be self adaptation transcoding can from sheet source dates whether exist appointment transcoding judge, if sheet source dates is not specified transcoding, then indicate transcoding mode be in self adaptation transcoding obtain.
If the described transcoding mode of S203 is self adaptation transcoding, then code check priority delta is set according at least one in the video duration in sheet source dates, user profile, service label or combination in any, it is added with the priority of the transcoding task of described generation, the priority of the transcoding task after being adjusted and the transcoding task after adjustment;The code check of such as current video is relatively low, is provided with again self adaptation transcoding mode, then the transcoding code check of this video could be arranged to SD, adjusts the priority of described video further according to the code check priority delta preset that SD video is corresponding.
S204, code check priority delta is set according to the code rate information in sheet source dates, is added with the priority of the transcoding task of described generation, the transcoding task after being adjusted adjust after the priority of transcoding task.
In the present embodiment, owing to the video that film source transcoding task priority is higher having dividing of high low bit-rate, the video that additionally film source transcoding task priority is relatively low also has dividing of high low bit-rate, be can be determined that by the adjustment of the priority of transcoding task the low bit-rate transcoding first carried out in the video that priority is higher still first carries out the video high code rate transcoding that priority is relatively low.Such as, if considered from the timeliness angle of transcoding, low bit-rate transcoding is faster than high code check transcoding, therefore, the low bit-rate transcoding in the video that priority is relatively low can be first carried out and the higher video high code rate transcoding of execution priority, namely heighten the priority of lower priority correspondence video, and turn down the priority of higher priority correspondence video.
In the present embodiment, code check priority delta can be added up according to the code check priority delta of history, it is also possible to is combined with the calculating factor and adds up.
Such as, described code check priority delta can adjust cycle t determine according to highest priority value M, the longest waiting time T of transcoding task, transcoding task priority.If lowest priority is 0, limit priority is M, then the calculation of code check priority delta can be tM/T.By improving the priority of the transcoding task of lowest priority so that it is the time of the longest wait is less than T, it is possible to be performed.When being embodied as, the transcoding task that priority is minimum just waits for time the longest transcoding task, it is possible to the waiting time according to transcoding task, improves the priority of waiting time the longest transcoding task, until it is performed.
Calculating the factor can according to at least one in history video duration, user profile, service label or arbitrarily carry out statistical analysis generation, along with continuing to optimize of transcoding dispatching algorithm, being continuously increased of transcoded data amount, thus constantly revising this calculating factor, thus the accuracy that the priority improving transcoding task adjusts.
Fig. 3 is the embodiment of the present application three video code conversion adaptation method schematic flow sheet;As it is shown on figure 3, comprising:
S301, sheet source dates according to video, carry out sheet source class adaptive in sheet source class adaptation group to described video, it is thus achieved that the priority of transcoding task that described video is corresponding, transcoding resource, video transcoding mode;
In the present embodiment, each described transcoding task includes: the code rate information of video, sheet source address, transcoding resource information, priority;Can by sheet source address being carried out parsing acquisition video.
S302, transcoding mode according to the sheet source dates of described video and the priority of transcoding task of acquisition, video adjust the transcoding task of described acquisition, the priority of transcoding task after being adjusted and the transcoding task after adjusting;
This step relevant refers to above-mentioned embodiment illustrated in fig. 1 in detail, repeats no more in detail.
S303, according to transcoding resource corresponding to each transcoding task after adjusting, sets up the transcoding task list according to priority arrangement corresponding with this transcoding resource, generation transcoding instruction.
In the present embodiment, described transcoding resource may include that private resource, public resource.Private resource is the transcoding resource (only turning the video of specified services or user) for specific transactions or specific users allocation, the video using transcoding resource is likely to have multiple, therefore, in private resource, video code conversion task adopts the mode of priority management to be scheduling, namely according to the transcoding task list of priority arrangement to ensure fast transcoding;Similarly, public resource refers to the transcoding resource that all business can use, and in public resource, video code conversion task adopts the mode of priority management to be scheduling, namely according to the transcoding task list of priority arrangement, to ensure fast transcoding.The transcoding task list of priority arrangement can reflect same resource and perform the priority transcoding order of concrete video source.
Fig. 4 is the schematic flow sheet that the embodiment of the present application four generates transcoding instruction;As shown in Figure 4, comprising:
S401, judge whether private resource takes;If it is, perform S402, otherwise, S403 is performed.
If the task list that S402 private resource is corresponding takes, then the resource adjusting task corresponding is public resource;
If the task list that S403 private resource is corresponding does not take, then the resource that distribution task is corresponding is this private resource;
In the present embodiment, owing to would be likely to occur substantial amounts of video, its resource used is likely to be all private resource, the load causing private resource is excessive, it is impossible to response transcoding real-time, therefore, this time, it is possible to public resource can be used to tackle current transcoding task by all videos of transcoding.
Fig. 5 is the embodiment of the present application five video code conversion adaptation method schematic flow sheet;As it is shown in figure 5, it may include that
S501, sheet source dates according to video, carry out sheet source class adaptive in sheet source class adaptation group to described video, it is thus achieved that the priority of transcoding task that described video is corresponding, transcoding resource, video transcoding mode;
S502, transcoding mode according to the sheet source dates of described video and the priority of transcoding task of acquisition, video adjust the transcoding task of described acquisition, the priority of transcoding task after being adjusted and the transcoding task after adjusting;
S503, according to transcoding resource corresponding to each transcoding task after adjusting, set up the transcoding task list according to priority arrangement corresponding with this transcoding resource;
Task list described in S504, periodic detection, if the waiting time of the transcoding task of lowest priority exceedes predetermined threshold value in described task list, then improves the priority of the transcoding task of described lowest priority;
S505, transcoding resource according to the video corresponding with this transcoding task of the priority of transcoding task after adjusting, generate transcoding instruction, indicate corresponding transcoding resource that described video is carried out transcoding.
In the present embodiment, with examples detailed above the difference is that, add step S504, for dynamically adjusting the priority of transcoding task list transit code task, specifically, such as, if the transcoding task waiting time of lowest priority is long in task list, exceed predetermined threshold value, then dynamically heighten its priority, it is to avoid the transcoding task of drink is waited the long time.
On the basis of above-described embodiment, when sheet source class adaptation, service label adaptation can also be increased, the labelling of coupling different business and transcoding information, user can by selecting certain label to reach the purpose of certain transcoding configuration, owing to label is with good expansibility and multiformity, it is possible to quickly meet multiple transcoding demand.
Fig. 6 is the structural representation of the embodiment of the present application six video code conversion adaptive device;As shown in Figure 6, comprising:
Adaptation module 601, for sheet source dates according to video, carries out sheet source class adaptive in sheet source class adaptation group to described video, it is thus achieved that the priority of transcoding task that described video is corresponding, transcoding resource, video transcoding mode;
Priority adjusting module 602, the transcoding mode being used for the sheet source dates according to described video and the priority of transcoding task of acquisition, video adjusts the transcoding task of described acquisition, the priority of the transcoding task after being adjusted and the transcoding task after adjustment;
Transcoding directive generation module 603, is used for the transcoding resource of the video corresponding with this transcoding task of the priority according to the transcoding task after adjusting, and generates transcoding instruction, indicates corresponding transcoding resource that described video is carried out transcoding.
In an embodiment of the application, described priority adjustment generates at least one transcoding task of the transcoding task association corresponding with this video specifically for the video code rate information in the sheet source dates according to described video, and the described transcoding task of generation inherits transcoding resource corresponding to transcoding task associated with it and priority;
If described transcoding mode is self adaptation transcoding, then code check priority delta is set according at least one in the video duration in sheet source dates, user profile, service label or combination in any, it is added with the priority of the transcoding task of described generation, the priority of the transcoding task after being adjusted and the transcoding task after adjustment;
Otherwise, code check priority delta is set according to the code rate information in sheet source dates, is added with the priority of the transcoding task of described generation, the priority of the transcoding task after the adjustment of transcoding task after being adjusted.
In an embodiment of the application, each described transcoding task includes: the code rate information of video, sheet source address, transcoding resource information, priority;
Described priority adjusting module, specifically for the transcoding resource corresponding according to each transcoding task after adjusting, sets up the transcoding task list according to priority arrangement corresponding with this transcoding resource, generates transcoding instruction.
In an embodiment of the application, described transcoding resource includes: private resource, public resource;
Described priority adjusting module is specifically for the transcoding resource corresponding according to each transcoding task after adjusting, when setting up corresponding with this transcoding resource transcoding task list according to priority arrangement, if the task list that private resource is corresponding takes, then the resource adjusting task corresponding is public resource.
In an embodiment of the application, described priority adjusting module is specifically for task list described in periodic detection, if the waiting time of the transcoding task of lowest priority exceedes predetermined threshold value in described task list, then improve the priority of the transcoding task of described lowest priority.
Fig. 7 is the structural representation of the embodiment of the present application seven video code conversion adaption system;Comprising: control centre 701, transcoding center 702, described control centre 701 includes sheet source class adaptation group 711 and code check level adaptation group 721;Wherein:
Described video, for the sheet source dates according to video, is carried out sheet source class adaptive by described source class adaptation group 711 in sheet source class adaptation group, it is thus achieved that the priority of transcoding task that described video is corresponding, transcoding resource, video transcoding mode;
Described code check level adaptation group 721 adjusts the transcoding task of described acquisition for the transcoding mode of the sheet source dates according to described video and the priority of transcoding task of acquisition, video, the priority of transcoding task after being adjusted and the transcoding task after adjusting;
Described transcoding center 702 is used for the transcoding resource of the video corresponding with this transcoding task of the priority according to the transcoding task after adjusting, and generates transcoding instruction, indicates corresponding transcoding resource that described video is carried out transcoding.
It will be understood by those skilled in the art that embodiments herein can be provided as method, device (equipment) or computer program.Therefore, the application can adopt the form of complete hardware embodiment, complete software implementation or the embodiment in conjunction with software and hardware aspect.And, the application can adopt the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) wherein including computer usable program code.
The application describes with reference to flow chart and/or the block diagram according to the method for the embodiment of the present application, device (equipment) and computer program.It should be understood that can by the combination of the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can be provided to produce a machine to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device so that the instruction performed by the processor of computer or other programmable data processing device is produced for realizing the device of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide in the computer-readable memory that computer or other programmable data processing device work in a specific way, the instruction making to be stored in this computer-readable memory produces to include the manufacture of command device, and this command device realizes the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices provides for realizing the step of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
Although having been described for the preferred embodiment of the application, but those skilled in the art are once know basic creative concept, then these embodiments can be made other change and amendment.So, claims are intended to be construed to include preferred embodiment and fall into all changes and the amendment of the application scope.Obviously, the application can be carried out various change and modification without deviating from spirit and scope by those skilled in the art.So, if these amendments of the application and modification belong within the scope of the application claim and equivalent technologies thereof, then the application is also intended to comprise these change and modification.
Claims (11)
1. a video code conversion adaptation method, it is characterised in that including:
Sheet source dates according to video, carries out sheet source class adaptive in sheet source class adaptation group to described video, it is thus achieved that the priority of transcoding task that described video is corresponding, transcoding resource, video transcoding mode;
The transcoding mode of sheet source dates according to described video and the priority of transcoding task of acquisition, video adjusts the transcoding task of described acquisition, the priority of transcoding task after being adjusted and the transcoding task after adjusting;
Transcoding resource according to the video corresponding with this transcoding task of the priority of transcoding task after adjusting, generation transcoding instruction, indicate corresponding transcoding resource that described video is carried out transcoding.
2. video code conversion adaptation method according to claim 1, it is characterised in that the transcoding mode of the described sheet source dates according to described video and the priority of transcoding task of acquisition, video adjusts the transcoding task of described acquisition, particularly as follows:
Video code rate information in sheet source dates according to described video generates at least one transcoding task of the transcoding task association corresponding with this video, and the described transcoding task of generation inherits transcoding resource corresponding to transcoding task associated with it and priority;
If described transcoding mode is self adaptation transcoding, then code check priority delta is set according at least one in the video duration in sheet source dates, user profile, service label or combination in any, it is added with the priority of the transcoding task of described generation, the priority of the transcoding task after being adjusted and the transcoding task after adjustment;
Otherwise, code check priority delta is set according to the code rate information in sheet source dates, is added with the priority of the transcoding task of described generation, the priority of the transcoding task after the adjustment of transcoding task after being adjusted.
3. video code conversion adaptation method according to claim 1, it is characterised in that
Each described transcoding task includes: the code rate information of video, sheet source address, transcoding resource information, priority;
The transcoding resource of the described video corresponding with this transcoding task according to the priority of the transcoding task after adjusting, generates transcoding instruction, particularly as follows:
According to the transcoding resource that each transcoding task after adjusting is corresponding, set up the transcoding task list according to priority arrangement corresponding with this transcoding resource, generate transcoding instruction.
4. video code conversion adaptation method according to claim 3, it is characterised in that described transcoding resource includes: private resource, public resource;
Described according to transcoding resource corresponding to each transcoding task after adjusting, when setting up corresponding with this transcoding resource transcoding task list according to priority arrangement, if task list corresponding to private resource takes, then the resource that adjustment task is corresponding is public resource.
5. the video code conversion adaptation method according to claim 3 or 4, it is characterised in that
Task list described in periodic detection, if the waiting time of the transcoding task of lowest priority exceedes predetermined threshold value in described task list, then improves the priority of the transcoding task of described lowest priority.
6. a video code conversion adaptive device, it is characterised in that including:
Adaptation module, for sheet source dates according to video, carries out sheet source class adaptive in sheet source class adaptation group to described video, it is thus achieved that the priority of transcoding task that described video is corresponding, transcoding resource, video transcoding mode;
Priority adjusting module, the transcoding mode being used for the sheet source dates according to described video and the priority of transcoding task of acquisition, video adjusts the transcoding task of described acquisition, the priority of the transcoding task after being adjusted and the transcoding task after adjustment;
Transcoding directive generation module, is used for the transcoding resource of the video corresponding with this transcoding task of the priority according to the transcoding task after adjusting, and generates transcoding instruction, indicates corresponding transcoding resource that described video is carried out transcoding.
7. device according to claim 6, it is characterised in that described priority adjusting module specifically for:
Video code rate information in sheet source dates according to described video generates at least one transcoding task of the transcoding task association corresponding with this video, and the described transcoding task of generation inherits transcoding resource corresponding to transcoding task associated with it and priority;
If described transcoding mode is self adaptation transcoding, then code check priority delta is set according at least one in the video duration in sheet source dates, user profile, service label or combination in any, it is added with the priority of the transcoding task of described generation, the priority of the transcoding task after being adjusted and the transcoding task after adjustment;
Otherwise, code check priority delta is set according to the code rate information in sheet source dates, is added with the priority of the transcoding task of described generation, the priority of the transcoding task after the adjustment of transcoding task after being adjusted.
8. device according to claim 6, it is characterised in that
Each described transcoding task includes: the code rate information of video, sheet source address, transcoding resource information, priority;
Described priority adjusting module, specifically for the transcoding resource corresponding according to each transcoding task after adjusting, sets up the transcoding task list according to priority arrangement corresponding with this transcoding resource, generates transcoding instruction.
9. device according to claim 8, it is characterised in that described transcoding resource includes: private resource, public resource;
Described priority adjusting module is specifically for the transcoding resource corresponding according to each transcoding task after adjusting, when setting up corresponding with this transcoding resource transcoding task list according to priority arrangement, if the task list that private resource is corresponding takes, then the resource adjusting task corresponding is public resource.
10. device according to claim 8 or claim 9, it is characterised in that
Described priority adjusting module, specifically for task list described in periodic detection, if the waiting time of the transcoding task of lowest priority exceedes predetermined threshold value in described task list, then improves the priority of the transcoding task of described lowest priority.
11. a video code conversion adaption system, it is characterised in that including: control centre, transcoding center, described control centre includes sheet source class adaptation group and code check level adaptation group;Wherein,
Described video, for the sheet source dates according to video, is carried out sheet source class adaptive by described source class adaptation group in sheet source class adaptation group, it is thus achieved that the priority of transcoding task that described video is corresponding, transcoding resource, video transcoding mode;
Described code check level adaptation group adjusts the transcoding task of described acquisition for the transcoding mode of the sheet source dates according to described video and the priority of transcoding task of acquisition, video, the priority of transcoding task after being adjusted and the transcoding task after adjusting;
Described transcoding center is used for the transcoding resource of the video corresponding with this transcoding task of the priority according to the transcoding task after adjusting, and generates transcoding instruction, indicates corresponding transcoding resource that described video is carried out transcoding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410857050.1A CN105721901A (en) | 2014-12-31 | 2014-12-31 | Video transcoder adaption method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410857050.1A CN105721901A (en) | 2014-12-31 | 2014-12-31 | Video transcoder adaption method, device and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105721901A true CN105721901A (en) | 2016-06-29 |
Family
ID=56144646
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410857050.1A Pending CN105721901A (en) | 2014-12-31 | 2014-12-31 | Video transcoder adaption method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105721901A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108090664A (en) * | 2017-12-13 | 2018-05-29 | 北京网博视界科技股份有限公司 | A kind of workflow adaptation dispatching method, device, equipment and storage medium |
CN110113632A (en) * | 2019-04-22 | 2019-08-09 | 武汉星汉互娱科技有限公司 | A kind of Streaming Media low delay transcoding method for scheduling task and device |
CN111246291A (en) * | 2018-11-29 | 2020-06-05 | 浙江宇视科技有限公司 | Video transcoding method and device and electronic equipment |
CN114697299A (en) * | 2022-04-21 | 2022-07-01 | 湖南快乐阳光互动娱乐传媒有限公司 | Audio and video transcoding priority determination method, system, device and storage medium |
CN115174952A (en) * | 2022-07-06 | 2022-10-11 | 上海哔哩哔哩科技有限公司 | Transcoding resource scheduling method and device, computing equipment and computer storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101909048A (en) * | 2009-12-08 | 2010-12-08 | 新奥特(北京)视频技术有限公司 | Centralized trans-coding treatment method and device |
CN101917606A (en) * | 2009-12-08 | 2010-12-15 | 新奥特(北京)视频技术有限公司 | Control method and device for transcoding system |
CN101917387A (en) * | 2009-11-17 | 2010-12-15 | 新奥特(北京)视频技术有限公司 | Multi-media transcoding cluster system |
CN101917384A (en) * | 2009-11-17 | 2010-12-15 | 新奥特(北京)视频技术有限公司 | Task distribution method and device for distributed transcoding system |
CN103677918A (en) * | 2013-12-10 | 2014-03-26 | 乐视网信息技术(北京)股份有限公司 | Script setting method and system for transcoding servers |
CN103686207A (en) * | 2013-12-04 | 2014-03-26 | 乐视网信息技术(北京)股份有限公司 | Transcoding task scheduling method and system |
US20140344398A1 (en) * | 2012-10-15 | 2014-11-20 | Limelight Networks, Inc. | Control systems and methods for cloud resource management |
-
2014
- 2014-12-31 CN CN201410857050.1A patent/CN105721901A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101917387A (en) * | 2009-11-17 | 2010-12-15 | 新奥特(北京)视频技术有限公司 | Multi-media transcoding cluster system |
CN101917384A (en) * | 2009-11-17 | 2010-12-15 | 新奥特(北京)视频技术有限公司 | Task distribution method and device for distributed transcoding system |
CN101909048A (en) * | 2009-12-08 | 2010-12-08 | 新奥特(北京)视频技术有限公司 | Centralized trans-coding treatment method and device |
CN101917606A (en) * | 2009-12-08 | 2010-12-15 | 新奥特(北京)视频技术有限公司 | Control method and device for transcoding system |
US20140344398A1 (en) * | 2012-10-15 | 2014-11-20 | Limelight Networks, Inc. | Control systems and methods for cloud resource management |
CN103686207A (en) * | 2013-12-04 | 2014-03-26 | 乐视网信息技术(北京)股份有限公司 | Transcoding task scheduling method and system |
CN103677918A (en) * | 2013-12-10 | 2014-03-26 | 乐视网信息技术(北京)股份有限公司 | Script setting method and system for transcoding servers |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108090664A (en) * | 2017-12-13 | 2018-05-29 | 北京网博视界科技股份有限公司 | A kind of workflow adaptation dispatching method, device, equipment and storage medium |
CN111246291A (en) * | 2018-11-29 | 2020-06-05 | 浙江宇视科技有限公司 | Video transcoding method and device and electronic equipment |
CN111246291B (en) * | 2018-11-29 | 2022-03-11 | 浙江宇视科技有限公司 | Video transcoding method and device and electronic equipment |
CN110113632A (en) * | 2019-04-22 | 2019-08-09 | 武汉星汉互娱科技有限公司 | A kind of Streaming Media low delay transcoding method for scheduling task and device |
CN114697299A (en) * | 2022-04-21 | 2022-07-01 | 湖南快乐阳光互动娱乐传媒有限公司 | Audio and video transcoding priority determination method, system, device and storage medium |
CN114697299B (en) * | 2022-04-21 | 2024-05-10 | 湖南快乐阳光互动娱乐传媒有限公司 | Audio and video transcoding priority determining method, system and device and storage medium |
CN115174952A (en) * | 2022-07-06 | 2022-10-11 | 上海哔哩哔哩科技有限公司 | Transcoding resource scheduling method and device, computing equipment and computer storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105721901A (en) | Video transcoder adaption method, device and system | |
EP2822236B1 (en) | Network bandwidth distribution method and terminal | |
CN110769278A (en) | Distributed video transcoding method and system | |
CN104104973B (en) | A kind of group's Bandwidth Management optimization method for being applied to cloud media system | |
CN102882829A (en) | Transcoding method and system | |
US20130035107A1 (en) | System and method for adaptive traffic prioritization and bandwidth allocation on mobile data networks | |
CN104619029B (en) | It is a kind of centralization cellular network architecture under baseband pool resource allocation methods and device | |
CN106454402B (en) | Transcoding method for scheduling task and device | |
CN105446817B (en) | A kind of federated resource configuration of reservations algorithm based on robust optimization in mobile cloud computing | |
CN104361482A (en) | Method and system for distributing orders to storehouse | |
CN103414657A (en) | Cross-data-center resource scheduling method, super scheduling center and system | |
CN111679904A (en) | Task scheduling method and device based on edge computing network | |
CN104363463A (en) | Video processing method, device and system | |
US20200136926A1 (en) | Dynamic adaptive network | |
US20230388996A1 (en) | Systems and methods for application aware slicing in 5g layer 2 and layer 1 using fine grain scheduling | |
CN102638457B (en) | Method and system for automatically allocating server resource | |
US11961101B2 (en) | System and method for offering network slice as a service | |
WO2022062981A1 (en) | Resource scheduling method and system, electronic device, and computer-readable storage medium | |
CN111190719B (en) | Method, device, medium and electronic equipment for optimizing cluster resource allocation | |
CN104038358A (en) | Content scheduling method and content scheduling device | |
US9125045B2 (en) | Delayed data delivery options | |
CN106161538A (en) | Merge the application platform management system of X86 and ARM framework | |
CN109660826B (en) | Video transmission method, device, equipment and storage medium | |
CN106789326A (en) | A kind of media transcoding elastic telescopic method of servicing based on mPaaS | |
CN103442257A (en) | Method, device and system for achieving flow resource management |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160629 |