forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Need Custom dll for VDS5

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
nickos
Valued Newbie


Joined: 17 Mar 2007
Posts: 26

PostPosted: Sat Jan 10, 2009 10:10 am    Post subject: Need Custom dll for VDS5 Reply with quote

Hi All

I use my VDS as a Karaoke media player
At moment I use VDSMEDIA. Since it based on WMP 6, I can't achieve many feature needed for my Karaoke Media Player:

- Overlay text & image on video
- Supported format avi, mpg, mid,wav.
- Audio Channel copy left right (mono left or mono right)
- Volume and audio pitch control
- Play multimedia streaming such a mms://

At the net, I found many ActiveX media player have these capabilities.

If someone can help just PM/message me "hpfive@gmail.com"

many thanks
Back to top
View user's profile Send private message Send e-mail
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Sun Jan 11, 2009 12:39 am    Post subject: Reply with quote

If you have found activex components that work, you might want to try and see if you can utilize them using GadgetX.

You can check it out at www.dragonsphere.net

I believe that there is already an embedded "Windows Media Player" example.
Back to top
View user's profile Send private message Send e-mail
nickos
Valued Newbie


Joined: 17 Mar 2007
Posts: 26

PostPosted: Sun Jan 18, 2009 11:35 am    Post subject: Reply with quote

Hello Aslan, thanks for reply

I have tried GadgetX and it’s too hard for me to understand such coding.
Need a simple command and function syntax like VDSMEDIA. But The Author already stops this project.

VLC activex media player most likely have capabilities, and it's free.
http://www.videolan.org

Can you or someone in this forum make the Dll's for VLC?
I believe it isn't free, and the $ as my thankfully. Smile
Back to top
View user's profile Send private message Send e-mail
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Mon Jan 19, 2009 4:34 pm    Post subject: Reply with quote

Nickos,
I know there is a learning curve to GadgetX and that is why upon purchase of the DLL I provide coding support to help you learn and achieve your project's goal. I have looked at the VLC player and it looks like something I can add a demo for. I will work on a VDS unit that will wrap the properties and methods for this ActiveX control. I have been looking for a control like this for some time now to offset the need for Windows Media Player since many people do not like requiring the user to install Windows Media Player along with their software. Also I have built a wrapper unit using GadgetX and the Bass.dll however the Bass.dll does not play video and I have been looking for an alternative like the one you presented here. Let me work on this and get back with you but it seems easy enough to wrap up for you. Oh I almost forgot I do have a ActiveX demo to embed a Flash video player if that is of interest to you. Note however your videos would need to be in flv format to use the flash player. Personally I like your solution better since it seems like a simple install and the player is automated which will make it easy for me to wrap into a unit. Wink

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
nickos
Valued Newbie


Joined: 17 Mar 2007
Posts: 26

PostPosted: Tue Jan 20, 2009 5:32 pm    Post subject: Reply with quote

Thanks drago, I'll wait for the demo. Very Happy
Back to top
View user's profile Send private message Send e-mail
nickos
Valued Newbie


Joined: 17 Mar 2007
Posts: 26

PostPosted: Tue Feb 24, 2009 3:03 pm    Post subject: Reply with quote

Any improvement?
Back to top
View user's profile Send private message Send e-mail
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Tue Feb 24, 2009 9:45 pm    Post subject: Reply with quote

Here ya go nikos. Sorry for the long wait been a bit busy over here.

Code:

#
#  WARNING you must download and install a copy of the VideoLAN VLC control
# to use this example.
# here is a URL to the VLC media player http://www.videolan.org/vlc/
#

Title VLC ActiveX Example
If @Greater(@Name(@SYSINFO(DSVER)),4)
  External GadgetX.dll,@SysInfo(DSVER)
  # GadgetX Commands
  #DEFINE COMMAND,GadgetX,DEFINE,OLE,Set
  # GadgetX Functions
  #DEFINE FUNCTION,GadgetX,OLE,Get
Else
  Warn This Example uses VDS 5 or above syntax.
  Stop
End
# Below is an example for VideoLAN VLC ActiveX Plugin that show how
# to create the VLC ActiveX object and place it on a VDS Dialog

# The following line is required
Ole Init
# The following line is optional
# it is here for debugging your script
Ole Exceptions,SHOW

  # Example using the VideoLAN VLC ActiveX Plugin
  %%classname = #vlcExample
  DIALOG CREATE,VLC Example,-1,0,800,600,CLASS vlcExample
REM *** Modified by Dialog Designer on 2/24/2009 - 16:17 ***
    #
    # place the VLC activex control on our dialog
    #DIALOG ADD,TEXT,TEXT1,19,26,754,519
    GadgetX Add,Ole,vlc,%%classname,19,26,754,519,VideoLAN.VLCPlugin.2,NULL
      #
      #
      
      # Add the rest of the controls on the dialog
    DIALOG ADD,BUTTON,BUTTON1,551,140,64,24,Play/Pause
    DIALOG ADD,BUTTON,BUTTON2,551,380,64,24,Stop
    DIALOG ADD,BUTTON,BUTTON3,551,595,64,24,Quit
    DIALOG ADD,BUTTON,BUTTON4,551,263,64,24,Mute      
    DIALOG ADD,STATUS,STATUS1,
  DIALOG SHOW

  # Add an item to the VLC playlist.  You can add file paths or URLs
   Ole Call,vlc,"Playlist.add(^B)",Y:\My Downloads\Apps\Graphics\Videos\merry_melodies_falling_hare.flv

:evloop
  Repeat
    wait event,0.3
    %E = @event()
    If %E
      GoSub %E
    End
  Until @Equal(%E,CLOSE)
Exit

:TIMER
#  If @Ole(Get,vlc,^b,"Playlist.IsPlaying")
#     %%len = @Ole(Get,vlc,^G,"input.length")
#      
#      %%current = @Ole(Get,vlc,^G,"input.time")
#      %%Timeleft = @fdiv(@diff(%%len,%%current),1000)
#      If @Greater(%%Timeleft,60)
#        %%Timeleft = @fdiv(%%Timeleft,60)
#         %%Timeleft = @fround(%%Timeleft,2)
#      End
#    Dialog Set,Status1,Time left: %%Timeleft
#  End
Exit

:BUTTON1BUTTON
  # Toggle play or pause
  If @Ole(Get,vlc,^b,"Playlist.IsPlaying")
     Ole Call,vlc,"Playlist.togglePause"
   Else
    Ole Call,vlc,"Playlist.Play"
  End
Exit

:BUTTON2BUTTON
  # Stop the current playing media stream
  Ole Call,vlc,"Playlist.Stop"
Exit

:BUTTON4BUTTON
  # mute the audio
  Ole Call,vlc,"Audio.toggleMute"
Exit

:BUTTON3BUTTON
:CLOSE
  # The lines below are required to be called
  # before your script exits
  If @Get(vlc)
     # clear the current playlist this is only optional since GadgetX removes
      # the object from memory and does not save the current state of the object
      Ole Call,vlc,"playlist.items.clear"
      
    # Remove the object from the Dialog
    Ole Remove,vlc,%%classname
    # Free the Object variable
    Ole Free,Object,vlc
  End
  # Close the dialogs for this example
  DIALOG SELECT,1
  DIALOG CLOSE
  DIALOG SELECT,0
  DIALOG CLOSE
  # The following line is optional
  # it is here for debugging your script
  # Ole Exceptions,HIDE
  # The following line is required to be
  # the very last executed line in your script
  Ole UnInit
Exit

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
DaveR
Valued Contributor
Valued Contributor


Joined: 03 Sep 2005
Posts: 413
Location: Australia

PostPosted: Wed Feb 25, 2009 9:01 am    Post subject: Reply with quote

Nice! VLC is one of the 3 or 4 media player applications that can play 'mpeg2 transport-stream' files (like digital tv recordings) without first converting them to 'mpeg2 program-stream'.

Looks like I might finally get some use out of my gadgetx license. Cool

_________________
cheers

Dave
Back to top
View user's profile Send private message
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Wed Feb 25, 2009 4:15 pm    Post subject: Reply with quote

Well just let me know if you need any help. As always you can post at my forum.
_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
nickos
Valued Newbie


Joined: 17 Mar 2007
Posts: 26

PostPosted: Fri Feb 27, 2009 12:52 pm    Post subject: Reply with quote

Sad Got error at line 34
error: invalid class string
code: $800401F3

I have instaled VLC 0.98a with default installation
Back to top
View user's profile Send private message Send e-mail
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Fri Feb 27, 2009 3:57 pm    Post subject: Reply with quote

Nickos,
The install did not register the ActiveX control for VLC. Make sure the install has the axvlc.dll and run this command in your run box regsvr32.exe /i C:\Program Files\VideoLAN\VLC\axvlc.dll making sure that the paths match.

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
nickos
Valued Newbie


Joined: 17 Mar 2007
Posts: 26

PostPosted: Thu May 07, 2009 3:03 pm    Post subject: Reply with quote

Hi Drago
I'm so sorry being too bussy lately.

The demo is work fine. And if you sure this player have all capabilities as I mentioned
egg:
Overlay text & image on video
audio mono left & right

Now Let's talk about the cost.
Please PM me or at hpfive@gmail.com
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group