Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
stream type: distinguish between AAC-LC/HE and newer AAC-LATM/LOAS
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8289df7There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not understanding this at all. How does this distinguish anything - you've just changed all to be called AAC-LATM.
IIUC, this will break htsp clients (at the very least it breaks my pidvbip), as these strings are used as the stream type identifiers. In addition, LATM is just a bitstream packing format for AAC (the other common packing is ADTS), it has nothing to do with the actual content of the AAC stream.
8289df7There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I took this identification from ffmpeg. Basically, in the MPEG-TS, there are two identifications for AAC - 0x0f and 0x11 - see src/input/mpegts/dvb_psi.c . For PID filtering, we need to distinguish the types, but it's true that for clients (players), it does not matter, because they'll detect the stream packing automatically.
I tried to fix this in 37a1aab .