If you want play videos on a headless Raspberry Pi OS, you cannot pause or control the video. Following will let you control the vlc player:

vlc -I ncurses <filename>

Credits:
https://www.raspberrypi.org/forums/viewtopic.php?t=257395
https://wiki.videolan.org/Documentation:Modules/ncurses/