CN104506881A - Scheduling method for audio/video fragment transcoding - Google Patents
Scheduling method for audio/video fragment transcoding Download PDFInfo
- Publication number
- CN104506881A CN104506881A CN201410846013.0A CN201410846013A CN104506881A CN 104506881 A CN104506881 A CN 104506881A CN 201410846013 A CN201410846013 A CN 201410846013A CN 104506881 A CN104506881 A CN 104506881A
- Authority
- CN
- China
- Prior art keywords
- transcoding
- center
- task
- scheduling
- module
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
- H04N21/234309—Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4 or from Quicktime to Realvideo
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
Abstract
The invention discloses a scheduling method for audio/video fragment transcoding. The scheduling method comprises idle scheduling and priority scheduling; the idle dispatching is used for scheduling transcoding tasks queued at a busy transcoding center to an idle transcoding center when the idle transcodinng center is idle; and the priority scheduling is used for performing task priority scheduling and transcoding format priority scheduling when all transcoding centers are busy. The method is capable of effectively exerting the performance of the transcoding centers to a largest extent, effectively avoiding the case that some transcoding centers are idle and some transcoding centers are busy, and improving the transcoding efficiency; meanwhile, the scheduling strategies of task priority and transcoding format priority are provided; the congestion of queuing during rush hours and queuing during important holidays in the actual use can be solved; each step has legal inspection, so that the operational integrity of each step is ensured and the correct implementation of the tasks is guaranteed.
Description
Technical field
The present invention relates to audio frequency and video transcoding field, particularly a kind of audio frequency and video burst transcoding dispatching method.
Background technology
In prior art, video website needs a large amount of video resources (film source) to be converted to the form (video finished product) being suitable for netcast, this is because: for different video resources, it has different video formats, not all video format is all suitable for Internet Transmission and plays, video website video resource is converted to as: the video finished product of the form such as " .flv " or " .mp4 " carries out Internet Transmission (wherein, " .flv " form is suitable for television terminal transmission and plays, " .mp4 " form is suitable for computer and mobile terminal network transmission and plays).That is, need to set up transcoding task to carry out transcoding process by the transcoding service end (being made up of transcoding server) of video website inside to all video resources.
In order to ensure that a large amount of video resources can process normally to carry out transmission in time and play, the transcoding service end of video website inside usually arrange tens or up to a hundred transcoding servers carry out transcoding process, each transcoding server all has the processing capacity of multithreading, namely processes multiple transcoding task simultaneously.In prior art, in order to improve the speed of video code conversion process, video is carried out burst process, multiple transcoding subtask is divided into according to fixing duration by a video file, in transcoding server, parallel transcoding process is carried out to multiple transcoding subtasks of a video, thus shorten the transcoding time of video.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of audio frequency and video burst transcoding dispatching method is provided, the method can effectively by the performance at transcoding center to maximum, the transcoding center effectively avoided is idle, the situation of some transcoding center busy, improve transcoding efficiency, possesses the scheduling strategy of task priority and transcoded format priority simultaneously, can solve in actual use procedure and to queue up when peak period and important program is queued up crowded situation, and each step all possesses validity checking, guarantee the integrality of every single stepping, guarantee task correctly performs.
The object of the invention is to be achieved through the following technical solutions: a kind of audio frequency and video burst transcoding center, it comprise for provide the external interface module of transcoding center free message, for task is carried out cutting task cutting module, for manage cutting strategy cutting policy management module, for task fragment is carried out the transcoding module of transcoding, whether transcoding completes for detecting, whether transcoding center idle detection module, for the synthesis of the synthesis module of task fragment and the feedback module for feeding back transcoding result that complete transcoding.
A kind of dispatching method of audio frequency and video burst transcoding center, it comprises idle scheduling and priority scheduling, idle scheduling when there being transcoding center idle by busy transcoding center before the transcoding task scheduling of queuing up to idle transcoding center, priority scheduling carries out priority of task and transcoded format priority scheduling when all transcoding centers are all busy.
Described free time scheduling comprises following sub-step:
S11: connect transcoding center by external interface, judge that whether transcoding center is available free, if there is transcoding center idle, the transcoding task of queuing up before other transcoding center is dispatched by outside control centre, submits the transcoding request of this queuing transcoding task of association to idle transcoding center to;
S12: after transcoding center accepts request, section module, according to different dicing strategy, is cut into slices to task, generates subtask;
S13: transcoding module carries out transcoding to each subtask after section;
S14: detection module detects each subtask in real time, and whether transcoding completes;
S15: synthesis module will complete the task of all submodule synthesis applications of transcoding;
S16: feedback module feeds back transcoding result to applicant.
Described priority scheduling comprises following sub-step:
S21: when transcoding center is without the free time, if queuing transcoding task comprises important program, then the transcoding request ranking of important program is dispatched to the request of the first submission transcoding by outside control centre, if without important program in queuing transcoding task, then according to the priority transcoded format in scheduling strategy, submit the transcoding task scheduling of this form to transcoding request to the first;
S22: after transcoding center accepts request, section module, according to different dicing strategy, is cut into slices to task, generates subtask;
S23: transcoding module carries out transcoding to each subtask after section;
S24: detection module detects each subtask in real time, and whether transcoding completes;
S25: synthesis module will complete the task of all submodule synthesis applications of transcoding;
S26: feedback module feeds back transcoding result to applicant.
Described dicing strategy comprises:
(1) audio frequency and video time length ratio is shorter, and strategy, for not cut into slices, avoids the loss of slice scheduling to exceed the raising of response speed;
(2) audio frequency and video length exceedes specific length, cuts into slices as arranging number of slices.
Described dicing strategy can be configured according to different business demands by cutting policy management module.
Described dicing strategy can be configured by the number of cutting policy management module according to resource.
Described transcoding request comprises transcoding source file, transcoding object format and transcoding target location.
The invention has the beneficial effects as follows: the invention provides a kind of audio frequency and video burst transcoding dispatching method, the method can effectively by the performance at transcoding center to maximum, the transcoding center effectively avoided is idle, the situation of some transcoding center busy, improve transcoding efficiency, possesses the scheduling strategy of task priority and transcoded format priority simultaneously, can solve in actual use procedure and to queue up when peak period and important program is queued up crowded situation, and each step all possesses validity checking, guarantee the integrality of every single stepping, guarantee task correctly performs.
Accompanying drawing explanation
Fig. 1 is transcoding center module figure;
Fig. 2 is idle dispatching method flow chart;
Fig. 3 is priority scheduling flow chart.
Embodiment
Below in conjunction with accompanying drawing, technical scheme of the present invention is described in further detail, but protection scope of the present invention is not limited to the following stated.
As shown in Figure 1, a kind of audio frequency and video burst transcoding center, it comprise for provide the external interface module of transcoding center free message, for task is carried out cutting task cutting module, for manage cutting strategy cutting policy management module, for task fragment is carried out the transcoding module of transcoding, whether transcoding completes for detecting, whether transcoding center idle detection module, for the synthesis of the synthesis module of task fragment and the feedback module for feeding back transcoding result that complete transcoding.
A kind of dispatching method of audio frequency and video burst transcoding center, it comprises idle scheduling and priority scheduling, idle scheduling when there being transcoding center idle by busy transcoding center before the transcoding task scheduling of queuing up to idle transcoding center, priority scheduling carries out priority of task and transcoded format priority scheduling when all transcoding centers are all busy.
As shown in Figure 2, described free time scheduling comprises following sub-step:
S11: connect transcoding center by external interface, judge that whether transcoding center is available free, if there is transcoding center idle, the transcoding task of queuing up before other transcoding center is dispatched by outside control centre, submits the transcoding request of this queuing transcoding task of association to idle transcoding center to;
S12: after transcoding center accepts request, section module, according to different dicing strategy, is cut into slices to task, generates subtask;
S13: transcoding module carries out transcoding to each subtask after section;
S14: detection module detects each subtask in real time, and whether transcoding completes;
S15: synthesis module will complete the task of all submodule synthesis applications of transcoding;
S16: feedback module feeds back transcoding result to applicant.
As shown in Figure 3, described priority scheduling comprises following sub-step:
S21: when transcoding center is without the free time, if queuing transcoding task comprises important program, then the transcoding request ranking of important program is dispatched to the request of the first submission transcoding by outside control centre, if without important program in queuing transcoding task, then according to the priority transcoded format in scheduling strategy, submit the transcoding task scheduling of this form to transcoding request to the first;
S22: after transcoding center accepts request, section module, according to different dicing strategy, is cut into slices to task, generates subtask;
S23: transcoding module carries out transcoding to each subtask after section;
S24: detection module detects each subtask in real time, and whether transcoding completes;
S25: synthesis module will complete the task of all submodule synthesis applications of transcoding;
S26: feedback module feeds back transcoding result to applicant.
Described dicing strategy comprises:
(1) audio frequency and video time length ratio is shorter, and strategy, for not cut into slices, avoids the loss of slice scheduling to exceed the raising of response speed;
(2) audio frequency and video length exceedes specific length, cuts into slices as arranging number of slices.
Described dicing strategy can be configured according to different business demands by cutting policy management module.
Described dicing strategy can be configured by the number of cutting policy management module according to resource.
Described transcoding request comprises transcoding source file, transcoding object format and transcoding target location.
Audio frequency and video burst transcoding dispatching method of the present invention is applicable to transcoding center of independently cutting into slices, by independent for transcoding business, and carry out cutting into slices and carrying out transcoding in each audio frequency and video, if audio frequency and video duration is shorter, then can not cut into slices, directly carry out transcoding by transcoding center, if audio frequency and video length exceedes the length of regulation, then cut into slices according to dicing strategy, then carry out transcoding.Each fragment after transcoding synthesizes the audio-video document after complete transcoding again.
Claims (8)
1. an audio frequency and video burst transcoding center, is characterized in that: it comprise for provide the external interface module of transcoding center free message, for task is carried out cutting task cutting module, for manage cutting strategy cutting policy management module, for task fragment is carried out the transcoding module of transcoding, whether transcoding completes for detecting, whether transcoding center idle detection module, for the synthesis of the synthesis module of task fragment and the feedback module for feeding back transcoding result that complete transcoding.
2. the dispatching method at a kind of audio frequency and video burst transcoding center as claimed in claim 1, it is characterized in that: it comprises idle scheduling and priority scheduling, idle scheduling when there being transcoding center idle by busy transcoding center before the transcoding task scheduling of queuing up to idle transcoding center, priority scheduling carries out priority of task and transcoded format priority scheduling when all transcoding centers are all busy.
3. a kind of audio frequency and video burst transcoding dispatching method according to claim 2, is characterized in that: described free time scheduling comprises following sub-step:
S11: connect transcoding center by external interface, judge that whether transcoding center is available free, if there is transcoding center idle, the transcoding task of queuing up before other transcoding center is dispatched by outside control centre, submits the transcoding request of this queuing transcoding task of association to idle transcoding center to;
S12: after transcoding center accepts request, section module, according to different dicing strategy, is cut into slices to task, generates subtask;
S13: transcoding module carries out transcoding to each subtask after section;
S14: detection module detects each subtask in real time, and whether transcoding completes;
S15: synthesis module will complete the task of all submodule synthesis applications of transcoding;
S16: feedback module feeds back transcoding result to applicant.
4. a kind of audio frequency and video burst transcoding dispatching method according to claim 2, is characterized in that: described priority scheduling comprises following sub-step:
S21: when transcoding center is without the free time, if queuing transcoding task comprises important program, then the transcoding request ranking of important program is dispatched to the request of the first submission transcoding by outside control centre, if without important program in queuing transcoding task, then according to the priority transcoded format in scheduling strategy, submit the transcoding task scheduling of this form to transcoding request to the first;
S22: after transcoding center accepts request, section module, according to different dicing strategy, is cut into slices to task, generates subtask;
S23: transcoding module carries out transcoding to each subtask after section;
S24: detection module detects each subtask in real time, and whether transcoding completes;
S25: synthesis module will complete the task of all submodule synthesis applications of transcoding;
S26: feedback module feeds back transcoding result to applicant.
5. a kind of audio frequency and video burst transcoding dispatching method according to claim 3 or 4, is characterized in that: described dicing strategy comprises:
(1) audio frequency and video time length ratio is shorter, and strategy, for not cut into slices, avoids the loss of slice scheduling to exceed the raising of response speed;
(2) audio frequency and video length exceedes specific length, cuts into slices as arranging number of slices.
6. a kind of audio frequency and video burst transcoding dispatching method according to claim 3 or 4, is characterized in that: described dicing strategy can be configured according to different business demands by cutting policy management module.
7. a kind of audio frequency and video burst transcoding dispatching method according to claim 3 or 4, is characterized in that: described dicing strategy can be configured by the number of cutting policy management module according to resource.
8. a kind of audio frequency and video burst transcoding dispatching method according to claim 3 or 4, is characterized in that: described transcoding request comprises transcoding source file, transcoding object format and transcoding target location.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410846013.0A CN104506881A (en) | 2014-12-31 | 2014-12-31 | Scheduling method for audio/video fragment transcoding |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410846013.0A CN104506881A (en) | 2014-12-31 | 2014-12-31 | Scheduling method for audio/video fragment transcoding |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104506881A true CN104506881A (en) | 2015-04-08 |
Family
ID=52948585
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410846013.0A Pending CN104506881A (en) | 2014-12-31 | 2014-12-31 | Scheduling method for audio/video fragment transcoding |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104506881A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104837033A (en) * | 2015-05-20 | 2015-08-12 | 腾讯科技(北京)有限公司 | Information processing method and server |
CN105721885A (en) * | 2016-03-25 | 2016-06-29 | 腾讯科技(深圳)有限公司 | Method, device and system for processing transcoding data |
CN106454402A (en) * | 2016-08-31 | 2017-02-22 | 腾讯科技(深圳)有限公司 | Transcoding task scheduling method and device |
CN106878735A (en) * | 2017-01-18 | 2017-06-20 | 环球智达科技(北京)有限公司 | A kind of screen protection system of video compression coding |
CN107122232A (en) * | 2017-03-27 | 2017-09-01 | 中央电视台 | A kind of Multimedia Task processing unit and method |
CN109005225A (en) * | 2018-07-27 | 2018-12-14 | 中船电子科技有限公司 | A kind of cluster communication schedule method applied to customs preventive |
CN111163335A (en) * | 2019-12-31 | 2020-05-15 | 深圳市瑞讯云技术有限公司 | Video processing method and device for distributed server |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080304570A1 (en) * | 2007-04-02 | 2008-12-11 | Vestel Elektronik Sanayi Ve Ticaret A.S. | Method and Apparatus for Transcoding a Video Signal |
CN101917326A (en) * | 2009-11-17 | 2010-12-15 | 新奥特(北京)视频技术有限公司 | Distributed trans-coding system and task scheduling method thereof |
CN103152613A (en) * | 2011-12-06 | 2013-06-12 | 上海文广互动电视有限公司 | Distributed code conversion task scheduling system and method based on video image group segmentation |
CN103428491A (en) * | 2013-07-05 | 2013-12-04 | 北京电视台 | Method and device for transcoding in file transmitting process |
CN103686207A (en) * | 2013-12-04 | 2014-03-26 | 乐视网信息技术(北京)股份有限公司 | Transcoding task scheduling method and system |
-
2014
- 2014-12-31 CN CN201410846013.0A patent/CN104506881A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080304570A1 (en) * | 2007-04-02 | 2008-12-11 | Vestel Elektronik Sanayi Ve Ticaret A.S. | Method and Apparatus for Transcoding a Video Signal |
CN101917326A (en) * | 2009-11-17 | 2010-12-15 | 新奥特(北京)视频技术有限公司 | Distributed trans-coding system and task scheduling method thereof |
CN103152613A (en) * | 2011-12-06 | 2013-06-12 | 上海文广互动电视有限公司 | Distributed code conversion task scheduling system and method based on video image group segmentation |
CN103428491A (en) * | 2013-07-05 | 2013-12-04 | 北京电视台 | Method and device for transcoding in file transmitting process |
CN103686207A (en) * | 2013-12-04 | 2014-03-26 | 乐视网信息技术(北京)股份有限公司 | Transcoding task scheduling method and system |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104837033A (en) * | 2015-05-20 | 2015-08-12 | 腾讯科技(北京)有限公司 | Information processing method and server |
CN104837033B (en) * | 2015-05-20 | 2018-09-25 | 腾讯科技(北京)有限公司 | A kind of information processing method and server |
CN105721885A (en) * | 2016-03-25 | 2016-06-29 | 腾讯科技(深圳)有限公司 | Method, device and system for processing transcoding data |
CN106454402A (en) * | 2016-08-31 | 2017-02-22 | 腾讯科技(深圳)有限公司 | Transcoding task scheduling method and device |
CN106878735A (en) * | 2017-01-18 | 2017-06-20 | 环球智达科技(北京)有限公司 | A kind of screen protection system of video compression coding |
CN107122232A (en) * | 2017-03-27 | 2017-09-01 | 中央电视台 | A kind of Multimedia Task processing unit and method |
CN109005225A (en) * | 2018-07-27 | 2018-12-14 | 中船电子科技有限公司 | A kind of cluster communication schedule method applied to customs preventive |
CN109005225B (en) * | 2018-07-27 | 2020-11-20 | 中船电子科技有限公司 | Cluster communication scheduling method applied to customs republishing |
CN111163335A (en) * | 2019-12-31 | 2020-05-15 | 深圳市瑞讯云技术有限公司 | Video processing method and device for distributed server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104506881A (en) | Scheduling method for audio/video fragment transcoding | |
CN101917385B (en) | Dispatch server and distributed system for multimedia trans-coding | |
CN110769278B (en) | Distributed video transcoding method and system | |
CN101917326B (en) | Distributed trans-coding system and task scheduling method thereof | |
CN101909048B (en) | Centralized trans-coding treatment method and device | |
EP3072301B1 (en) | Transcoding media streams using subchunking | |
CA2841377C (en) | Video transcoding services provided by searching for currently transcoded versions of a requested file before performing transcoding | |
US9179169B2 (en) | Adaptive media delivery | |
CN103442391A (en) | Data transmission method and system as well as user terminal | |
US9323591B2 (en) | Listening for externally initiated requests | |
CN101917384A (en) | Task distribution method and device for distributed transcoding system | |
US8121129B2 (en) | Optimizing throughput of data in a communications network | |
CN105407413A (en) | Distributed video transcoding method and related device and system | |
CN102916906B (en) | One realizes the adaptive method of application performance, Apparatus and system | |
US20140223436A1 (en) | Method, apparatus, and system for providing and using a scheduling delta queue | |
WO2015035865A1 (en) | Methods and systems for controlling microphone order | |
CN104750545A (en) | Process scheduling method and device | |
CN110996114B (en) | Live broadcast scheduling method and device, electronic equipment and storage medium | |
CN105578205A (en) | Video transcoding method and system | |
WO2021027474A1 (en) | Positioning assistance information broadcasting method, positioning server and ran node | |
US9019808B2 (en) | Method for transferring data stream | |
CN101997872B (en) | Method for reducing transmit jitter of code streams of streaming media and streaming media server | |
CN103034478B (en) | A kind of separate traffic threading model implementation method of IM system | |
WO2017193760A1 (en) | Content publishing method, device and system, and content-distributed network system | |
CN115277653B (en) | Real-time video slicing method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150408 |
|
RJ01 | Rejection of invention patent application after publication |