Hi.
I want to change the sample rate of a bulk of .wav files from 48000 to 44100. How can I do this via bash script and e.g. ffmpeg?
Perhaps there's something other/easier to use than ffmpeg?
Thanks
Moderator: Forum moderators
Hi.
I want to change the sample rate of a bulk of .wav files from 48000 to 44100. How can I do this via bash script and e.g. ffmpeg?
Perhaps there's something other/easier to use than ffmpeg?
Thanks
My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!
If your pup has Menu -> Multimedia -> FFConvert multimedia converter, I'd say look into it. The UI takes some getting used to but I think you'll be able to do what you want with it. There are several other Puppy programs that might work. I think they all use ffconvert. Multimedia -> mhWaveEdit is a very powerful program. You drag the file you want to change into its window, then play around with it.
Thanks, but no. I don't have FFConvert installed.
Where to find?
My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!
Sometimes QWinFF helps me out.
Homepage http://qwinff.github.io/
Github https://github.com/qwinff/qwinff
Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.
@Grey
Thanks.
I have QWinFF installed and it does what I want.
But I still would like to know how to do this via bash script and ffmpeg (or whatever tools are there).
My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!
Maybe then SoX. "Swiss Army knife of sound processing". Old but good. It is in PPM. Something like:
Code: Select all
sox input.wav output.wav rate 44k
Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.
Thanks.
I have Sox installed. Will try this.
My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!
You can use ffmpeg commad line tools to change sample rate of .wav file
ffmpeg.exe -i "Audio Input FilePath" -b:a 64k "Audio Output FilePath"
ffmpeg.exe -i "Audio Input FilePath" -b:a 64k "Audio Output FilePath"
Hi. First, you seem to be used to Windows Secondly, even if you remove the .exe, it will hardly work. The starter of the topic says about sampling frequency (Hz), and you have bitrate (kbit/s).
Therefore, the command should be like this:
Code: Select all
ffmpeg -i test.wav -ar 44100 test1.wav
Fossapup OS, Ryzen 5 3600 CPU, 64 GB RAM, GeForce GTX 1050 Ti 4 GB, Sound Blaster Audigy Rx with amplifier + Yamaha speakers for loud sound, USB Sound Blaster X-Fi Surround 5.1 Pro V3 + headphones for quiet sound.