Hi All,
Fedora 30 ffmpeg-4.1.3-2.fc30.x86_64
How do I use ffmpeg to convert midi to ogg?
$ ffmpeg -i Bless-The-Lord.midi -vn -acodec libvorbis Bless-The-Lord.ogg ... Bless-The-Lord.midi: Invalid data found when processing input
Many thank, -T
On 6/2/19 4:57 AM, ToddAndMargo via users wrote:
How do I use ffmpeg to convert midi to ogg?
$ ffmpeg -i Bless-The-Lord.midi -vn -acodec libvorbis Bless-The-Lord.ogg
You don't, midi is not an audio format. You need to use something like timidity to generate the instrument sounds. I think it can directly write to vorbis as well.
On Sun, Jun 02, 2019 at 04:57:41AM -0700, ToddAndMargo via users wrote:
Hi All,
Fedora 30 ffmpeg-4.1.3-2.fc30.x86_64
How do I use ffmpeg to convert midi to ogg?
I don't remember having tried that ever, but there's even a Wiki for it: fluidsynth
" How to convert MIDI to MP3/OGG
Simple command lines to convert midi to ogg:
$ fluidsynth -nli -r 48000 -o synth.cpu-cores=2 -T oga -F example.ogg /usr/share/soundfonts/FluidR3_GM.sf2 example.MID " from: https://wiki.archlinux.org/index.php/FluidSynth
Note the dependencies for the package: you might need FluidR3_GM*, maybe twolame. More on the Wiki.
someth. like: dnf -C whatprovides *FluidR3_GM* dnf -C repoquery -l fluid-soundfont-gm
HTH, and good luck! Wolfgang
On 6/3/19 5:06 AM, Wolfgang Pfeiffer wrote:
On Sun, Jun 02, 2019 at 04:57:41AM -0700, ToddAndMargo via users wrote:
Hi All,
Fedora 30 ffmpeg-4.1.3-2.fc30.x86_64
How do I use ffmpeg to convert midi to ogg?
I don't remember having tried that ever, but there's even a Wiki for it: fluidsynth
" How to convert MIDI to MP3/OGG
Simple command lines to convert midi to ogg:
$ fluidsynth -nli -r 48000 -o synth.cpu-cores=2 -T oga -F example.ogg /usr/share/soundfonts/FluidR3_GM.sf2 example.MID " from: https://wiki.archlinux.org/index.php/FluidSynth
Note the dependencies for the package: you might need FluidR3_GM*, maybe twolame. More on the Wiki.
someth. like: dnf -C whatprovides *FluidR3_GM* dnf -C repoquery -l fluid-soundfont-gm
HTH, and good luck! Wolfgang
Thank you!
I already installed fluid-soundfont-gm to get VLC to work with MIDI, so this should be ...
On 6/2/19 7:19 AM, Samuel Sieb wrote:
On 6/2/19 4:57 AM, ToddAndMargo via users wrote:
How do I use ffmpeg to convert midi to ogg?
$ ffmpeg -i Bless-The-Lord.midi -vn -acodec libvorbis Bless-The-Lord.ogg
You don't, midi is not an audio format. You need to use something like timidity to generate the instrument sounds. I think it can directly write to vorbis as well.
Thank you!