I am trying to use python libVLC bindings to play files after they are read into memory. I have the following code that reads a valid video file in memory. I need to play the video directly from memory now.
import vlc File1 = open('vid.webm','rb') Axel = File1.read()
Now I need to play the contents in Axel, how can I do this.
Information on how to do this in C, Java, etc. can also help.
Edit: It is clear that I will need to use the imem module, but I cannot find any help regarding its implementation.
source share