Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: ANNOUNCE: streamdev-0.2.0 (Client/Server Streaming)
Hi,
I can't get Nova-S + Nova-T combination to work simultaneously in a
streamdev server. I get segfaults (DDD output):
(gdb) run -c/etc/vdr -v/opt/localvdr -E/etc/vdr -L/usr/local/lib/vdr
-Pstreamdev
[New Thread 16384 (LWP 3335)]
[New Thread 32769 (LWP 3337)]
[New Thread 16386 (LWP 3338)]
[New Thread 32771 (LWP 3339)]
[New Thread 49156 (LWP 3341)]
[New Thread 65541 (LWP 3342)]
[New Thread 81926 (LWP 3343)]
[New Thread 98311 (LWP 3344)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 3335)]
cClientConnection::Check() (this=0x198) at client/connection.c:59
/usr/local/src/si/vdrbuild-0810/vdr-1.2.5/PLUGINS/src/streamdev-0.2.0/client/connection.c:59:1369:beg:0x402b56ff
Current language: auto; currently c++
(gdb) where
#0 cClientConnection::Check() (this=0x198) at client/connection.c:59
#1 0x402b6994 in cStreamdevDevice::SyncEPG() () at client/device.c:205
#2 0x0809dfd8 in cPluginManager::Housekeeping() (this=0x198) at
plugin.c:342
#3 0x080b13d7 in main (argc=135294408, argv=0xbffffaa4) at vdr.c:783
(gdb)
The pointer in ddd is at the first "if" in client/connection.c:
bool cClientConnection::Check(void) {
if (!IsOpen()) {
if (!Connect(StreamdevSetup.RemoteIp,
StreamdevSetup.RemotePort))
return false;
}
return true;
}
/var/log/user.log output is here with nothing dramatical visible
Oct 8 22:31:04 kemuli vdr[3335]: VDR version 1.2.5 started
Oct 8 22:31:04 kemuli vdr[3335]: loading plugin:
/usr/local/lib/vdr/libvdr-streamdev.so.1.2.5
Oct 8 22:31:04 kemuli vdr[3335]: loading /etc/vdr/setup.conf
Oct 8 22:31:04 kemuli vdr[3335]: loading /etc/vdr/sources.conf
Oct 8 22:31:04 kemuli vdr[3335]: loading /etc/vdr/diseqc.conf
Oct 8 22:31:04 kemuli vdr[3335]: loading /etc/vdr/channels.conf
Oct 8 22:31:04 kemuli vdr[3335]: loading /etc/vdr/svdrphosts.conf
Oct 8 22:31:04 kemuli vdr[3335]: loading /etc/vdr/remote.conf
Oct 8 22:31:04 kemuli vdr[3335]: probing /dev/dvb/adapter0/frontend0
Oct 8 22:31:04 kemuli vdr[3338]: EIT processing thread started
(pid=3338) - master
Oct 8 22:31:04 kemuli vdr[3339]: tuner thread started on device 1
(pid=3339)
Oct 8 22:31:04 kemuli vdr[3335]: probing /dev/dvb/adapter1/frontend0
Oct 8 22:31:04 kemuli vdr[3341]: EIT processing thread started (pid=3341)
Oct 8 22:31:04 kemuli vdr[3342]: tuner thread started on device 2
(pid=3342)
Oct 8 22:31:04 kemuli vdr[3335]: probing /dev/dvb/adapter2/frontend0
Oct 8 22:31:04 kemuli vdr[3335]: found 2 video devices
Oct 8 22:31:04 kemuli vdr[3335]: initializing plugin: streamdev
(0.2.0): VTP Streaming Server and Client
Oct 8 22:31:04 kemuli vdr[3335]: setting primary device to 2
Oct 8 22:31:04 kemuli vdr[3335]: device 2 has no MPEG decoder
Oct 8 22:31:04 kemuli vdr[3335]: SVDRP listening on port 2001
Oct 8 22:31:04 kemuli vdr[3335]: starting plugin: streamdev
Oct 8 22:31:04 kemuli vdr[3343]: Streamdev: Server thread started
Oct 8 22:31:04 kemuli vdr[3343]: Streamdev: Listening (VTP) on port 2004
Oct 8 22:31:04 kemuli vdr[3343]: Streamdev: Listening (HTTP) on port 3000
Oct 8 22:31:04 kemuli vdr[3344]: KBD remote control thread started
(pid=3344)
Oct 8 22:31:04 kemuli vdr[3335]: remote control KBD - keys known
Oct 8 22:31:04 kemuli vdr[3335]: switching to channel 5
Oct 8 22:31:04 kemuli vdr[3335]: reading EPG data from /etc/vdr/epg.data
I removed all vdr patches so the condiguration is plain vdr 1.2.5 and
streamdev 0.2.0. Vdr is compiled with DEBUG_OSD=1 to get access to menus.
There is also something weird even if streamdev plugin is not started. I
need to select from vdr settings menu DVB device 1 Nova-S as primary to
be able to switch to satellite channels and dvb device 2 Nova-T to
switch to terrestial channels. Naturally is not possible to see the
picture in ASCII terminal but some EPG information is shown. In failing
channel switches I get "Channel not available" text to OSD. Here is an
example log from starting with "Das Erste" and trying to switch to
terrestial channel.
Oct 8 22:42:21 kemuli vdr[3902]: VDR version 1.2.5 started
Oct 8 22:42:21 kemuli vdr[3902]: loading /etc/vdr/setup.conf
Oct 8 22:42:21 kemuli vdr[3902]: loading /etc/vdr/sources.conf
Oct 8 22:42:21 kemuli vdr[3902]: loading /etc/vdr/diseqc.conf
Oct 8 22:42:21 kemuli vdr[3902]: loading /etc/vdr/channels.conf
Oct 8 22:42:21 kemuli vdr[3902]: loading /etc/vdr/svdrphosts.conf
Oct 8 22:42:21 kemuli vdr[3902]: loading /etc/vdr/remote.conf
Oct 8 22:42:21 kemuli vdr[3902]: probing /dev/dvb/adapter0/frontend0
Oct 8 22:42:21 kemuli vdr[3905]: EIT processing thread started
(pid=3905) - master
Oct 8 22:42:22 kemuli vdr[3906]: tuner thread started on device 1
(pid=3906)
Oct 8 22:42:22 kemuli vdr[3902]: probing /dev/dvb/adapter1/frontend0
Oct 8 22:42:22 kemuli vdr[3908]: EIT processing thread started (pid=3908)
Oct 8 22:42:22 kemuli vdr[3909]: tuner thread started on device 2
(pid=3909)
Oct 8 22:42:22 kemuli vdr[3902]: probing /dev/dvb/adapter2/frontend0
Oct 8 22:42:22 kemuli vdr[3902]: found 2 video devices
Oct 8 22:42:22 kemuli vdr[3902]: setting primary device to 1
Oct 8 22:42:22 kemuli vdr[3902]: device 1 has no MPEG decoder
Oct 8 22:42:22 kemuli vdr[3902]: SVDRP listening on port 2001
Oct 8 22:42:22 kemuli vdr[3910]: KBD remote control thread started
(pid=3910)
Oct 8 22:42:22 kemuli vdr[3902]: remote control KBD - keys known
Oct 8 22:42:22 kemuli vdr[3902]: switching to channel 124
Oct 8 22:42:22 kemuli vdr[3902]: reading EPG data from /etc/vdr/epg.data
Oct 8 22:42:40 kemuli vdr[3902]: switching to channel 5
Oct 8 22:42:40 kemuli vdr[3902]: ERROR: Channel not available!
Any hints how to find out more why the channels are not available is
welcome. I once had almost similar test setup working. Outside vdr I'm
able to simultaneously tzap -a 1 "subtv" and szap -a 0 "Das Erste"
example channels succesfully.
BTW, the EPG update feature which I was asking about a few days ago
seems to work. Vdr client now gets satellite EPG data!
BR,
Seppo
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index