oaubert / python-vlc

Python vlc bindings
GNU Lesser General Public License v2.1
381 stars 108 forks source link

Can I stream mp4 from a stream of bytes? #228

Closed thoithoi58 closed 1 year ago

thoithoi58 commented 1 year ago

Hi,

I have a project which reverse engineer to send a request to a server, then the server response back a mp4 file chunk by chunk (in bytes format, and different size of course). So I want to open a VLC instance and pass the chunk to that instance so I can watch it in real time rather than save it to local disk and playback later.

Can I do this using this library, thanks in advance!

oaubert commented 1 year ago

Yes, it can be done. The #227 bug should help you for this.