Closed killhellokitty closed 8 years ago
This is a bit long, it has to convert from M4A to WAV to MP3 to WAV. It could be done shorter using FFmpeg. This way uses FAAD2.
/usr/bin/faad -q -o '/srv/http/slimpd/cache/m4a.f3ecf7790e9394981c09915efc5668d0.wav' '/srv/http/slimpd/templates/partials/systemcheck/waveforms/testfiles/testfile-online-audio-converter.com.m4a' && /usr/bin/lame -m m -S -f -b 16 --resample 8 '/srv/http/slimpd/cache/m4a.f3ecf7790e9394981c09915efc5668d0.wav' '/srv/http/slimpd/cache/m4a.f3ecf7790e9394981c09915efc5668d0.mp3' && lame -S --decode '/srv/http/slimpd/cache/m4a.f3ecf7790e9394981c09915efc5668d0.mp3' '/srv/http/slimpd/cache/m4a.f3ecf7790e9394981c09915efc5668d0.wav'
This is a bit long, it has to convert from M4A to WAV to MP3 to WAV. It could be done shorter using FFmpeg. This way uses FAAD2.
/usr/bin/faad -q -o '/srv/http/slimpd/cache/m4a.f3ecf7790e9394981c09915efc5668d0.wav' '/srv/http/slimpd/templates/partials/systemcheck/waveforms/testfiles/testfile-online-audio-converter.com.m4a' && /usr/bin/lame -m m -S -f -b 16 --resample 8 '/srv/http/slimpd/cache/m4a.f3ecf7790e9394981c09915efc5668d0.wav' '/srv/http/slimpd/cache/m4a.f3ecf7790e9394981c09915efc5668d0.mp3' && lame -S --decode '/srv/http/slimpd/cache/m4a.f3ecf7790e9394981c09915efc5668d0.mp3' '/srv/http/slimpd/cache/m4a.f3ecf7790e9394981c09915efc5668d0.wav'