Footage of a cyclist who came within inches of being hit by a train has been released as a railway safety warning.

The incident, which took place at Ducketts crossing near Pudsey, Leeds, saw a cyclist ignoring warning lights and narrowly avoiding a passing train.

Over the past year and a half, 18 similar incidents have been recorded at the same crossing.

Network Rail said ignoring railway safety procedures can have "life-changing consequences".