Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Allerdings gibt es Dinge die ich in meiner Produktionsumgebung nicht nutze bzw. überhaupt nicht testen kann (dazu gehören verschlüsselte Kanäle). Ich freue mich über Feedback.
Quoted
- Reimplemented some client device methods
- Proper fix for "client sends ABRT after TUNE". Obsoletes many hacks in client
- Added CLOCK_MONOTONIC timestamp and thread id to Dprintf
- Silenced warning (thanks to Rolf Ahrenberg)
- Updated Finnish translation (thanks to Rolf Ahrenberg)
- Replaced server-side suspend modes with priority based precedence handling
- Client-side priority handling for VDR >= 1.7.25 and servers running VTP > 1.0
- Introduced VTP protocol version numbering for easier compatibility handling between different client and server versions. The server includes the protocol version in its greeting string, the client reports its version with the new command "VERS".
- Dropped compatibility of streamdev-server with VDR < 1.7.25

|
|
Source code |
1 2 3 4 5 6 7 8 9 |
...
#if APIVERSNUM >= 10714
-#define TRANSPONDER(c1, c2) (c1->Transponder() == c2->Transponder() && !c1->IsSourceType('V'))
+#define TRANSPONDER(c1, c2) (false)
+//#define TRANSPONDER(c1, c2) (c1->Transponder() == c2->Transponder() && !c1->IsSourceType('V'))
#else
#define TRANSPONDER(c1, c2) (c1->Transponder() == c2->Transponder())
#endif
...
|
auf raspbian mit git-kernel und git Firmware
[...] Allerdings gibt es Dinge die ich in meiner Produktionsumgebung nicht nutze bzw. überhaupt nicht testen kann (dazu gehören verschlüsselte Kanäle). Ich freue mich über Feedback. ...

[...] Allerdings gibt es Dinge die ich in meiner Produktionsumgebung nicht nutze bzw. überhaupt nicht testen kann (dazu gehören verschlüsselte Kanäle). Ich freue mich über Feedback. ...
Die aktuelle Version aus dem git funktioniert bei mir einwandfrei mit VDR-Zapper als Client, auch mit den Verschlüsselten und HD:![]()
19.2E:22000:255=27:0;259=deu@106:32:1830,1843,9C4,98C,648,1860:61200:1:1057:0
Quoted
* Viewing encrypted channels became an issue with VDR's new CAM handling code.
Streamdev doesn't provide a (dummy) CAM, so out of the box, VDR won't ever try
to receive encrypted channels from streamdev. Pick one of the following
solutions to work around the problem:
1. Force VDR to use streamdev. Open the channels menu on the client (or edit its
channels.conf if you know how to do this) and set the CA field of all channels
that only the server can decrypt to streamdev's device index. Usually streamdev
will get number 9 or 10. Streamdev logs the actual device number when starting
up. So please consider the logs for the correct value. Remember to fill in
hexadecimal values if you are using an editor to modify your channels.conf
(number 10 becomes an "a", number 11 a "b", ...).
2. Apply either patch "patches/vdr-1.6.0-intcamdevices.patch" or patch
"patches/vdr-1.6.0-ignore_missing_cam.diff" to your client VDR. Intcamdevices
is the clean solution, but it modifies the VDR API. So you will need to
recompile all of your plugins. The ignore_missing_cam patch is trivial, no need
to recompile other plugins. However it is not suitable for clients with a DVB
card of their own.
Jetzt schäme ich mich ein wenig.@lokutus: Für verschlüsselte Kanäle ist auf Client-Seite nach wie vor eine Anpassung der channels.conf oder ein Patch notwendig. Hast Du daran gedacht?

|
|
Source code |
1 2 3 4 5 6 7 8 9 10 |
LOG=/var/log/syslog
DEV=$(sed -n '/^.*streamdev-client: got device number / {s///;h}; $ {g;p}' $LOG)
if [ "$DEV" ]; then
DEV=$(printf %x $DEV)
sed "s/^\(.*:.*:.*:.*:.*:.*:.*:.*:\)[1-9a-f].*\(:.*:.*:.*:.*$\)/\1${DEV}\2/" channels.conf > channels.conf.client
mv channels.conf channels.conf.old
mv channels.conf.client channels.conf
else
echo "Streamdev-client Device-Nummer nicht gefunden" >&2
fi
|
This post has been edited 2 times, last edit by "schmirl" (Jun 1st 2012, 9:04am)
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
Jun 5 10:42:59 (none) user.err vdr: [9593] initializing plugin: streamdev-client (0.5.1-git): VTP Streaming Client ... Jun 5 10:42:59 (none) user.err vdr: [9593] starting plugin: streamdev-client Jun 5 10:42:59 (none) user.err vdr: [9593] new device number 10 Jun 5 10:42:59 (none) user.err vdr: [9593] streamdev-client: got device number 10 ... Jun 5 10:43:00 (none) user.err vdr: [9593] streamdev-client: Connected to server 10.132.128.103:2004 using capabilities TSPIDS,FILTERS,PRIO ... Jun 5 10:43:00 (none) user.err vdr: [9684] streamdev-client: sections assembler thread started (pid=9593, tid=9684) ... Jun 5 10:44:57 (none) user.err vdr: [9593] switching to channel 7 Jun 5 10:44:57 (none) user.err vdr: [21946] recording thread ended (pid=9593, tid=21946) Jun 5 10:44:58 (none) user.err vdr: [21937] ERROR (device.c,2010): Bad file descriptor Jun 5 10:44:58 (none) user.err vdr: [21937] TS buffer on device 10 thread ended (pid=9593, tid=21937) Jun 5 10:44:58 (none) user.err vdr: [21938] buffer stats: 100580 (4%) used Jun 5 10:44:58 (none) user.err vdr: [21938] receiver on device 10 thread ended (pid=9593, tid=21938) Jun 5 10:44:58 (none) user.err vdr: [21947] TS buffer on device 10 thread started (pid=9593, tid=21947) Jun 5 10:44:58 (none) user.err vdr: [21948] recording thread started (pid=9593, tid=21948) Jun 5 10:44:58 (none) user.err vdr: [21949] receiver on device 10 thread started (pid=9593, tid=21949) Jun 5 10:44:58 (none) user.err vdr: [21928] Text2Skin: channelInfo display update thread ended (pid=9593, tid=21928) Jun 5 10:44:58 (none) user.err vdr: [21949] Continue live recorder on broken stream (maybe due to switching to same channel on other device) Jun 5 10:44:59 (none) user.info vdr: [21949] [xine..put] Detected video size 720x576 Jun 5 10:45:02 (none) user.err vdr: [21950] Text2Skin: channelInfo display update thread started (pid=9593, tid=21950) Jun 5 10:45:02 (none) user.err vdr: [9593] switching to channel 8 Jun 5 10:45:02 (none) user.err vdr: [21948] recording thread ended (pid=9593, tid=21948) Jun 5 10:45:02 (none) user.err vdr: [21947] ERROR (device.c,2010): Bad file descriptor Jun 5 10:45:02 (none) user.err vdr: [21947] TS buffer on device 10 thread ended (pid=9593, tid=21947) Jun 5 10:45:02 (none) user.err vdr: [21949] buffer stats: 96256 (4%) used Jun 5 10:45:02 (none) user.err vdr: [21949] receiver on device 10 thread ended (pid=9593, tid=21949) Jun 5 10:45:02 (none) user.err vdr: [9593] buffer stats: 97196 (1%) used Jun 5 10:45:03 (none) user.err vdr: [21959] TS buffer on device 10 thread started (pid=9593, tid=21959) Jun 5 10:45:03 (none) user.err vdr: [21960] receiver on device 10 thread started (pid=9593, tid=21960) Jun 5 10:45:03 (none) user.err vdr: [9593] recording to '/mnt/livebuffer/LiveBuffer/00001.ts' Jun 5 10:45:03 (none) user.err vdr: [9593] playing '/mnt/livebuffer/LiveBuffer/00001.ts' Jun 5 10:45:03 (none) user.err vdr: [21968] recording thread started (pid=9593, tid=21968) Jun 5 10:45:06 (none) user.info vdr: [21960] [xine..put] Detected video size 720x576 Jun 5 10:45:07 (none) user.err vdr: [21950] Text2Skin: channelInfo display update thread ended (pid=9593, tid=21950) Jun 5 10:45:08 (none) user.err vdr: [9593] retuning due to modification of channel 8 Jun 5 10:45:08 (none) user.err vdr: [9593] switching to channel 8 Jun 5 10:45:08 (none) user.err vdr: [21968] recording thread ended (pid=9593, tid=21968) Jun 5 10:45:09 (none) user.err vdr: [21959] ERROR (device.c,2010): Bad file descriptor Jun 5 10:45:09 (none) user.err vdr: [21959] TS buffer on device 10 thread ended (pid=9593, tid=21959) Jun 5 10:45:09 (none) user.err vdr: [21960] buffer stats: 170516 (8%) used Jun 5 10:45:09 (none) user.err vdr: [21960] receiver on device 10 thread ended (pid=9593, tid=21960) Jun 5 10:45:09 (none) user.err vdr: [21969] TS buffer on device 10 thread started (pid=9593, tid=21969) Jun 5 10:45:09 (none) user.err vdr: [21970] recording thread started (pid=9593, tid=21970) Jun 5 10:45:09 (none) user.err vdr: [21971] receiver on device 10 thread started (pid=9593, tid=21971) Jun 5 10:45:09 (none) user.err vdr: [21971] Continue live recorder on broken stream (maybe due to switching to same channel on other device) Jun 5 10:45:11 (none) user.info vdr: [21971] [xine..put] Detected video size 720x576 Jun 5 10:45:16 (none) user.err vdr: [21972] Text2Skin: channelInfo display update thread started (pid=9593, tid=21972) |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
Jun 5 11:02:50 (none) user.err vdr: [9519] initializing plugin: streamdev-client (0.6.0-git): VTP Streaming Client ... Jun 5 11:02:50 (none) user.err vdr: [9519] starting plugin: streamdev-client Jun 5 11:02:50 (none) user.err vdr: [9519] new device number 10 Jun 5 11:02:50 (none) user.err vdr: [9519] streamdev-client: got device number 10 ... Jun 5 11:02:51 (none) user.err vdr: [9519] streamdev-client: Connected to server 10.132.128.103:2004 using protocol version 1.0 ... Jun 5 11:02:51 (none) user.err vdr: [9604] streamdev-client: sections assembler thread started (pid=9519, tid=9604) ... Jun 5 11:03:38 (none) user.err vdr: [9519] switching to channel 7 Jun 5 11:03:38 (none) user.err vdr: [19015] recording thread ended (pid=9519, tid=19015) Jun 5 11:03:38 (none) user.err vdr: [19016] ERROR (device.c,2010): Bad file descriptor Jun 5 11:03:38 (none) user.err vdr: [19016] TS buffer on device 10 thread ended (pid=9519, tid=19016) Jun 5 11:03:38 (none) user.err vdr: [19007] buffer stats: 72380 (3%) used Jun 5 11:03:38 (none) user.err vdr: [19007] receiver on device 10 thread ended (pid=9519, tid=19007) Jun 5 11:03:38 (none) user.err vdr: [9519] buffer stats: 74072 (1%) used Jun 5 11:03:38 (none) user.err vdr: [19026] receiver on device 10 thread started (pid=9519, tid=19026) Jun 5 11:03:38 (none) user.err vdr: [9519] recording to '/mnt/livebuffer/LiveBuffer/00001.ts' Jun 5 11:03:38 (none) user.err vdr: [9519] playing '/mnt/livebuffer/LiveBuffer/00001.ts' Jun 5 11:03:38 (none) user.err vdr: [19034] recording thread started (pid=9519, tid=19034) Jun 5 11:03:39 (none) user.err vdr: [19035] TS buffer on device 10 thread started (pid=9519, tid=19035) Jun 5 11:03:39 (none) user.info vdr: INFO: graphlcd: successfully loaded image '/etc/vdr/plugins/graphlcd/logos/channels/prosieben.png' Jun 5 11:03:39 (none) user.info vdr: INFO: graphlcd: successfully loaded image '/etc/vdr/plugins/graphlcd/logos/channels/prosieben.png' Jun 5 11:03:40 (none) user.info vdr: [19026] [xine..put] Detected video size 720x576 Jun 5 11:03:42 (none) user.err vdr: [9519] retuning due to modification of channel 7 Jun 5 11:03:42 (none) user.err vdr: [9519] switching to channel 7 Jun 5 11:03:42 (none) user.err vdr: [19017] Text2Skin: channelInfo display update thread ended (pid=9519, tid=19017) Jun 5 11:03:43 (none) user.info vdr: [19026] [xine..put] Detected video size 720x576 Jun 5 11:03:49 (none) user.err vdr: [19036] Text2Skin: channelInfo display update thread started (pid=9519, tid=19036) Jun 5 11:03:49 (none) user.err vdr: [9519] switching to channel 8 Jun 5 11:03:49 (none) user.err vdr: [19034] recording thread ended (pid=9519, tid=19034) Jun 5 11:03:49 (none) user.err vdr: [9519] buffer stats: 78208 (1%) used Jun 5 11:03:49 (none) user.err vdr: [19035] ERROR (device.c,2010): Bad file descriptor Jun 5 11:03:49 (none) user.err vdr: [19035] TS buffer on device 10 thread ended (pid=9519, tid=19035) Jun 5 11:03:49 (none) user.err vdr: [19026] buffer stats: 77268 (3%) used Jun 5 11:03:49 (none) user.err vdr: [19026] receiver on device 10 thread ended (pid=9519, tid=19026) Jun 5 11:03:49 (none) user.err vdr: [19045] receiver on device 10 thread started (pid=9519, tid=19045) Jun 5 11:03:49 (none) user.err vdr: [19047] TS buffer on device 10 thread started (pid=9519, tid=19047) Jun 5 11:03:49 (none) user.err vdr: [9519] recording to '/mnt/livebuffer/LiveBuffer/00001.ts' Jun 5 11:03:49 (none) user.err vdr: [9519] playing '/mnt/livebuffer/LiveBuffer/00001.ts' Jun 5 11:03:49 (none) user.err vdr: [19054] recording thread started (pid=9519, tid=19054) Jun 5 11:03:49 (none) user.info vdr: INFO: graphlcd: successfully loaded image '/etc/vdr/plugins/graphlcd/logos/channels/sat.1.png' Jun 5 11:03:50 (none) user.info vdr: INFO: graphlcd: successfully loaded image '/etc/vdr/plugins/graphlcd/logos/channels/sat.1.png' Jun 5 11:03:54 (none) user.err vdr: [19036] Text2Skin: channelInfo display update thread ended (pid=9519, tid=19036) |
This post has been edited 1 times, last edit by "Darkstar" (Jun 12th 2012, 4:37pm)
...
Das streamdev-client Plugin ist genügsam und benötigt nur mind. VDR 1.5.16.
...
|
|
Source code |
1 2 3 4 5 6 |
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -march=pentium3 -O2 -pipe -fomit-frame-pointer -falign-functions=4 -fprefetch-loop-arrays -ffast-math -fPIC -c -DUSE_CHANNELSCAN -DUSE_CMDSUBMENU -DUSE_CUTTERLIMIT -DUSE_CUTTERQUEUE -DUSE_CUTTIME -DUSE_DDEPGENTRY -DUSE_DELTIMESHIFTREC -DUSE_DOLBYINREC -DUSE_DVBSETUP -DUSE_DVLRECSCRIPTADDON -DUSE_DVLVIDPREFER -DUSE_DVLFRIENDLYFNAMES -DUSE_EM84XX -DUSE_GRAPHTFT -DUSE_HARDLINKCUTTER -DUSE_IPTV -DUSE_JUMPPLAY -DUSE_LIEMIKUUTIO -DUSE_LIRCSETTINGS -DUSE_LIVEBUFFER -DUSE_MAINMENUHOOKS -DUSE_MENUORG -DUSE_NOEPG -DUSE_OSDMAXITEMS -DUSE_PINPLUGIN -DUSE_PLUGINMISSING -DUSE_ROTOR -DUSE_SOURCECAPS -DUSE_SORTRECORDS -DUSE_TIMERCMD -DUSE_TIMERINFO -DUSE_TTXTSUBS -DUSE_VALIDINPUT -DUSE_VOLCTRL -DUSE_WAREAGLEICON -DUSE_YAEPG -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"streamdev-client"' -I/usr/local/src/DVB/include -I/usr/local/src/VDR/include -I.. -o device.o device.c device.c: In member function 'virtual bool cStreamdevDevice::ProvidesChannel(const cChannel*, int, bool*) const': device.c:120: error: passing 'const cStreamdevDevice' as 'this' argument of 'virtual bool cStreamdevDevice::IsTunedToTransponder(const cChannel*)' discards qualifiers make[1]: *** [device.o] Error 1 make[1]: Leaving directory `/usr/local/src/vdr-1.6.0.2/PLUGINS/src/streamdev-0.6.0/client' make: *** [client] Error 2 |
auf raspbian mit git-kernel und git Firmware