Opened 12 years ago

Last modified 8 years ago

#854 new defect

Mplayer doesn't resolve IPv6 literal address in URLs

Reported by: juhamatti.nikander@… Owned by: reimar
Priority: very important Component: core
Version: 1.0rc1 Severity: blocker
Keywords: Cc: shingen20092009@…
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

Mplayer doesn't resolve IPv6 literal addresses in URLs.

http://en.wikipedia.org/wiki/Ipv6#Literal_IPv6_Addresses_in_URLs

For example,

test@testmachine:~$ mplayer rtp://radio.unfix.org:1833
MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) XP 1900+ (Family: 6, Model: 6, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Playing rtp://radio.unfix.org:1833.
STREAM_RTP, URL: rtp://radio.unfix.org:1833
Counldn't resolve name: radio.unfix.org
rtp_streaming_start failed
File not found: 'radio.unfix.org:1833'
Failed to open rtp://radio.unfix.org:1833.

Exiting... (End of file)

Resolving manually,

test@testmachine:~$ host radio.unfix.org
radio.unfix.org has IPv6 address ff3e:30:2001:7b8:20d:0:8008:ad10

Then with literal form,

test@testmachine:~$ mplayer rtp://[ff3e:30:2001:7b8:20d:0:8008:ad10]:1833
MPlayer 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) XP 1900+ (Family: 6, Model: 6, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Playing rtp://[ff3e:30:2001:7b8:20d:0:8008:ad10]:1833.
STREAM_RTP, URL: rtp://[ff3e:30:2001:7b8:20d:0:8008:ad10]:1833
Counldn't resolve name: ff3e:30:2001:7b8:20d:0:8008:ad10
rtp_streaming_start failed
File not found: '[ff3e:30:2001:7b8:20d:0:8008:ad10]:1833'
Failed to open rtp://[ff3e:30:2001:7b8:20d:0:8008:ad10]:1833.

Exiting... (End of file)

If this will bug will be fixed, please remember to check also short literal notation in which subsequent groups of zeroes can be omitted once with ::

see http://en.wikipedia.org/wiki/Ipv6#Notation

Change History (2)

comment:1 Changed 12 years ago by juhamatti.nikander@…

  • Severity changed from normal to blocker

comment:2 Changed 8 years ago by shingen20092009@…

  • Cc shingen20092009@… added
  • op_sys changed from All to MinGW
  • rep_platform changed from All to PC (x86)
Note: See TracTickets for help on using tickets.