Cannot play MIDI Files

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
240-185
New Cone
New Cone
Posts: 4
Joined: 21 Jan 2013 00:30

Cannot play MIDI Files

Postby 240-185 » 21 Jan 2013 00:33

Hi,

I can't play .MID files, despite having set up a soundfont in the preferences. I am stuck with this error:

Image

Why?

My version of VLC is 2.0.5, under WIndows 7 64-bit.

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Cannot play MIDI Files

Postby edwardw » 21 Jan 2013 04:54

Hi,

I can't play .MID files, despite having set up a soundfont in the preferences. I am stuck with this error:

Image

Why?

My version of VLC is 2.0.5, under WIndows 7 64-bit.
Is the .SF2 soundfont accessible? If it is, please pastebin messages log:
To help you, we need messages, to completely understand what your problems is.
To fix this, please be sure before you start the playback to:
  1. Open: Tools -> Messages.
  2. Set Verbosity to 2
  3. Start playback to reproduce your issue
  4. Save text in a file or copy into clipboard
  5. Then paste the full resulting log here between [​code]and[​/code] (or use Pastebin.com if it's too long)
Also don't forget to name your Operating System and provide the VLC media player version.

240-185
New Cone
New Cone
Posts: 4
Joined: 21 Jan 2013 00:30

Re: Cannot play MIDI Files

Postby 240-185 » 21 Jan 2013 11:42

Here's the full log when I try to open a .MID file (Do not laugh at the filename!) :

Code: Select all

main debug: adding item `Alizee_._Lolita.mid' ( file:///G:/Audio/Files/midi/Alizee_._Lolita.mid ) qt4 debug: Adding a new MRL to recent ones: file:///G:/Audio/Files/midi/Alizee_._Lolita.mid main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index -1 main debug: processing request item: Alizee_._Lolita.mid, node: null, skip: 0 main debug: resyncing on Alizee_._Lolita.mid main debug: Alizee_._Lolita.mid is at 0 main debug: starting playback of the new playlist item main debug: resyncing on Alizee_._Lolita.mid main debug: Alizee_._Lolita.mid is at 0 main debug: creating new input thread main debug: Creating an input for 'Alizee_._Lolita.mid' main debug: Creating an input for 'Alizee_._Lolita.mid' main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\Moi\AppData\Local\Temp' main debug: `file:///G:/Audio/Files/midi/Alizee_._Lolita.mid' gives access `file' demux `' path `/G:/Audio/Files/midi/Alizee_._Lolita.mid' main debug: creating demux: access='file' demux='' location='/G:/Audio/Files/midi/Alizee_._Lolita.mid' file='G:\Audio\Files\midi\Alizee_._Lolita.mid' main debug: looking for access_demux module: 3 candidates main debug: no access_demux module matching "file" could be loaded main debug: TIMER module_need() : 0.261 ms - Total 0.261 ms / 1 intvls (Avg 0.261 ms) main debug: creating access 'file' location='/G:/Audio/Files/midi/Alizee_._Lolita.mid', path='G:\Audio\Files\midi\Alizee_._Lolita.mid' main debug: looking for access module: 3 candidates filesystem debug: opening file `G:\Audio\Files\midi\Alizee_._Lolita.mid' main debug: using access module "filesystem" main debug: TIMER module_need() : 0.177 ms - Total 0.177 ms / 1 intvls (Avg 0.177 ms) main debug: Using stream method for AStream* main debug: starting pre-buffering main debug: received first data after 0 ms main debug: pre-buffering done 1024 bytes in 0s - 90909 KiB/s main debug: looking for stream_filter module: 4 candidates main debug: no stream_filter module matching "any" could be loaded main debug: TIMER module_need() : 0.057 ms - Total 0.057 ms / 1 intvls (Avg 0.057 ms) main debug: looking for stream_filter module: 1 candidate main debug: using stream_filter module "stream_filter_record" main debug: TIMER module_need() : 0.052 ms - Total 0.052 ms / 1 intvls (Avg 0.052 ms) main debug: creating demux: access='file' demux='' location='/G:/Audio/Files/midi/Alizee_._Lolita.mid' file='G:\Audio\Files\midi\Alizee_._Lolita.mid' main debug: looking for demux module: 55 candidates smf debug: detected Standard MIDI File (type 0) with 1 track(s) smf debug: 384 pulses per quarter note main debug: selecting program id=0 main debug: using demux module "smf" main debug: TIMER module_need() : 361.792 ms - Total 361.792 ms / 1 intvls (Avg 361.792 ms) main debug: looking for a subtitle file in G:\Audio\Files\midi\ main debug: looking for decoder module: 32 candidates qt4 debug: IM: Setting an input main debug: meta ok for (null), need to fetch art main debug: looking for meta fetcher module: 1 candidate lua debug: Trying Lua scripts in C:\Users\Moi\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac main debug: using meta fetcher module "lua" main debug: TIMER module_need() : 78.586 ms - Total 78.586 ms / 1 intvls (Avg 78.586 ms) main debug: removing module "lua" main debug: searching art for Alizee_._Lolita.mid main debug: looking for art finder module: 2 candidates lua debug: Trying Lua scripts in C:\Users\Moi\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac main debug: no art finder module matching "any" could be loaded main debug: TIMER module_need() : 49.150 ms - Total 49.150 ms / 1 intvls (Avg 49.150 ms) main debug: art not found for Alizee_._Lolita.mid fluidsynth debug: loading sound fonts file D:\Son\MySF2.sf2 fluidsynth error: cannot load sound fonts file D:\Son\MySF2.sf2 fluidsynth error: sound font file required for synthesis main debug: no decoder module matching "any" could be loaded main debug: TIMER module_need() : 4980.779 ms - Total 4980.779 ms / 1 intvls (Avg 4980.779 ms) main error: no suitable decoder module for fourcc `MIDI'. VLC probably does not support this sound or video format. main debug: killing decoder fourcc `MIDI', 0 PES in FIFO main debug: looking for meta reader module: 2 candidates lua debug: Trying Lua scripts in C:\Users\Moi\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.luac main debug: no meta reader module matching "any" could be loaded main debug: TIMER module_need() : 1.129 ms - Total 1.129 ms / 1 intvls (Avg 1.129 ms) main debug: `file:///G:/Audio/Files/midi/Alizee_._Lolita.mid' successfully opened main debug: Buffering 0% smf info: Track name: Moi Lolita smf info: Text : Aliz?e smf info: Text : main debug: Buffering 0% smf debug: tempo: 600000us/qn -> 100 BPM main debug: Buffering 0% smf debug: tempo: 555556us/qn -> 107 BPM main debug: Buffering 3% main debug: Buffering 6% main debug: Buffering 6% main debug: Buffering 7% main debug: Buffering 7% main debug: Buffering 8% main debug: Buffering 8% main debug: Buffering 9% main debug: Buffering 9% main debug: Buffering 10% main debug: Buffering 10% main debug: Buffering 11% main debug: Buffering 11% main debug: Buffering 14% main debug: Buffering 14% main debug: Buffering 15% main debug: Buffering 15% main debug: Buffering 16% main debug: Buffering 16% main debug: Buffering 17% main debug: Buffering 17% main debug: Buffering 17% main debug: Buffering 18% main debug: Buffering 18% main debug: Buffering 19% main debug: Buffering 21% main debug: Buffering 22% main debug: Buffering 22% main debug: Buffering 23% main debug: Buffering 23% main debug: Buffering 24% main debug: Buffering 24% main debug: Buffering 25% main debug: Buffering 25% main debug: Buffering 26% main debug: Buffering 26% main debug: Buffering 27% main debug: Buffering 30% main debug: Buffering 30% main debug: Buffering 31% main debug: Buffering 31% main debug: Buffering 32% main debug: Buffering 32% main debug: Buffering 33% main debug: Buffering 33% main debug: Buffering 34% main debug: Buffering 34% main debug: Buffering 35% main debug: Buffering 35% main debug: Buffering 37% main debug: Buffering 38% main debug: Buffering 38% main debug: Buffering 39% main debug: Buffering 39% main debug: Buffering 40% main debug: Buffering 40% main debug: Buffering 41% main debug: Buffering 41% main debug: Buffering 42% main debug: Buffering 42% main debug: Buffering 43% main debug: Buffering 45% main debug: Buffering 46% main debug: Buffering 46% main debug: Buffering 47% main debug: Buffering 47% main debug: Buffering 48% main debug: Buffering 48% main debug: Buffering 49% main debug: Buffering 49% main debug: Buffering 50% main debug: Buffering 50% main debug: Buffering 51% main debug: Buffering 53% main debug: Buffering 54% main debug: Buffering 54% main debug: Buffering 54% main debug: Buffering 55% main debug: Buffering 55% main debug: Buffering 56% main debug: Buffering 56% main debug: Buffering 57% main debug: Buffering 57% main debug: Buffering 58% main debug: Buffering 58% main debug: Buffering 61% main debug: Buffering 61% main debug: Buffering 62% main debug: Buffering 62% main debug: Buffering 63% main debug: Buffering 63% main debug: Buffering 64% main debug: Buffering 64% main debug: Buffering 65% main debug: Buffering 65% main debug: Buffering 66% main debug: Buffering 66% main debug: Buffering 69% main debug: Buffering 69% main debug: Buffering 70% main debug: Buffering 70% main debug: Buffering 71% main debug: Buffering 71% main debug: Buffering 72% main debug: Buffering 72% main debug: Buffering 72% main debug: Buffering 73% main debug: Buffering 73% main debug: Buffering 74% main debug: Buffering 76% main debug: Buffering 77% main debug: Buffering 77% main debug: Buffering 78% main debug: Buffering 78% main debug: Buffering 79% main debug: Buffering 81% main debug: Buffering 82% main debug: Buffering 82% main debug: Buffering 83% main debug: Buffering 83% main debug: Buffering 84% main debug: Buffering 84% main debug: Buffering 85% main debug: Buffering 85% main debug: Buffering 86% main debug: Buffering 86% main debug: Buffering 87% main debug: Buffering 89% main debug: Buffering 90% main debug: Buffering 90% main debug: Buffering 91% main debug: Buffering 91% main debug: Buffering 91% main debug: Buffering 92% main debug: Buffering 92% main debug: Buffering 93% main debug: Buffering 93% main debug: Buffering 94% main debug: Buffering 94% main debug: Buffering 97% main debug: Buffering 97% main debug: Buffering 98% main debug: Buffering 98% main debug: Buffering 99% main debug: Buffering 99% main debug: Stream buffering done (300 ms in 1 ms) main debug: Decoder buffering done in 0 ms main debug: incoming request - stopping current input main debug: dying input main debug: control: stopping input main debug: removing module "smf" main debug: removing module "stream_filter_record" main debug: dying input main debug: removing module "filesystem" main debug: Program doesn't contain anymore ES main debug: dead input qt4 debug: IM: Deleting the input main debug: TIMER input launching for 'Alizee_._Lolita.mid' : 5349.864 ms - Total 5349.864 ms / 1 intvls (Avg 5349.864 ms)
The lines "fluidsynth debug: loading sound fonts file D:\Son\MySF2.sf2" and "fluidsynth error: cannot load sound fonts file D:\Son\MySF2.sf2" are quite surprising, as the path I provided is correct:

Image

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Cannot play MIDI Files

Postby Jean-Baptiste Kempf » 21 Jan 2013 13:16

Did you try to set it from the preferences GUI ?

Like file:///D:\Son\MySF2.sf2 ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

240-185
New Cone
New Cone
Posts: 4
Joined: 21 Jan 2013 00:30

Re: Cannot play MIDI Files

Postby 240-185 » 21 Jan 2013 13:23

I just tried, by writing "file:///D:/Son/MySF2.sf2" then "file:///D:\Son\MySF2.sf2".
Still the same errors.

Lotesdelere
Cone Master
Cone Master
Posts: 10089
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Cannot play MIDI Files

Postby Lotesdelere » 22 Jan 2013 09:05

Don't type the path but browse to the SF2 file from the Preferences.

240-185
New Cone
New Cone
Posts: 4
Joined: 21 Jan 2013 00:30

Re: Cannot play MIDI Files

Postby 240-185 » 22 Jan 2013 09:52

I set the soundfont by browsing first from the Preferences menu....

Lotesdelere
Cone Master
Cone Master
Posts: 10089
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Cannot play MIDI Files

Postby Lotesdelere » 23 Jan 2013 09:15

So either your soundfont or your MIDI file is damaged.
Try with another soundfont and upload your MIDI file to either http://streams.videolan.org/upload/ or to EmbedUpload.com, the latter will upload the file for you to several other hosts and then post the link to the file here, so we can test it.

fabartus
New Cone
New Cone
Posts: 2
Joined: 05 Mar 2013 16:59

Re: Cannot play MIDI Files

Postby fabartus » 05 Mar 2013 18:23

I found the above 'answer stream' to be a bit unhelpful... for getting MIDI files to play on VLC.

I fear no one started with the more fundamental question: "Where do you find a .SF2 file" to have VLC attach. Turns out the answer is almost simple for an XP machine -- the WINDOZE driver archives (CAB) at C:\WINDOWS\Driver Cache\i386\driver.cab\ has the .sf2 file '2gmgsmt.sf2' [XP machine]. :lol: It just needs expanded and put where VLC can find it:
[XP machine]
1- Just Paste C:\WINDOWS\Driver Cache\i386\driver.cab\ into the 'Start -->Run' applet pane THEN when the folder opens, find 2gmgsmt.sf2 (view details, sort alphabetically on names, read, right click it, expand to...!)

2- Just Open that (expand) by right clicking it, tell it to save to 'where' [Suggest my solution, '\WIndows\Media' folder] which is conveniently nearby in the folder tree.

3- Then return to the VLC's Tools --> preferences -->(ALL) and navigate by browsing from that horribly designed 'All' applet's dropdown (No consideration for LARGE FONTS needed by we visually impaired users there, VLC geeks! UGGGH!) Despite my editorializing about insensitive programmers and their supervisors... Expand that drop down pane's width so can be read in extra large fonts!) TO CONNECT THE .SF2. :shock:

4-When I did that, my 'error filled' list of MIDIs came alive in the VLC I'd had open and immediately started playing. :D
[Windows 7 machines]
Afraid I Can't help you with finding a SAFE-TO-DOWNLOAD or WINDOWS 7 *.sf2 file for Windows 7 boxes -- my various quick and dirty WINDOWS 7 searches all failed to locate any, which makes little sense. :o Backwards compatible design criteria suggests I missed them somewhere/somehow. (Importing the forgoing XP file cross machines will likely work fine. OTOH,You're on your own on the internet. If you don't pays your nickles, youse definitely taking your chances!

5- Perhaps the VLC officials will suggest a safe and tested *.sf2 here in this thread and bundle it going further in their installs, complete with having it already hooked up and revving its' engines when one installs a newer version! 8)

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Cannot play MIDI Files

Postby mederi » 05 Mar 2013 19:14

@fabartus:
Confirmed! Thanks for the tip. I am the lucky user of XP :)
C:\WINDOWS\Driver Cache\i386\driver.cab/2gmgsmt.sf2
VLC can play all various formats but *.mid by default.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 28 guests