Sorry if this is in the wrong area but I'm a pascal programmer (FreePascal/Lazarus) and would like to control VLC via command line and stream video to a custom window by passing its window handle to vlc. Is this possible? Or is there a better way to do this?