Methods, apparatuses and devices for panoramic video transcoding
AssigneeAlibaba Group Holding Limited
InventorsXiaojie Sheng, Yuxing Wu
Life of this patent
Estimating the term…
Abstract
Panoramic video transcoding methods, devices, and apparatuses are provided. The method involves a central processing unit (CPU) and a graphics processing unit (GPU) and includes decoding a panoramic video; mapping, at least partly using the GPU, the decoded video data to N visual angles, to obtain N channels of video data, in which N is more than 1; encoding the N channels of video data respectively to obtain N channels of video streams; and slicing and packing the N channels of video streams respectively.
Claims20
A panoramic video transcoding method involving a central processing unit (CPU) and a graphics processing unit (GPU), comprising:
- decoding a panoramic video using the GPU or the CPU, wherein the panoramic video is decoded by the CPU in response to a resolution of the panoramic video being higher than a preset first threshold and is decoded by the GPU in response to the resolution of the panoramic video not being higher than the preset first threshold;
- mapping, at least partly using the GPU, decoded video data to N visual angles, to obtain N channels of video data, wherein N is more than 1;
- encoding the N channels of video data respectively to obtain N channels of video streams;
- and
- slicing and packing the N channels of video streams respectively.
A panoramic video transcoding device having a central processing unit (CPU) and a graphics processing unit (GPU), the panoramic video transcoding device comprising:
- a decoder configured to decode a panoramic video, wherein
- if a resolution of the panoramic video is higher than a preset first threshold, the decoder is implemented by the CPU, and
- if the resolution of the panoramic video is not higher than the preset first threshold, the decoder is implemented by the GPU;
- a mapping circuit configured to map decoded video data to N visual angles, to obtain N channels of video data, wherein N is more than 1, and at least a part of the mapping circuit is implemented by the GPU;
- an encoder configured to encode the N channels of video data respectively to obtain N channels of video streams;
- and
- a slicing and packing circuit, wherein the slicing and packing circuit is configured to slice and pack the N channels of video streams respectively.
A processing apparatus, comprising:
- a graphics processing unit (GPU) and a central processing unit (CPU);
- a memory;
- and
- one or more programs stored in the memory and executed by the GPU or the CPU to perform following operations:
- decoding a panoramic video, wherein the panoramic video is decoded by the CPU in response to a resolution of the panoramic video being higher than a preset first threshold and is decoded by the GPU in response to the resolution of the panoramic video not being higher than the preset first threshold;
- mapping, at least partly using the GPU, decoded video data to N visual angles, to obtain N channels of video data, wherein N is more than 1;
- encoding the N channels of video data respectively to obtain N channels of video streams;
- and
- slicing and packing the N channels of video streams respectively.
A non-transitory computer-readable medium that stores a set of instructions that is executable by at least one processor of an apparatus to cause the apparatus to perform a panoramic video transcoding method involving a central processing unit (CPU) and a graphics processing unit (GPU), the panoramic video transcoding method comprising:
- decoding a panoramic video, wherein if a resolution of the panoramic video is higher than a preset first threshold, the panoramic video is decoded by the CPU;
- otherwise, the panoramic video is decoded by the GPU;
- mapping, at least partly using the GPU, decoded video data to N visual angles, to obtain N channels of video data, wherein N is more than 1;
- encoding the N channels of video data respectively to obtain N channels of video streams;
- and
- slicing and packing the N channels of video streams respectively.
Dependencies are inferred from the claim text.