Gym trainer T Siva ignored warnings from a person nearby and the train driver while filming near Borabanda railway station on 21 January.
Mr Siva survived but has suffered head injuries, according to South Central Railways Police.
He has appeared in court and been fined 500 rupees ($7.87, £5.50).
The 21-second-long video was shared thousands of times on Facebook on Wednesday. In it, Mr Siva is seen standing in the foreground as an MMTS train approaches.