[问题]mplayer能播放中文地址的流媒体吗?
- tnger
- 帖子: 69
- 注册时间: 2007-10-06 0:07
[问题]mplayer能播放中文地址的流媒体吗?
mplayer播放mms, rtsp都没问题,当前提是英文地址,如果是中文地址该如何?
- tnger
- 帖子: 69
- 注册时间: 2007-10-06 0:07
- xiooli
- 帖子: 6956
- 注册时间: 2007-11-19 21:51
- 来自: 成都
- 联系:
- tnger
- 帖子: 69
- 注册时间: 2007-10-06 0:07
-
- 帖子: 441
- 注册时间: 2006-10-26 7:02
转换一下:
echo "210.29.99.11:555/奥运/跟着大师看奥运/体操.RM" |xargs wget
出来信息:
--2008-06-17 22:56:06-- http://210.29.99.11:555/%E5%A5%A5%E8%BF ... 6%93%8D.RM
这就是转换后的url,加上rstp:// 试试。
不行的话 echo "210.29.99.11:555/奥运/跟着大师看奥运/体操.RM" |iconv -f utf8 -t gbk|xargs wget
echo "210.29.99.11:555/奥运/跟着大师看奥运/体操.RM" |xargs wget
出来信息:
--2008-06-17 22:56:06-- http://210.29.99.11:555/%E5%A5%A5%E8%BF ... 6%93%8D.RM
这就是转换后的url,加上rstp:// 试试。
不行的话 echo "210.29.99.11:555/奥运/跟着大师看奥运/体操.RM" |iconv -f utf8 -t gbk|xargs wget
上次由 vvvli 在 2008-06-18 1:00,总共编辑 1 次。
- tnger
- 帖子: 69
- 注册时间: 2007-10-06 0:07
echo "210.29.99.11:555/奥运/跟着大师看奥运/体操.RM" |xargs wgetvvvli 写了:转换一下:
echo "210.29.99.11:555/奥运/跟着大师看奥运/体操.RM" |xargs wget
出来信息:
--2008-06-17 22:56:06-- http://210.29.99.11:555/%E5%A5%A5%E8%BF ... 6%93%8D.RM
这就是转换后的url,加上rstp:// 试试。
不行的话 echo "210.29.99.11:555/奥运/跟着大师看奥运/体操.RM" |iconv -f utf8 -t gbk|xargs wget
--08:03:41-- http://210.29.99.11:555/%E5%A5%A5%E8%BF ... 6%93%8D.RM
=> `��%93�%93%8D.RM'
正在连接 210.29.99.11:555... 已连接。
已发出 HTTP 请求,正在等待回应... 404 Not Found
08:03:41 错误 404:Not Found。
-
- 帖子: 947
- 注册时间: 2006-01-06 22:55
- 系统: ubuntu
- 联系:
- yaoms
- 帖子: 4952
- 注册时间: 2007-10-19 14:51
- 来自: 深圳
不需要转码吧。地址没问题,mplayer就能播;看看这些信息:
$ mplayer rtsp://210.29.99.11:555/奥运/跟着大师看奥运/体操.RM
MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Celeron(R) M processor 1.60GHz (Family: 6, Model: 13, Stepping: 8)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
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 rtsp://210.29.99.11:555/奥运/跟着大师看奥运/体操.RM.
Resolving 210.29.99.11 for AF_INET6...
Couldn't resolve name for AF_INET6: 210.29.99.11
Connecting to server 210.29.99.11[210.29.99.11]: 555...
connection timeout
STREAM_LIVE555, URL: rtsp://210.29.99.11:555/奥运/跟着大师看奥运/体操.RM
This stream is non-cacheable
Stream not seekable!
file format detected.
$ ping 210.29.99.11
PING 210.29.99.11 (210.29.99.11) 56(84) bytes of data.
--- 210.29.99.11 ping statistics ---
39 packets transmitted, 0 received, 100% packet loss, time 38029ms
Nothing 有事请发邮件到 yms541 AT gmail.com
alias 爱慕颇雷尔='mplayer'
alias 爱慕颇雷尔='mplayer'
-
- 帖子: 947
- 注册时间: 2006-01-06 22:55
- 系统: ubuntu
- 联系: