Is it possible to send a command from one Raspberry Pi, to another, and open up a video file with VLC, using Python?

This is my idea that involves this:

Raspberry Pi 1, has a web server on, where user can select what movie they would like to watch - This is using Python and web.py -> Command is sent to Raspberry Pi 2 -> Plays movie through VLC.

I know to use Paramiko to use SSH between the 2 RPi's, but what command can I use to open up a video file with VLC?

1 Answer 1


It is unclear from your question exactly what you are asking. Why involve 2 Pis?

IN any event VLC will be very slow - try the command line viewer omxplayer which uses the GPU, and is included in Rabpbian.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.