In general copyright violation as part of trade is what gets police and criminal courts involved, but that doesn't mean copyright violation for personal use is legal.
"Format shifting" tends to be not legal but ignored by everyone. In the UK for at shifting is changing status from not legal to legal. "Time shifting" was written i to law as being allowed because otherwise VCRs would have been ridiculous.