Jump to content

seek to specific position using com


Recommended Posts

Is there some way to seek to a specific time position (when playing a recorded file, obviously) using COM? I did tested and can read current position from DVBViewer.DataManager.Value['#currentplaytime'] however I did tried to set it to a specific time and nothing happens, is there any (other) way to do it?

Thanks in advance.

Link to comment

You can use datamanager only for reading some status information and for storing custom values. Setting a variable doesn't trigger any action in DVBViewer.

 

I can't remember a COM method which allows you to seek to a specific position in a media file.

Link to comment

Thank you for your reply.

 

I did looked and even tried IPlayListManager.Play(TitleNr: Integer; Position: Double); with TitleNr set to 0, 1, -1 but no go on a single file playing :( why PlayFile() function doesn't also have a position parameter? :) Now seeing maybe I will try to temporarily create a playlist with just one file and try using Play() then...

 

If anyone else haves some (better) idea please... also some way using a plugin would work, but I did also checked plugin sdk and can't find a way to do it either :( unless maybe possible using GetGraph and dealing with IGraphBuilder? But that seems out of the sdk and I have no good knowledge about directshow things.

Link to comment

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...