How to burn a movie


This is actually 2 questions. First of all does anyone know how to burn an avi movie onto a dvd using macosx. Second Does anyone know a program that you can use to burn a dvd onto your hardrive because the code on the dvd wont let me download so if you know a program that will please post it thanks