A man has been hit by a train after trying to capture the perfect selfie while stood by tracks.

Sickening footage shows the man position himself for a picture with the speeding train, but as it gets closer it becomes clear he has made a terrible mistake.

The man, who has been identified by local media in Hyderabad India only as Shiva, was rushed to hospital after being smashed by the train.

In the video clip that emerged online on Wednesday, he smiles into his smartphone camera and keeps his right arm pointed at the approaching engine.

Someone is heard shouting 'wait wait' but it is too late (
Image:
Liveleak)

Someone is heard warning him but he appears to say, "wait wait", determined to achieve his dramatic shot.

The train's whistle gets louder and those watching the video can sense the danger hurtling towards him, but Shiva is oblivious and grins wider.

Suddenly, he is hit and the image goes blank after a loud sound.

The audio, still on, catches the commotion as people realise what happened and rush towards the wounded man.

(
Image:
Liveleak)

India has the most number of deaths because of reckless selfie-taking; between March 2014 and September 2016, 60 per cent of all "selfie deaths" took place in the country, NDTV reports.

Posing with a train is a popular stunt that has often ended in tragedy.

Last year, a teenager was electrocuted while taking a selfie on top of a train. In May, two men were crushed by a train - one died and another lost his arm