* [linux-dvb] cat: /dev/dvb/adapter0/dvr0: Value too large for defined data type
@ 2008-08-30 17:38 Goga777
2008-08-31 8:35 ` barry bouwsma
2008-08-31 9:10 ` ChaosMedia > WebDev
0 siblings, 2 replies; 5+ messages in thread
From: Goga777 @ 2008-08-30 17:38 UTC (permalink / raw)
To: linux-dvb
Hi
I run the
# ./szap2 -n1 -c19 -S0 -M2 -C34 -p
reading channels from file '19'
zapping to 1 'EinsFestival HD;ARD':
sat 0, frequency = 12422 MHz H, symbolrate 27500000, vpid = 0x0641, apid = 0x0642 sid = 0x6eec
Delivery system=DVB-S
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
do_tune: API version=3, delivery system = 0
do_tune: Frequency = 1822000, Srate = 27500000
do_tune: Frequency = 1822000, Srate = 27500000
status 1f | signal f240 | snr 7ccd | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal f240 | snr 799a | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal f280 | snr 7800 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
and try to see the pictures with ffplay
env LANG=C cat /dev/dvb/adapter0/dvr0 | ffplay -
goga@goga:/usr/src/vdr-1.7.0$ env LANG=C cat /dev/dvb/adapter0/dvr0 | ffplay -
FFplay version SVN-r15050, Copyright (c) 2003-2008 Fabrice Bellard, et al.
configuration: --arch=i686 --cpu=pentium4 --enable-pthreads --enable-shared --enable-gpl --enable-postproc --disable-stripping --enable-liba52 --enable-libvorbis
libavutil 49.10. 0 / 49.10. 0
libavcodec 51.70. 0 / 51.70. 0
libavformat 52.21. 0 / 52.21. 0
libavdevice 52. 1. 0 / 52. 1. 0
built on Aug 30 2008 18:28:25, gcc: 4.3.1
[h264 @ 0x80aa760]B picture before any references, skipping
[h264 @ 0x80aa760]decode_slice_header error
[h264 @ 0x80aa760]no frame!
[h264 @ 0x80aa760]B picture before any references, skipping
[h264 @ 0x80aa760]decode_slice_header error
[h264 @ 0x80aa760]no frame!
[h264 @ 0x80aa760]non-existing PPS referenced
[h264 @ 0x80aa760]decode_slice_header error
[h264 @ 0x80aa760]no frame!
[h264 @ 0x80aa760]B picture before any references, skipping
[h264 @ 0x80aa760]decode_slice_header error
[h264 @ 0x80aa760]no frame!
[h264 @ 0x80aa760]B picture before any references, skipping
[h264 @ 0x80aa760]decode_slice_header error
[h264 @ 0x80aa760]no frame!
[h264 @ 0x80aa760]non-existing PPS referenced
[h264 @ 0x80aa760]decode_slice_header error
[h264 @ 0x80aa760]no frame!
[h264 @ 0x80aa760]B picture before any references, skipping
[h264 @ 0x80aa760]decode_slice_header error
[h264 @ 0x80aa760]no frame!
[h264 @ 0x80aa760]B picture before any references, skipping
[h264 @ 0x80aa760]decode_slice_header error
[h264 @ 0x80aa760]no frame!
[h264 @ 0x80aa760]non-existing PPS referenced
[h264 @ 0x80aa760]decode_slice_header error
[h264 @ 0x80aa760]no frame!
[h264 @ 0x80aa760]B picture before any references, skipping
[h264 @ 0x80aa760]decode_slice_header error
[h264 @ 0x80aa760]no frame!
[h264 @ 0x80aa760]B picture before any references, skipping
[h264 @ 0x80aa760]decode_slice_header error
[h264 @ 0x80aa760]no frame!
[h264 @ 0x80aa760]number of reference frames exceeds max (probably corrupt input), discarding one
[h264 @ 0x80aa760]number of reference frames exceeds max (probably corrupt input), discarding one
[h264 @ 0x80aa760]number of reference frames exceeds max (probably corrupt input), discarding one
[h264 @ 0x80aa760]number of reference frames exceeds max (probably corrupt input), discarding one
[h264 @ 0x80aa760]B picture before any references, skipping
[h264 @ 0x80aa760]decode_slice_header error
[h264 @ 0x80aa760]no frame!
[h264 @ 0x80aa760]B picture before any references, skipping
[h264 @ 0x80aa760]decode_slice_header error
[h264 @ 0x80aa760]no frame!
[h264 @ 0x80aa760]warning: first frame is no keyframe
[h264 @ 0x80aa760]number of reference frames exceeds max (probably corrupt input), discarding one
cat: /dev/dvb/adapter0/dvr0: Value too large for defined data type
[h264 @ 0x80aa760]error while decoding MB 14 23, bytestream (-4)
[h264 @ 0x80aa760]concealing 1795 DC, 1795 AC, 1795 MV errors
after that the pictures is freezing
"cat: /dev/dvb/adapter0/dvr0: Value too large for defined data type"
is it possible to fix it ?
Goga
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-dvb] cat: /dev/dvb/adapter0/dvr0: Value too large for defined data type
2008-08-30 17:38 [linux-dvb] cat: /dev/dvb/adapter0/dvr0: Value too large for defined data type Goga777
@ 2008-08-31 8:35 ` barry bouwsma
2008-08-31 8:43 ` Goga777
2008-08-31 9:10 ` ChaosMedia > WebDev
1 sibling, 1 reply; 5+ messages in thread
From: barry bouwsma @ 2008-08-31 8:35 UTC (permalink / raw)
To: linux-dvb, Goga777
--- On Sat, 8/30/08, Goga777 <goga777@bk.ru> wrote:
> "cat: /dev/dvb/adapter0/dvr0: Value too large for
> defined data type"
>
> is it possible to fix it ?
This is a result of error EOVERFLOW.
I found mention of this in some very old documentation I have
but which doesn't appear to be present in the very limited
searching I've done on the existing source repositories.
I also can't find a particular pointer I read years back, which
led me to tweak the value of DVB_BUFFER_SIZE in dvb-core/dmxdev.h
so solve some problem I can't remember.
The documentation points to DMX_SET_BUFFER_SIZE. Programs like
`szap' seem to set this to 64k.
Hope that gets you started in the right direction...
barry bouwsma
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-dvb] cat: /dev/dvb/adapter0/dvr0: Value too large for defined data type
2008-08-31 8:35 ` barry bouwsma
@ 2008-08-31 8:43 ` Goga777
0 siblings, 0 replies; 5+ messages in thread
From: Goga777 @ 2008-08-31 8:43 UTC (permalink / raw)
To: linux-dvb
> > "cat: /dev/dvb/adapter0/dvr0: Value too large for
> > defined data type"
> >
> > is it possible to fix it ?
>
> This is a result of error EOVERFLOW.
>
> I found mention of this in some very old documentation I have
> but which doesn't appear to be present in the very limited
> searching I've done on the existing source repositories.
>
> I also can't find a particular pointer I read years back, which
> led me to tweak the value of DVB_BUFFER_SIZE in dvb-core/dmxdev.h
> so solve some problem I can't remember.
>
> The documentation points to DMX_SET_BUFFER_SIZE. Programs like
> `szap' seem to set this to 64k.
>
> Hope that gets you started in the right direction...
so, google has found this link
http://panteltje.com/panteltje/dvd/
======================================================
Attention,
if you do cat /dev/dvb/adapter0/dvr0 > file.ts and get error 'Value too large for defined data type',
then this indicates a buffer overflow in the DVB driver!
In this case modify dmxdev.h in the DVB driver so it reads:
#define DVR_BUFFER_SIZE (100*188*1024) // was 10*188*1024
You can do this if you have a kernel source >= 2.6 in the driver (check with uname -a):
/usr/src/linux/drivers/media/dvb/dvb-core/dmxdev.h
then recompile (make modules?).
======================================================
I have corrected /usr/src/liplianindvb/linux/drivers/media/dvb/dvb-core/dmxdev.h
#define DVR_BUFFER_SIZE (100*188*1024)
but it didn't help me and after re-compilation I have the same problem
Goga
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-dvb] cat: /dev/dvb/adapter0/dvr0: Value too large for defined data type
2008-08-30 17:38 [linux-dvb] cat: /dev/dvb/adapter0/dvr0: Value too large for defined data type Goga777
2008-08-31 8:35 ` barry bouwsma
@ 2008-08-31 9:10 ` ChaosMedia > WebDev
2008-08-31 9:37 ` [linux-dvb] cat: /dev/dvb/adapter0/dvr0: Value too large fordefined " Goga777
1 sibling, 1 reply; 5+ messages in thread
From: ChaosMedia > WebDev @ 2008-08-31 9:10 UTC (permalink / raw)
To: Goga777, LinuxTV DVB Mailing
Goga777 wrote:
>
> env LANG=C cat /dev/dvb/adapter0/dvr0 | ffplay -
>
>
> "cat: /dev/dvb/adapter0/dvr0: Value too large for defined data type"
>
> is it possible to fix it ?
>
>
i usually have better results with dd
i don't remember the exact command line but it should be something like :
dd id=/dev/dvb/adapter0/dvr0 conv=noerror | mplayer -
but it's not perfect and also suffer buffer problem, i know you can set some buffer sizes with dd but i couldn't get something working flawlessly
try googling "dd dvr0 mplayer" you may find some more clues..
Marc
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-dvb] cat: /dev/dvb/adapter0/dvr0: Value too large fordefined data type
2008-08-31 9:10 ` ChaosMedia > WebDev
@ 2008-08-31 9:37 ` Goga777
0 siblings, 0 replies; 5+ messages in thread
From: Goga777 @ 2008-08-31 9:37 UTC (permalink / raw)
To: LinuxTV DVB Mailing
> > env LANG=C cat /dev/dvb/adapter0/dvr0 | ffplay -
> >
> >
> > "cat: /dev/dvb/adapter0/dvr0: Value too large for defined data type"
> >
> > is it possible to fix it ?
> >
> >
> i usually have better results with dd
>
> i don't remember the exact command line but it should be something like :
>
> dd id=/dev/dvb/adapter0/dvr0 conv=noerror | mplayer -
>
> but it's not perfect and also suffer buffer problem, i know you can set some buffer sizes with dd but i couldn't get something working flawlessly
>
> try googling "dd dvr0 mplayer" you may find some more clues..
seems to me it's temporary solutiuon. How to fix this bug if I will use the software like VDR , not szap2 & MPlayer ?
Goga
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-08-31 9:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-30 17:38 [linux-dvb] cat: /dev/dvb/adapter0/dvr0: Value too large for defined data type Goga777
2008-08-31 8:35 ` barry bouwsma
2008-08-31 8:43 ` Goga777
2008-08-31 9:10 ` ChaosMedia > WebDev
2008-08-31 9:37 ` [linux-dvb] cat: /dev/dvb/adapter0/dvr0: Value too large fordefined " Goga777
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox