Re: converting mp3 to wav in 48k sample rate
Claude Heiland-Allen <[email protected]>
| Newsgroups | gmane.comp.audio.ecasound.general |
|---|---|
| Message-ID | <[email protected]> |
On 07/10/11 19:04, Dubphil wrote: > Hello, > > I want to convert a mp3 file to wav at a 48000 sample rate : > > so I have use this : > > $ ecasound -i resample-hq,48k,dubwalk.mp3 -o dubwalk.wav > > and here what it says never ending : I get the same error flood with your syntax. After installing mpg123, with : $ ecasound -i resample-hq,48000,in.mp3 -o out.wav I get no failure, but it does this: it assumes the mp3 is 48000 (overriding its sample rate, in my case 44100), and resamples it to 44100, which means it ends up higher pitched and faster. Perhaps you want something more like: $ ecasound -f s16_le,2,48000 -i resample-hq,auto,in.mp3 -o out.wav Thanks, Claude > Warning: type DBC_CHECK soft-assert 'ret == 0' failed at > -> samplebuffer.cpp:1382 [void > SAMPLE_BUFFER::resample_secret_rabbit_code(SAMPLE_SPECS::sample_rate_t, > SAMPLE_SPECS::sample_rate_t)] > Warning: type DBC_CHECK soft-assert 'ret == 0' failed at > -> samplebuffer.cpp:1386 [void > SAMPLE_BUFFER::resample_secret_rabbit_code(SAMPLE_SPECS::sample_rate_t, > SAMPLE_SPECS::sample_rate_t)] > > How can I achieve this ? > > Best regards > > Philippe > ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ Ecasound-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ecasound-list