I have a CGI script for anonymous upload of MP3 files via a web page form to my own private NetBSD Unix running Apache.
When I upload via Firefox on a Unix box to the server all is well. The uploaded MP3 plays from the web page from Firefox on Unix as well as from either Firefox or MSIE on Vista.
When I upload via either Firefox or MSIE from Vista then the the MP3 on the Unix box does not play right. The file size is exactly right but playback is chirpy and awful sounding.
It never happens when I transfer back and forth using FTP, only via the CGI upload script written in Perl. Again, the same web page and same script work differently uploading from Vista versus NetBSD.
So I am wondering if this is an Endian-ness issue to do with Vista verus NetBSD? If so I suppose I can look into querying the CGI for the OS and re-endian-izing uploaded files. Or does anyone have a better way?
FYI: The upload needs to be anonymous. The uploaded files will be more-or-less temporary. The idea is to let me be a very lazy DJ in Second Life. Rather than work hard to search Limewire for people's requests, I want for them to send me songs from their own collection. I'll then play their request in-world for that event.
In reply to CGI Upload and MP3 Endianness on Unix versus Win32 by aplonis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |