Project

General

Profile

UK Channel 4 AUDIO inaudible

Added by Marc Ominus almost 3 years ago

I had no time to test the new install of HTS Tvheadend 4.3-1983~gb8710206e before Xmass,
and just noticed playing (On PC Debian 11 | VLC 3.0.16) all the recordings from Channel 4 would be playing fine when the adverts
are on, but as soon as the "program" starts it becomes inaudible, for the whole period of the program
until the adverts start again and then the audio would start working again and then after add it would be inaudible again
for the whole program length until the adds come on when the audio would start working.......

There was no "Errors" or "Data errors" during the recording ...... anyone any advise?

Here is the mediainfo of one of the files:

Format                                   : Matroska
Format version                           : Version 2
File size                                : 5.17 GiB
Duration                                 : 2 h 17 min
Overall bit rate                         : 5 392 kb/s
Movie name                               : Indiana Jones and the Temple of...
ContentType                              : Movie / Drama
Writing application                      : Tvheadend 4.3-1983~gb8710206e
Writing library                          : Tvheadend Matroska muxer
Original source form                     : TV
DATE_BROADCASTED                         : 2021-12-31 18:45:00
TVCHANNEL                                : Channel 4 HD

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 2 h 17 min
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 FPS
Standard                                 : Component
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Language                                 : English
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : A_AAC-2
Duration                                 : 2 h 17 min
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Delay relative to video                  : -707 ms
Language                                 : English
Default                                  : Yes
Forced                                   : No

Text
ID                                       : 3
Format                                   : DVB Subtitle
Codec ID                                 : S_DVBSUB
Codec ID/Info                            : Picture based subtitle format used on DVBs
Language                                 : English
Default                                  : Yes
Forced                                   : No

Menu
00:00:00.000                             : 00:00:00.000
00:00:23.827                             : 00:00:23.827
00:25:44.707                             : 00:25:44.707
00:31:19.707                             : 00:31:19.707
00:50:22.347                             : 00:50:22.347
00:55:57.347                             : 00:55:57.347
01:15:14.787                             : 01:15:14.787
01:20:49.787                             : 01:20:49.787
01:47:07.507                             : 01:47:07.507
01:52:42.507                             : 01:52:42.507
02:14:53.067                             : 02:14:53.067
02:17:10.747                             : 02:17:10.747

The same file when playing on Android 11 device with VLC 3.4.2 would start playing the file without any audio problems,
then few minutes it would cut out, on restarting playback the "audio" would not work any more :(

Changing from Audio - Disabled and back to Track 1 [English] does not work and the movie is silent, rewinding to adverts and
the audio would start working again ....fast forward to the movie and there would be no audio again .....

I am streaming the file in LAN via miniDLNA 1.3.0

Log shows this:

sudo journalctl --since "2021-12-31 18:40:00" --until "2021-12-31 21:09:00" -u tvheadend -f
-- Journal begins at Fri 2021-11-26 13:40:26 GMT. --
Dec 31 18:44:30 OptiPlex9020M tvheadend[564]: dvr: "Indiana Jones and the Temple of..." on "Channel 4 HD" recorder starting
Dec 31 18:44:30 OptiPlex9020M tvheadend[564]: mpegts: 545.833MHz in UK FreeView - tuning on Sony CXD2820R #2 : DVB-T #0
Dec 31 18:44:30 OptiPlex9020M tvheadend[564]: subscription: 0714: "DVR: Indiana Jones and the Temple of..." subscribing on channel "Channel 4 HD", weight: 500, adapter: "Sony CXD2820R #2 : DVB-T #0", network: "UK FreeView", mux: "545.833MHz", service: "Channel 4 HD", profile="matroska", username="" 
Dec 31 18:44:32 OptiPlex9020M tvheadend[564]: time: TDT - stime(2) not implemented
Dec 31 18:45:00 OptiPlex9020M tvheadend[564]: dvr: /home/hts/Indiana-Jones-and-the-Temple-of...-Channel-4-HD2021-12-3118-45.mkv from adapter: "Sony CXD2820R #2 : DVB-T #0", network: "UK FreeView", mux: "545.833MHz", provider: "<N/A>", service: "Channel 4 HD" 
Dec 31 18:45:00 OptiPlex9020M tvheadend[564]: dvr:  #  type              lang  resolution  aspect ratio  sample rate  channels
Dec 31 18:45:00 OptiPlex9020M tvheadend[564]: dvr:  1  H264                    1920x1080   16:9
Dec 31 18:45:00 OptiPlex9020M tvheadend[564]: dvr:  2  AAC-LATM          eng                             48000        2
Dec 31 18:45:00 OptiPlex9020M tvheadend[564]: dvr:  3  AAC-LATM          eng                             96000        ?         <disabled, no valid input>
Dec 31 18:45:00 OptiPlex9020M tvheadend[564]: dvr:  4  DVBSUB            eng
Dec 31 18:54:35 OptiPlex9020M tvheadend[564]: epggrab: UK: Freeview - data completion timeout for 545.833MHz in UK FreeView
Dec 31 19:13:21 OptiPlex9020M tvheadend[564]: tsfix: The timediff for AAC-LATM is big (155580995), using current dts
Dec 31 21:02:10 OptiPlex9020M tvheadend[564]: subscription: 0714: "DVR: Indiana Jones and the Temple of..." unsubscribing from "Channel 4 HD", username="" 
Dec 31 21:02:10 OptiPlex9020M tvheadend[564]: dvr: "Indiana Jones and the Temple of..." on "Channel 4 HD": End of program: Completed OK


Replies (3)

RE: UK Channel 4 AUDIO inaudible - Added by Dave Pickles almost 3 years ago

I wonder if you are recording the "Visual impaired commentary" track instead of the primary audio?

This is what I get recording the same channel:

mediainfo 'Indiana Jones and the Last Crusade.ts'

General
ID                                       : 1 (0x1)
Complete name                            : Indiana Jones and the Last Crusade.ts
Format                                   : MPEG-TS
File size                                : 145 MiB
Duration                                 : 3 min 36 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 5 622 kb/s
Original network name                    : Astra Satellite Network 19,2'E

Video
ID                                       : 301 (0x12D)
Menu ID                                  : 1 (0x1)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Format settings, GOP                     : M=4, N=12
Codec ID                                 : 27
Duration                                 : 3 min 35 s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 25.000 FPS
Standard                                 : Component
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio #1
ID                                       : 302 (0x12E)
Menu ID                                  : 1 (0x1)
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Muxing mode                              : LATM
Codec ID                                 : 17-2
Duration                                 : 3 min 36 s
Bit rate mode                            : Variable
Channel(s)                               : 6 channels
Channel layout                           : C L R Ls Rs LFE
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Delay relative to video                  : -956 ms
Language                                 : English

Audio #2
ID                                       : 306 (0x132)
Menu ID                                  : 1 (0x1)
Format                                   : AAC LC SBR
Format/Info                              : Advanced Audio Codec Low Complexity with Spectral Band Replication
Commercial name                          : HE-AAC
Format settings                          : NBC
Muxing mode                              : LATM
Codec ID                                 : 17-2
Duration                                 : 3 min 36 s
Bit rate mode                            : Variable
Channel(s)                               : 1 channel
Channel layout                           : C
Sampling rate                            : 48.0 kHz
Frame rate                               : 23.438 FPS (2048 SPF)
Compression mode                         : Lossy
Delay relative to video                  : -744 ms
Language                                 : English
Language, more info                      : Visual impaired commentary

Text
ID                                       : 305 (0x131)
Menu ID                                  : 1 (0x1)
Format                                   : DVB Subtitle
Codec ID                                 : 6
Duration                                 : 3 min 33 s
Delay relative to video                  : 3 s 252 ms
Language                                 : English

Menu
ID                                       : 300 (0x12C)
Menu ID                                  : 1 (0x1)
Duration                                 : 3 min 36 s
List                                     : 301 (0x12D) (AVC) / 302 (0x12E) (AAC, English) / 306 (0x132) (AAC, English) / 305 (0x131) (DVB Subtitle, English)
Language                                 :  / English / English / English
Service name                             : Channel 4 HD
Service type                             : MPEG-2 HD digital television

(Interestingly the source is given as Astra 19.2E despite being recorded from Freeview).

This plays fine with VLC 3.0.16.

The main difference is that I'm using the 'pass' profile which just records the raw data stream.

RE: UK Channel 4 AUDIO inaudible - Added by Marc Ominus almost 3 years ago

This is strange as you have Visual impaired commentary included, but my is missing or disabled:

dvr:  3  AAC-LATM          eng                             96000        ?         <disabled, no valid input>

Attached Streming/Recorder profile settings.

Out of interest what tuner do you use?

RE: UK Channel 4 AUDIO inaudible - Added by Marc Ominus almost 3 years ago

I have just tried on RaspberryPi running HTS Tvheadend 4.3-1986~g09a2c71ab and (recording to SD Card short samples in mkv and TS and both have got the second audio track

Sample rate showing as 96000, with unknown channels ... is that not strange?

2022-01-01 20:33:11.001 subscription: 008B: "DVR: New: The Great New Year Bake Off" subscribing on channel "Channel 4 HD", weight: 500, adapter: "Sony CXD2880 #0 : DVB-T #0", network: "UK Freeview", mux: "545.833MHz", service: "Channel 4 HD", profile="matroska", username="" 
2022-01-01 20:33:14.359 tsfix: transport stream H264, DTS discontinuity. DTS = 156150, last = 62550
2022-01-01 20:33:15.708 dvr: /home/hts/New_-The-Great-New-Year-Bake-Off-Channel-4-HD2022-01-0119-40.mkv from adapter: "Sony CXD2880 #0 : DVB-T #0", network: "UK Freeview", mux: "545.833MHz", provider: "", service: "Channel 4 HD" 
2022-01-01 20:33:15.708 dvr:  #  type              lang  resolution  aspect ratio  sample rate  channels
2022-01-01 20:33:15.708 dvr:  1  H264                    1920x1080   16:9                                 
2022-01-01 20:33:15.708 dvr:  2  AAC-LATM          eng                             48000        2         
2022-01-01 20:33:15.708 dvr:  3  AAC-LATM          eng                             96000        ?         
2022-01-01 20:33:15.708 dvr:  4  DVBSUB            eng                                                    
2022-01-01 20:33:42.072 subscription: 008B: "DVR: New: The Great New Year Bake Off" unsubscribing from "Channel 4 HD", username="" 
2022-01-01 20:33:42.079 dvr: "New: The Great New Year Bake Off" on "Channel 4 HD": End of program: Completed OK
2022-01-01 20:35:24.765 mpegts: 545.833MHz in UK Freeview - tuning on Sony CXD2880 #0 : DVB-T #0
2022-01-01 20:35:24.766 subscription: 008D: "DVR: New: The Great New Year Bake Off" subscribing on channel "Channel 4 HD", weight: 500, adapter: "Sony CXD2880 #0 : DVB-T #0", network: "UK Freeview", mux: "545.833MHz", service: "Channel 4 HD", profile="pass", username="" 
2022-01-01 20:35:26.289 dvr: /home/hts/New_-The-Great-New-Year-Bake-Off-Channel-4-HD2022-01-0119-40.ts from adapter: "Sony CXD2880 #0 : DVB-T #0", network: "UK Freeview", mux: "545.833MHz", provider: "", service: "Channel 4 HD" 
2022-01-01 20:35:26.290 dvr:  #  type              lang  resolution  aspect ratio  sample rate  channels
2022-01-01 20:35:26.290 dvr:  1  H264                    1920x1080   ?                                    
2022-01-01 20:35:26.290 dvr:  2  AAC-LATM          eng                             96000        ?         
2022-01-01 20:35:26.290 dvr:  3  AAC-LATM          eng                             96000        ?         
2022-01-01 20:35:26.290 dvr:  4  DVBSUB            eng                                                    
2022-01-01 20:38:53.882 subscription: 008D: "DVR: New: The Great New Year Bake Off" unsubscribing from "Channel 4 HD", username="" 
2022-01-01 20:38:53.891 dvr: "New: The Great New Year Bake Off" on "Channel 4 HD": End of program: Completed OK

Format                                   : Matroska
Format version                           : Version 2
File size                                : 17.1 MiB
Duration                                 : 27 s 200 ms
Overall bit rate                         : 5 287 kb/s
Movie name                               : New: The Great New Year Bake Off
ContentType                              : Show / Game show
Writing application                      : Tvheadend 4.3-1986~g09a2c71ab
Writing library                          : Tvheadend Matroska muxer
Original source form                     : TV
DATE_BROADCASTED                         : 2022-01-01 19:40:00
TVCHANNEL                                : Channel 4 HD

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 27 s 200 ms
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 FPS
Standard                                 : Component
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Language                                 : English
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : A_AAC-2
Duration                                 : 27 s 200 ms
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Delay relative to video                  : -100 ms
Language                                 : English
Default                                  : Yes
Forced                                   : No

Text
ID                                       : 3
Format                                   : DVB Subtitle
Codec ID                                 : S_DVBSUB
Codec ID/Info                            : Picture based subtitle format used on DVBs
Language                                 : English
Default                                  : Yes
Forced                                   : No

Format                                   : MPEG-TS
File size                                : 123 MiB
Duration                                 : 3 min 27 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 4 971 kb/s
Original network name                    : Astra Satellite Network 19,2'E

Video
ID                                       : 301 (0x12D)
Menu ID                                  : 1 (0x1)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4 frames
Codec ID                                 : 27
Duration                                 : 3 min 26 s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 25.000 FPS
Standard                                 : Component
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 302 (0x12E)
Menu ID                                  : 1 (0x1)
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Muxing mode                              : LATM
Codec ID                                 : 17-2
Duration                                 : 3 min 27 s
Bit rate mode                            : Variable
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Delay relative to video                  : -876 ms
Language                                 : English
Editorial classification                 : Main
Mix type                                 : Dependent

Text
ID                                       : 305 (0x131)
Menu ID                                  : 1 (0x1)
Format                                   : DVB Subtitle
Codec ID                                 : 6
Duration                                 : 3 min 21 s
Delay relative to video                  : 3 s 404 ms
Language                                 : English

Menu
ID                                       : 300 (0x12C)
Menu ID                                  : 1 (0x1)
Duration                                 : 3 min 27 s
List                                     : 301 (0x12D) (AVC) / 302 (0x12E) (AAC, English) / 305 (0x131) (DVB Subtitle, English)
Language                                 :  / English / English
Service name                             : Channel 4 HD
Service type                             : MPEG-2 HD digital television

And TS stream has got an Original network name as Astra Satellite Network 19,2'E as well.

So it must be a wrong settings maybe?

But I have compared settings on both machines and they are identical.

I have installed TVH from Repo:
deb https://apt.tvheadend.org/unstable bullseye main

Should I just backup /home/hts/.hts/tvheadend/* and start again or is there an alternative?

    (1-3/3)