I would like to store a short h264 video in RAM and play it using the python vlc bindings. I am pulling the frames of this video through a python script and storing them in a python data structure (a deque). However, I don't know how to use vlc.py in order to play a video when all I have is a data structure with individual frames. I know how to play it from a stream like this:
Code: Select all
player=vlc.MediaPlayer('rtsp://username:pass@111.111.1.111:111/axis-media/media.amp')
player.play()
Thank you!