How to make a playable DVD iso from a VIDEO_TS folder? I used to have a script that converts a VIDEO_TS folder into an ISO that plays ok in VLC but it's gone.

Anyway, this command gets me most of the way there:

hdiutil makehybrid -udf -udf-volume-name $folder -o $fullpath.iso $fullpath


Except that when I tried it on one DVD, it skips the menu selection. Is this likely a problem with the one DVD I tried or do I need a different tool / different options to get the menu to render properly?
just tried this on several VIDEO_TS and works perfectly.

hdiutil makehybrid -iso -joliet -udf -udf-volume-name $folder -o $fullpath.iso $fullpath


ps. I've never found out how to make ISOs out of VIDEO_TS using handbrake. I don't think this is possible.