mencoder mymovie.mov -o mymovie.mpg -noskip -mc 0.5 -of mpeg -ofps 30 -ovc lavc -oac lavc -lavcopts vcodec=mpeg2video -mpegopts tsaf
The one that bugged me for a bit was the -ofps, for frames per second. At first I gave it a value of 100, thinking it would improve the quality, but that caused the video to be out of sync with the audio. I then watched the fps rate of the original .mov and noticed it was at 30, used that, and voila', it worked.
Another thing I am doing, for the same DVD, is making a slide show from a set of jpegs. I wanted to be able to go back and forth between each slide, using the DVD's remote control. The way I am working that out is to create a menu for each jpeg, and add the jpeg as that menu's background.
I then add a back and forward button that takes the user to the previous or next slide. I haven't yet figured out how to make it so I don't have to hit the remote control arrow, and then hit enter. I'd like to just hit the arrow and it would automatically rewind/advance.
Because the slide show is around 50 images, I don't want to manually add each button. Since I'm using DVDStyler, I modified the project's .xml file directly through a program. Makes it a lot faster.
Yet another thing I want to do on that DVD is take that same set of JPGs and make a movie out of them, with audio. mencoder's man page mentions this command to create an avi from a set of jpeg's:
mencoder "mf://*.jpg" -mp fps=25 -o output.avi -ovc lavc -lavcopts vcodec=mpeg4
That's fine, but I would need different times at each slide. So I'm still looking for how to do that. Let me know if you know a way.