[MPlayer-users] Playing an URL with special characters, charset problem

arthur at life.net.br arthur at life.net.br
Mon Sep 13 07:46:28 CEST 2010

On 09/12/2010 10:52 AM, Onur Küçük wrote:
> On Sun, 12 Sep 2010 09:18:45 -0300
> "arthur at life.net.br"<arthur at life.net.br>  wrote:
>> Thank you Onur,
>> so with that I get the output: (that is actually the same I get from
>> running in the terminal)
>> ==================================
>> MPlayer SVN-r32106-4.4.3 (C) 2000-2010 MPlayer Team
>   I am using r32161 btw (though I don't think it will make a difference)
>> Playing
>> http://translate.google.com/translate_tts?tl=fr&q="%C3%A2%2C%C3%AA%2C%
>> C3%AE%2C%C3%B4%2C%C3%BB". Resolving translate.google.com for
>> AF_INET6...
>> Couldn't resolve name for AF_INET6: translate.google.com
>> Resolving translate.google.com for AF_INET...
>> Connecting to server translate.google.com[]: 80...
>> Cache size set to 320 KBytes
>> Cache fill:  7.21% (23616 bytes)
>> Audio only file format detected.
>> ==========================================================================
>> Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
>> AUDIO: 16000 Hz, 2 ch, s16le, 32.0 kbit/6.25% (ratio: 4000->64000)
>> Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
>> ==========================================================================
>> AO: [oss] 16000Hz 2ch s16le (2 bytes per sample)
>> Video: no video
>> Starting playback...
>> A:   3.9 (03.9) of 5.0 (05.0)  0.1% 0%
>   Are you sure your soundcard is free to use ? MPlayer is using oss, but
> if any sort of sound daemon (pulseaudio, arts etc.) is blocking the
> soundcard you won't hear anything.

I just tested SVN-r32219-4.4.3, but I got the same result.

Mplayer is playing it well, but the problem is that I ask mplayer to 
play an url that has special characters: â,ê,î,ô,û 
(%C3%A2%2C%C3%AA%2C%C3%AE%2C%C3%B4%2C%C3%BB), but It will play 
$,&,*,+,#(..%2C..%2C..%2C..%2C..) (it will just say a bunch of strange 
things), so it's not playing the right thing, it's like asking mplayer 
to play 'apple.mp3', but mplayer will play 'banana.mp3'. (it's not the 
best example, but..)

I think Tom Evans understood the problem well. maybe he is working on 
it, or he's just busy. :D

sincerely I think it will require to change something in Mplayer's code, 
or maybe it's a network lib used by mplayer. I may be wrong, but that's 
what I think.

I appreciate your help, and I hope somebody will find a solution.

Thank you,

Arthur Helfstein Fragoso
arthur at life.net.br

More information about the MPlayer-users mailing list