Hello,
thanks for the quick response! Everything compiled fine now. But still something seems to be broken there. Watching TV with mplayer works fine but there is a problem with vdr/xine. I attached my syslog and the output of vdr-sxfe. I hope someone has an idea whats causing this.
Many thanks in advance! Martin Schlosser
Hi,
you are using the older patch use the attached one. The fix-s2api-dvbs is not needed with this one.
cu
Edgar (gimli) Hucek
Hi All,
this patches are for Steve Toth's repository at : http://linuxtv.org/hg/~stoth/s2/ . In theory they should work. I did them offline from my VDR.
cu
Edgar (gimli) Hucek
Hi,
I just can't compile my vdr. I applied the following patches to vanilla vdr-1.7.1:
- vdr-1.7.1_extensions.diff
- vdr-1.7.1-ext_h264.diff
- vdr-1.7.1-s2api-ext64.patch
- fix-s2api-dvbs-tuning.patch
Everything worked fine until here. Now I downloaded and installed S2API (from http://linuxtv.org/hg/~stoth/s2-mfe right?).
After setting the paths etc in teh make configs I tried to compile vdr, but this is what happens then:
root at HTPC:/usr/local/src/vdr-1.7.1# make g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DUSE_CMDRECCMDI18N -DUSE_CMDSUBMENU -DUSE_CUTTIME -DUSE_DDEPGENTRY -DUSE_DOLBYINREC -DUSE_JUMPPLAY -DUSE_LIEMIKUUTIO -DUSE_PLUGINMISSING -DUSE_SETTIME -DUSE_WAREAGLEICON -DREMOTE_KBD -DVDR_USER="vdr" -DLIRC_DEVICE="/dev/lircd" -DRCU_DEVICE="/dev/ttyS1" -D_GNU_SOURCE -DVIDEODIR="/daten/Video/vdr/video.00" -DCONFDIR="/daten/Video/vdr/video.00" -DPLUGINDIR="./PLUGINS/lib" -DLOCDIR="./locale" -DUSE_PLUGINAPI -I/usr/include/freetype2 -I../s2-mfe/linux/include channels.c channels.c:70: error: 'NBC_QPSK' was not declared in this scope channels.c:71: error: '_8PSK' was not declared in this scope channels.c:72: error: '_16APSK' was not declared in this scope channels.c: In member function 'void cChannel::SetLinkChannels(cLinkChannels*)': channels.c:690: warning: format not a string literal and no format arguments make: *** [channels.o] Fehler 1
Any ideas?
Regards Martin Schlosser
Oct 15 00:39:49 HTPC vdr: [10244] cTimeMs: using monotonic clock (resolution is 1 ns) Oct 15 00:39:49 HTPC vdr: [10244] VDR version 1.7.1 started Oct 15 00:39:49 HTPC vdr: [10244] codeset is 'UTF-8' - known Oct 15 00:39:49 HTPC vdr: [10244] found 23 locales in /usr/local/share/locale Oct 15 00:39:49 HTPC vdr: [10244] loading plugin: /var/lib/vdr/plugins//libvdr-femon.so.1.7.0 Oct 15 00:39:49 HTPC vdr: [10244] loading plugin: /var/lib/vdr/plugins//libvdr-xineliboutput.so.1.7.0 Oct 15 00:39:49 HTPC vdr: [10244] loading plugin: /var/lib/vdr/plugins//libvdr-remote.so.1.7.0 Oct 15 00:39:49 HTPC vdr: [10244] loading /etc/vdr//setup.conf Oct 15 00:39:49 HTPC vdr: [10244] loading /etc/vdr//sources.conf Oct 15 00:39:49 HTPC vdr: [10244] loading /etc/vdr//diseqc.conf Oct 15 00:39:49 HTPC vdr: [10244] loading /etc/vdr//channels.conf Oct 15 00:39:49 HTPC vdr: [10244] loading /etc/vdr//timers.conf Oct 15 00:39:49 HTPC vdr: [10244] Failed to load translated '/etc/vdr//commands.conf.' for language () Oct 15 00:39:49 HTPC vdr: [10244] Falling back to default '/etc/vdr//commands.conf' (if any) Oct 15 00:39:49 HTPC vdr: [10244] Failed to load translated '/etc/vdr//reccmds.conf.' for language () Oct 15 00:39:49 HTPC vdr: [10244] Falling back to default '/etc/vdr//reccmds.conf' (if any) Oct 15 00:39:49 HTPC vdr: [10244] loading /etc/vdr//svdrphosts.conf Oct 15 00:39:49 HTPC vdr: [10244] loading /etc/vdr//remote.conf Oct 15 00:39:49 HTPC vdr: [10244] loading /etc/vdr//keymacros.conf Oct 15 00:39:49 HTPC vdr: [10245] video directory scanner thread started (pid=10244, tid=10245) Oct 15 00:39:49 HTPC vdr: [10245] video directory scanner thread ended (pid=10244, tid=10245) Oct 15 00:39:49 HTPC vdr: [10246] video directory scanner thread started (pid=10244, tid=10246) Oct 15 00:39:49 HTPC vdr: [10246] video directory scanner thread ended (pid=10244, tid=10246) Oct 15 00:39:49 HTPC vdr: [10244] reading EPG data from /etc/vdr/epg.data Oct 15 00:39:50 HTPC vdr: [10244] probing /dev/dvb/adapter0/frontend0 Oct 15 00:39:50 HTPC vdr: [10244] device 1 provides: DVBS2 Oct 15 00:39:50 HTPC vdr: [10244] device 1 forced to frontendType SYS_DVBS2 Oct 15 00:39:50 HTPC vdr: [10248] tuner on device 1 thread started (pid=10244, tid=10248) Oct 15 00:39:50 HTPC vdr: [10249] section handler thread started (pid=10244, tid=10249) Oct 15 00:39:50 HTPC vdr: [10244] found 1 video device Oct 15 00:39:50 HTPC vdr: [10244] initializing plugin: femon (1.6.2): DVB Signal Informationsanzeige (OSD) Oct 15 00:39:50 HTPC vdr: [10244] initializing plugin: xineliboutput (1.0.90-cvs): X11/xine-lib Ausgabe-Plugin Oct 15 00:39:50 HTPC vdr: [10244] [xine..put] cTimePts: clock_gettime(CLOCK_MONOTONIC): clock resolution 0 us Oct 15 00:39:50 HTPC vdr: [10244] [xine..put] cTimePts: using monotonic clock Oct 15 00:39:50 HTPC vdr: [10244] [xine..put] RTP SSRC: 0x73e5579e Oct 15 00:39:50 HTPC vdr: [10244] initializing plugin: remote (0.4.0): Fernbedienung Oct 15 00:39:50 HTPC vdr: [10244] setting primary device to 1 Oct 15 00:39:50 HTPC vdr: [10244] device 1 has no MPEG decoder Oct 15 00:39:50 HTPC vdr: [10244] trying device number 2 instead Oct 15 00:39:50 HTPC vdr: [10244] setting primary device to 2 Oct 15 00:39:50 HTPC vdr: [10244] assuming manual start of VDR Oct 15 00:39:50 HTPC vdr: [10244] SVDRP listening on port 2001 Oct 15 00:39:50 HTPC vdr: [10244] setting current skin to "sttng" Oct 15 00:39:50 HTPC vdr: [10244] loading /etc/vdr//themes/sttng-default.theme Oct 15 00:39:50 HTPC vdr: [10244] starting plugin: femon Oct 15 00:39:50 HTPC vdr: [10244] starting plugin: xineliboutput Oct 15 00:39:50 HTPC vdr: [10251] Remote decoder/display server (cXinelibServer) thread started (pid=10244, tid=10251) Oct 15 00:39:50 HTPC vdr: [10251] [xine..put] cXinelibServer priority set successful SCHED_RR 2 [1,99] Oct 15 00:39:50 HTPC vdr: [10251] [xine..put] Listening on port 37890 Oct 15 00:39:50 HTPC vdr: [10251] [xine..put] Listening for UDP broadcasts on port 37890 Oct 15 00:39:50 HTPC vdr: [10251] [xine..put] BROADCAST: VDR xineliboutput DISCOVERY 1.0^M Server port: 37890^M Server version: xineliboutput-1.0.90-cvs^M ^M Oct 15 00:39:50 HTPC vdr: [10244] [xine..put] cXinelibDevice::StartDevice(): Device started Oct 15 00:39:50 HTPC vdr: [10244] starting plugin: remote Oct 15 00:39:50 HTPC vdr: [10244] device /dev/input/event0: Macintosh mouse button emulation Oct 15 00:39:50 HTPC vdr: [10244] device /dev/input/event1: USB-compliant keyboard Oct 15 00:39:50 HTPC vdr: [10244] device /dev/input/event2: USB-compliant keyboard Oct 15 00:39:50 HTPC vdr: [10244] device /dev/input/event3: Microsoft Microsoft IntelliMouse® Optical Oct 15 00:39:50 HTPC vdr: [10244] device /dev/input/event4: Power Button (FF) Oct 15 00:39:50 HTPC vdr: [10244] device /dev/input/event5: Power Button (CM) Oct 15 00:39:50 HTPC vdr: [10244] device /dev/input/event6: PC Speaker Oct 15 00:39:50 HTPC vdr: [10244] device /dev/input/event7: cx88 IR (Hauppauge WinTV-HVR400 Oct 15 00:39:50 HTPC vdr: [10244] remote: using '/dev/input/ir' Oct 15 00:39:50 HTPC vdr: [10244] remote-ir: autorepeat supported Oct 15 00:39:50 HTPC vdr: [10244] remote-ir: exclusive access granted Oct 15 00:39:50 HTPC vdr: [10244] remote control remote-ir - keys known Oct 15 00:39:50 HTPC vdr: [10253] KBD remote control thread started (pid=10244, tid=10253) Oct 15 00:39:50 HTPC vdr: [10244] remote control KBD - learning keys Oct 15 00:40:00 HTPC vdr: [10244] switching to channel 561 Oct 15 00:40:00 HTPC kernel: [ 1950.452753] dvb_frontend_ioctl_properties() FE_SET_PROPERTY Oct 15 00:40:00 HTPC kernel: [ 1950.452770] dvb_frontend_ioctl_properties() properties.num = 1 Oct 15 00:40:00 HTPC kernel: [ 1950.452776] dvb_frontend_ioctl_properties() properties.props = 00000000415a6cc0 Oct 15 00:40:00 HTPC kernel: [ 1950.452782] dtv_property_process_set() Oct 15 00:40:00 HTPC kernel: [ 1950.452786] dtv_property_dump() tvp.cmd = 0x00000002 (DTV_CLEAR) Oct 15 00:40:00 HTPC kernel: [ 1950.452790] dtv_property_dump() tvp.u.data = 0x00000000 Oct 15 00:40:00 HTPC kernel: [ 1950.452794] dtv_property_process_set() Flushing property cache Oct 15 00:40:00 HTPC vdr: [10273] receiver on device 1 thread started (pid=10244, tid=10273) Oct 15 00:40:00 HTPC vdr: [10274] TS buffer on device 1 thread started (pid=10244, tid=10274) Oct 15 00:40:00 HTPC kernel: [ 1950.503951] dvb_frontend_ioctl_properties() FE_SET_PROPERTY Oct 15 00:40:00 HTPC kernel: [ 1950.503966] dvb_frontend_ioctl_properties() properties.num = 8 Oct 15 00:40:00 HTPC kernel: [ 1950.503970] dvb_frontend_ioctl_properties() properties.props = 00000000415a6cc0 Oct 15 00:40:00 HTPC kernel: [ 1950.503977] dtv_property_process_set() Oct 15 00:40:00 HTPC kernel: [ 1950.503981] dtv_property_dump() tvp.cmd = 0x00000011 (DTV_DELIVERY_SYSTEM) Oct 15 00:40:00 HTPC kernel: [ 1950.503985] dtv_property_dump() tvp.u.data = 0x00000004 Oct 15 00:40:00 HTPC kernel: [ 1950.503989] dtv_property_process_set() Oct 15 00:40:00 HTPC kernel: [ 1950.503992] dtv_property_dump() tvp.cmd = 0x00000003 (DTV_FREQUENCY) Oct 15 00:40:00 HTPC kernel: [ 1950.503995] dtv_property_dump() tvp.u.data = 0x001da9c0 Oct 15 00:40:00 HTPC kernel: [ 1950.503998] dtv_property_process_set() Oct 15 00:40:00 HTPC kernel: [ 1950.504019] dtv_property_dump() tvp.cmd = 0x00000004 (DTV_MODULATION) Oct 15 00:40:00 HTPC kernel: [ 1950.504023] dtv_property_dump() tvp.u.data = 0x00000000 Oct 15 00:40:00 HTPC kernel: [ 1950.504026] dtv_property_process_set() Oct 15 00:40:00 HTPC kernel: [ 1950.504029] dtv_property_dump() tvp.cmd = 0x00000008 (DTV_SYMBOL_RATE) Oct 15 00:40:00 HTPC kernel: [ 1950.504032] dtv_property_dump() tvp.u.data = 0x014fb180 Oct 15 00:40:00 HTPC kernel: [ 1950.504035] dtv_property_process_set() Oct 15 00:40:00 HTPC kernel: [ 1950.504038] dtv_property_dump() tvp.cmd = 0x00000009 (DTV_INNER_FEC) Oct 15 00:40:00 HTPC kernel: [ 1950.504042] dtv_property_dump() tvp.u.data = 0x00000009 Oct 15 00:40:00 HTPC kernel: [ 1950.504045] dtv_property_process_set() Oct 15 00:40:00 HTPC kernel: [ 1950.504048] dtv_property_dump() tvp.cmd = 0x0000000d (DTV_ROLLOFF) Oct 15 00:40:00 HTPC kernel: [ 1950.504051] dtv_property_dump() tvp.u.data = 0x00000000 Oct 15 00:40:00 HTPC kernel: [ 1950.504054] dtv_property_process_set() Oct 15 00:40:00 HTPC kernel: [ 1950.504057] dtv_property_dump() tvp.cmd = 0x00000006 (DTV_INVERSION) Oct 15 00:40:00 HTPC kernel: [ 1950.504061] dtv_property_dump() tvp.u.data = 0x00000002 Oct 15 00:40:00 HTPC kernel: [ 1950.504064] dtv_property_process_set() Oct 15 00:40:00 HTPC kernel: [ 1950.504067] dtv_property_dump() tvp.cmd = 0x00000001 (DTV_TUNE) Oct 15 00:40:00 HTPC kernel: [ 1950.504070] dtv_property_dump() tvp.u.data = 0x00000000 Oct 15 00:40:00 HTPC kernel: [ 1950.504075] dtv_property_process_set() Finalised property cache Oct 15 00:40:00 HTPC kernel: [ 1950.504078] dtv_property_cache_submit() Oct 15 00:40:00 HTPC kernel: [ 1950.504081] dtv_property_cache_submit() legacy, modulation = 0 Oct 15 00:40:00 HTPC kernel: [ 1950.504085] dtv_property_legacy_params_sync() Oct 15 00:40:00 HTPC kernel: [ 1950.504088] dtv_property_legacy_params_sync() Preparing QPSK req Oct 15 00:40:00 HTPC kernel: [ 1950.508266] dvb_frontend_ioctl_properties() Property cache is full, tuning Oct 15 00:40:01 HTPC vdr: [10273] [xine..put] Detected video size 720x576 Oct 15 00:40:01 HTPC vdr: [10273] [xine..put] cXinelibDevice::PlayAny: invalid data ! Oct 15 00:40:04 HTPC last message repeated 7 times Oct 15 00:40:05 HTPC vdr: [10251] [xine..put] Received valid discovery message VDR xineliboutput DISCOVERY 1.0^M Client: 255.255.255.255:37890^M ^M Oct 15 00:40:05 HTPC vdr: [10251] [xine..put] BROADCAST: VDR xineliboutput DISCOVERY 1.0^M Server port: 37890^M Server version: xineliboutput-1.0.90-cvs^M ^M Oct 15 00:40:05 HTPC vdr: [10273] [xine..put] cXinelibDevice::PlayAny: invalid data ! Oct 15 00:40:05 HTPC last message repeated 2 times Oct 15 00:40:06 HTPC vdr: [10251] [xine..put] Client 0 connected: 192.168.1.222:37542 Oct 15 00:40:06 HTPC vdr: [10251] [xine..put] cxSocket: setsockopt(SO_SNDBUF): got 262142 bytes Oct 15 00:40:06 HTPC vdr: [10251] [xine..put] Trying PIPE connection ... Oct 15 00:40:06 HTPC vdr: [10251] creating directory /etc/vdr//plugins/xineliboutput/pipes.10244 Oct 15 00:40:06 HTPC vdr: [10251] removing /etc/vdr//plugins/xineliboutput/pipes.10244 Oct 15 00:40:06 HTPC vdr: [10251] [xine..put] cBackgroundWriterI initialized (buffer 512 kb) Oct 15 00:40:06 HTPC vdr: [10251] [xine..put] cTcpWriter initialized (buffer 512 kb) Oct 15 00:40:06 HTPC vdr: [10251] [xine..put] Pipe open Oct 15 00:40:06 HTPC vdr: [10273] [xine..put] cXinelibDevice::PlayAny: invalid data ! Oct 15 00:40:14 HTPC last message repeated 17 times Oct 15 00:40:14 HTPC vdr: [10273] [xine..put] cXinelibServer::Play_PES Buffer overflow (TCP/PIPE) Oct 15 00:40:15 HTPC vdr: [10273] [xine..put] cXinelibDevice::PlayAny: invalid data ! Oct 15 00:40:15 HTPC vdr: [10273] [xine..put] cXinelibServer::Play_PES Buffer overflow (TCP/PIPE) Oct 15 00:40:15 HTPC vdr: [10273] [xine..put] cXinelibDevice::PlayAny: invalid data ! Oct 15 00:40:15 HTPC vdr: [10273] [xine..put] cXinelibServer::Play_PES Buffer overflow (TCP/PIPE) Oct 15 00:40:16 HTPC vdr: [10273] [xine..put] cXinelibDevice::PlayAny: invalid data ! Oct 15 00:40:16 HTPC vdr: [10273] [xine..put] cXinelibServer::Play_PES Buffer overflow (TCP/PIPE) Oct 15 00:40:16 HTPC vdr: [10273] [xine..put] cXinelibDevice::PlayAny: invalid data ! Oct 15 00:40:16 HTPC vdr: [10273] [xine..put] cXinelibServer::Play_PES Buffer overflow (TCP/PIPE) Oct 15 00:40:16 HTPC vdr: [10251] [xine..put] Client connection 0 closed Oct 15 00:40:16 HTPC vdr: [10292] [xine..put] cBackgroundWriter: TCP write error Oct 15 00:40:16 HTPC vdr: [10292] [xine..put] (ERROR (tools/backgroundwriter.c,227): Broken pipe) Oct 15 00:40:16 HTPC vdr: [10251] [xine..put] Closing connection 0 Oct 15 00:40:17 HTPC vdr: [10273] [xine..put] cXinelibDevice::PlayAny: invalid data ! Oct 15 00:40:17 HTPC acpid: client connected from 6094[0:0] Oct 15 00:40:17 HTPC vdr: [10273] [xine..put] cXinelibDevice::PlayAny: invalid data ! Oct 15 00:40:17 HTPC acpid: client connected from 6094[0:0] Oct 15 00:40:18 HTPC vdr: [10273] [xine..put] cXinelibDevice::PlayAny: invalid data ! Oct 15 00:40:49 HTPC last message repeated 65 times Oct 15 00:41:50 HTPC last message repeated 126 times
/usr/local/bin/vdr-sxfe --video=xv --aspect=16:9 --fullscreen --width=1920 --height=1080 --audio=alsa
vdr-sxfe 1.0.90-cvs (build with xine-lib 1.1.90, using xine-lib 1.1.90)
Video driver: xv Aspect ratio: 16:9 Fullscreen mode Width: 1920 Height: 1080 Audio driver: alsa
VDR server not given, searching ... Found VDR server: host 192.168.1.222, port 37890 [10275] [vdr-fe] Detected 2 CPUs [10275] [vdr-fe] Enabling FFmpeg multithreaded video decoding
Press Esc to exit
[10275] [input_vdr] Using decoder "libmpeg2" for mpeg2 video [10275] [input_vdr] Using decoder "FFmpeg" for H.264 video [10275] [input_vdr] Connecting (control) to tcp://192.168.1.222:37890 ... [10275] [input_vdr] Server greeting: VDR-1.7.1 xineliboutput-1.0.90-cvs READY [10275] [input_vdr] Connected (control) to tcp://192.168.1.222:37890 [10275] [input_vdr] Connecting (data) to pipe:///etc/vdr//plugins/xineliboutput/pipes.10244/pipe.0 [10275] [input_vdr] Data stream connected (PIPE) [10295] [input_vdr] TCP: Buffer too small (8192 ; incoming frame 139532 bytes) [10295] [input_vdr] TCP: Buffer too small (8192 ; incoming frame 1598112274 bytes) [10295] [input_vdr] TCP: Buffer too small (8192 ; incoming frame 2061157 bytes) [10295] [input_vdr] TCP: Buffer too small (8192 ; incoming frame 1611562197 bytes) [10295] [input_vdr] TCP: Buffer too small (8192 ; incoming frame 414135260 bytes) [10295] [input_vdr] TCP: Buffer too small (8192 ; incoming frame 681350344 bytes)
Hi,
enable permanent timeshift in vdr.
cu
Edgar (gimli) Hucek
Hello,
thanks for the quick response! Everything compiled fine now. But still something seems to be broken there. Watching TV with mplayer works fine but there is a problem with vdr/xine. I attached my syslog and the output of vdr-sxfe. I hope someone has an idea whats causing this.
Many thanks in advance! Martin Schlosser
Hi,
you are using the older patch use the attached one. The fix-s2api-dvbs is not needed with this one.
cu
Edgar (gimli) Hucek
Hi All,
this patches are for Steve Toth's repository at : http://linuxtv.org/hg/~stoth/s2/ . In theory they should work. I did them offline from my VDR.
cu
Edgar (gimli) Hucek
Hi,
I just can't compile my vdr. I applied the following patches to
vanilla
vdr-1.7.1:
- vdr-1.7.1_extensions.diff
- vdr-1.7.1-ext_h264.diff
- vdr-1.7.1-s2api-ext64.patch
- fix-s2api-dvbs-tuning.patch
Everything worked fine until here. Now I downloaded and installed
S2API
(from http://linuxtv.org/hg/~stoth/s2-mfe right?).
After setting the paths etc in teh make configs I tried to compile
vdr,
but this is what happens then:
root at HTPC:/usr/local/src/vdr-1.7.1# make g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DUSE_CMDRECCMDI18N -DUSE_CMDSUBMENU -DUSE_CUTTIME -DUSE_DDEPGENTRY -DUSE_DOLBYINREC -DUSE_JUMPPLAY -DUSE_LIEMIKUUTIO -DUSE_PLUGINMISSING -DUSE_SETTIME -DUSE_WAREAGLEICON -DREMOTE_KBD -DVDR_USER="vdr" -DLIRC_DEVICE="/dev/lircd" -DRCU_DEVICE="/dev/ttyS1"
-D_GNU_SOURCE
-DVIDEODIR="/daten/Video/vdr/video.00" -DCONFDIR="/daten/Video/vdr/video.00" -DPLUGINDIR="./PLUGINS/lib" -DLOCDIR="./locale" -DUSE_PLUGINAPI -I/usr/include/freetype2 -I../s2-mfe/linux/include channels.c channels.c:70: error: 'NBC_QPSK' was not declared in this scope channels.c:71: error: '_8PSK' was not declared in this scope channels.c:72: error: '_16APSK' was not declared in this scope channels.c: In member function 'void cChannel::SetLinkChannels(cLinkChannels*)': channels.c:690: warning: format not a string literal and no format arguments make: *** [channels.o] Fehler 1
Any ideas?
Regards Martin Schlosser
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr