In most countries, including in Europe, the H.264 patents have already expired. There you can use H.264 freely.
Some patents remain valid in USA, Brazil and a few other countries.