Jump to content

How Get Time Information


Recommended Posts

Hi

 

I want write new plugin to support external (.txt, .srt ....) subtitles display in DVBViewer, and i need recieve current time information (like Navigation Bar). I try get this value with COM but only get hours and minuters not seconds. Its possible to get more detailed current time (progress) information??

Link to comment
Hi

 

I want write new plugin to support external (.txt, .srt ....) subtitles display in DVBViewer, and i need recieve current time information (like Navigation Bar). I try get this value with COM but only get hours and minuters not seconds. Its possible to get more detailed current time (progress) information??

 

You can get this functionality with vobsub. It works at DirectShow filter level, and so it works fine with DVBViewer (I can confirm it). Its available through many download sites, stand alone or as a part of codec packs. try googling "vobsub" or "directvobsub"

Link to comment

What do you want to do? In a DVBViewer plugin you can access the DVBViewer's filtergraph (the IGraphBuilder interface), or the relevant transport stream(s) with PCR and PTS.

Link to comment
Its works also for DVBLive streaming??? If its possible where i must put the subtitle file?

 

I've only test it with regular video files. If there's only two files in the drive (video and subtitles), the subtitles are shown, regardless of the file name. If there are many files, the subtitles name must be the same as the video file.

Link to comment
What do you want to do? In a DVBViewer plugin you can access the DVBViewer's filtergraph (the IGraphBuilder interface), or the relevant transport stream(s) with PCR and PTS.

 

 

I want write plugin to display external subtitles for live television. I already write plugin and now its synchronize subtitle with movie by system time only, and i want get time from DVBViewer to synchronize it with live tv program time. I hope so its possible.

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