Getting incorrect parameters on AAC audio streams
I recently found that tvh worngly reports the type and sample rate of incoming AAC stream.
As stated in the log, it says the audio is LATM and 96KHz
2018-12-02 13:20:04.433 [ INFO]:dvr: # type lang resolution aspect ratio sample rate channels 2018-12-02 13:20:04.433 [ INFO]:dvr: 1 H264 1920x1080 ? 2018-12-02 13:20:04.433 [ INFO]:dvr: 2 AAC-LATM 96000 ?
but it's actually ADTS and 48KHz. (reported by MediaInfo, agrees with VLC, PotPlayer, and VideoRedo)
Audio ID : 2682 (0xA7A) Menu ID : 1 (0x1) Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Format version : Version 2 Muxing mode : ADTS Codec ID : 15-2 Duration : 6 s 229 ms Bit rate mode : Variable Maximum bit rate : 256 kb/s 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 : -176 ms
Transcoding the video isn't working too; resulting as no audio stream, both on recording or watching (streaming).
Only I can hear and record the audio when pass profile has been chosen.
I'll attach both the passed and transcoded recordings soon.