Re: [vdr] Hauppauge PVR-HD and pvrinput plugin (was: Re: Hauppauge PVR-HD and IPTV plugin)

2010-02-10 Thread Rolf Ahrenberg


On Tue, 9 Feb 2010, L. Hanisch wrote:

I received your sample and it looks like a valid TS with PAT, PMT and PCR, 
so the plugin has nothing else to do as to pass it through to the vdr 
(hopefully).


In the meanwhile, one could also try out the IPTV plugin without any 
ffmpeg hassle by using a script that tunes the device and then simply:


cat /dev/video0 | nc -u -p ${PORT} 127.0.0.1

BR,
--
rofa

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] [PATCH] vdr-1.7.12 - few libsi exports needed in eepg plugin

2010-02-10 Thread Lucian Muresan
Hello folks,

recently I re-adjusted my antenna to receive the BBC channels and
discovered that EPG is only available for the current and next event,
and then found out in the vdr-portal that there is the EEPG plugin which
decodes the extended EPG data they send (see
http://www.linuxtv.org/vdrwiki/index.php/Eepg-plugin).

Well, wanting to quickly write a gentoo ebuild for it, I discovered that
the build fails because the author included libsi/si.c (not si.h) to
compile the plugin. While this might work when building plugins by
hand inside a vdr sources tree, or on a distribution where the sources
(not only headers) are available, I'm sure that's not good practice at
all. It's better to ask the maintainer of the respective library, class
or C file to export what's needed through the header.

Well, Klaus, would you please consider adding this patch to the next
release? Just exporting 2 functions and a flag, if you prefer you could
export the flag through a read-only access function, too.

Thank you,
Lucian
diff -Naur vdr-1.7.12_orig/libsi/si.c vdr-1.7.12/libsi/si.c
--- vdr-1.7.12_orig/libsi/si.c  2009-12-05 17:20:12.0 +0100
+++ vdr-1.7.12/libsi/si.c   2010-02-10 01:09:08.743017649 +0100
@@ -339,7 +339,7 @@
 // a string indicating that table. If no table can be determined, the
 // default ISO6937 is returned. If a table can be determined, the buffer
 // and length are adjusted accordingly.
-static const char *getCharacterTable(const unsigned char *buffer, int 
length, bool *isSingleByte = NULL) {
+const char *getCharacterTable(const unsigned char *buffer, int length, bool 
*isSingleByte/* = NULL*/) {
const char *cs = ISO6937;
// Workaround for broadcaster stupidity: according to
// ETSI EN 300 468 the default character set is ISO6937. But 
unfortunately some
@@ -375,7 +375,7 @@
return cs;
 }
 
-static bool convertCharacterTable(const char *from, size_t fromLength, char 
*to, size_t toLength, const char *fromCode)
+bool convertCharacterTable(const char *from, size_t fromLength, char *to, 
size_t toLength, const char *fromCode)
 {
   if (SystemCharacterTable) {
  iconv_t cd = iconv_open(SystemCharacterTable, fromCode);
diff -Naur vdr-1.7.12_orig/libsi/si.h vdr-1.7.12/libsi/si.h
--- vdr-1.7.12_orig/libsi/si.h  2009-12-06 12:37:35.0 +0100
+++ vdr-1.7.12/libsi/si.h   2010-02-10 01:09:08.743017649 +0100
@@ -492,6 +492,13 @@
 // like iso8859-15 or utf-8 (case insensitive).
 // Returns true if the character table was recognized.
 bool SetSystemCharacterTable(const char *CharacterTable);
+// Determines the character table used in the given buffer and returns
+// a string indicating that table. If no table can be determined, the
+// default ISO6937 is returned. If a table can be determined, the buffer
+// and length are adjusted accordingly.
+const char *getCharacterTable(const unsigned char *buffer, int length, bool 
*isSingleByte = NULL);
+bool convertCharacterTable(const char *from, size_t fromLength, char *to, 
size_t toLength, const char *fromCode);
+extern bool SystemCharacterTableIsSingleByte;
 
 } //end of namespace
 
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Hauppauge PVR-HD and pvrinput plugin (was: Re: Hauppauge PVR-HD and IPTV plugin)

2010-02-10 Thread Rob Davis
On Wed, 2010-02-10 at 11:18 +0200, Rolf Ahrenberg wrote:
 On Tue, 9 Feb 2010, L. Hanisch wrote:
 
  I received your sample and it looks like a valid TS with PAT, PMT and PCR, 
  so the plugin has nothing else to do as to pass it through to the vdr 
  (hopefully).
 
 In the meanwhile, one could also try out the IPTV plugin without any 
 ffmpeg hassle by using a script that tunes the device and then simply:
 
 cat /dev/video0 | nc -u -p ${PORT} 127.0.0.1

Most of this is extra debug output, but I've never used the nc command.
The port number looks to be the same as ffmpeg would use..  The only
thing that may be different is there is no packet size specified..

Getting new URL
/dev/video0
Change Channel to 951 on Cable Box
starting with node: 1
node 1: vendor_id = 0x24a0 model_id = 0xea05
AV/C Command: 951 = Op1=0x00487C29 Op2=0x00487C25 Op3=0x00487C21
Streamsvideo.sh PID is 32604
Streamdev Plugin 951 /dev/video0
nc -u -p 4321 127.0.0.1
no port[s] to connect to



___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] [linux-dvb] linuxtv.org server move Wed, 10 Feb 2pm CET

2010-02-10 Thread Johannes Stezenbach
On Mon, Feb 08, 2010 at 11:51:14PM +0100, Johannes Stezenbach wrote:
 
 the linuxtv.org server is going to be moved to a new location
 on Wednesday, around 2pm CET (UTC+1:00).

As you might have noticed, that point in time came and went
and nothing happened.

Next try tomorrow, around the same time.

Johannes

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] xbmc pvr + streamdev

2010-02-10 Thread Goga777
Hi

with new patch for cvs streamdev 
http://xbmc.svn.sourceforge.net/viewvc/xbmc/branches/pvr-testing2/xbmc/pvrclients/vdr-streamdev/patches/

I couldn't install streamdev-cvs221109-AddFemonV1.diff 

the rejects here are
http://pastebin.com/m10662b78

second question

here is my streamdev settings. Do they correct ?
what about streamdev-server.AllowSuspend = 0 ?


streamdev-server.AllowSuspend = 0
streamdev-server.HTTPBindIP = 0.0.0.0
streamdev-server.HTTPServerPort = 3000
streamdev-server.HTTPStreamType = 0
streamdev-server.IGMPBindIP = 0.0.0.0
streamdev-server.IGMPClientPort = 1234
streamdev-server.IGMPStreamType = 0
streamdev-server.MaxClients = 1
streamdev-server.ServerPort = 2004
streamdev-server.StartHTTPServer = 0
streamdev-server.StartIGMPServer = 0
streamdev-server.StartServer = 1
streamdev-server.SuspendMode = 1
streamdev-server.VTPBindIP = 0.0.0.0

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr