PDA

View Full Version : MPlayer e stream asf = Grrr


Andmart
14-08-2005, 23:06
Capita che io abbia la necessità (sigh) di visionare filmati in stream in formato di Windows media....

Per tale ragione mi sono scaricato Mplayer, il pacchetto con le dll di windows più alcune dll che mancavano... Ho compilato il tutto e vedo perfettamente (soprattutto sento: era un po' triste avere i video del Live8 in formato .mov e vederli perfettamente senza porterli sentire) i file quick time... Tutt'altra storia è invece per i file in stream di Windows Media Player (e qui censuro gli epiteti che rivolgerei alla M$ che si ostina a mantenere segrete o quasi le specifiche dei suoi formati)..... Quando inserisco un url contenente l'indrizzo di un formato in stream ottengo essenzialmete due errori diversi a seconda di ciò che inserisco... se insersco:

http://cosmos.bcst.yahoo.com/nasa/071305

[andrea@KOSMOS andrea]$ gmplayer
MPlayer 1.0pre7-3.3.2 (C) 2000-2005 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 10)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE



vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local display)
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Playing mms://a560.l894823709.c8948.n.lm.akamaistream.net/D/560/8948/v0001/reflector:23709.
Resolving a560.l894823709.c8948.n.lm.akamaistream.net for AF_INET6...
Couldn't resolve name for AF_INET6: a560.l894823709.c8948.n.lm.akamaistream.net
Resolving a560.l894823709.c8948.n.lm.akamaistream.net for AF_INET...
Connecting to server a560.l894823709.c8948.n.lm.akamaistream.net[80.15.249.34]:1755 ...
connected
read error:: Operation now in progress
pre-header read failed
Resolving a560.l894823709.c8948.n.lm.akamaistream.net for AF_INET6...
Couldn't resolve name for AF_INET6: a560.l894823709.c8948.n.lm.akamaistream.net
Resolving a560.l894823709.c8948.n.lm.akamaistream.net for AF_INET...
Connecting to server a560.l894823709.c8948.n.lm.akamaistream.net[80.15.249.10]:80 ...
Server return 404:Not Found
Failed to parse header
asf_streaming_start failed
Check if this is a playlist which requires -playlist option
Example: mplayer -playlist <url>
Unable to open URL: mms://a560.l894823709.c8948.n.lm.akamaistream.net/D/560/8948/v0001/reflector:23709

New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Playing http://www.microsoft.com/winme/0507/25234/Win_Name_MBR.as.
Resolving www.microsoft.com for AF_INET6...
Couldn't resolve name for AF_INET6: www.microsoft.com
Resolving www.microsoft.com for AF_INET...
Connecting to server www.microsoft.com[207.46.199.60]:80 ...
Server returned 404: Not Found
Unable to open URL: http://www.microsoft.com/winme/0507/25234/Win_Name_MBR.as

New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Playing http://cosmos.bcst.yahoo.com/nasa/071305.
Resolving cosmos.bcst.yahoo.com for AF_INET6...
Couldn't resolve name for AF_INET6: cosmos.bcst.yahoo.com
Resolving cosmos.bcst.yahoo.com for AF_INET...
Connecting to server cosmos.bcst.yahoo.com[68.142.216.12]:80 ...
Resolving cosmosweb04.bcst.mud.yahoo.com for AF_INET6...
Couldn't resolve name for AF_INET6: cosmosweb04.bcst.mud.yahoo.com
Resolving cosmosweb04.bcst.mud.yahoo.com for AF_INET...
Connecting to server cosmosweb04.bcst.mud.yahoo.com[68.142.216.206]:80 ...
Resolving cosmos.bcst.yahoo.com for AF_INET6...
Couldn't resolve name for AF_INET6: cosmos.bcst.yahoo.com
Resolving cosmos.bcst.yahoo.com for AF_INET...
Connecting to server cosmos.bcst.yahoo.com[68.142.216.12]:80 ...
Cache size set to 320 KBytes
Connected to server: cosmos.bcst.yahoo.com
Cache fill: 7,50% (24576 bytes)

MPlayer interrupted by signal 11 in module: demux_open
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.
[andrea@KOSMOS andrea]$

Se inserisco qualcosa come:

mms://212.162.69.199/live

ottengo:

[andrea@KOSMOS andrea]$ gmplayer
MPlayer 1.0pre7-3.3.2 (C) 2000-2005 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 10)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE



vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local display)
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Playing mms://212.162.69.199/live.
Resolving 212.162.69.199 for AF_INET6...
Couldn't resolve name for AF_INET6: 212.162.69.199
Connecting to server 212.162.69.199[212.162.69.199]:1755 ...
connected
read error:: Operation now in progress
pre-header read failed
Resolving 212.162.69.199 for AF_INET6...
Couldn't resolve name for AF_INET6: 212.162.69.199
Connecting to server 212.162.69.199[212.162.69.199]:80 ...
Server return 400:Bad Request
Failed to parse header
asf_streaming_start failed
Check if this is a playlist which requires -playlist option
Example: mplayer -playlist <url>
Unable to open URL: mms://212.162.69.199/live

Senza crash sta volta....

Ho googlato per tutta la sera... Le ho provate tutte.. sostituire mms con http, cercare il link al file asf....

Niente! :muro: :muro: :muro: :mc:

Datemi una mano! :cry: :cry: :cry:

Grazie Mille!

Andmart
14-08-2005, 23:33
Ho trovato questo consiglio che sin'ora mi era sfuggito: aprire l'asf con un text editor per ricavare gli indirizzi diretti.....

Ora l'audio, sul file con cui ho provato, si sente bene... Peccato manchi totalmente il video :( :mad: . In ogni caso eccovi l'output:

[andrea@KOSMOS andrea]$ gmplayer
MPlayer 1.0pre7-3.3.2 (C) 2000-2005 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 10)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE



vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local display)
Failed to open /dev/rtc: Device or resource busy (it should be readable by the user.)
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Playing mms://wm.microsoft.com/ms/msnse/0507/25234/Win_Name_MBR.wmv.
Resolving wm.microsoft.com for AF_INET6...
Couldn't resolve name for AF_INET6: wm.microsoft.com
Resolving wm.microsoft.com for AF_INET...
Connecting to server wm.microsoft.com[207.46.249.94]:1755 ...
connected
file object, packet length = 2888 (2888)
unknown object
unknown object
stream object, stream id: 3
stream object, stream id: 6
unknown object
unknown object
unknown object
data object
mmst packet_length = 2888
Cache size set to 64 KBytes
Connected to server: wm.microsoft.com
Cache fill: 0,00% (0 bytes) ASF file format detected.
VIDEO: [WMV3] 192x144 24bpp 1000,000 fps 0,0 kbps ( 0,0 kbyte/s)
==========================================================================
Trying to force audio codec driver family qtaudio...
Opening audio decoder: [dmo] Win32/DMO decoders
======= WAVE Format =======
Format Tag: 10 (0xA)
Channels: 1
Samplerate: 8000
avg byte/sec: 1000
Block align: 300
bits/sample: 16
cbSize: 46
Unknown extra header dump: [10] [0] [4] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [cf] [88] [1a] [0] [5] [c9] [2d] [49] [90] [19] [40] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
===========================
======= WAVE Format =======
Format Tag: 1 (0x1)
Channels: 1
Samplerate: 8000
avg byte/sec: 16000
Block align: 2
bits/sample: 16
cbSize: 0
===========================
GetOutput r=0x0 size:8192 align:1
StreamCount r=0x0 1 1
AUDIO: 8000 Hz, 1 ch, s16le, 8,0 kbit/6,25% (ratio: 1000->16000)
Selected audio codec: [wma9spdmo] afm:dmo (Windows Media Audio 9 Speech DMO)
==========================================================================
==========================================================================
Trying to force video codec driver family qtrpza...
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
GetOutput r=0x0 size:82944 align:1
StreamCount r=0x0 1 1
Decoder supports the following YUV formats: YV12 YUY2 UYVY YVYU ▒
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 192 x 144 (preferred csp: Packed YUY2)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 192x144 => 192x144 Planar YV12
Selected video codec: [wmv9dmo] vfm:dmo (Windows Media Video 9 DMO)
==========================================================================
Checking audio filter chain for 8000Hz/1ch/s16le -> 8000Hz/2ch/s16le...
AF_pre: 8000Hz/1ch/s16le
AO: [oss] 8000Hz 2ch s16le (2 bps)
Building audio filter chain for 8000Hz/1ch/s16le -> 8000Hz/2ch/s16le...
Starting playback...
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
everything done. Thank you for downloading a media file containing proprietary and patentend technology.
A: 76,3 V: 78,8 A-V: -2,499 ct: 6,559 682/682 1% 0% 98,7% 49 0 0%
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Playing mms://wm.microsoft.com/ms/msnse/0507/25234/Win_Name_MBR.wmv.
Resolving wm.microsoft.com for AF_INET6...
Couldn't resolve name for AF_INET6: wm.microsoft.com
Resolving wm.microsoft.com for AF_INET...
Connecting to server wm.microsoft.com[207.46.249.94]:1755 ...
connected
file object, packet length = 2888 (2888)
unknown object
unknown object
stream object, stream id: 3
stream object, stream id: 6
unknown object
unknown object
unknown object
data object
mmst packet_length = 2888
Cache size set to 64 KBytes
Connected to server: wm.microsoft.com
Cache fill: 0,00% (0 bytes) ASF file format detected.
VIDEO: [WMV3] 192x144 24bpp 1000,000 fps 0,0 kbps ( 0,0 kbyte/s)
==========================================================================
Trying to force audio codec driver family qtaudio...
Opening audio decoder: [dmo] Win32/DMO decoders
======= WAVE Format =======
Format Tag: 10 (0xA)
Channels: 1
Samplerate: 8000
avg byte/sec: 1000
Block align: 300
bits/sample: 16
cbSize: 46
Unknown extra header dump: [10] [0] [4] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [cf] [88] [1a] [0] [5] [c9] [2d] [49] [90] [19] [40] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
===========================
======= WAVE Format =======
Format Tag: 1 (0x1)
Channels: 1
Samplerate: 8000
avg byte/sec: 16000
Block align: 2
bits/sample: 16
cbSize: 0
===========================
GetOutput r=0x0 size:8192 align:1
StreamCount r=0x0 1 1
AUDIO: 8000 Hz, 1 ch, s16le, 8,0 kbit/6,25% (ratio: 1000->16000)
Selected audio codec: [wma9spdmo] afm:dmo (Windows Media Audio 9 Speech DMO)
==========================================================================
==========================================================================
Trying to force video codec driver family qtrpza...
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
GetOutput r=0x0 size:82944 align:1
StreamCount r=0x0 1 1
Decoder supports the following YUV formats: YV12 YUY2 UYVY YVYU ▒
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 192 x 144 (preferred csp: Packed YUY2)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 192x144 => 192x144 Planar YV12
Selected video codec: [wmv9dmo] vfm:dmo (Windows Media Video 9 DMO)
==========================================================================
Checking audio filter chain for 8000Hz/1ch/s16le -> 8000Hz/2ch/s16le...
AF_pre: 8000Hz/1ch/s16le
AO: [oss] 8000Hz 2ch s16le (2 bps)
Building audio filter chain for 8000Hz/1ch/s16le -> 8000Hz/2ch/s16le...
Starting playback...
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
A: 44,4 V: 12,5 A-V: 31,927 ct: 6,849 26/ 26 2% 0% 1482,6% 24 0 6%
===== PAUSE =====
Exiting... (Exit)
[andrea@KOSMOS andrea]$

Ho anche seguito le indicazioni presso: http://www.fedoraitalia.org/modules/wfsection/article.php?articleid=197 ..... :muro:

ingeniere
15-08-2005, 14:37
prova a mandarlo in esecuzione con al posto di "mms://", "http://"...

con me ha funzionato...

Andmart
15-08-2005, 14:39
già fatto.... :muro: :muro: