N/APosted on - 10/29/2013
I am using Mplayer on my Ubuntu Operating System but getting the following error message when listening to remote streams using this program. I have no idea how to fix this error. I am just looking for an expert’s advice so that I may resolve the problem. I would be grateful to you for any kind of assistance. Thanks in advance.
Couldn’t resolve name for AF_INET6: scfire-chi0l-1-aol.com
Could not resolve name for AF INET6
The reason behind this is very simple. It has something to do with the two protocols of I.P. i.e. IPv6 and IPv4. As MPlayer connects and changes a name to an IP address it tries to look if the given IP address is an IPv6 address. If it cannot find Ipv6 then it changes to IPv4. But an error message is displayed.
Fixing this problem –
Since most of the sites do not prefer using IPv6 you must prevent MPlayer from using IPv6 unless it cannot use IPv4. To implement this you must edit MPlayer’s configuration file with the following lines: prefer-ipv4=yes.
For making the changes only to the current user, change its configuration file (home directory) /.mplayer/config .
If you want to make above changes apply to all users you must the use global configuration file /usr/local/etc/mplayer/mplayer.conf or /etc/mplayer/mplayer.conf . Your Linux distribution and it's version decide which file you use..
If you make above changes then it will not display an error message until it finds IPv6.
You must close and reopen MPlayer for it to refresh and work properly.