mrw wrote: 
> I am finding that using PCM instead of flac reduces it even further, and
> appears to even out the load versus flac when more than one stream is
> playing. BUT this will require a change to the existing PCM transcoding
> line, from u16le to s16le, which bpa advises elsewhere will be done in
> v1.02 of the plugin, AND it seems one must disable Apple hls m3u8->flac
> transcoding, which can be done within LMS server settings - 'file types'
> section. So that may be worth considering if you anticipate playing
> several streams at once.

Tried this as well:

bpa wrote: 
> Are there many users of systems with slower processor and no FPU such as
> armv5te which include GoFlex and Shivaplug (i.e. not Linux armhf) ?
> LMS ships with decoders and encoders tuned to arm5vte processor.
> 
> To use the LMS provided faad decoder and flac encoder the
> custom-convert.conf "hls flc" could be modified as follows.
> This might reduce processing load but increases number of processes.
> > 
Code:
--------------------
  >   > 
  > hls flc * *
  >     # RB:{BITRATE=-B %B}T:{START=-ss %s}
  >     [ffmpeg] -loglevel quiet  -i $FILE$ -acodec copy -f adts - | [faad] -q 
-w -f 1 - | [flac] -cs --totally-silent --compression-level-0 
--ignore-chunk-sizes -
  > 
--------------------
> > 

That seems to average out at under 20% total load, most in faad, which
comes in with a large burst of activity every 5 seconds or so.

I've been doing a bit of delving into the HLS protocol itself, and the
data comes in chunks of 6 seconds, which probably accounts for the
burstiness here. It's actually looking like the decoding and demuxing of
the HLS stream data is pretty trivial if all that is required is to
extract the aac stream - especially given that for these BBC streams
only a single bit rate is listed for each top-level URL. This makes
ffmpeg a very large hammer to crack a small nut, if we can rely on
existing transcoding tools to deal with the acc stream when necessary. I
may have a play doing my own decoder later this week...


------------------------------------------------------------------------
utgg's Profile: http://forums.slimdevices.com/member.php?userid=40900
View this thread: http://forums.slimdevices.com/showthread.php?t=103158

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to