htsp - globalheaders: gh disable stream
Added by Marek ST almost 5 years ago
I have problem on one channel with audio, audio stream is disabled and i get only video. Iam using master tvheadend and lates kodi. I tested problem on my box with coreelec and on windows too.
With htsp, on kodi audio stream with eac3 are disabled:
tbl-base: sdt: onid 0001 (1) tsid 0001 (1)
tbl-base: pat: 0x5598651b2b40: tsid 2AF8 (11000)
tbl-base: pat: sid 113D (4413) on pid 0FFF (4095)
tbl-base: pmt: sid 113D (4413)
tbl-base: pmt: pcr_pid 00D3
tbl-base: pmt: pid 00DD estype 135
tbl-base: pmt: type EAC3 position 0
tbl-base: pmt: language pol
tbl-base: pmt: pid 00DE estype 135
tbl-base: pmt: type EAC3 position 0
tbl-base: pmt: language qaa
tbl-base: pmt: pid 00D3 estype 36
tbl-base: pmt: type HEVC position 0
globalheaders: gh disable stream 1 EAC3 pol (PID 221) threshold 0 qd 0 qd_max 226800
globalheaders: gh disable stream 2 EAC3 qaa (PID 222) threshold 0 qd 0 qd_max 226800
But on VLC, when tvheadend use pass profile audio stream are fine and are not disabled. Any help. Sometimes on different codec on stream for some audition sound are fine on htsp, the problem occurs only on eac3 codec and htsp profile only.
Replies (6)
RE: htsp - globalheaders: gh disable stream - Added by saen acro almost 5 years ago
With version of TVH?
RE: htsp - globalheaders: gh disable stream - Added by Marek ST almost 5 years ago
latest from apt HTS Tvheadend 4.3-1857~g221c29b40 on ubuntu bionic 18.04
RE: htsp - globalheaders: gh disable stream - Added by Marek ST almost 5 years ago
Anybody?
I add more log. Before disable i got:
2019-12-04 23:59:45.102 [ DEBUG]:globalheaders: gh disable stream 1 EAC3 pol (PID 221) threshold 0 qd 0 qd_max 226800
2019-12-04 23:59:45.102 [ DEBUG]:globalheaders: gh disable stream 2 EAC3 qaa (PID 222) threshold 0 qd 0 qd_max 226800
2019-12-04 23:59:45.102 [ TRACE]:globalheaders: stream 1 EAC3 pol (PID 221) complete time 0 disabled
2019-12-04 23:59:45.102 [ TRACE]:globalheaders: stream 2 EAC3 qaa (PID 222) complete time 0 disabled
2019-12-04 23:59:45.102 [ TRACE]:globalheaders: stream 3 HEVC (PID 211) complete time 226800
RE: htsp - globalheaders: gh disable stream - Added by Pawel Woda almost 5 years ago
i've got similar problem. Video is ok but audio source is not recognized by tvh htsp client. Strange thing is when i record that channel and playback sound and sound source is there, everything is fine.
RE: htsp - globalheaders: gh disable stream - Added by Marek ST almost 5 years ago
Exactly the problem occurs only on htsp profile, on recording (different profile) or streaming to other client (like VLC) with different stream profil like "pass" all is fine, only htsp profile disable audio stream. I fought for sec its kodi problem or htsp client pluing, but logs in tvheadend show that tvheadend disabled audio stream pushed to client.
Globalheaders from tvheadend/src/plumbing/globalheaders.c did it by:
/*
* disable stream only when
* - half timeout is reached without any packets seen
* - maximal timeout is reached without metadata
*/
But i have no idea from log what did it :), and why on different stream profile, audio stream are not disabled only on htsp profile
RE: htsp - globalheaders: gh disable stream - Added by Marek ST almost 5 years ago
Any help?
Not enough debug information?