Visualstudio c# - vlc.DotNet.Forms - --vout=NDI not working

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
LandOnFIre
New Cone
New Cone
Posts: 1
Joined: 01 Aug 2024 15:09

Visualstudio c# - vlc.DotNet.Forms - --vout=NDI not working

Postby LandOnFIre » 01 Aug 2024 15:39

Hello,
i try to make a remote video player thats outputting over NDI.
Tee NDI plugin is already installed and working (with the regular VLC)

On my program, the audio goes over NDI, but the video is played in my form (and the "NDI screen" is blank).
I also tryed to write my programm whitout the video windows. nothing changed, still no video output on NDI.

Thank you for your help!

(Sorry for my bad english)


Here mi code snipped (Visual studio 2022 c#)

Code: Select all

using Vlc.DotNet.Forms; namespace VLC_remote { public partial class Form1 : Form { VlcControl My_MP; public Form1() { InitializeComponent(); My_MP = new VlcControl(); ((System.ComponentModel.ISupportInitialize)(My_MP)).BeginInit(); My_MP.VlcLibDirectory = new DirectoryInfo(@"C:\Program Files\VideoLAN\VLC"); My_MP.VlcMediaplayerOptions = new string[] { "--vout=NDI", "--aout=NDI"}; ((System.ComponentModel.ISupportInitialize)(My_MP)).EndInit(); } private void button1_Click(object sender, EventArgs e) //GET { My_MP.Play(new Uri(textBox1.Text)); //"https://www.learningcontainer.com/wp-content/uploads/2020/05/sample-mp4-file.mp4" } private void button2_Click(object sender, EventArgs e) //Toggle pause { My_MP.Pause(); } private void button3_Click(object sender, EventArgs e) // stop { My_MP.Stop(); } } }

Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 70 guests