The police will impartially review the footage which you submit and deal appropriately with all offences which may be disclosed. For example, if you were exceeding the speed limit in order to catch up with an offending driver and then proceeded to film them with your mobile phone whilst driving, the police would consider taking proceedings against you. There is no legal exemption allowing you to commit a driving offence in order to record evidence of offending by another driver.