kidhazy wrote: > Is there an option (maybe via ffmpeg config parameter?) that can be used > to increase the volume for the stream?
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. ------------------------------------------------------------------------ bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=103158 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
