Jump to content

Position in Video anspringen


JackMcRip

Recommended Posts

Hi,

 

great: the connection to COM :-)

I have made a connection from my Visual Basic 6 program to DVBViewer :

 

Dim DVB_Viewer As IDVBViewer
Dim DVB_osd As IDVBOSD

Private Sub Command1_Click()
DVB_Viewer.Stop
End Sub

Private Sub Form_Load()
Set DVB_Viewer = GetObject(, "DVBViewerServer.DVBViewer")
Set DVB_osd = DVB_Viewer.OSD
DVB_osd.ShowInfoinTVPic "VB6 ist angemeldet", 3000
End Sub

Private Sub Timer1_Timer()
Label1.Caption = DVB_osd.IsPlaying
End Sub

 

This can stop a played file.

At start the program it shown a hint in the DVBViewer, that vb6 is connected to DVBViewer.

And with a timer always ask and shown in the Label, the file is playing or not.

(this script is for surching people)

 

 

How can I change/set the position of the playing file ?

Can I jump to a define time in the timeline ?

Edited by JackMcRip
Link to comment

Now I am found the DVB-Spy.

Great to see what values all I can read :-)

Label1.Caption = DVB_Viewer.propGetValue("#currentplaytime")

 

This show me the current play time position in the vb app.

But how can I set it ?

 

DVB_Viewer.propSetValue ("#TV.Timeshift.position", "00:00:05")

Not Work !

:-(

 

Any Idea ?

Link to comment
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...