Marquee and ActiveX

About encoding, codec settings, muxers and filter usage
Aeroplane_Girl
New Cone
New Cone
Posts: 2
Joined: 28 Aug 2006 00:54
Location: Belgrade

Marquee and ActiveX

Postby Aeroplane_Girl » 28 Aug 2006 01:06

Hello,

I have searched different forums for days and I still have not solved my problem.

I have tried to write an VB6 application using VLC ActiveX control. The goal is to get streamed output from a web camera, which was not problem. But, I also need marquee display. I found that, using ActiveX control, it is only possible to enable or disable marquee subfilter. But what I need is to change marquee display from my application, and not manualy, using VLC\Setting\Preferences or from command line.

I suppose it requires some interventions by developers. Could anyone help me?

Tetrasoft
New Cone
New Cone
Posts: 2
Joined: 09 Sep 2006 18:16

Streaming

Postby Tetrasoft » 09 Sep 2006 18:19

How are you streaming it from VB? :?

Aeroplane_Girl
New Cone
New Cone
Posts: 2
Joined: 28 Aug 2006 00:54
Location: Belgrade

Postby Aeroplane_Girl » 17 Sep 2006 21:51

I'm streaming it like this:

Dim Vopt(0 To 14) As String

Vopt(0) = ":dshow-vdev=""""" 'Enter the name of your video device
Vopt(0) = ":dshow-adev=""""" 'Enter the name of your audio device
Vopt(1) = ":dshow-size=""640x480"""
Vopt(2) = ":dshow-caching=200"
Vopt(3) = ":dshow-chroma="""""
Vopt(4) = ":dshow-fps=0.000000"
Vopt(5) = ":no-dshow-config"
Vopt(6) = ":no-dshow-tuner"
Vopt(7) = ":dshow-tuner-channel=0"
Vopt(8) = ":dshow-tuner-country=0"
Vopt(9) = ":dshow-tuner-input=0"
Vopt(10) = ":dshow-video-input=-1"
Vopt(11) = ":dshow-audio-input=-1"
Vopt(12) = ":dshow-video-output=-1"
Vopt(13) = ":dshow-audio-output=-1"
Vopt(14) = ":sout=#transcode{vcodec=mp4v,vb=1024,scale=1,acodec=mp4a,ab=192,channels=2:duplicate{dst=display,dst=std{access=file,mux=mp4,dst=""D:\Programming\Mica.mp4""}}"

Call VLCPlugin1.addTarget("dshow://", Vopt, VLCPlayListInsert, 0)


As you can see, I'm sending the array of strings to addTarget method of VLCPlayer ActiveX control, and it works :D


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 34 guests