Often (in American English) both phrases are used interchangeably, but in some contexts the second sentence, "Can you..." is used to determine a person's capability, rather than their willingness to do something.
A person in a loud bar might shout, "Can you hear me?"
Additionally, in some contexts "Would you..." is used to determine a person's willingness to do something without any expectation that the person will view the inquiry as a request. "Would you rather fight 100 duck sized horses, or 1 horse sized duck?"
In both of my examples, substitution would sound odd to a native American English speaker. Saying "Would you hear me?" or "Can you rather...?" will likely result in a confused look from your conversation partner.