Video file parallel transcoding method and system

A technology for video files and files, applied in the field of parallel transcoding systems for video files, can solve problems such as low transcoding efficiency, and achieve the effects of reducing data volume, shortening response time, and reducing performance loss

CN103731678AActive Publication Date: 2014-04-1621CN +1
8 Cites 25 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2014-04-16

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides a video file parallel transcoding method and system. The method includes the following steps of firstly, obtaining the number of currently-available transcoding machines and the number of target video files to be output with different code rates; secondly, segmenting a source video file according to the number of the currently-available transcoding machines and the number of the target video files to obtain multiple stages of running streams, wherein each stage of running stream comprises a plurality of audio and video stream data segments; thirdly, sequentially starting the multiple stages of running streams from top to bottom according to the code rates of the target video files so as to transcode the data segments; fourthly, combining the transcoded data segments of each stage of running stream according to the corresponding target format, and obtaining the target video files with different code rates. By means of the video file parallel transcoding method and system, under the condition that the coding quality of output targets is not reduced, the transcoded data size is reduced, and therefore performance losses in the transcoding process are effectively reduced, the transcoding efficiency is improved, and response time of video transcoding tasks is effectively shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical field

[0001] The invention relates to the field of multimedia technology, in particular to a method for parallel transcoding of video files and a system for parallel transcoding of video files. Background technique

[0002] Video files have a variety of different encoding formats and different quality levels. In the existing mobile Internet / Internet, OTT (Over The Top, that is, Internet companies have crossed over operators to develop various video and data services based on the open Internet), etc. Different application fields, complex network environments, and uneven terminal processing capabilities require different quality levels for video files in addition to encoding formats, such as bitrates and pixels.

[0003] In order to meet the playback requirements of different application fields, video providers often need to convert video files multiple times to generate target video files of different formats and different quality levels. In terms of specific implementati...

Examples

Embodiment Construction

[0023] In order to make the objectives, technical solutions, and advantages of the present invention clearer, the following further describes the present invention in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

[0024] See figure 1 As shown, a method for parallel transcoding of video files includes the following steps:

[0025] Step S101: Obtain the number of currently available transcoding machines and the number of target video files with different bit rates to be output, and then enter step S102.

[0026] As a preferred embodiment, the process of obtaining the number of currently available transcoding machines may specifically include the following:

[0027] Detect the load condition of each transcoding machine, regard the transcoding machine with an idle rate greater than a predetermined threshold (s...