Page 1 of 1

VLC ActiveX UDP/RTP configuration

Posted: 29 Jan 2008 14:21
by Colateral
Hello to everybody,

I use the VLC ActiveX to play a multicast RTP stream.
We found that the transmission is not qualitative … the video streaming reception/play is not good (buffering/freeze and play after on).

I want to configure the UDP/RTP caching and RTP reordering values using the ActiveX interface.

Did anybody knows if this is possible and how to do it?

Thank you,
Cristine

Re: VLC ActiveX UDP/RTP configuration

Posted: 14 Apr 2008 12:46
by chrisroseuk
I use the VLC ActiveX to play a multicast RTP stream
Hi,

I am currently working on creating a "picture in picture" display using multiple instances of the activex control. I have this working with the use of a locally stored demo file but need it working with multicast streams.

this line of code is what i am using to set up the control to use the local file (C# .NET 2.0 framework)
"axVLCPlugin1.addTarget("C:\\Documents and Settings\\echrros\\Desktop\\liquid\\LiquidVideo\\bin\\media\\fish.mpg",null, AXVLC.VLCPlaylistMode.VLCPlayListReplace, -666);"

can you provide me with a code snippet to play a multicast stream? I am using WinSend on the local machine to multicast an mpeg2 stream?

do I need to use the "sout" option?

Thanks,
Chris

Re: VLC ActiveX UDP/RTP configuration

Posted: 23 Apr 2008 12:06
by chrisroseuk
Can anyone help here?

I am using the following code to play a multicast stream from WinSend:
axVLCPlugin1.addTarget("udp:@224.10.10.11:1234",new string[] {":fullscreen"}, AXVLC.VLCPlaylistMode.VLCPlayListReplace, -666);
The problem is, I am getting a blank black picture in the vlc video area. The VLC "Cone" icon is disappearing as though it is trying to play the video, but no video.

If I change the multicast address in the above code to a false one - the cone doesn't disappear. It must be doing something but can't play the video file.

Also, I have tested the exact same video file i am streaming through WinSend in the VLC plugin directly and this works - so there can't be a problem with the encoding can there?


Thanks,
Chris

Re: VLC ActiveX UDP/RTP configuration

Posted: 24 Apr 2008 00:39
by thannoy
Hi,

Colateral: to modify udp caching, you could load a movie like this (maybe with a ':' before udp-caching):

Code: Select all

<yourvlcObject>.playlist.add("url", null, "udp-caching=60")
For other options I don't know.

chrisroseuk: I think it is better to use "udp://@224.10.10.11:1234" (not sure but think I have read that future VLC 0.9.0 will require the double slash). As well, addTarget is deprecated. This sound better (from deprecation point of view):

Code: Select all

axVLCPlugin2.playlist.clear() axVLCPlugin2.playlist.add("udp://@224.10.10.11:1234", "foo playlist item name", ":fullscreen")
Also, maybe you should have created a dedicated topic for your problem since yours is different from Colateral's (note for your future topics).


regards