Bug #5684
Tvheadend does not detect AC3+ audio track
0%
Description
Recently on 13E, on FTA music channels 4Fun added AC3+ audio track. Tvheadend cuts it for unknown reasons, although it is there for sure.
Files
History
Updated by Rafal N over 5 years ago
I have the same problem. Tvheadend does not detect the e-ac3 audio track on Canal + 4k UHD
I was building Tvheadend 4.3 on the latest commit - 6be300c
See attached samples https://mega.nz/#F!qREGWALD!UE7Dsn4EyXse1KgQVe3oig
Updated by Pablo R. over 5 years ago
--trace mpegts,tbl-base,parser ; tune to the problematic service (https://tvheadend.org/projects/tvheadend/wiki/Traces) and show logs.
Updated by Pablo R. over 5 years ago
2019-07-15 09:16:51.768 tbl-base: pmt: pid 0101 estype 135 ^^^^^^^^^^
2019-07-15 08:52:52.972 [ DEBUG]:tbl-base: pmt: pid 0309 estype 135 ^^^^^^^^^^
This is the problematic audio (estype 135) and it is not being processed by '(E)AC3 audio parser functions'.
Updated by Rafal N over 5 years ago
- File A52-201212-17.pdf A52-201212-17.pdf added
Mister Pablo R - See attachement documentation about (E)ac3 standards.
In this document, search for "Stream type" value - all are listed. If I see it well, "estype 135" is on page 259 (...)3.1 Stream Type
E-AC-3 bit streams shall be identified with a stream_type value of 0x87 when transmitted as PES
streams conforming to ATSC-published standards.(...)
But (E) Ac3 also uses other IDs so the file ""/src/parsers/parsers.c" need to be fix.
Regards
Updated by Pablo R. over 5 years ago
Vlad Lanetz wrote:
Is it possible to fix it?
It should, but I'm not a programmer
Updated by Rafal N over 5 years ago
Yes of course.
I do not understand how the current 'parsers' work so we have to wait.
But I see this is probably nothing difficult.
Updated by Jaroslav Kysela over 5 years ago
- Subject changed from Tvheadend deletes AC3+ audio track to Tvheadend does not detect AC3+ audio track
Updated by Jaroslav Kysela over 5 years ago
Try to add this code bellow https://github.com/tvheadend/tvheadend/blob/master/src/input/mpegts/dvb_psi_pmt.c#L363 :
case 0x87: hts_stream_type = SCT_EAC3; break;
Updated by Rafal N over 5 years ago
- File Service_detail.png Service_detail.png added
Now it's OK.
Thanks for the quick help.
Updated by Rafal N over 5 years ago
@ Jaroslav Kysela - Will you also add other "Stream type" values from the documentation of the (E) AC3 standard?
For example, (page 259): 0xBD (indicating private_stream_1)
Regards
Rafal
Updated by Vlad Lanetz over 5 years ago
Thanks Jaroslav. Is it possible to fix the Dolby E?
https://www.tvheadend.org/issues/5631
Updated by Pablo R. over 5 years ago
Jaroslav Kysela wrote:
Try to add this code bellow https://github.com/tvheadend/tvheadend/blob/master/src/input/mpegts/dvb_psi_pmt.c#L363 :
[...]
Could it be pushed to master?
Updated by Rafal N over 5 years ago
I've created pull requests https://github.com/tvheadend/tvheadend/pulls
I checked everything and it works well.
Thanks for the help.
Jaroslav if you can, please confirm fixes and close this issue.