I suspect there are some undocumented bugs with parsing the command line in vlc, which is a huge shame. Its an absoultely brilliant video player and transcoder, but without being simple (and consistent) to program, it demonstrates a weakness. Maybe I can offer some assistance in this area some time ...