CN104284203A - Video file mixed cloud transcoding method and system - Google Patents
Video file mixed cloud transcoding method and system Download PDFInfo
- Publication number
- CN104284203A CN104284203A CN201410602126.6A CN201410602126A CN104284203A CN 104284203 A CN104284203 A CN 104284203A CN 201410602126 A CN201410602126 A CN 201410602126A CN 104284203 A CN104284203 A CN 104284203A
- Authority
- CN
- China
- Prior art keywords
- transcoding
- video file
- server
- frame
- mixed cloud
- 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
- 238000000034 method Methods 0.000 title claims abstract description 18
- 230000003750 conditioning effect Effects 0.000 claims description 8
- 238000004891 communication Methods 0.000 claims description 6
- 238000012544 monitoring process Methods 0.000 claims description 3
- 238000006243 chemical reaction Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 238000010606 normalization Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000013508 migration Methods 0.000 description 1
- 230000005012 migration Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
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 or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream 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 or manipulating encoded video stream 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/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/24—Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
- H04N21/2405—Monitoring of the internal components or processes of the server, e.g. server load
-
- 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
- H04N21/26208—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 the scheduling operation being performed under constraints
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a video file mixed cloud transcoding method. The method includes the following steps that in the step S200, video files are distributed to transcoding servers; in the step S300, the video files are transcoded through the transcoding servers; in the step S400, the transcoded video files are transmitted to a streaming media service container. Original video transcoding queues are distributed to the multiple transcoding servers so as to be transcoded, a transcoding algorithm is optimized, transcoding tasks are dynamically adjusted, and the transcoding speed and the use rate of the servers are increased.
Description
Technical field
The present invention relates to file code-transferring method, particularly relate to the code-transferring method for video file and system that significantly can improve transcoding speed.
Background technology
Video file has Multi-encoding form, the form of dissimilar player support is also not quite similar, therefore the provider of internet video business is in order to meet the video playback demand of the user in different platform, often need the coded format of video file to change, video code conversion work is the work of Internet enterprises normalization.
Internet video industry will meet dissimilar equipment, and as mobile phone, TV, the player support that IPTV etc. are different, will turn many parts of coded formats to video file transcoding, and video code conversion work is the work of the Internet enterprises particularly normalization of video industry.Cloud computing has become the important technology innovation of IT service field, by shared software and hardware resources and information, is supplied to computer and equipment by demand, thus reduces IT running cost.
Cloud computing has become the important technology innovation of IT service field.Conventional transcoding algorithm at present: closed-loop structure algorithm, transcoding is effective, but computational complexity is high, and transcoding speed is slow, open loop structure algorithm, and speed is fast, but the picture quality after transcoding is damaged larger.In existing technology, when carrying out transcoding, only having a machine or having several machine, but there is no correlation between every platform machine, all needing to add separately transcoding task, when video file quantity is large, often can because transcoding delays the online operation of new video.
Summary of the invention
the problem that invention will solve
The object of the invention is to solve the problem, provide a kind of cloud code-transferring method and system of video file, can significantly improve transcoding speed, promote transcoding efficiency.
for the scheme of dealing with problems
A kind of video file mixed cloud code-transferring method, comprises the following steps:
Step S200, video file is dispensed to transcoding server;
Step S300, described transcoding server carry out transcoding to described video file;
Step S400, the video file after transcoding is distributed to streaming media service container;
Wherein, described transcoding server carries out transcoding to described video file, comprises the following steps:
Step S310, by open loop structure, transcoding is carried out to the frame of described video file distributed, obtain recodification file, and obtain an I frame;
Step S320, by closed-loop structure, transcoding is carried out to I frame, and carry out error concealment, obtain the 2nd I frame;
Step S330, the 2nd I frame is incorporated into the described recodification file that step S310 obtains, and a described I frame is replaced with described 2nd I frame.
Preferably, video file mixed cloud code-transferring method, is describedly dispensed to described transcoding server by video file, comprises the steps:
Step S210, according to transcoding capabilities, video file size, the network communication parameters of transcoding server, the transcoding server of estimation estimate the transcoding time;
Step S220, basis estimate the transcoding time, and video file is dispensed to different transcoding servers;
Step S230, the queue of dynamic conditioning transcoding server.
Preferably, video file mixed cloud code-transferring method, further comprising the steps of after described step S300:
The transcoding parameter of step S390, monitor video file, as video file transcoding exception or transcoding failure, then re-executes step S200 by this video file.
The present invention also provides a kind of video file mixed cloud trans-coding system, comprising:
Job queue distribution module, for being dispensed to described transcoding server by video file;
Transcoding server, is connected with described job queue distribution module, for carrying out transcoding to described video file;
Video file synthesis module, is connected with described transcoding server, carries out being distributed to streaming media service container for the video file after transcoding.
Preferably, video file mixed cloud trans-coding system, described job queue distribution module, for according to transcoding capabilities, video file size, the network communication parameters of transcoding server, the transcoding server of estimation estimate the transcoding time; And for according to estimating the transcoding time, video file is dispensed to different transcoding servers; And the queue of dynamic conditioning transcoding server.
Preferably, video file mixed cloud trans-coding system, also comprises transcoding monitoring module; be connected with described job queue distribution module; for the transcoding parameter of monitor video file, as video file transcoding exception or transcoding failure, then this video file is beamed back described job queue distribution module again.
the effect of invention
Provide a kind of cloud code-transferring method and system of video file, transcoding server is formed privately owned cloud, by video file according to algorithm assigns to multiple stage transcoding machine simultaneously transcoding, automatic adjustment transcoding task, task is dynamic migration in cloud computing server end, transcoding completes and is distributed in Streaming Media container video file, thus accelerates the online operation of video file.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of one embodiment of the invention;
Fig. 2 is the schematic flow sheet of one embodiment of the invention;
Fig. 3 is the schematic flow sheet of one embodiment of the invention;
Fig. 4 is the structural representation of one embodiment of the invention.
Embodiment
Various exemplary embodiment of the present invention, characteristic sum aspect is described in detail below with reference to embodiment.In order to better the present invention is described, in embodiment hereafter, give numerous details.It will be appreciated by those skilled in the art that do not have these details, the present invention can implement equally.In other example, known method, means, material are not described in detail, so that highlight purport of the present invention.
Fig. 1 is the schematic flow sheet of one embodiment of the invention.As shown in the figure, video file mixed cloud code-transferring method, comprises the following steps:
Step S200, video file is dispensed to described transcoding server;
Step S300, described transcoding server carry out transcoding to described video file;
Step S400, the recodification video file after transcoding is distributed to streaming media service container.
Preferably, further comprising the steps of after described step S300:
The transcoding parameter of step S390, monitor video file, as video file transcoding exception or transcoding failure, then re-executes step S200 by this video file.
As shown in Figure 2, in one embodiment, transcoding server carries out transcoding to described video file, comprises the following steps:
Step S310, by open loop structure, transcoding is carried out to the frame of described video file distributed, obtain recodification file, and obtain an I frame;
Step S320, by closed-loop structure, transcoding is carried out to I frame, and carry out error concealment, obtain the 2nd I frame;
Step S330, the 2nd I frame is incorporated into the described recodification file that step S310 obtains, and a described I frame is replaced with described 2nd I frame.
As shown in Figure 3, in one embodiment, video file mixed cloud code-transferring method, is describedly dispensed to described transcoding server by described video file, comprises the steps:
Step S210, according to transcoding capabilities, video file size, the network communication parameters of transcoding server, the transcoding server of estimation estimate the transcoding time;
Step S220, basis estimate the transcoding time, and video file is dispensed to different transcoding servers;
Step S230, the queue of dynamic conditioning transcoding server.
The present invention also provides a kind of video file mixed cloud trans-coding system, comprising:
Job queue distribution module, for being dispensed to described transcoding server by video file; Job queue distribution module, for according to transcoding capabilities, video file size, the network communication parameters of transcoding server, the transcoding server of estimation estimate the transcoding time; And for according to estimating the transcoding time, video file is dispensed to different transcoding servers; And the queue of dynamic conditioning transcoding server;
Transcoding server, is connected with described job queue distribution module, for carrying out transcoding to described video file;
Video file distribution module, is connected with described transcoding server, for by the file distributing after transcoding to streaming media server.
Preferably, video file mixed cloud trans-coding system, also comprises transcoding monitoring module; be connected with described job queue distribution module; for the transcoding parameter of monitor video file, as video file transcoding exception or transcoding failure, then this video file is beamed back described job queue distribution module again.
In one embodiment, job queue distribution module take video file as minimum task unit.According to transcoding server transcoding capabilities, network condition between module and transcoding server, pre-estimation each video file transcoding time, video file is distributed to different transcoding servers and remove transcoding, simultaneously every 30 minutes (this duration can be determined according to actual conditions), according to the queue of calculating each transcoding server of dynamic conditioning.
Video code conversion: transcoding algorithm uses the mixed type frame domain video code conversion improved, comprising following process:
1. first select open loop structure to carry out transform coding to frame.
2. select closed-loop structure to carry out transform coding to source video I frame simultaneously, and error concealment operation is carried out to I frame, obtain free from error I frame.
3. then use the I frame (the I frame of above-mentioned steps 2) of closed loop transcoding to replace the I frame (the I frame of above-mentioned steps 1) of open loop transcoding rear video.Thus the picture quality that improve after transcoding speed and transcoding.I frame can be Inter frame.
Video file distribution module, is responsible for the results for video after transcoding server transcoding to be distributed in streaming media service container.
The present invention contrasts prior art has following beneficial effect to have
1. the solution of the present invention former video code conversion queue assignment is carried out transcoding to multiple stage transcoding machine, dynamic conditioning transcoding task, improves the utilization rate of server.
2. mix transcoding algorithm: improve single video code conversion speed.
Although describe the present invention with reference to above execution mode, it should be understood that and the invention is not restricted to disclosed execution mode.The scope of appended claims should make an explanation in the most wide in range scope, to contain all modification, equivalent structure and function.
Claims (6)
1. a video file mixed cloud code-transferring method, is characterized in that, comprises the following steps:
Step S200, video file is dispensed to transcoding server;
Step S300, described transcoding server carry out transcoding to described video file;
Step S400, by the video file after transcoding, pass to streaming media service container;
Wherein, described transcoding server carries out transcoding to described video file, comprises the following steps:
Step S310, by open loop structure, transcoding is carried out to the frame of described video file distributed, obtain recodification file, and obtain an I frame;
Step S320, by closed-loop structure, transcoding is carried out to I frame, and carry out error concealment, obtain the 2nd I frame;
Step S330, the 2nd I frame is incorporated into the described recodification file that step S310 obtains, and a described I frame is replaced with described 2nd I frame.
2. video file mixed cloud code-transferring method according to claim 1, is characterized in that, described video file is dispensed to described transcoding server, comprises the steps:
Step S210, according to transcoding capabilities, video file size, the network communication parameters of transcoding server, the transcoding server of estimation estimate the transcoding time;
Step S220, basis estimate the transcoding time, and video file is dispensed to different transcoding servers;
Step S230, the queue of dynamic conditioning transcoding server.
3. video file mixed cloud code-transferring method according to claim 1, is characterized in that, further comprising the steps of after described step S300:
The transcoding parameter of step S390, monitor video file, as video file transcoding exception or transcoding failure, then re-executes step S200 by this video file.
4. a video file mixed cloud trans-coding system, is characterized in that, comprising:
Job queue distribution module, for being dispensed to described transcoding server by video file;
Transcoding server, is connected with described job queue distribution module, for carrying out transcoding to described video file;
Video file distribution module, is connected with described transcoding server, for transcoding rear video file distributing is passed to streaming media service container.
5. video file mixed cloud trans-coding system according to claim 4, it is characterized in that, described job queue distribution module, for according to transcoding capabilities, video file size, the network communication parameters of transcoding server, the transcoding server of estimation estimate the transcoding time; And for according to estimating the transcoding time, video file is dispensed to different transcoding servers; And the queue of dynamic conditioning transcoding server.
6. video file mixed cloud trans-coding system according to claim 4; it is characterized in that; also comprise transcoding monitoring module; be connected with described job queue distribution module; for the transcoding parameter of monitor video file; as video file transcoding exception or transcoding failure, then this video file is beamed back described job queue distribution module again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410602126.6A CN104284203A (en) | 2014-10-31 | 2014-10-31 | Video file mixed cloud transcoding method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410602126.6A CN104284203A (en) | 2014-10-31 | 2014-10-31 | Video file mixed cloud transcoding method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104284203A true CN104284203A (en) | 2015-01-14 |
Family
ID=52258610
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410602126.6A Pending CN104284203A (en) | 2014-10-31 | 2014-10-31 | Video file mixed cloud transcoding method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104284203A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017101488A1 (en) * | 2015-12-18 | 2017-06-22 | 乐视控股(北京)有限公司 | Real-time transcoding monitoring method and real-time transcoding system |
CN110019953A (en) * | 2019-04-16 | 2019-07-16 | 中国科学院国家空间科学中心 | A kind of real-time quick look system of payload image data |
CN110856018A (en) * | 2019-11-14 | 2020-02-28 | 武汉珞佳伟业科技有限公司 | Rapid transcoding method and system in monitoring system based on cloud computing |
CN112543373A (en) * | 2020-11-30 | 2021-03-23 | 联想(北京)有限公司 | Transcoding control method and device and electronic equipment |
-
2014
- 2014-10-31 CN CN201410602126.6A patent/CN104284203A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017101488A1 (en) * | 2015-12-18 | 2017-06-22 | 乐视控股(北京)有限公司 | Real-time transcoding monitoring method and real-time transcoding system |
CN110019953A (en) * | 2019-04-16 | 2019-07-16 | 中国科学院国家空间科学中心 | A kind of real-time quick look system of payload image data |
CN110019953B (en) * | 2019-04-16 | 2021-03-30 | 中国科学院国家空间科学中心 | Real-time quick-look system for effective load image data |
CN110856018A (en) * | 2019-11-14 | 2020-02-28 | 武汉珞佳伟业科技有限公司 | Rapid transcoding method and system in monitoring system based on cloud computing |
CN112543373A (en) * | 2020-11-30 | 2021-03-23 | 联想(北京)有限公司 | Transcoding control method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9407944B1 (en) | Resource allocation optimization for cloud-based video processing | |
US8566835B2 (en) | Dynamically resizing a virtual machine container | |
CN105635751B (en) | A kind of video cloud platform plays the method and device of video | |
CN105657449B (en) | A kind of video code conversion distribution method, device and video code conversion system | |
WO2017166654A1 (en) | Resource management method and device | |
WO2017016292A1 (en) | Method of allocating video transcoding resource and system utilizing same | |
CN105828105A (en) | Distributed environment-based video transcoding system and video transcoding method | |
Ashraf et al. | Stream-based admission control and scheduling for video transcoding in cloud computing | |
US20180124146A1 (en) | Bitrate optimization for multi-representation encoding using playback statistics | |
Reddy et al. | Qos-Aware Video Streaming Based Admission Control And Scheduling For Video Transcoding In Cloud Computing | |
CN104349177B (en) | It is a kind of to turn to method, virtual machine and the system for playing multimedia file under desktop cloud | |
CN104284203A (en) | Video file mixed cloud transcoding method and system | |
WO2013104217A1 (en) | Cloud infrastructure based management system and method for performing maintenance and deployment for application system | |
CN107992392B (en) | Automatic monitoring and repairing system and method for cloud rendering system | |
US20140344398A1 (en) | Control systems and methods for cloud resource management | |
Jokhio et al. | A computation and storage trade-off strategy for cost-efficient video transcoding in the cloud | |
US20220417084A1 (en) | Video transport stream stability prediction | |
CN109257399A (en) | Cloud platform application management method and management platform, storage medium | |
CN110149377A (en) | A kind of video service node resource allocation methods, system, device and storage medium | |
Chen et al. | Complexity of cloud-based transcoding platform for scalable and effective video streaming services | |
CN102984547A (en) | Self-adaption cloud playback system | |
Barais et al. | Towards microservices architecture to transcode videos in the large at low costs | |
KR20190059465A (en) | Method for smart job scaling and distributed transcoding and cloud transcoding farm system | |
Panarello et al. | A big video data transcoding service for social media over federated clouds | |
CN109981396B (en) | Monitoring method and device for cluster of docker service containers, medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150114 |
|
WD01 | Invention patent application deemed withdrawn after publication |