A method for rendering timed text within an omnidirectional video, the method comprising: obtaining a flag which specifies how cues of the timed text are to be rendered, cues of the timed text being regions within the video that display the timed text; identifying whether positions of cues of the timed text are not relative to a viewport being only visible when a user looks in a specific direction or relative to the viewport, being always visible irrespective of a viewing direction of the user, based on a value of the flag; rendering the timed text on a certain region in a sphere, in case that the value of the flag is 0 which indicates that the positions of the cues of the timed text are not relative to the viewport; and rendering the timed text in a region on a current viewport that is always visible irrespective of the viewing direction of the user, in case that the value of the flag is 1 which indicates that the positions of the cues of the timed text are relative to the viewport and which indicates that the timed text is always present on a screen, wherein, in case that the value of the flag is 0, the method further comprises; creating the sphere; setting up virtual reality, VR, scene geometry based on the sphere; placing rendering camera in the center of the sphere; fetching corresponding information about depth d, direction (u, v), and two-dimensions of the region; creating a three-dimensional plane with normal vector calculated out of the depth d and the direction (u, v); and rendering the cues of the timed text on the three-dimensional plane and corresponding two-dimensional rectangle with a center at the normal vector, wherein, in case that the value of the flag is 1, the method further comprises: reading information of a rectangular region and a disparity for each cue at each time interval; and after rendering the omnidirectional video, rendering: the timed text in a left half of the rectangular region based on the disparity for the left half of the screen, and the timed text in a right half of the rectangular region based on the disparity for the right half of the screen. obtaining a flag which specifies how cues of the timed text are to be rendered, cues of the timed text being regions within the video that display the timed text; identifying whether positions of cues of the timed text are not relative to a viewport being only visible when a user looks in a specific direction or relative to the viewport, being always visible irrespective of a viewing direction of the user, based on a value of the flag; rendering the timed text on a certain region in a sphere, in case that the value of the flag is 0 which indicates that the positions of the cues of the timed text are not relative to the viewport; and rendering the timed text in a region on a current viewport that is always visible irrespective of the viewing direction of the user, in case that the value of the flag is 1 which indicates that the positions of the cues of the timed text are relative to the viewport and which indicates that the timed text is always present on a screen, wherein, in case that the value of the flag is 0, the method further comprises; creating the sphere; setting up virtual reality, VR, scene geometry based on the sphere; placing rendering camera in the center of the sphere; fetching corresponding information about depth d, direction (u, v), and two-dimensions of the region; creating a three-dimensional plane with normal vector calculated out of the depth d and the direction (u, v); and rendering the cues of the timed text on the three-dimensional plane and corresponding two-dimensional rectangle with a center at the normal vector, creating the sphere; setting up virtual reality, VR, scene geometry based on the sphere; placing rendering camera in the center of the sphere; fetching corresponding information about depth d, direction (u, v), and two-dimensions of the region; creating a three-dimensional plane with normal vector calculated out of the depth d and the direction (u, v); and rendering the cues of the timed text on the three-dimensional plane and corresponding two-dimensional rectangle with a center at the normal vector, wherein, in case that the value of the flag is 1, the method further comprises: reading information of a rectangular region and a disparity for each cue at each time interval; and after rendering the omnidirectional video, rendering: the timed text in a left half of the rectangular region based on the disparity for the left half of the screen, and the timed text in a right half of the rectangular region based on the disparity for the right half of the screen. reading information of a rectangular region and a disparity for each cue at each time interval; and after rendering the omnidirectional video, rendering: the timed text in a left half of the rectangular region based on the disparity for the left half of the screen, and the timed text in a right half of the rectangular region based on the disparity for the right half of the screen. the timed text in a left half of the rectangular region based on the disparity for the left half of the screen, and the timed text in a right half of the rectangular region based on the disparity for the right half of the screen.