Playing AVI files on DVD on my PS3

What’s the proper procedure for this? I’ve googled it and came up with conflicting results. Some saying you just shove them on there, some saying you can’t, some saying you need to convert to MPEG4.
Can anyone shed some light on this?