you'll find alot of info on this site already about this.
but you wanna use mac the ripper in conjunction with either Handbrake or VisualHub. For files already on your machine, if not in an aTV ready format you can convert basically anything with VisualHub