How to stream a file using the libvlc.dll in a VC project?

About encoding, codec settings, muxers and filter usage
llzzyynjupt
Blank Cone
Blank Cone
Posts: 31
Joined: 26 Jul 2005 10:45

How to stream a file using the libvlc.dll in a VC project?

Postby llzzyynjupt » 05 Jan 2008 11:50

There is an emample about how to use the libvlc.dll to stream a webcam to another machine in a visual c++ project:
http://wiki.videolan.org/LibVLC_Visual_C

This is part of the source code.

char ** commands = new char*[6];
commands[0] = "testvlcconsole.exe"; //your application name
commands[1] = "dshow://";
commands[2] = ":dshow-vdev=Logitech QuickCam Pro 3000 (08B0)";
commands[3] = ":dshow-adev=";
commands[4] = ":dshow-size=176x144";
commands[5] = ":sout=#transcode{vcodec=h264,vb=1024,scale=1}:duplicate{dst=rtp{mux=ts,dst=192.168.0.155,port=1234}}";


But I want to stream a file to another machine using the libvlc.dll in a visual c++ project.

Would you please tell me how to change the source code?

Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 5 guests