CN106851336A - The audio-video document code-transferring method and system of a kind of Dynamic Resource Allocation for Multimedia - Google Patents

The audio-video document code-transferring method and system of a kind of Dynamic Resource Allocation for Multimedia Download PDF

Info

Publication number
CN106851336A
CN106851336A CN201710068283.7A CN201710068283A CN106851336A CN 106851336 A CN106851336 A CN 106851336A CN 201710068283 A CN201710068283 A CN 201710068283A CN 106851336 A CN106851336 A CN 106851336A
Authority
CN
China
Prior art keywords
transcoding
container
video
audio
video file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710068283.7A
Other languages
Chinese (zh)
Other versions
CN106851336B (en
Inventor
唐杰
顾重阳
马大江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHANGHAI WONDERTEK SOFTWARE CO Ltd
Original Assignee
SHANGHAI WONDERTEK SOFTWARE CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHANGHAI WONDERTEK SOFTWARE CO Ltd filed Critical SHANGHAI WONDERTEK SOFTWARE CO Ltd
Priority to CN201710068283.7A priority Critical patent/CN106851336B/en
Publication of CN106851336A publication Critical patent/CN106851336A/en
Application granted granted Critical
Publication of CN106851336B publication Critical patent/CN106851336B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management 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/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing 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/234336Processing 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 media transcoding, e.g. video is transformed into a slideshow of still pictures or audio is converted into text
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing 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/234363Processing 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 altering the spatial resolution, e.g. for clients with a lower screen resolution
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • H04N21/2368Multiplexing of audio and video streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64723Monitoring of network processes or resources, e.g. monitoring of network load
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Abstract

A kind of audio-video document code-transferring method of Dynamic Resource Allocation for Multimedia, including step:Receive source video file transcoding solicited message;Transcoding task in storage queue is read by scheduler, and source video file is carried out audio frequency and video separation by traffic control layer;Section is carried out to video file and obtains video file section, and the transcoding container of respective numbers is generated according to the Number dynamics of video file section;Transcoding output parameter according to video file section is dynamically each transcoding vessel distribution system resource;Resource distribution according to transcoding container is dynamically by transcoding container allocation to transcoding server;Transcoding is carried out to video file section and audio file, is merged, obtain transcoding file.By to transcoding container dynamic allocation of resources, and by transcoding container dynamically distributes to transcoding server, can farthest utilize transcoding resource, it is to avoid the waste of transcoding resource, transcoding server long-time overload operation is avoided, transcoding efficiency is effectively improved.

Description

The audio-video document code-transferring method and system of a kind of Dynamic Resource Allocation for Multimedia
Technical field
The present invention relates to Digital Video Processing technical field, and in particular to a kind of audio-video document of Dynamic Resource Allocation for Multimedia turns Code method and system.
Background technology
Multimedia has become essential important composition portion in people's Working Life including video, audio, image etc. Point, and the different business demand of people is directed to, some standardization bodies propose various audio/video encoding standards, due to various marks Exist while quasi-, Video Transcoding Technology has obtained the extensive concern of people, transcoding technology has obtained further research and hair Exhibition.
In audio frequency and video process field, particularly regarded for sound in fields such as TV station, internet television, OTT, mobile TVs Frequency transcoding has substantial amounts of demand, accordingly, it would be desirable to a set of efficiently quick audio frequency and video Transcoding Scheme.
Substantial amounts of computing resource is needed during due to audio frequency and video transcoding, in order to not make transcoding server excessively use cpu, tradition Audio frequency and video transcoding can less distribute transcoding task on a transcoding server as far as possible, to prevent transcoding server from excessively disappearing Consumption cpu and machine of delaying, therefore, traditional audio frequency and video transcoding presence can not make full use of computing resource, transcoding efficiency shortcoming not high.
In addition, resource is set to quiescent value by traditional audio frequency and video transcoding in resource allocation, this set is for resource The low transcoding task of demand, easily cause resource it is idle, waste, and the transcoding task high for resource requirement can cause to turn Code resource not enough, causes the reduction of transcoding speed, influences transcoding efficiency.
The content of the invention
For traditional problem that audio frequency and video transcoding efficiency is low, resource utilization is low, the application provides a kind of dynamic resource The audio-video document code-transferring method and system of distribution.
According in a first aspect, provide a kind of Dynamic Resource Allocation for Multimedia audio-video document code-transferring method in a kind of embodiment, including Step:
Source video file transcoding solicited message is received, and solicited message and transcoding task are preserved into storage queue, please Seeking information includes source video path and transcoding output parameter;
Transcoding task in storage queue is read by scheduler, and source video file is carried out audio frequency and video by traffic control layer Separate, audio file and video file are obtained respectively;
The video file is cut into slices, video file section is obtained, and according to the Number dynamics generation of video file section The transcoding container of respective numbers;
Transcoding output parameter according to video file section is dynamically each transcoding vessel distribution system resource;
Resource distribution according to transcoding container is dynamically by transcoding container allocation to transcoding server;
Transcoding is carried out to video file section and audio file, and the video file section and audio file after transcoding is merged, Obtain transcoding file.
In a kind of embodiment, the transcoding output parameter according to video file section is dynamically each transcoding vessel distribution system Resource, including step:
The transcoding output parameter of video file section is read, transcoding output parameter includes transcoding type and resolution ratio;
System resource according to needed for transcoding output parameter searches video file section in default application form;
Transcoding container is given by system resource allocation.
In a kind of embodiment, default application form is:
In a kind of embodiment, the resource distribution according to transcoding container dynamically by transcoding container allocation to transcoding server, Including step:
Read transcoding server current residual resource;
Read the configuration resource of transcoding container;
By comparing whether current residual resource decides whether transcoding container point more than the configuration resource of transcoding container It is assigned to transcoding server.
In a kind of embodiment, during reading the transcoding task in storage queue by scheduler, also turn including basis The step of Number dynamics ground of the average treatment request of code server sets scheduler quantity.
In a kind of embodiment, during reading the transcoding task in storage queue by scheduler, also including according to tune The step of that spends in the configuration file of device sets the scheduler of Number dynamics startup respective numbers.
In a kind of embodiment, the step of destruction to it when also including being in idle state according to scheduler, until adjusting Untill the quantity of degree device reaches the setting value in configuration file.
According to second aspect, a kind of audio-video document trans-coding system of Dynamic Resource Allocation for Multimedia is provided in a kind of embodiment, wrapped Include cluster transcoding server, management program module and transcoding container;
Transcoding container includes application layer, dispatch layer and working lining;
Application layer is used to receive source video file transcoding solicited message, and solicited message and transcoding task are preserved to storage In queue, solicited message includes source video path and transcoding output parameter;
Dispatch layer is used to read the transcoding task in the storage queue, and source video file is carried out sound by traffic control layer Video separation, obtains audio file and video file respectively;
Working lining is used to cut into slices video file, obtains video file section, and move according to the quantity of video file section State generates the transcoding container of respective numbers;
It is dynamically each transcoding container allocation that management program module is used for according to the transcoding output parameter of video file section System resource, and according to the resource distribution of transcoding container dynamically by transcoding container allocation to transcoding server;
Transcoding server is used to carry out video file section and audio file transcoding according to the transcoding container of distribution, and will turn Video file section and audio file after code merge, and obtain transcoding file.
In a kind of embodiment, dispatch layer is set with being additionally operable to the Number dynamics asked according to the average treatment of transcoding server The quantity of scheduler.
In a kind of embodiment, dispatch layer is additionally operable to the tune that Number dynamics start respective numbers that sets in configuration file Degree device.
According to above-described embodiment audio-video document code-transferring method, due to video file section transcoding during, root It is dynamically each transcoding vessel distribution system resource according to the output parameter of video file section, in the situation of limited system resources Under, can farthest utilize transcoding resource, it is optimal the resource distribution of whole system, it is to avoid the wave of transcoding resource Take, meanwhile, the resource distribution according to transcoding container dynamically distributed to transcoding server, it is to avoid when transcoding server is long Between overload operation, transcoding efficiency is effectively improved, in addition, improving system by dynamically adjusting the quantity of scheduler Extendible capacity, e.g., in the case where system processing power is enough, can increase the quantity of scheduler with the parallel place of lifting system Reason ability, lifting system operational efficiency, conversely, reducing the quantity of scheduler to reduce the consumption of system resource.
Brief description of the drawings
Fig. 1 is that audio-video document plays schematic diagram;
Fig. 2 is audio-video document code-transferring method flow chart;
Fig. 3 is the transcoding container schematic diagram in audio-video document trans-coding system.
Specific embodiment
The present invention is described in further detail below by specific embodiment combination accompanying drawing.
As shown in figure 1, multimedia server is sent to before playback terminal by audio-video document, it is different in order to adapt to The network bandwidth, different playback terminal disposal abilities or different user's requests, it is necessary to carry out transcoding treatment to audio-video document, Then, then by the audio-video document after transcoding send to playback terminal, this example is in order in solving traditional audio frequency and video trans-coding system The shortcoming that transcoding resource utilization is low, transcoding efficiency is low, this example provides a kind of audio-video document transcoding side of Dynamic Resource Allocation for Multimedia Method and system.
As shown in Fig. 2 the audio-video document code-transferring method that this example is provided specifically includes following steps.
S1:Source video file transcoding solicited message is received, and solicited message and transcoding task is preserved into storage queue, Solicited message includes source video path and transcoding output parameter.
Wherein, transcoding output parameter includes transcoding type, produces resolution ratio, roll-off file name etc., these solicited message quilts It is stored in storage queue, meanwhile, the transcoding task related to solicited message is also stored in storage queue, and storage queue will Transcoding task is ranked up according to the height of priority.
S2:The transcoding task in the storage queue is read by scheduler, and traffic control layer enters source video file Row audio frequency and video are separated, and audio file and video file are obtained respectively.
Scheduler constantly reads transcoding mission bit stream according to priority from storage queue, after reading transcoding mission bit stream Source video file is carried out audio frequency and video separation by traffic control layer, and audio file and video file after separating are obtained respectively.
Due to scheduler program quantitative relation to system disposal ability, traditional its scheduler program of distributed trans-coding system Quantity be to determine, it is impossible to dynamically adjust the quantity of scheduler program, and the quantity of the scheduler program of this example can dynamically set Section, this example by the quantity of dynamic regulation scheduler to realize changing the quantity of scheduler program, specifically, according to transcoding server Average needs treatment request quantity, dynamically set scheduler quantity, by increase scheduler quantity lifted transcoding take The parallel processing capability of business device, lifts the operational efficiency of transcoding server.
In other embodiments, if in the case that transcoding server disposal ability is enough, can simply by set Setting quantity in the configuration file of scheduler carrys out the scheduler that dynamic starts respective numbers.
When transcoding server disposal ability is reduced, the increase of scheduler quantity can't increase the treatment of transcoding server Ability, can excessively consume its resource on the contrary, at this time, it may be necessary to whether chosen whether to destroy in process task according to current scheduling device, The quantity that dynamic reduces scheduler can't influence the transcoding task being currently running, so, this example also includes according to scheduling The step of device is destroyed when being in idle state to it, until the setting value that the quantity of scheduler is reached in configuration file is Only, i.e. the quantity of scheduler cannot be below the setting value in configuration file.
S3:Video file is cut into slices, video file section is obtained, and phase is generated according to the Number dynamics of video file section Answer the transcoding container of quantity.
Video file is cut into slices, multiple video file sections are obtained, when starting transcoding operation, according to video file section Number dynamics generate the transcoding container of respective numbers, i.e. how many section will start the transcoding container of respective numbers, the transcoding Container is docker containers.
S4:Transcoding output parameter according to video file section is dynamically each transcoding vessel distribution system resource.
In resource allocation, if resource is set into quiescent value, the transcoding task low for resource requirement can also be made Into idle, the waste of resource, and the transcoding task high for resource requirement, can cause transcoding resource not enough, cause transcoding speed Reduce, influence transcoding efficiency, in order to avoid this phenomenon occur, this example according to video file section transcoding output parameter dynamically It is each transcoding vessel distribution system resource.
Specifically, reading the transcoding output parameter of video file section;Looked into default application form according to transcoding output parameter System resource needed for looking for video file section;Transcoding container is given by the system resource allocation searched, wherein, preset application form as follows It is shown:
Such as, transcoding output parameter is:Transcoding type is H265, produces resolution ratio for 480p, then will be video file section Transcoding container allocation 400M-500M resource, in the case of transcoding server resource-constrained, carried out by transcoding container Dynamic Resource Allocation for Multimedia so that transcoding server can farthest utilize transcoding resource.
S5:Resource distribution according to transcoding container is dynamically by transcoding container allocation to transcoding server.
In due to the method for traditional distributed file transcoding, the video segment that produces is excessive or transcoding server quantity In the case of deficiency, in order to prevent transcoding server from excessively being delayed using cpu and internal memory machine, management program will not be in a transcoding Excessive transcoding task is distributed on server, the waste of transcoding server resource is thus caused, and transcoding task is excessively led Task queue is caused to also result in transcoding efficiency reduction, in order to avoid this phenomenon is produced, this example is used transcoding container dynamically Distribute to transcoding server.
Specifically, the resource of the resource service condition and transcoding container to be allocated according to current transcoding server is matched somebody with somebody Put to decide whether in the transcoding container allocation to the transcoding server, its step can be:Read transcoding server current Surplus resources;Read the configuration resource of transcoding container;By comparing whether current residual resource provides more than the configuration of transcoding container Source decides whether transcoding container allocation to transcoding server, i.e. assignment configuration resource is no more than working as on transcoding server The transcoding container of preceding surplus resources, this ensures that theres transcoding container of the distribution on current transcoding server and uses total resources Not over the resource upper limit of current transcoding server, it is to avoid the situation of transcoding server overwork for a long time, and other Transcoding server does not have the situation of transcoding container, farthest make use of system resource yet, it is to avoid the situation of the wasting of resources,
S6:Transcoding is carried out to video file section and audio file, and the video file section and audio file after transcoding are closed And, obtain transcoding file.
Transcoding server after distribution transcoding container starts to carry out transcoding to video file section and audio file, and by transcoding Video file section and audio file afterwards merges, and obtains transcoding file, then transcoding file is sent to playback terminal, transcoding task After end, the corresponding transcoding container of transcoding server auto-destruct, and its resource is reclaimed, so that new transcoding container is used.
Using the audio-video document code-transferring method of this example, in the case where limited system resources or transcoding task are excessive, it is The resource utilization of system is improved, and the distributed trans-coding that the transcoding efficiency of system is more traditional is significantly improved, system Can dynamic dilatancy be also obviously improved.
According to above-mentioned audio-video document code-transferring method, this example also provides a kind of audio-video document of Dynamic Resource Allocation for Multimedia and turns Code system, including cluster transcoding server, management program module and transcoding container, the structure chart of transcoding container is as shown in figure 3, turn Code container includes application layer, dispatch layer and working lining.
Wherein, application layer is used to receive source video file transcoding solicited message, and solicited message and transcoding task are preserved Into storage queue, solicited message includes source video path and transcoding output parameter;During dispatch layer is used to read storage queue Transcoding task, and source video file is carried out audio frequency and video separation by traffic control layer, and audio file and video file are obtained respectively;Work Make layer for being cut into slices to video file, obtain video file section, and it is corresponding according to the Number dynamics generation of video file section The transcoding container of quantity;Management program module is used for the transcoding output parameter according to video file section dynamically for each transcoding holds Device distributing system resource, its assigning process as shown in above-mentioned step S4, and according to the resource distribution of transcoding container dynamically by institute Transcoding container allocation is stated to transcoding server, its assigning process is as shown in above-mentioned step S5;Transcoding server is used for by distribution Transcoding container transcoding carried out to video file section and audio file, and the video file section and audio file after transcoding are closed And, transcoding file is obtained, when transcoding is completed, transcoding server is additionally operable to destroy the transcoding container for distributing, and reclaims Its resource, so that new transcoding container is used.
Further, dispatch layer sets scheduler with being additionally operable to the Number dynamics asked according to the average treatment of transcoding server Quantity, or for the scheduler that Number dynamics start respective numbers that sets in configuration file, dispatch layer is additionally operable to It is destroyed when being in idle state according to scheduler, the dispatch layer of this example passes through the quantity of dynamic regulation scheduler, with The parallel processing capability of raising system, lifting system operational efficiency, reduce system resources consumption, wherein, scheduler quantity it is dynamic State regulation refers to above-mentioned steps S2.
Use above specific case is illustrated to the present invention, is only intended to help and understands the present invention, is not used to limit The system present invention.For those skilled in the art, according to thought of the invention, can also make some simple Deduce, deform or replace.

Claims (10)

1. the audio-video document code-transferring method of a kind of Dynamic Resource Allocation for Multimedia, it is characterised in that including step:
Source video file transcoding solicited message is received, and solicited message and transcoding task are preserved into storage queue, it is described to ask Seeking information includes source video path and transcoding output parameter;
The transcoding task in the storage queue is read by scheduler, and the source video file is carried out sound by traffic control layer Video separation, obtains audio file and video file respectively;
The video file is cut into slices, video file section is obtained, and it is corresponding according to the Number dynamics generation of video file section The transcoding container of quantity;
Transcoding output parameter according to video file section is dynamically each transcoding vessel distribution system resource;
Resource distribution according to transcoding container is dynamically by transcoding container allocation to transcoding server;
Transcoding is carried out to video file section and audio file, and the video file section and audio file after transcoding are merged, obtained Transcoding file.
2. audio-video document code-transferring method as claimed in claim 1, it is characterised in that the transcoding according to video file section Output parameter is dynamically each transcoding vessel distribution system resource, including step:
The transcoding output parameter of video file section is read, the transcoding output parameter includes transcoding type and resolution ratio;
System resource according to needed for the transcoding output parameter searches video file section in default application form;
Transcoding container is given by the system resource allocation.
3. audio-video document code-transferring method as claimed in claim 2, it is characterised in that the default application form is:
4. audio-video document code-transferring method as claimed in claim 1, it is characterised in that the resource distribution according to transcoding container is moved State ground is by transcoding container allocation to transcoding server, including step:
Read transcoding server current residual resource;
Read the configuration resource of transcoding container;
Whether decided whether transcoding container point more than the configuration resource of transcoding container by the relatively current residual resource It is assigned to transcoding server.
5. audio-video document code-transferring method as claimed in claim 1, it is characterised in that it is described by scheduler read described in deposit During transcoding task in storage queue, also set including the Number dynamics asked according to the average treatment of transcoding server The step of scheduler quantity.
6. audio-video document code-transferring method as claimed in claim 1, it is characterised in that it is described by scheduler read described in deposit During transcoding task in storage queue, also start including the setting Number dynamics in the configuration file according to scheduler corresponding The step of scheduler of quantity.
7. the audio-video document code-transferring method as described in claim 5 or 6, it is characterised in that also including according to the scheduler The step of being destroyed to it during in idle state, until the setting value that the quantity of the scheduler is reached in configuration file is Only.
8. the audio-video document trans-coding system of a kind of Dynamic Resource Allocation for Multimedia, it is characterised in that including:Cluster transcoding server, pipe Reason program module and transcoding container;
The transcoding container includes application layer, dispatch layer and working lining;
The application layer is used to receive source video file transcoding solicited message, and solicited message and transcoding task are preserved to storage In queue, the solicited message includes source video path and transcoding output parameter;
The dispatch layer is used to read the transcoding task in the storage queue, and dispatches the working lining by source video text Part carries out audio frequency and video separation, and audio file and video file are obtained respectively;
The working lining is used to cut into slices video file, obtains video file section, and move according to the quantity of video file section State generates the transcoding container of respective numbers;
It is dynamically each transcoding container allocation that the management program module is used for according to the transcoding output parameter of video file section System resource, and according to the resource distribution of transcoding container dynamically by the transcoding container allocation to the transcoding server;
The transcoding server is used to carry out video file section and audio file transcoding by the transcoding container for distributing, and will turn Video file section and audio file after code merge, and obtain transcoding file.
9. audio-video document trans-coding system as claimed in claim 8, it is characterised in that the dispatch layer is additionally operable to according to transcoding The Number dynamics ground of the average treatment request of server sets the quantity of scheduler.
10. audio-video document trans-coding system as claimed in claim 8, it is characterised in that the dispatch layer is additionally operable to according to matching somebody with somebody Put the scheduler that Number dynamics startup respective numbers are set in file.
CN201710068283.7A 2017-02-07 2017-02-07 Audio and video file transcoding method and system with dynamic resource allocation Active CN106851336B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710068283.7A CN106851336B (en) 2017-02-07 2017-02-07 Audio and video file transcoding method and system with dynamic resource allocation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710068283.7A CN106851336B (en) 2017-02-07 2017-02-07 Audio and video file transcoding method and system with dynamic resource allocation

Publications (2)

Publication Number Publication Date
CN106851336A true CN106851336A (en) 2017-06-13
CN106851336B CN106851336B (en) 2020-04-14

Family

ID=59122220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710068283.7A Active CN106851336B (en) 2017-02-07 2017-02-07 Audio and video file transcoding method and system with dynamic resource allocation

Country Status (1)

Country Link
CN (1) CN106851336B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900865A (en) * 2018-06-11 2018-11-27 网宿科技股份有限公司 Server, the dispatching method of transcoding task and execution method
CN109471715A (en) * 2018-09-17 2019-03-15 咪咕视讯科技有限公司 A kind of dispatching method, device and the storage medium of transcoding task
CN109561324A (en) * 2018-10-23 2019-04-02 中国科学院计算技术研究所 The processing system for video and processing method of software definition
CN109714540A (en) * 2019-02-26 2019-05-03 浪潮软件集团有限公司 A kind of H265 format monitor video merging method, device and system
CN110149518A (en) * 2018-02-12 2019-08-20 腾讯科技(深圳)有限公司 Processing method, system, device, equipment and the storage medium of media data
CN110769278A (en) * 2019-10-29 2020-02-07 鹏城实验室 Distributed video transcoding method and system
CN110879749A (en) * 2018-09-06 2020-03-13 阿里巴巴集团控股有限公司 Scheduling method and scheduling device for real-time transcoding task
CN110995830A (en) * 2019-11-29 2020-04-10 武汉卓讯互动信息科技有限公司 Network resource processing method and device
CN111294647A (en) * 2018-12-10 2020-06-16 中国移动通信集团有限公司 Video processing method, device and equipment and storage medium
CN112035405A (en) * 2020-08-29 2020-12-04 平安科技(深圳)有限公司 Document transcoding method and device, scheduling server and storage medium
CN112543374A (en) * 2020-11-30 2021-03-23 联想(北京)有限公司 Transcoding control method and device and electronic equipment
CN112543373A (en) * 2020-11-30 2021-03-23 联想(北京)有限公司 Transcoding control method and device and electronic equipment
CN112954396A (en) * 2021-02-05 2021-06-11 建信金融科技有限责任公司 Video playing method and device, electronic equipment and computer readable storage medium
CN113423011A (en) * 2021-08-23 2021-09-21 南斗六星系统集成有限公司 Transcoding method for video file with any format
CN115174535A (en) * 2022-06-24 2022-10-11 上海网达软件股份有限公司 POD scheduling method, system and device for realizing file transcoding based on Kubernetes and storage medium
CN115695867A (en) * 2023-01-03 2023-02-03 北京微吼时代科技有限公司 Method and device for scheduling transcoding resource elastic expansion
CN115942070A (en) * 2022-12-26 2023-04-07 北京柏睿数据技术股份有限公司 Dynamic optimization method and system for transcoding processing of video data file

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004509582A (en) * 2000-09-20 2004-03-25 ジェネラル・インスツルメント・コーポレイション Processor assignment for channels in a video multiprocessor system
CN103929655A (en) * 2014-04-25 2014-07-16 网易传媒科技(北京)有限公司 Method and device for transcoding audio and video file
CN104717517A (en) * 2015-03-31 2015-06-17 北京奇艺世纪科技有限公司 Scheduling method and scheduling device for video transcoding task
CN105992020A (en) * 2015-07-24 2016-10-05 乐视云计算有限公司 Video conversion resource distribution method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004509582A (en) * 2000-09-20 2004-03-25 ジェネラル・インスツルメント・コーポレイション Processor assignment for channels in a video multiprocessor system
CN103929655A (en) * 2014-04-25 2014-07-16 网易传媒科技(北京)有限公司 Method and device for transcoding audio and video file
CN104717517A (en) * 2015-03-31 2015-06-17 北京奇艺世纪科技有限公司 Scheduling method and scheduling device for video transcoding task
CN105992020A (en) * 2015-07-24 2016-10-05 乐视云计算有限公司 Video conversion resource distribution method and system

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110149518A (en) * 2018-02-12 2019-08-20 腾讯科技(深圳)有限公司 Processing method, system, device, equipment and the storage medium of media data
CN110149518B (en) * 2018-02-12 2023-03-24 腾讯科技(深圳)有限公司 Method, system, device, equipment and storage medium for processing media data
CN108900865A (en) * 2018-06-11 2018-11-27 网宿科技股份有限公司 Server, the dispatching method of transcoding task and execution method
CN110879749A (en) * 2018-09-06 2020-03-13 阿里巴巴集团控股有限公司 Scheduling method and scheduling device for real-time transcoding task
CN110879749B (en) * 2018-09-06 2023-04-07 阿里巴巴集团控股有限公司 Scheduling method and scheduling device for real-time transcoding task
CN109471715A (en) * 2018-09-17 2019-03-15 咪咕视讯科技有限公司 A kind of dispatching method, device and the storage medium of transcoding task
CN109561324A (en) * 2018-10-23 2019-04-02 中国科学院计算技术研究所 The processing system for video and processing method of software definition
CN111294647A (en) * 2018-12-10 2020-06-16 中国移动通信集团有限公司 Video processing method, device and equipment and storage medium
CN111294647B (en) * 2018-12-10 2022-04-08 中国移动通信集团有限公司 Video processing method, device and equipment and storage medium
CN109714540A (en) * 2019-02-26 2019-05-03 浪潮软件集团有限公司 A kind of H265 format monitor video merging method, device and system
CN110769278A (en) * 2019-10-29 2020-02-07 鹏城实验室 Distributed video transcoding method and system
CN110769278B (en) * 2019-10-29 2022-02-08 鹏城实验室 Distributed video transcoding method and system
CN110995830A (en) * 2019-11-29 2020-04-10 武汉卓讯互动信息科技有限公司 Network resource processing method and device
CN112035405A (en) * 2020-08-29 2020-12-04 平安科技(深圳)有限公司 Document transcoding method and device, scheduling server and storage medium
WO2021151294A1 (en) * 2020-08-29 2021-08-05 平安科技(深圳)有限公司 Document transcoding method and apparatus, and scheduling server and storage medium
CN112035405B (en) * 2020-08-29 2023-10-13 平安科技(深圳)有限公司 Document transcoding method and device, scheduling server and storage medium
CN112543374A (en) * 2020-11-30 2021-03-23 联想(北京)有限公司 Transcoding control method and device and electronic equipment
CN112543373A (en) * 2020-11-30 2021-03-23 联想(北京)有限公司 Transcoding control method and device and electronic equipment
CN112954396A (en) * 2021-02-05 2021-06-11 建信金融科技有限责任公司 Video playing method and device, electronic equipment and computer readable storage medium
CN112954396B (en) * 2021-02-05 2023-02-28 建信金融科技有限责任公司 Video playing method and device, electronic equipment and computer readable storage medium
CN113423011B (en) * 2021-08-23 2021-11-16 南斗六星系统集成有限公司 Transcoding method for video file with any format
CN113423011A (en) * 2021-08-23 2021-09-21 南斗六星系统集成有限公司 Transcoding method for video file with any format
CN115174535A (en) * 2022-06-24 2022-10-11 上海网达软件股份有限公司 POD scheduling method, system and device for realizing file transcoding based on Kubernetes and storage medium
CN115942070A (en) * 2022-12-26 2023-04-07 北京柏睿数据技术股份有限公司 Dynamic optimization method and system for transcoding processing of video data file
CN115942070B (en) * 2022-12-26 2023-09-12 北京柏睿数据技术股份有限公司 Dynamic optimization method and system for transcoding video data file
CN115695867A (en) * 2023-01-03 2023-02-03 北京微吼时代科技有限公司 Method and device for scheduling transcoding resource elastic expansion
CN115695867B (en) * 2023-01-03 2023-05-12 北京微吼时代科技有限公司 Scheduling method and device for flexible extension of transcoding resources

Also Published As

Publication number Publication date
CN106851336B (en) 2020-04-14

Similar Documents

Publication Publication Date Title
CN106851336A (en) The audio-video document code-transferring method and system of a kind of Dynamic Resource Allocation for Multimedia
CN101635635B (en) Cloud mode streaming media service platform
CN201491019U (en) Network video system supporting multiple terminals
US7836184B2 (en) Method for managing the allocation of resources to channel swarms in a peer-to-peer network
CN111294647B (en) Video processing method, device and equipment and storage medium
US11201833B2 (en) Aggregated adaptive bit rate streaming
CA2867289A1 (en) Adaptive media delivery
Lee et al. Video quality adaptation for limiting transcoding energy consumption in video servers
CN1731732A (en) High subsequent stream medium server system for realizing video quality and delivery rate control
CN101247510B (en) Video demanding method, device and system
US20220030290A1 (en) Audience definition for media programs
Zhuang et al. Building cloud-ready video transcoding system for Content Delivery Networks (CDNs)
Tseng et al. Seamless channel transition for the staircase video broadcasting scheme
CN105323593A (en) Multimedia transcoding scheduling method and multimedia transcoding scheduling device
CN102855311A (en) Intelligent file resource loader and intelligent file resource loading method
CN112543354B (en) Service-aware distributed video cluster efficient telescoping method and system
CN113613038A (en) Intelligent streaming media service system and video stream scheduling method thereof
CN112445605A (en) Media data processing method and device and media server
Sahoo et al. Resource allocation for video transcoding in the multimedia cloud
CN115022657B (en) Scheduling method and device of live broadcast server
WO2017071524A1 (en) Multimedia resource publishing method and apparatus
Yang et al. A borrow-and-return model to reduce client waiting time for broadcasting-based VOD services
CN101588492A (en) Playing material publishing method and system in the IPTV system
CN1859181A (en) System and method for sharing internal storage cache between multiple stream servers
Jeon et al. A Novel SDN-based System for Provisioning of Smart Hybrid Media Services

Legal Events

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