Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#809 closed defect (worksforme)

Streaming URL doesn't work on mplayer, works on WMP

Reported by: luke.hutch@… Owned by: r_togni@…
Priority: normal Component: streaming
Version: 1.0rc1 Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

The following URLs (audio then video) don't work on mplayer (or totem or xine for that matter), but work fine on Windows Media Player:

mplayer -playlist http://lds.org/broadcast/file/build/0,16929,4042,00.asx
mplayer -playlist http://lds.org/broadcast/file/build/0,16929,4422,00.asx

(As an aside, why does mplayer not automatically detect this is a playlist? It seems broken that you have to manually specify this, because you can't have mplayer play arbitrary filetypes without knowing whether you need to specify -playlist or not. Should I file a separate bug for this?)

Change History (2)

comment:1 Changed 13 years ago by compn

  • Resolution set to worksforme
  • Status changed from new to closed

works fine for me...

also the playlist code is not secure, so its not enabled by default
i think you can uncomment out some lines in the source to enable it again.

mplayer -playlist http://lds.org/broadcast/file/build/0,16929,4042,00.asx

MPlayer dev-SVN-r23012-3.4.5 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) processor (Family: 6, Model: 4, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled with runtime CPU detection.
Resolving lds.org for AF_INET...
Connecting to server lds.org[216.49.176.33]: 80...
Cache size set to 320 KBytes
109 audio & 229 video codecs
c:\winnt\fonts\comic.ttf doesn't look like a bitmap font description, ignoring.
Cannot load bitmap font: c:\winnt\fonts\comic.ttf

Playing mms://stream.lds.org/ces/2006/Sep/10/ces2006sep10english16.wma.
STREAM_ASF, URL: mms://stream.lds.org/ces/2006/Sep/10/ces2006sep10english16.wma
Resolving stream.lds.org for AF_INET...
Connecting to server stream.lds.org[216.49.176.71]: 1755...
Connected
read error:: No such file or directory
pre-header read failed
Resolving stream.lds.org for AF_INET...
Connecting to server stream.lds.org[216.49.176.71]: 80...
Resolving stream.lds.org for AF_INET...
Connecting to server stream.lds.org[216.49.176.71]: 80...
Cache size set to 320 KBytes
Cache fill: 17.50% (57344 bytes)
ASF file format detected.
Clip info:

name:
author:
copyright:
comments:

==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 22050 Hz, 1 ch, s16le, 16.0 kbit/4.54% (ratio: 2002->44100)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
AO: [dsound] 22050Hz 1ch s16le (2 bytes per sample)
Video: no video
Starting playback...
←[K ===== PAUSE =====unknown) 0.0% 15%

comment:2 Changed 13 years ago by luke.hutch@…

What is the following in your log?

read error:: No such file or directory
pre-header read failed

Here's what I get:

$ mplayer -playlist http://lds.org/broadcast/file/build/0,16929,4042,00.asx
MPlayer 1.0rc1-Fedora-GS-4.1.1 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3500+ (Family: 15, Model: 15, Stepping: 0)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Resolving lds.org for AF_INET6...
Couldn't resolve name for AF_INET6: lds.org
Resolving lds.org for AF_INET...
Connecting to server lds.org[216.49.176.33]: 80...
Cache size set to 320 KBytes
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing mms://stream.lds.org/ces/2006/Sep/10/ces2006sep10english16.wma.
STREAM_ASF, URL: mms://stream.lds.org/ces/2006/Sep/10/ces2006sep10english16.wma
Resolving stream.lds.org for AF_INET6...
Couldn't resolve name for AF_INET6: stream.lds.org
Resolving stream.lds.org for AF_INET...
Connecting to server stream.lds.org[216.49.176.71]: 1755...
Connected

<sits there doing nothing, for hours>

Note: See TracTickets for help on using tickets.