Seite 1 von 1

Wrong bitrate calc for HD channels

Verfasst: Donnerstag 22. Mai 2014, 16:18
von Benny
Greetings,

bitrate values for HD channels in "Stream Info" looks odd, at same time in log i see something like

Code: Alles auswählen

[LT:3affcc38:demux ] Read read: Value too large for defined data type fd:42, ev:0x0 DMX_TP pid:0x090b flt:0x00
...
[LT:3affcc38:demux ] Read read: Value too large for defined data type fd:42, ev:0x0 DMX_TP pid:0x090b flt:0x00
[LT:3affcc38:demux ] Close dmx_tp_count < 0!!
According to streaminfo2.cpp (line 831)

Code: Alles auswählen

#define TS_LEN			188
#define TS_BUF_SIZE		(TS_LEN * 2048)	/* fix dmx buffer size */
someone already know about this problem. May be, this definition should look like "TS_BUF_SIZE (TS_LEN * 20480)"?
On other hand, in neutrino.conf we have "recording_bufsize_dmx" constant - if those values correlate with each other, should we read appropriate value from conf file first?

Re: Wrong bitrate calc for HD channels

Verfasst: Donnerstag 22. Mai 2014, 19:36
von martii
Hi Benny,

EOVERFLOW indicates that either the demux ringbuffer is to small or reading from the demux wasn't fast enough, so increasing the internal buffer size will hopefully be sufficient.

https://gitorious.org/neutrino-mp/marti ... 685e9daaa5

Thanks,

martii

Re: Wrong bitrate calc for HD channels

Verfasst: Donnerstag 22. Mai 2014, 20:10
von Benny
martii hat geschrieben:increasing the internal buffer size will hopefully be sufficient
Yes, it looks so - log is clear, bitrate values looks truthfull.

Thank you.