Wrong bitrate calc for HD channels

Entwicklung
Antworten
Benny
Interessierter
Interessierter
Beiträge: 57
Registriert: Samstag 17. Mai 2014, 17:28
Sonstiges: GM990

Wrong bitrate calc for HD channels

Beitrag 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?
martii
Einsteiger
Einsteiger
Beiträge: 217
Registriert: Donnerstag 14. Juni 2012, 08:39

Re: Wrong bitrate calc for HD channels

Beitrag 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
Benny
Interessierter
Interessierter
Beiträge: 57
Registriert: Samstag 17. Mai 2014, 17:28
Sonstiges: GM990

Re: Wrong bitrate calc for HD channels

Beitrag 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.
Antworten