Convert ogg/vorbis files to raw wave streams that can be played by a Freecom Musicpal and a Technisat DigitRadio 580.
It is important to not use "audio/x-wav" but "audio/L16", and "s16be" instead of "s16le".
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | <transcoding enabled="yes"> <mimetype-profile-mappings> <transcode mimetype="audio/ogg" using="audio2pcm"/> </mimetype-profile-mappings> <profiles> <profile name="audio2pcm" enabled="yes" type="external"> <mimetype>audio/L16</mimetype> <accept-url>no</accept-url> <first-resource>no</first-resource> <hide-original-resource>no</hide-original-resource> <accept-ogg-theora>no</accept-ogg-theora> <sample-frequency>44100</sample-frequency> <audio-channels>2</audio-channels> <agent command="ffmpeg" arguments="-loglevel quiet -i %in -acodec pcm_s16be -ab 192k -ar 44100 -ac 2 -f s16be -y %out"/> <buffer size="1048576" chunk-size="131072" fill-size="262144"/> </profile> </profiles> </transcoding> |
Convert HEIC to JPG image files.
1 2 3 4 5 6 7 8 9 10 | ... <transcode mimetype="image/heic" using="heicjpg" /> ... <profile name="heicjpg" enabled="yes" type="external"> <mimetype>image/jpg</mimetype> <accept-url>no</accept-url> <first-resource>yes</first-resource> <agent command="convert" arguments="%in jpg:%out" /> <buffer size="1048576" chunk-size="131072" fill-size="262144" /> </profile> |