bpa wrote: 
> Volume is part of ffmpeg audio filters (see
> https://ffmpeg.org/ffmpeg-filters.html#Audio-Filters) which has a
> section on volume  filter (
> https://ffmpeg.org/ffmpeg-filters.html#volume ) also
> https://trac.ffmpeg.org/wiki/AudioVolume
> 
> The change will affect all stream that use PlayHLS.  You need to dstop
> LMS,  edit custom-convert.conf for PlayHLS and then restart LMS. On
> WIndows be careful of the editor used - do NOT use NOTEPAD - Wordpad
> maybe OK - this is to do with line endings.
> 
> I did a quick test and the following change seems to work. Addition in
> red. Position is critical it must be immediately after the "-i $FILE$ "
> > 
Code:
--------------------
  >   > 
  > # PlayHLS rules to start convert application for Linux
  > hls mp3 * *
  >     # RB:{BITRATE=-B %B}T:{START=-ss %s}
  >     [ffmpeg] -loglevel quiet  -i $FILE$ -af volume=10.0dB -f wav - | [lame] 
--silent -q $QUALITY$ $BITRATE$ - -
  > 
  > hls pcm * *
  >     # RB:{BITRATE=-B %B}T:{START=-ss %s}
  >     [ffmpeg] -loglevel quiet  -i $FILE$ -af volume=10.0dB -f u16le -
  > 
  > hls flc * *
  >     # RB:{BITRATE=-B %B}T:{START=-ss %s}
  >     [ffmpeg] -loglevel quiet -i $FILE$ -af volume=10.0dB -f flac -
  > 
--------------------
> > 
> 
> You can use volume=<number> such as 1.5 (e.g. volume=1.5) to increase
> volume by 50% or volume=0.5 to decrease volume by 50%.  By add "dB"
> the volume is change is in decibels - positive is increase volume,
> negative is decrease volume.

Thank you for your comprehensive answer and for testing it out.  I'll
give it a try next weekend when the games are being broadcast.


------------------------------------------------------------------------
kidhazy's Profile: http://forums.slimdevices.com/member.php?userid=42259
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