I want to stream a file over the network with python-vlc. How can I do that ?
I tried this :
import vlc
arg = ":sout=#http{mux=ffmpeg{mux=flv},dst=:8080/} :no-sout-all :sout-keep"
inst = vlc.Instance(arg)
media = inst.media_new("rtsp://192.168.0.50:554/onvif1")
player = media.player_new_from_media()
player.play()
input()
But a window appeared (I don't want a window to appear) and the stream doesn't work.
Can someone help me ? Thanks !
P.S. : I tried to get a rtsp stream with open cv, but that was bugged, and with VLC, no problem. So I want to capture the VLC stream with opencv, instead of the rtsp stream.