Distributed transcoding method and distributed transcoding system
AssigneeNaver Corporation
InventorsKuenbaek Park, Bong Sub Kim, Jae Hoon Kim, Seongcheol Jo, Seungjin Kim, Seung Ha Yang
Life of this patent
Estimating the term…
Abstract
A distributed transcoding method includes splitting image content into segments of a fixed interval; allocating the split segments to a plurality of workers and performing parallel transcoding; and concatenating the transcoded segments and merging same into one encoded file.
Claims17
A distributed transcoding method performed by a server implemented as a computer, the distributed transcoding method comprising:
- logically splitting image content into segments of a desired interval designated by a read offset of each segment;
- allocating the split segments to a plurality of workers by sending read offset information of the allocated split segments to the workers without sending the image content of the allocated split segments, performing parallel transcoding of the allocated split segments by corresponding workers, and receiving segment files of the allocated split segments encoded in parallel by the corresponding workers based on the read offset information of the allocated split segments, wherein allocating the split segments to the workers is based on preset allocation criterion associated with the workers, such that the split segments are allocated to one or more of the workers based on the present allocation criterion;
- and
- concatenating the transcoded segments and merging the concatenated segments into a single encoded file,
- wherein each of the corresponding workers performs the transcoding by reading a split segment allocated to the each of the workers using the read offset information sent, without the image content of the allocated split segments, to said each of the workers, and
- wherein the image content includes a group of pictures defined as a GOP unit and the logically splitting comprises:
- splitting the image content into segments of the GOP unit in response to a segment of the GOP unit not being smaller in length than a segment of a predetermined minimum unit;
- and
- splitting the image content into segments of the predetermined minimum unit in response to a segment of the GOP unit being smaller in length than a segment of the predetermined minimum unit.
A non-transitory computer-readable record medium storing a program for implementing a distributed transcoding method, the program when executed by a computer causing the computer to perform the steps comprising:
- logically splitting image content into segments of a desired interval designated by a read offset of each segment;
- allocating the split segments to a plurality of workers by sending read offset information of the allocated split segments to the workers without sending the image content of the allocated split segments, performing parallel transcoding of the allocated split segments by corresponding workers, and receiving segment files of the allocated split segments encoded in parallel by the corresponding workers based on the read offset information of the allocated split segments, wherein allocating the split segments to the workers is based on preset allocation criterion associated with the workers, such that the split segments are allocated to one or more of the workers based on the present allocation criterion;
- and
- concatenating the transcoded segments and merging the concatenated segments into a single encoded file,
- wherein each of the corresponding workers performs the transcoding by reading a split segment allocated to the each of the workers using the read offset information sent, without the image content of the allocated split segments, to said each of the workers, and
- wherein the image content includes a group of pictures defined as a GOP unit and the logically splitting comprises:
- splitting the image content into segments of the GOP unit in response to a segment of the GOP unit not being smaller in length than a segment of a predetermined minimum unit;
- and
- splitting the image content into segments of the predetermined minimum unit in response to a segment of the GOP unit being smaller in length than a segment of the predetermined minimum unit.
A distributed transcoding system comprising:
- at least one processor configured to execute computer-readable instructions stored in a memory, wherein the at least one processor is configured to perform the processes including,
- logically splitting image content into segments of a desired interval designated by a read offset of each segment,
- allocating the split segments to a plurality of workers by sending read offset information of the allocated split segments to the workers without sending the image content of the allocated split segments, performing parallel transcoding of the allocated split segments by corresponding workers, and receiving segment files of the allocated split segments encoded in parallel by the corresponding workers based on the read offset information of the allocated split segments, wherein allocating the split segments to the workers is based on preset criterion associated with the workers, such that the split segments are allocated to one or more of the workers based on the present allocation criterion;
- and
- concatenating the transcoded segments and merging the concatenated segments into a single encoded file,
- wherein each of the corresponding workers performs the transcoding by reading a split segment allocated to the each of the workers using the read offset information sent, without the image content of the allocated split segments, to said each of the workers, and
- wherein the image content includes a group of pictures defined as a GOP unit and the logically splitting comprises:
- splitting the image content into segments of the GOP unit in response to a segment of the GOP unit not being smaller in length than a segment of a predetermined minimum unit;
- and
- splitting the image content into segments of the predetermined minimum unit in response to a segment of the GOP unit being smaller in length than a segment of the predetermined minimum unit.
Dependencies are inferred from the claim text.