bpa wrote:
> If running both LMS and Squeezelite in same Pi - then you could disable
> flac encoding so that HLS/AAC is decoded once to PCM by ffmpeg and then
> passed straight through squeezelite - this will work no matter what
> encoding format is in HLS stream.
>
> For compression level see this
> http://forums.slimdevices.com/showthread.php?53229-Announce-BBCiPlayer-Plugin-(UK-only)&p=807192&viewfull=1#post807192
> and this
> http://forums.slimdevices.com/showthread.php?103158-Announce-PlayHLS-Plugin-plugin-to-play-Apple-HLS-m3u8-stream&p=807730&viewfull=1#post807730.
>
> for "hls aac" - this will assume that HLS stream always AAC - this is
> not always the case so check your URL befoee playing.
> see
> http://forums.slimdevices.com/showthread.php?53229-Announce-BBCiPlayer-Plugin-(UK-only)&p=807483&viewfull=1#post807483
> also see
> http://forums.slimdevices.com/showthread.php?53229-Announce-BBCiPlayer-Plugin-(UK-only)&p=807479&viewfull=1#post807479
OK, changed custom.conf, and against the "Apple HLS m3u8" disabled flac
as squeezelite can deal with AAC. The total system load on my RPi is
now much lower. Htop shows load avg to be 25%.
Code:
--------------------
root@squeezeplug:/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/PlayHLS#
cat custom-convert.conf
# PlayHLS rules to start convert application for Linux
hls mp3 * *
# RB:{BITRATE=-B %B}T:{START=-ss %s}
[ffmpeg] -loglevel quiet -i $FILE$ -f wav - | [lame] --silent -q $QUALITY$
$BITRATE$ - -
hls pcm * *
# RB:{BITRATE=-B %B}T:{START=-ss %s}
[ffmpeg] -loglevel quiet -i $FILE$ -f u16le -
hls flc * *
# RB:{BITRATE=-B %B}T:{START=-ss %s}
[ffmpeg] -loglevel quiet -i $FILE$ -f flac -compression_level 0 -
hls aac * *
# RB:{BITRATE=-B %B}T:{START=-ss %s}
[ffmpeg] -loglevel quiet -i $FILE$ -acodec copy -f adts -
--------------------
Many thanks for your expertise and guidance.
------------------------------------------------------------------------
Krisbee's Profile: http://forums.slimdevices.com/member.php?userid=59080
View this thread: http://forums.slimdevices.com/showthread.php?t=103158
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins