I have this python script and this works fine: http://picamera.readthedocs.org/en/release-1.1/recipes1.html#capturing-to-a-network-stream
I would like to connect to this with VLC or Windows Media player. Anyone can help me to modify the script for this?
First install the python-vlc module using this command:
pip install python-vlc
Code:
import vlc
playlist = ['Path to your file']
player = vlc.MediaPlayer(playlist)
player.play()
Hope this will help you. Cheers!!!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.