1. A method for encoding a spherical video, the method comprising: mapping a frame of the spherical video to a two dimensional representation based on a projection; performing a prediction process including: determining whether at least one block associated with a prediction scheme is on a boundary of the two dimensional representation; and upon determining the at least one block associated with the prediction scheme is on the boundary, select an adjacent end block as a block including at least one pixel for use during the prediction process, the adjacent end block being associated with two or more boundaries of the two dimensional representation.