Project

General

Profile

Actions

Bug #5697

open

Raw Audio Output for ADTS vs LATM

Added by Adam W over 5 years ago. Updated almost 5 years ago.

Status:
New
Priority:
Normal
Category:
Transcoding
Target version:
-
Start date:
2019-07-30
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3
Affected Versions:

Description

Firstly, AAC audio inside MPEG-TS all seems a bit complex to begin with, so apologies if I'm understanding this completely wrong!

Basically, I use the TVHeadend 'audio' stream profile to stream satellite radio stations from TVHeadend on my Sonos speakers/internet radios in my home. As this profile is just supposed to give the raw audio track, like a webstream would, this usually works great and allows listening to the channels in full quality without transcoding.

The problem I have is with some AAC stations streamed in this way:-

- If the stream type of the AAC in the MPEG-TS is 'LATM', everything works OK and Sonos/Internet radios will play the TVH Audio profile stream perfectly. VLC reports these streams as LATM audio in TS format and then "MPEG AAC Audio (mp4a)" in raw audio profile format (see attached screenshots for "LATM RDP Antena 1" and sample TS/raw audio files 'rdpa1').

- However, if the stream type of the AAC in the MPEG-TS is 'ADTS', the demuxed raw audio version of the stream fails to play on any internet radio/Sonos speaker. VLC will play it, reporting the codec as ADTS in TS format, but also ADTS in raw audio profile format (see attached screenshots for "ADTS Los 40" and sample TS/raw audio files 'los40').

It seems to be that the raw audio profile turns LATM encapsulated AAC into pure AAC but leaves ADTS untouched, which makes it unplayable in a lot of players.

What I'm wondering is would there possibly be a way of getting the raw audio profile to give the raw AAC streams for both formats for maximum compatibility?

Thanks!


Files

ADTS Los 40 Audio Only.png (50.1 KB) ADTS Los 40 Audio Only.png Adam W, 2019-07-30 11:05
ADTS Los 40 TS.png (62.2 KB) ADTS Los 40 TS.png Adam W, 2019-07-30 11:05
LATM RDP Antena 1 Audio Only.png (52.4 KB) LATM RDP Antena 1 Audio Only.png Adam W, 2019-07-30 11:05
LATM RDP Antena 1 TS.png (63.8 KB) LATM RDP Antena 1 TS.png Adam W, 2019-07-30 11:05
los40.aac (250 KB) los40.aac Raw Audio ADTS Adam W, 2019-07-30 11:05
los40.ts (263 KB) los40.ts ADTS Adam W, 2019-07-30 11:05
rdpa1.aac (595 KB) rdpa1.aac Raw Audio LATM Adam W, 2019-07-30 11:05
rdpa1.ts (654 KB) rdpa1.ts LATM Adam W, 2019-07-30 11:05
Eutelsat_5W_11465H.ts (4.86 MB) Eutelsat_5W_11465H.ts Adam W, 2020-04-27 17:59
Actions

Also available in: Atom PDF