LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: zhuzhu617

mplayer如何播放在线视频??

[复制链接]
 楼主| 发表于 2006-8-31 19:21:28 | 显示全部楼层
下班回来第一件事就是试这个,着魔了。
jiuny0209 给的wmv地址可以播放,但会提示"Couldn't resolve name for AF_INET6:www.vic..."

[root@localhost ~]# mplayer http://www.victorygo.pe.kr/you/music/class_mov/The_S ound_Of_Silence.wmv
MPlayer 1.0pre8-rpm.livna.org-4.1.1 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Celeron(R) M processor         1.40GHz (Family: 6, Model: 13, Step ping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.


Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Setting up LIRC support...
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 http://www.victorygo.pe.kr/you/m ... ound_Of_Silence.wmv.
STREAM_HTTP(1), URL: http://www.victorygo.pe.kr/you/music/class_mov/The_Sound_Of _Silence.wmv
Resolving www.victorygo.pe.kr for AF_INET6...
Couldn't resolve name for AF_INET6: www.victorygo.pe.kr
Resolving www.victorygo.pe.kr for AF_INET...
Connecting to server www.victorygo.pe.kr[218.156.114.13]: 80...
STREAM_ASF, URL: http://www.victorygo.pe.kr/you/music/class_mov/The_Sound_Of_Sil ence.wmv
Resolving www.victorygo.pe.kr for AF_INET6...
Couldn't resolve name for AF_INET6: www.victorygo.pe.kr
Resolving www.victorygo.pe.kr for AF_INET...
Connecting to server www.victorygo.pe.kr[218.156.114.13]: 80...
Stream not seekable!
ASF file format detected.
VIDEO:  [MP43]  320x240  24bpp  1000.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
name:
author:
copyright:
comments:
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 22050 Hz, 2 ch, s16le, 32.0 kbit/4.54% (ratio: 4005->88200)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm: ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
alsa-init: using device default
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 320x240 => 320x240 Planar YV12
No bind found for key 'MOUSE_BTN0'.                         7% 2 0
No bind found for key 'MOUSE_BTN0'.                         6% 2 0
alsa-uninit: pcm closed 0.051 ct: -0.019 343/343  3%  0%  1.6% 2 0

Exiting... (Quit)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-31 19:24:11 | 显示全部楼层
而播放rm则不能播放,我有安装all-20050412.tar.bz2

播放错误信息如下:
[root@localhost ~]# mplayer http://10.146.189.103/vod/dingdang/001.rm
MPlayer 1.0pre8-rpm.livna.org-4.1.1 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Celeron(R) M processor         1.40GHz (Family: 6, Model: 13, Step ping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.


Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Setting up LIRC support...
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 http://10.146.189.103/vod/dingdang/001.rm.
STREAM_HTTP(1), URL: http://10.146.189.103/vod/dingdang/001.rm
Resolving 10.146.189.103 for AF_INET6...
Couldn't resolve name for AF_INET6: 10.146.189.103
Connecting to server 10.146.189.103[10.146.189.103]: 80...
Server returned 403: Forbidden
STREAM_ASF, URL: http://10.146.189.103/vod/dingdang/001.rm
Resolving 10.146.189.103 for AF_INET6...
Couldn't resolve name for AF_INET6: 10.146.189.103
Connecting to server 10.146.189.103[10.146.189.103]: 80...
Server returned 403:Forbidden
Failed to parse header.
Failed, exiting.
STREAM_HTTP(2), URL: http://10.146.189.103/vod/dingdang/001.rm
Resolving 10.146.189.103 for AF_INET6...
Couldn't resolve name for AF_INET6: 10.146.189.103
Connecting to server 10.146.189.103[10.146.189.103]: 80...
Server returned 403: Forbidden
File not found: '10.146.189.103/vod/dingdang/001.rm'
Failed to open http://10.146.189.103/vod/dingdang/001.rm.


Exiting... (End of file)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-31 19:25:39 | 显示全部楼层
难道是IPV6的原因??
请高手解答~~~~~~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-8-31 19:53:37 | 显示全部楼层
关闭ipv6后,仍然不能播放rm,但wmv没有了错误提示。
下面这个播放地址,在Realplayer里面是可以播放的。
郁闷!

[root@localhost ~]# mplayer http://10.146.189.103/vod/dingdang/001.rm
MPlayer 1.0pre8-rpm.livna.org-4.1.1 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Celeron(R) M processor         1.40GHz (Family: 6, Model: 13, Step ping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.


Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Setting up LIRC support...
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 http://10.146.189.103/vod/dingdang/001.rm.
STREAM_HTTP(1), URL: http://10.146.189.103/vod/dingdang/001.rm
Connecting to server 10.146.189.103[10.146.189.103]: 80...
Server returned 403: Forbidden
STREAM_ASF, URL: http://10.146.189.103/vod/dingdang/001.rm
Connecting to server 10.146.189.103[10.146.189.103]: 80...
Server returned 403:Forbidden
Failed to parse header.
Failed, exiting.
STREAM_HTTP(2), URL: http://10.146.189.103/vod/dingdang/001.rm
Connecting to server 10.146.189.103[10.146.189.103]: 80...
Server returned 403: Forbidden
File not found: '10.146.189.103/vod/dingdang/001.rm'
Failed to open http://10.146.189.103/vod/dingdang/001.rm.


Exiting... (End of file)
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-1 17:23:25 | 显示全部楼层
继 续 u p
回复 支持 反对

使用道具 举报

发表于 2006-9-1 20:38:22 | 显示全部楼层
sudo apt-get install mozilla-mplayer
在ubuntu里这样就搞定了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-2 03:02:26 | 显示全部楼层
问题是我用的是FC5
这两天试了一下Slax,界面真好看。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-2 11:12:21 | 显示全部楼层
继续,等待。
help me
回复 支持 反对

使用道具 举报

发表于 2006-9-2 14:58:30 | 显示全部楼层
这 个问题....肯定烦了楼主了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-3 19:26:33 | 显示全部楼层
等待。。。。。。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表