QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

楼主: kanven

如何用mplayer播rtsp和pnm的流媒体?

[复制链接]
发表于 2006-10-18 11:03:06 | 显示全部楼层
发表于: 2003年 02月21日 03:42    发表主题:   

到live.com 去下载流媒体协议支持包,编译完后将整个目录cp到/ usr/lib下
再编译mplayer,选项 ./configure --enable-live --enable-gui

如果你本机上安装了 darwin stream server 的话,使用rtsp需要用darwin建立一个playlist. stream server 会为这个playlist生成一个sdp文件, mplayer使用rtsp需要使用这个sdp文件,否则mplayer不能播放. mms是没有问题,我本机安装了helix后,可以使用mms观看asf文件.另外ffmpeg,darwin和helix都可以支持realplay,直接使用rtsp://就可以了.  

--------------------------------------------------------------------------------

可以说得详细些吗?playlist生成的sdp文件在哪里找到?
mplayer又是如何使用这个文件的呀?
我用./configure --enable-live --enable-gui 编译过去了
安装的也是达尔文服务器
可是用mplayer rtsp://202.xxx.xx.xxx:80/sample.mov
提示如下:
播放 rtsp://202.xxx.xx.xxx:80/sample.mov.
Connecting to server 202.xxx.xx.xxx[202.xxx.xx.xxx]:80 ...
rtsp_session: Not a Real server. Server type is 'DSS/5.5 (Build/489.7; Platform/Linux; Release/Darwin; )'.
Not a Realmedia rtsp url. Trying standard rtsp protocol.
连接到服务器: 202.xxx.xx.xxx
Stream not seekable!
Failed to get a SDP description from URL "rtsp://202.xxx.xx.xxx:80/sample.mov":
cannot handle DESCRIBE response: RTSP/1.0 404 Not Found
这是怎么回事呢?
回复

使用道具 举报

发表于 2006-10-18 17:35:00 | 显示全部楼层
不知道微软花了多少钱把live.com这个域名买走的
回复

使用道具 举报

发表于 2006-10-18 19:03:19 | 显示全部楼层
google 上应该有答案,我估计怎么也得几十 W 。
回复

使用道具 举报

发表于 2006-10-18 19:36:28 | 显示全部楼层
[quote:f32c8f1998="jiangtao9999"]google 上应该有答案,我估计怎么也得几十 W 。[/quote]
还是美刀
回复

使用道具 举报

发表于 2006-10-18 21:07:38 | 显示全部楼层
M$ 当然要以刀计算了。
回复

使用道具 举报

发表于 2006-10-18 21:32:13 | 显示全部楼层
那也太逊了吧
回复

使用道具 举报

发表于 2006-10-18 22:18:09 | 显示全部楼层
丢人丢大了………………
回复

使用道具 举报

发表于 2006-10-19 19:15:57 | 显示全部楼层
有没有兄弟播放rtsp成功了?把经验介绍介绍啊?

我的mplayer只能播放mp3的rtsp,avi,mp4,wmv都不行!那位兄弟给点意见啊,我都按照live。com做了。
。/genmakefile linux
make
回复

使用道具 举报

发表于 2006-10-19 20:03:15 | 显示全部楼层
cucly, 可能是你的 mplayer 解码器不全,ffmpge 和 win32codec 都有么?
回复

使用道具 举报

发表于 2006-10-19 22:15:48 | 显示全部楼层
好像 mplayer 优先使用外部的 ffmpeg 。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-4-28 14:40 , Processed in 0.059312 second(s), 12 queries .

© 2021 Powered by Discuz! X3.5.

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