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; dividing the two dimensional representation into a matrix of blocks, the matrix of blocks including a row of blocks including a first row end block in a first column of the matrix of blocks and a second row end block in the last column of the matrix of blocks, the first row end block including at least one pixel that is adjacent to at least one pixel in the second row end block in the spherical domain, and the matrix of blocks including a column of blocks including a first column end block in a first row from the matrix of blocks and a second column end block in a last row from the matrix of blocks, the first column end block including at least one pixel that is adjacent to at least one pixel in the second column end block in a spherical domain; determining a prediction process is one of an intra-prediction process or an inter-prediction process; performing the prediction process including: determining whether at least one block associated with a prediction scheme is on a boundary of the two dimensional representation, the at least one block associated with the prediction scheme is on the boundary if the at least one block is at least one of the first row end block, the second row end block, the first column end block or the second column end block, in response to 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, in response to determining the prediction process is an inter-prediction process, the at least one block associated with the prediction scheme is selected as a prediction block from a plurality of blocks in a reference frame to be searched, the plurality of blocks crossing a boundary of the reference frame, the adjacent end block being associated with at least one of the first row end block, the second row end block, the first column end block and the second column end block, in response to determining the prediction process is an intra-prediction process, the at least one block associated with the prediction scheme is a block to be encoded, and the adjacent end block is selected as one of a left reconstructed block or an upper reconstructed block of the block to be encoded; generating at least one residual based on un-encoded pixels to be encoded; encoding the at least one residual by applying a transform to the at least one residual; quantizing transform coefficients associated with the encoded at least one residual; entropy encoding the quantized transform coefficients as a compressed video bit stream; and transmitting the compressed video bit stream including an indication of a technique used during the mapping of the frame of the spherical video to the two dimensional representation.