A trail bike rider leapt off a rail line at the last second to avoid being killed by a high-speed train in Victoria.
Video of the January incident, recorded from the driver's cabin and released on Wednesday, shows the rider pushing his bike along tracks in Ballan as the train approaches at 160km/h.
V/Line driver Colin Sharp sounded his horn and applied the emergency brake, giving the rider milliseconds to leap out of the way and off the small bridge.
The train was still travelling at 147km/h as it passed the rider and crushed the bike he had abandoned on the tracks.
"He would have almost scraped his boots on the side of my train as it went past him, it was that close," Mr Sharp told 3AW on Wednesday.
"I really honestly thought I had (hit) him and, thank god, I didn't."
V/Line chief executive James Pinder said the incident at Bostock Reservoir on January 28 underlined the danger of trespassing on railway property.
"Trains approaching at high speed are quieter than expected - and it can take nearly a kilometre for a train to stop once the driver applies the brakes," he said in a statement.