axvlcplugin2 in visual studio 2005

About encoding, codec settings, muxers and filter usage
akdsy
New Cone
New Cone
Posts: 1
Joined: 27 Aug 2008 16:00

axvlcplugin2 in visual studio 2005

Postby akdsy » 27 Aug 2008 16:41

hello,

I use VLC SDK to implement a player,

the VLC version is 0.9.0 & the working platfrom is Visual Studio 2005 & activeX

I want to clear & stop the vlc playlist & used it again,

but I got some problem.

the code is in the following...

Code: Select all

.... //the code in the following is used to stop & clear Object^ option= :sout=#transcode{vcodec=mp4v,vb=3072,deinterlace}:duplicate{dst=rtp{dst=233.0.0.11,port=10000,sdp=rtsp://xxx.xxx.xxx.xxx:8000/test.sdp}}; axVLCPlugin22->playlist->add("rtsp://xxx.xxx.xxx.xxx:8000/test.sdp", "" ,option); axVLCPlugin22->playlist->stop(); //but I can't really stop the vlc process axVLCPlugin22->playlist->clear(); .....
when I want to reuse the playlist to play another film,

but the playlist still play the same film,

I have tried the version 0.8.6 and it worked very well

but the functions of version 0.8.6 are not enough to support me to implement the player

thanks for your help~~~

Billybobbonnet
New Cone
New Cone
Posts: 3
Joined: 10 Mar 2009 12:03

Re: axvlcplugin2 in visual studio 2005

Postby Billybobbonnet » 21 Apr 2009 11:36

up!

Same thing for me in a vb .net project (VS2008) using AxVLCPlugin2.

I use the following code to start a media (possibly when another one is playing. The result is that the same video is played:

Code: Select all

If player.playlist.isPlaying = True Then player.playlist.stop() End If player.playlist.clear() player.playlist.add(fichiers(id).Nom) player.playlist.play()
Thanks for helping with it.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: Bing [Bot] and 11 guests