mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-03 06:25:10 +00:00
fix(tracks): mark AC-4 Atmos from the HLS ATMOS channels identifier and carry atmos without JOC through signature, export and remote
This commit is contained in:
@@ -548,7 +548,7 @@ def get_tracks(self, title: Title_T) -> Tracks:
|
||||
|
||||
- `signature` holds the attributes that the track list and selection
|
||||
read: codec, range, resolution, frame rate, bitrate and name for video;
|
||||
language, codec, channels, JOC, descriptive, bitrate and name for audio;
|
||||
language, codec, channels, JOC, Atmos, descriptive, bitrate and name for audio;
|
||||
language, codec, flags and name for subtitles.
|
||||
- The helper does not remove copies inside one manifest. To remove them,
|
||||
call `tracks.dedupe()`. Two tracks that differ only in a value outside
|
||||
|
||||
@@ -354,6 +354,10 @@ unshackle dl -a EC3,AAC EXAMPLE 81234567
|
||||
`5.1.4` matches on its total number of channels, so `-c 10` selects it.
|
||||
- `-naa` / `--noatmos`: exclude Atmos audio tracks from selection.
|
||||
|
||||
A track is Atmos when its manifest says so: a DD+ JOC descriptor, an HLS `CHANNELS` value with
|
||||
`JOC` or `ATMOS` (`16/JOC`, `2/IMSA,ATMOS`), or the Smooth Streaming `HasAtmos` attribute. A DASH
|
||||
manifest has no Atmos signal for AC-4, so a DASH AC-4 track is Atmos only when the service marks it.
|
||||
|
||||
```shell title="5.1 audio, no Atmos"
|
||||
unshackle dl -c 5.1 --noatmos EXAMPLE 0ABC123
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user