hls-test/mp3 audio notes.md

28 lines
1 KiB
Markdown
Raw Normal View History

2021-10-22 18:27:02 +00:00
timestamp id3 tag needed to avoid the overlap delay:
https://www.wowza.com/community/t/id3-priv-tag-in-aac-chunks-for-hls-streaming-is-it-necessary/34473
https://datatracker.ietf.org/doc/html/draft-pantos-http-live-streaming#section-6.2.4
https://datatracker.ietf.org/doc/html/draft-pantos-http-live-streaming#section-3.4
A Packed Audio Segment has no Media Initialization Section.
Each Packed Audio Segment MUST signal the timestamp of its first
sample with an ID3 PRIV tag [ID3] at the beginning of the segment.
The ID3 PRIV owner identifier MUST be
"com.apple.streaming.transportStreamTimestamp". The ID3 payload MUST
be a 33-bit MPEG-2 Program Elementary Stream timestamp expressed as a
big-endian eight-octet number, with the upper 31 bits set to zero.
Clients SHOULD NOT play Packed Audio Segments without this ID3 tag.
mp3 options:
-write_xing 0/1
-id3v2_version 3
-write_id3v1 0/1
https://patchwork.ffmpeg.org/project/ffmpeg/patch/20180112211305.5812-1-rshaffer@tunein.com/
patch for ffmpeg to add ability to set/retrieve priv tags