[MPlayer-dev-eng] escape character on Wed Apr 7 20:35:41 2004 url.c

Compn tempn at twmi.rr.com
Tue Apr 20 07:03:19 CEST 2004


this affects urls with % in the url (which is used
for special characters, like spaces, etc) which
makes them unplayable, can you undo this patch?

workaround is to change '%20' to a space in the filename
and use quotes around the file. so http://blah.com/file%20with
%20spaces.ogg becomes "http://blah.com/file with spaces.ogg"

here is apr 6 and apr 8 cvs of mplayer, before and after :)

C:\Documents and Settings\resu\Desktop>mplayermd http://10.0.0.2/jeffmusic/steve
%20martin%20-%20lets%20get%20small/steve%20martin-lets%20get%20small102_NEW.ogg
MPlayer dev-CVS-040406-03:13-3.3.1 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium MMX P55C 231.6 MHz (Family: 5, Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directo
ry
Reading config file C:/programs/mplayer/mplayer/config
Reading C:/programs/mplayer/mplayer/codecs.conf: 61 audio & 168 video codecs
Font c:\programs\mplayer\font-arial-18-iso-8859-1\font.desc loaded successfully!
 (206 chars)
Using usleep() timing
Input config file C:/programs/mplayer/mplayer/input.conf parsed: 53 binds

Playing http://10.0.0.2/jeffmusic/steve%20martin%20-%20lets%20get%20small/steve%
20martin-lets%20get%20small102_NEW.ogg.
Connecting to server 10.0.0.2[10.0.0.2]:80 ...
Cache size set to 320 KBytes
Connected to server: 10.0.0.2
Cache fill: 17.50% (57344 bytes)    OGG file format detected.
==========================================================================
Opening audio decoder: [libvorbis] Ogg/Vorbis audio decoder
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 20000->176400 (160.0 kbit)
Selected audio codec: [vorbis] afm:libvorbis (OggVorbis Audio Decoder)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [win32] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Video: no video
Starting playback...
A:         0.1  0.0% 21%
Exiting... (Quit)



C:\Documents and Settings\resu\Desktop>mplayer http://10.0.0.2/jeffmusic/steve%2
0martin%20-%20lets%20get%20small/steve%20martin-lets%20get%20small102_NEW.ogg
MPlayer dev-CVS-040408-18:03 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium MMX P55C 234.6 MHz (Family: 5, Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directo
ry
Reading config file C:/programs/mplayer/mplayer/config
Reading C:/programs/mplayer/mplayer/codecs.conf: 61 audio & 168 video codecs
Font c:\programs\mplayer\font-arial-18-iso-8859-1\font.desc loaded successfully!
 (206 chars)
Using usleep() timing
Input config file C:/programs/mplayer/mplayer/input.conf parsed: 53 binds

Playing http://10.0.0.2/jeffmusic/steve%20martin%20-%20lets%20get%20small/steve%
20martin-lets%20get%20small102_NEW.ogg.
Connecting to server 10.0.0.2[10.0.0.2]:80 ...
Server returned 404: Not Found
Unable to open URL: http://10.0.0.2/jeffmusic/steve%20martin%20-%20lets%20get%20
small/steve%20martin-lets%20get%20small102_NEW.ogg
Option stream url: This URL doesn't have a hostname part.
File not found: 'jeffmusic/steve martin - lets get small/steve martin-lets get s
mall102_NEW.ogg'
Failed to open http://10.0.0.2/jeffmusic/steve%20martin%20-%20lets%20get%20small
/steve%20martin-lets%20get%20small102_NEW.ogg


Exiting... (End of file)




More information about the MPlayer-dev-eng mailing list