[vdr] xineliboutput buffer problems, dropouts and skipped frames

Milos Kapoun vdr-mk at kapik.net
Mon Oct 21 16:20:28 CEST 2013


 

Hello,
I did a lot of trouble shooting two new DVB-T multiplexes in
Prague (Czech republic). 
Problems are dropouts and errors in the
picture. After approximately 10 minutes 
xine crash : "floating point
error" and VDR do reload. It is occurring only on
that two multiplexes.
I did checks for signal and stream quality and it is
good, details
attached. 

In the log is:
200 frames delivered, 17 frames skipped, 0
frames discarded
200 frames delivered, 10 frames skipped, 0 frames
discarded
200 frames delivered, 20 frames skipped, 0 frames
discarded

This is there for MPEG2 streams, for h264 streams it is
different. 

I think it is buffer underrun, all (my) problems with
buffer overflow is due
to xine playing incomplete/corrupted data.

I did
tests on 1.7.38, 2.0.0 and 2.1.1. Ffmpeg and xine are now on latest
versions.
DVB drivers are from kernel 3.7.1. Two different dvb-t cards.
Behavior had been same. 

Could you suggest, what next to test? 

Thank
you
Milos

Debug outputs: 

VDRPRG="./vdr -p 2001 -P"remote -i
/dev/my_remote" -P femon -P dvbhddevice -P"xineliboutput --local=sxfe
--video=xv --audio=alsa:hw:0,3 --remote=none" -v /video0 "


Lspci
04:02.0 Network controller: Techsan Electronics Co Ltd B2C2
FlexCopII DVB chip / Technisat SkyStar2 DVB card (rev 02)
 Subsystem:
Techsan Electronics Co Ltd B2C2 FlexCopII DVB chip / Technisat SkyStar2
DVB card
 Flags: bus master, slow devsel, latency 32, IRQ 18
 Memory at
fbde0000 (32-bit, non-prefetchable) [size=64K]
 I/O ports at cf00
[size=32]
 Kernel driver in use: b2c2_flexcop_pci

04:03.0 Multimedia
controller: Philips Semiconductors SAA7146 (rev 01)
 Subsystem:
Technotrend Systemtechnik GmbH Technotrend-Budget/Hauppauge WinTV-NOVA-T
DVB card
 Flags: bus master, medium devsel, latency 32, IRQ 16
 Memory
at fbdff000 (32-bit, non-prefetchable) [size=512]
 Kernel driver in use:
budget_ci dvb

channels.conf:
TELKA;Digital Broadcasting
s.r.o.:642000000:B8C34D12G8M64S0T8Y0:T:0:3611=2:3612=cze at 3:3615:0:518:8395:1025:0
Stream
check
VDR2:/usr/src/VDR# dvbsnoop -ph 0 -adapter 0 -crc -n 100000 -s
bandwidth 0x0e1b
dvbsnoop V1.4.50 --
http://dvbsnoop.sourceforge.net/

---------------------------------------------------------
PID
bandwidth statistics...
PID: 3611 (0x0e1b) - max packet count:
100000
---------------------------------------------------------
packets
read: 28/(28) d_time: 0.004 s = 10528.000 kbit/s (Avrg: 10528.000
kbit/s) [bad: 0]
packets read: 34/(62) d_time: 0.021 s = 2435.048 kbit/s
(Avrg: 3729.920 kbit/s) [bad: 0]
...
packets read: 29/(99977) d_time:
0.019 s = 2295.579 kbit/s (Avrg: 2580.893 kbit/s) [bad: 0]
packets read:
30/(100007) d_time: 0.021 s = 2148.571 kbit/s (Avrg: 2580.737 kbit/s)
[bad: 0]
## PID: 3611 (0x0e1b) bad/total packets: 0/100007 (= 0.0%)
Avrg: 2580.737 kbit/s
VDR2:/usr/src/VDR# dvbsnoop -ph 0 -adapter 1 -crc
-n 1000 -s signal 0x0e1b | grep -v "SIG CARR VIT SYNC LOCK"
dvbsnoop
V1.4.50 -- http://dvbsnoop.sourceforge.net/

Signal
check
---------------------------------------------------------
Transponder/Frequency
signal strength statistics...
max cycle count:
1000
---------------------------------------------------------
VDR2:/usr/src/VDR#
dvbsnoop -ph 0 -adapter 1 -crc -n 100000 -s signal 0x0e1b | grep -v
"SIG CARR VIT SYNC LOCK"
dvbsnoop V1.4.50 --
http://dvbsnoop.sourceforge.net/

---------------------------------------------------------
Transponder/Frequency
signal strength statistics...
max cycle count:
100000
---------------------------------------------------------
VDR2:/usr/src/VDR#
dvbsnoop -ph 0 -adapter 0 -crc -n 100000 -s signal 0x0e1b | grep -v
"SIG CARR VIT SYNC LOCK"
dvbsnoop V1.4.50 --
http://dvbsnoop.sourceforge.net/

---------------------------------------------------------
Transponder/Frequency
signal strength statistics...
max cycle count:
100000
---------------------------------------------------------

VDR
signal debug, it is same for both cards.

FE 1/0: 13D02103 Q = FFFF D8D8
1 0 0 84%
FE 1/0: 13D02103 S = FFFF EC5F 92%
FE 1/0: 13D02103 Q = FFFF
DDDD 1 0 0 86%
FE 1/0: 13D02103 S = FFFF EE1F 93%
FE 1/0: 13D02103 Q =
FFFF DADA 1 0 0 85%
FE 1/0: 13D02103 S = FFFF ECCF 92%
FE 1/0: 13D02103
Q = FFFF DADA 1 0 0 85%
FE 1/0: 13D02103 S = FFFF EE5F 93%
FE 1/0:
13D02103 Q = FFFF D8D8 1 0 0 84%
FE 1/0: 13D02103 S = FFFF ED7F 92%

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.linuxtv.org/pipermail/vdr/attachments/20131021/9258f345/attachment.html>


More information about the vdr mailing list