NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Wishlist v
« Previous 1 … 161 162 163 164 165 … 193 Next »
maybe add a simple capture source???

 
  • 0 Vote(s) - 0 Average
maybe add a simple capture source???
sash
Offline

Member

Posts: 128
Threads: 20
Joined: Dec 2004
#1
2005-02-15, 05:36 PM
Hi sub
I was wondering. I being checking through your capture  source setting. I see under channel changer you have a changer .exe which is quite usable for me.. but I was wondering could you add  a simple capture source that just specifies a file name and location.

that way I can use it to tune to a specific file. be it locally  or remotely.

IE.  I use the channel .exe to fire up Vlc in the background to log on to a specific upd  broadcast channel   or web channel or software written file  and write it to the drive.  and the simple  capture source just opens  this defined file .

I see many uses for it

funny enough it works somewhat now if i broadcast a upd broadcast at a specific port locally ( ie  channel changer  param is  udp://@:channel  and I set the channel to equal the port setting it will play the audio. ( i think what happening is that vlc is playing hidden  so all I hear is the audio.  but if I write it to the drive with this param udp://@:channel Confusedout=#duplicate{dst=std{access=file,mux=ts,url="C:\buffer.mpg"}} .

( or transcode a websource material to a sutible format with this setting Confusedout=#transcode{vcodec=mp1v,vb=1024,scale=1,acodec=mpga,ab=192,channels=2}:duplicate{dst=std{access=file,mux=ts,url="C:\buffer.mpg"}} )

now all I would need is a simple capture source that would access this  c:\buffer.mpg file to display on gb-pvr..

if you did this I would be happy.. I could simple set up a mulitude of programs to capture and display stuff via gbpvr.

the only problem I see is that ( i not sure) but when one selects another channel  one woulds need  to force  close the exe  executed by the  channel changer plugin. because it looks like  it will stay open



sash
Offline

Member

Posts: 128
Threads: 20
Joined: Dec 2004
#2
2005-02-15, 05:51 PM
okay with a bit more experimenting.. it looks like you woulds need a option in channel changer exe that would force close a program, if needed, a couple programs do not to need this option they will happy accept the command supplied to it with out starting up a second or third instance of a program..-

edit;
was just reading it again.. it sounds abit unclear what I mean by a simple capture source.. basically all it is is a "capture plugin" all it does is read from specificly defined file. and that is it.. The file is being written by a third pary app.. and this app is controled by channel changer . exe plugpin.. ( which works relitively fine now when I select a channel)



sash
Offline

Member

Posts: 128
Threads: 20
Joined: Dec 2004
#3
2005-02-17, 01:34 AM
anyways-
just adding to the post. just incase this capture source is added some day..
after experimenting with several differnt programs.. it seems that the capture source would need to operate something like this.

1) basically- it just can read a a specified shared file to supply it to gbpvr live tv interface.

2) some programs do cut the recorded file at predefined size.. so it would be useful if the program can smooth switch between these reording and say delete the finished buffer file after third instance.. that way it would conserve of hardrive space. and even perhaps delete all files on channel change..

3) also would be nice if it would say retry to read a file several time ie every 5 seconds for say 10 tries.. that way if a third party program takes abit of time to setup or start you have up to fifty seconds to do so.. or atleast a defined interval to try to acces the file..

if any one else can think of what else would be useful for such a "capture source " to be fairly universal. please post.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,810
Threads: 769
Joined: Nov 2003
#4
2005-02-17, 01:58 AM
Hi Sash.

To me this sounds like it would be better suited to a plugin than a capture source. A plugin could be easily developed (using the available API), to present the user with a list of available streams, then run the videolan client and the play the resulting file. The way you're trying to channel changer makes this even more true. The channel changer was only meant to run a very short lived executeable, and wasnt intended to be used for this sort of task. I dont really want to add features like the ability to kill the channel changer process at the show - thats just not how its intended to work.

I dont mean to be so discouraging. You've provided lots of great ideas, but unfortunately they all seems like they would consume quite a bit of development time and unfortunately dont have a lot of alignment with other things I'm interested in implementing. Sorry. That said, if you really want to try and implement it as a capture source, the v0.90 release contains the new capture source plugin framework that you could use for implementing custom capture sources. This is what normanr used for implementing his WDM capture source, and you're welcome to use this appoach also.

I'm more than happy to answer any questions about plugin development if you decide to give it a go.
sash
Offline

Member

Posts: 128
Threads: 20
Joined: Dec 2004
#5
2005-02-17, 02:16 PM
Hi Sub

sure I have no problem trying to make the stuff my self. My programing skills are kind of weak. but not non existant..

but trying to find info on how stuff works here is kind of tough. . i like the capture source.. route because I see it working well now with tsreader... if I click live tv it starts up tsreader in the background and i am ready to watch.. I go through the tvguide click on a channel . pop it working.. and if I switch channel pretty seemlessly other then I have to look for a file to watch.. so I think all I would need is a a simple capture source to display the channel. to be fully intergrated into the tv system works of gb-pvr. it may not be perfect, but it works.

perhaps I am wrong but as a plugin it would become a seperate page removed from the tv guide and the liveTV and scheduling recordings etc.... basically I would have to build an entire new multi layer pluggin to watch stuff by this route. from tvguide live tv . . . etc UP..

if you could point me towards where I can find . info on how to ito do this ( capture source and this frame work) It would be great .. and perhaps a simple source to examine.. because all I ever found was for pluggin development.. by the way does this work the same for the channel changers this frame work?? then if I had the source for the exe. changer then i would just adapt it alittle to make it more suitable.

I know you want to implement stuff.. thats fine. I am just trying to make it a bit more flexable. and you're not discouraging me.. I will post my thoughts and Idea's good or bad, in the hopes that some one with a bit more knowlegde then me, about how gb-pvr works. may or may not help...
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,810
Threads: 769
Joined: Nov 2003
#6
2005-02-17, 03:59 PM
I've attached below and empty skeleton recording source plugin.

There is no plugin for channel changers, you may need to use the existing .exe channel changer, but write a special .exe that kills any previous instance of the long-running process, then launches the long-running process, then exits.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,810
Threads: 769
Joined: Nov 2003
#7
2005-02-17, 04:01 PM
You can find a fleshed-out, working capture source plugin on the second page of this thread: http://gbpvr.com/cgi-bin/ikonboard.cgi?a...2756;st=10
sash
Offline

Member

Posts: 128
Threads: 20
Joined: Dec 2004
#8
2005-02-18, 03:20 PM
thanks SUB.

I'll give it a try. ... not sure what this was compiled with I have visual studio 6. but it does not like it... your site mention sharpdevelopment so I guess I'll give that try.. to see if I make out any better..



sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,810
Threads: 769
Joined: Nov 2003
#9
2005-02-18, 03:42 PM
I think it was compiled with Visual Studio.NET (2003), but you should also be able to get it working with SharpDevelop, but will probably need to make your own project files.
sash
Offline

Member

Posts: 128
Threads: 20
Joined: Dec 2004
#10
2005-02-23, 11:43 PM
I guess I too stupid to get this stuff.. i can not make sence of it... I know a little delphi and a little C++. but I am lost with this net language, especial when it envolves directshow stuff.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Use epgshare01 by default, as an EPG source calande 2 1,070 2025-04-11, 12:50 PM
Last Post: mvallevand
  Capture Entire Transport Stream w/ Simple Click acug 1 1,022 2021-05-20, 06:48 PM
Last Post: mvallevand
  Source EPG data from HDHomerun mrdally204 4 7,510 2016-05-03, 10:15 PM
Last Post: mvallevand
  Automatically Pick Best Quality Signal Source for OTA recording? Coosa 1 2,194 2016-02-29, 05:21 PM
Last Post: johnsonx42
  Post Processing Request: File conversion for archiving, close captioning capture stuck-in-second 4 3,286 2015-03-20, 03:29 AM
Last Post: digiblur
  SAT>IP Source support jockgbpvr 1 2,058 2013-07-02, 10:17 PM
Last Post: mvallevand
  add two frequencies to a dvb-s source reven 2 1,838 2012-10-07, 12:25 AM
Last Post: reven
  Capture video output of MCE ForestKlown 8 4,992 2011-06-07, 12:37 AM
Last Post: pcostanza
  Setting capture priority mvallevand 2 1,733 2011-02-22, 11:08 AM
Last Post: martint123
  Dual cards, same source = Copy EPG data IanJ 5 2,672 2010-10-09, 02:51 PM
Last Post: martint123

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

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

Linear Mode
Threaded Mode