P-plater crashed while filming himself behind the wheel at more than 170kmh while drunk, court hears