YouTube will implement systems to ensure that copyrighted videos aren't posted on the popular video sharing site by September.
The company plans to have video recognition technology in place within weeks that will be as sophisticated as fingerprinting, a judge hearing copyright cases against the company has heard.
The copyright cases brought by Viacom, The Football Association Premier League and Bourne are being heard simultaneously.
The new video recognition technology will allow those holding copyrights to provide a digital fingerprint so that if anyone tries to share a copyrighted video, the system will shut it down.
YouTube believes the new technology goes beyond what the law requires.