im trying to make a overlay/pngtuber/bot/manager for my stream on twitch, i want so people can request music from youtube to play on stream, i got to get the youtube url with my premium account, but when i pass to vlc to stream to obs only the audio shows up on obs, not the video. this is the python code, the vlc is starting headless youtube = YoutubeRelay('resources/cookies.txt') url = youtube.get_video_stream('https://www.youtube.com/watch?v=lTLLtnJPXIY') instance = vlc.Instance() player = instance.media_player_new() url_out = ":sout=#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:http{mux=ts,dst=:1234/test}" media = instance.media_new(url,url_out,':sout-keep') player.set_media(media) player.play() Obs Media Player config also the audio takes a long time to load and open, a few seconds to start playing and obs take like 2 seconds after the video started to start playing the audio, so i miss like 2 seconds of the video Continue reading...