HLS Stream bandwidth issue. #4000
Oliver-Mardle
started this conversation in
User Support
Replies: 2 comments
-
Hi! MpegTS, by definition of the standard, is known to pad data with extra bits, I wouldn't be surprised if that could be your issue here. You might want to test with |
Beta Was this translation helpful? Give feedback.
0 replies
-
If it is of any use, here is my code using adts that does not inject
padding. The resampling at 32000Hz is another trick to reduce bitstream
bandwidth. I wrote this after discovering that another format was adding
the dummy data you noticed.
output.file.hls(
playlist="live.m3u8",
fallible=true,
segment_name=segment_name,
segment_duration=10.0,
segments=20,
segments_overhead=20,
persist_at="/home/liquidsoap/audio/state_low.config",
"/home/liquidsoap/audio",
[
(
"HEAAC+",
%ffmpeg(
format="adts",
%audio(
codec="libfdk_aac",
samplerate=32000,
vbr=1,
afterburner=1,
profile="aac_he_v2"
)
).{bandwidth=30000,id3_version=3})],
radio_comp
)
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an mpeg-ts HLS stream setup at 48,000 & 192k. However when listening to the stream, the bandwidth is showing 211.2k...
Am I missing something in the config?
Beta Was this translation helpful? Give feedback.
All reactions