That needs to be done using a video editor like VLC. Go to Tools > Preferences [CTRL + P]. Under Show settings, select the option that says All to switch to the advanced preferences. Navigate to Input/Codecs > Subtitle codecs > Subtitles. Under Text subtitle decoder set, the Subtitle justification to left, right or center.