Closed killhellokitty closed 8 years ago
this uses 'vorbis-tools'. Converts OGG to WAV to MP3 to WAV.
/usr/bin/oggdec -Q '/srv/http/slimpd/templates/partials/systemcheck/waveforms/testfiles/testfile-online-audio-converter.com.ogg' -o '/srv/http/slimpd/cache/ogg.5b97a2865f9d0c4f28b2c0894ac37502.wav' && /usr/bin/lame -m m -S -f -b 16 --resample 8 '/srv/http/slimpd/cache/ogg.5b97a2865f9d0c4f28b2c0894ac37502.wav' '/srv/http/slimpd/cache/ogg.5b97a2865f9d0c4f28b2c0894ac37502.mp3' && lame -S --decode '/srv/http/slimpd/cache/ogg.5b97a2865f9d0c4f28b2c0894ac37502.mp3' '/srv/http/slimpd/cache/ogg.5b97a2865f9d0c4f28b2c0894ac37502.wav'
this uses 'vorbis-tools'. Converts OGG to WAV to MP3 to WAV.
/usr/bin/oggdec -Q '/srv/http/slimpd/templates/partials/systemcheck/waveforms/testfiles/testfile-online-audio-converter.com.ogg' -o '/srv/http/slimpd/cache/ogg.5b97a2865f9d0c4f28b2c0894ac37502.wav' && /usr/bin/lame -m m -S -f -b 16 --resample 8 '/srv/http/slimpd/cache/ogg.5b97a2865f9d0c4f28b2c0894ac37502.wav' '/srv/http/slimpd/cache/ogg.5b97a2865f9d0c4f28b2c0894ac37502.mp3' && lame -S --decode '/srv/http/slimpd/cache/ogg.5b97a2865f9d0c4f28b2c0894ac37502.mp3' '/srv/http/slimpd/cache/ogg.5b97a2865f9d0c4f28b2c0894ac37502.wav'