Patent ID: 11689705

Abstract:
There are disclosed various methods, apparatuses and computer program products for video encoding and decoding. In some embodiments an encoding method comprises obtaining information of a region (63) for overlaying at least a part of an omnidirectional video (61), information of a current viewport (62) in the omnidirectional video (61), and information of an overlaying method to determine whether to overlay a part of the current viewport (62) or the whole current viewport (62) by the overlaying region (63). The method may further comprise encoding information of the overlaying region (63), the current viewport (62) and the overlaying method. In some embodiments a decoding method comprises receiving and decoding information of a region (63) for overlaying at least a part of an omnidirectional video (61), information of a current viewport (62) in the omnidirectional video (61), and information of an overlaying method to determine whether to overlay a part of the current viewport (62) or the whole current viewport (62) by the overlaying region (63). The method may further comprise examining the decoded information of the overlaying method. If the examining reveals that the overlaying method is a partial overlaying method, overlaying a part of the image information of the current viewport (62) by the image information of the overlaying region (63), or if the examining reveals that the overlaying method is a whole overlaying method, overlaying the whole current viewport (62) by the image information of the overlaying region (63).