NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 43 44 45 46 47 … 93 Next »
Extend functionality of "Video Player"

 
  • 0 Vote(s) - 0 Average
Extend functionality of "Video Player"
HydroChronic
Offline

Member

Posts: 106
Threads: 23
Joined: Jan 2007
#1
2007-05-17, 01:51 PM
Hey Guys,

I want to add some additional features to the "Video Player", by which I mean the interface when GB-PVR is playing a recording. The one with the progress bar and stuff. Is there a way to add new functionality to this interface, such as new key events?

I am hoping that there is a provided interface class which I can use, much the same way IMenuTask is used to add the Plugin to GBPVR.

Thanks.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#2
2007-05-17, 05:07 PM
Its not really possible, since this wasnt something I'd ever intended a plugin to do. You can create IMenuTasks that appear above the video, the user will have to activate it by pressing certain keys.
HydroChronic
Offline

Member

Posts: 106
Threads: 23
Joined: Jan 2007
#3
2007-05-17, 06:04 PM
How do I go about creating IMenuTasks above the video? Is there an example you can refer me to?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#4
2007-05-17, 07:33 PM
I dont have an example for you, but you can take any IMenuTask plugin, add it to one of the <VideoPluginX> entries in config.xml, then access it via the activation sequence. For example setting <VideoPlugin4>Weather</VideoPlugin4>, pressing '4' then 'F11' (the go button on Hauppauge remote) will popup the weather plugin above the video.
HydroChronic
Offline

Member

Posts: 106
Threads: 23
Joined: Jan 2007
#5
2007-05-17, 09:13 PM
I think I could use this...

Can the Plugin override GBPVR's hotkeys? Such as Ctrl+F for fastforward being changed to increasing the recording's frame by one, or having the Ctrl+R (Red Button) have a different function than it normally would in the Video Plugin?

This is really the biggest obsticle I'm trying to overcome, since GBPVR already grays marked commercials out of its progress bar. I guess the only other obsticle would then be having GBPVR reload the associated Comskip txt file.

Not sure if you've really been following my plugin at all, but I'm trying to allow users to mark commercials directly from GBPVR. Not to analyze the entire recording, but if Comskip missed a commercial, or cut off some of a show the user can make the change from GBPVR.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#6
2007-05-17, 10:52 PM
Quote:Can the Plugin override GBPVR's hotkeys? Such as Ctrl+F for fastforward being changed to increasing the recording's frame by one, or having the Ctrl+R (Red Button) have a different function than it normally would in the Video Plugin?
Sorry, there just isnt really functionality in GB-PVR for stuff like this. There is no frame stepping etc. The closest GB-PVR can get to a specific point in the movie is about +/- 1 second, and even then video playback control isnt really possible for a plugin.

I understand what you're trying to do, and it sounds useful, but unfortunately I dont know if you'll be able to achieve it .
HydroChronic
Offline

Member

Posts: 106
Threads: 23
Joined: Jan 2007
#7
2007-05-18, 01:53 PM
I see.

As a final question, since this was my last idea for making this work. Is it possible for me to create a Video Plugin replacement (not a fully functional Video Plugin, but rather a Video Player that I tailored to my needs)? I think I understand the concept that GBPVR tells Windows Media Player to draw the video in a certain place and I wonder if I can recreate this in a plugin, which would give me the ability to add my own features?

I know this would be a lot of work for one plugin, but I like to see things through to completion once I start them.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,671
Threads: 767
Joined: Nov 2003
#8
2007-05-18, 04:37 PM
To be honest, I'm not sure. Maybe.

GB-PVR doesnt use WMP as such, but rather the underlying Directshow, which is a lot more low-level than simply telling WMP where to show the video, but your suggestion of using WMP might be doable. I'm fairly sure ubu does something like this with his UbuStream plugin which shows streaming video using the WMP control in his plugin.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Video streaming URL and parameters? cncb 1 1,788 2021-10-22, 06:58 PM
Last Post: sub
  Extras device - using hardware video encoder gdogg371 6 3,214 2021-03-09, 12:18 AM
Last Post: gdogg371
  Loading Local Video Files Syler 25 6,435 2021-03-07, 09:20 PM
Last Post: Syler
  Resuming a video imilne 28 14,430 2016-10-30, 09:27 PM
Last Post: mvallevand
  How to tell when video playback has finished in web client? cncb 6 4,224 2015-09-29, 08:07 PM
Last Post: cncb
  VIdeo playback from plugin mvallevand 5 3,441 2015-08-06, 10:43 PM
Last Post: sub
  Inset Video - Stop mvallevand 2 2,066 2013-08-07, 09:57 PM
Last Post: mvallevand
  Video Library Fanart Transparency tieke 7 3,872 2013-01-09, 08:23 AM
Last Post: tieke
  NMT Video Playback - does it receive start/stop events psycik 8 3,368 2012-07-15, 10:01 PM
Last Post: mvallevand
  Resume or Restart dialog for video psycik 6 2,984 2011-12-22, 02:52 AM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode