NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 77 78 79 80 81 … 93 Next »
I am stuck....

 
  • 0 Vote(s) - 0 Average
I am stuck....
sash
Offline

Member

Posts: 128
Threads: 20
Joined: Dec 2004
#1
2005-02-04, 02:53 PM
I being trying to see if I can build a pluggin for this program.
it for dvb ..
I have a commanline interface to a dvb program.. ( this progam handles most cards other then ss1- and will do encrypted data via subscription cards and other means)
this dvb program gerates a valid xmltv guide with every thing i need to tune the channel. but i do not see how to get the data from gb-pvr when I select the channel..

basically it works in theory very well.
I enter the data from the xmltv guide for that particular channel it tune to that channel and records the channel in shared mode. then to view the channel live i just open it with gb-pvr.

can any one help me [Image: rock.gif]
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#2
2005-02-05, 01:10 AM
So you can invoke a command to do a capture on a particular channel. It will capture it as a mpeg and store it in a directory.

You want to write a plugin that will load the recording table and run a thread when it hits a recording time it will invoke the 3rd party application.

Correct? Or am I off.
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
sash
Offline

Member

Posts: 128
Threads: 20
Joined: Dec 2004
#3
2005-02-05, 03:14 PM
yes that correct

at the moment I have a tsreader ( bit expensive ) but I know some people and they are building a simple commanline dvb program form me ( adapting thier program to suit my needs) so that the rest of the community can use it free of charge..

anyways... the biggest problem I see with bda it does not support the 1020 twinhans very well only the 1020a

what I am using is tsreader/tsreaderlite ( free version) to build the xmltv file..
which looks like this..
</programme>
- <channel id="302-M-XS">
<display-name lang="en">M-XS</display-name>
<transport-stream-ID>23</transport-stream-ID>
<signal-info>91.0W 12.545 R 20000 7/8 QPSK</signal-info>
</channel>
- <programme start="20050201141500" stop="20050201160000" channel="302-M-XS">
<title>Cabin Fever</title>
<desc>Cabin Fever|91.0W 12.545 R 20000 7/8 QPSK</desc>
</programme>
- <programme start="20050201160000" stop="20050201180000" channel="302-M-XS">
<title>League/Gentlemen</title>
<desc>Movie. Sean Connery, Shane West, Stuart Townsend. (2003) A team of classic literary characters battle an evil villain bent on destroying the world. Based on the comic book mini-series by Alan Moore. (CC) (Stereo)|91.0W 12.545 R 20000 7/8 QPSK</desc>
</programme>

so it contains all the info i need

91.0w the satilite I want to access - this here would be user defined to determine the disqec number ie: 91.0w = 0

12.545 is the freq it would equal 12545
R is the polisation , either it is R or L which is vertical or horivontal

20000 is symbol rate

302-M-XS is the channel number or/name channel name

anyways tsreader ( and the new free program that some is adapting for me-- hopefully) pharses the PMT table . which gives you the audio, video and PMT pids needed to tune to the channel

so you process the data in the xmltv info to produce this commandline
for recording:

TSReader -a -p -M 320 c:\mpeg\Cabin Fever.mpg 7200 12545 H 20000 11250 0

7200 the runtime determined in the xmltv guide
11250 is the lnb in the user profile that contains the disqec 91.0w = 0 and lnb = 11250

-a switch is a recorded length is need
-p switch if psmpg is needed ( other wise default is TSmpeg)
-M minimized

otherwise for live view this setting

TSReader -p -M 320 c:\mpeg\buffer.mpg 12545 H 20000 11250 0
then gb-pvr would simple access the the buffer.mpg to view

the recording done in the newer Tsreader is done in shared mode, and the new free app will do the same



also ther is auto export of Xmltv guide

tsreader -X c:\ dvb.xml

but one would need to build a filter to check the title and channel descriptions for illegal characters and remove them before passing it to gb-pvr- sometimes the provider puts them in and othertimes the the stream is flakey


I hoping some one can help me , my programing skills are not the best. so any help would be appreicated
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



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

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

Linear Mode
Threaded Mode