Author |
Message |
morgana
Joined: 17 Oct 2005 Posts: 4
|
Posted: Sat Jul 21, 2007 8:37 am Post subject: midi not valid format |
|
|
I have used Hamienet for some time without problems. Now every midi file I download will not play or open and I get error message saying invalid file format. Any suggestions.
Incidentally I am getting an 'notice error'when I open hamienet at the top of the page 'Notice: Undefined index: HTTP_USER_AGENT in /home/hamienet/html/index.iva on line 46
morgana |
|
Back to top |
|
admin Site Admin
Joined: 04 Jul 2002 Posts: 698 Location: HamieLand
|
Posted: Sun Jul 22, 2007 2:49 am Post subject: |
|
|
I can't reproduce the same error. Are you still having the problem?
Where exactly is the page that you see that error on? |
|
Back to top |
|
morgana
Joined: 17 Oct 2005 Posts: 4
|
Posted: Sun Jul 22, 2007 4:37 am Post subject: midi not valid format |
|
|
The invald format error appears when I try to play a file using Van Basco and other media players. MP3s play OK!
The notice error below appears on every page of Hamienet above the main page details
Notice: Undefined index: HTTP_USER_AGENT in /home/hamienet/html/index.iva on line 46
Notice: Undefined index: HTTP_USER_AGENT in /home/hamienet/html/index.iva on line 56 |
|
Back to top |
|
admin Site Admin
Joined: 04 Jul 2002 Posts: 698 Location: HamieLand
|
Posted: Tue Jul 24, 2007 12:49 am Post subject: |
|
|
It seems the problem is caused by your player software. Your solution is to download (right-click save-as...) the MIDI file onto your computer first.
HTTP_USER_AGENT errors occur when your browser is not recognizable. |
|
Back to top |
|
morgana
Joined: 17 Oct 2005 Posts: 4
|
Posted: Thu Jul 26, 2007 4:01 pm Post subject: midi invalid format |
|
|
I have tried downloading but still get the same problem when I try to play midi files. I don't have this problem with other sites therefore doubt if it is the media players.
Have also used Mozilla Fiefox instead of IE 7 but get the same error message on web page and trying to play files |
|
Back to top |
|
admin Site Admin
Joined: 04 Jul 2002 Posts: 698 Location: HamieLand
|
Posted: Sat Jul 28, 2007 3:03 pm Post subject: |
|
|
When you downloaded the MIDI on your computer, what is the size of the file? (if it's like really small like 4kb, then it won't play because it's not downloaded properly.)
It could be the media player not compatible with HamieNET's MIDI? (but there shouldn't be a difference)
Try using other typical player like Real player or Windows Media Player. See if problem still exist. |
|
Back to top |
|
morgana
Joined: 17 Oct 2005 Posts: 4
|
Posted: Sat Aug 04, 2007 1:07 pm Post subject: midi not valid format |
|
|
I have tried all of the media players I can use, including Real Player, no luck.
If I had enough hair I would be tearing it out!!!!
All of the midi files downloaded from other sites work OK. |
|
Back to top |
|
Guest
|
Posted: Sat May 24, 2008 8:14 pm Post subject: same thing |
|
|
I am getting the same thing when I download and open quicktime says "Operation could not be completed. (OSStatus error -208.)"
I am on a mac running OS 10.5.2 using safari v3.1.1 |
|
Back to top |
|
Guest
|
Posted: Sun Oct 12, 2008 12:30 pm Post subject: There is a fix |
|
|
It seems like this is because there is extra info at the end of the file (which some players don't like). From Apple's support pages:
Quote: |
3. I can't give instructions for fixing the error because what I fixed was
not any MIDI file; I fixed the program I wrote that generated the flawed
MIDIs. But if someone should encounter this very problem in a MIDI from some
other source, and that someone has expertise in file manipulation, one
should look for hex 'FF2F00' in the last record and delete everything that
follows it. |
Basically, you:
1. Open up the MIDI file in a hex editor (0xED is a free one for Macintosh)
2. Locate 'FF2F00' near the end (not in text mode but in hex mode) (in 0xED, in the left area)
3. Delete everything after the last 0 (in the test that I did, "<!--Page Genarated in 0.95492 Seconds-->" on the text side, and "3C212D2D506167652047656E61726174656420696E20302E3935343932205365636F6E64732D2D3E" on the hex side)
It should now play. In QuickTime, the problem was caused by an update, most likely in August 2007, that made it more fussy about MIDI file structure or something (from what I've read). But I guess this is some server functionality that automatically assumes that something is HTML and puts in how long it took to generate that dynamic "page". Player software doesn't seem to ever be fussy about MP3s and the like, so the problem doesn't happen with those.
Hope this helps,
Eric |
|
Back to top |
|
admin Site Admin
Joined: 04 Jul 2002 Posts: 698 Location: HamieLand
|
Posted: Fri Oct 24, 2008 11:32 pm Post subject: |
|
|
Thank you for your "fix." Your information has led me to correct the problem. I believe there shouldn't be anymore problem with the MIDI now. |
|
Back to top |
|
|