VLC ActiveX UDP/RTP configuration

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.
Colateral
New Cone
New Cone
Posts: 1
Joined: 29 Jan 2008 13:47

VLC ActiveX UDP/RTP configuration

Postby Colateral » 29 Jan 2008 14:21

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

chrisroseuk
New Cone
New Cone
Posts: 3
Joined: 14 Apr 2008 12:37

Re: VLC ActiveX UDP/RTP configuration

Postby chrisroseuk » 14 Apr 2008 12:46

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

chrisroseuk
New Cone
New Cone
Posts: 3
Joined: 14 Apr 2008 12:37

Re: VLC ActiveX UDP/RTP configuration

Postby chrisroseuk » 23 Apr 2008 12:06

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

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: VLC ActiveX UDP/RTP configuration

Postby thannoy » 24 Apr 2008 00:39

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


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 27 guests