QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 11498|回复: 39

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

[复制链接]
发表于 2003-2-9 18:30:36 | 显示全部楼层 |阅读模式
谢谢
发表于 2003-2-9 19:25:11 | 显示全部楼层
我也想知道
回复

使用道具 举报

发表于 2003-2-18 10:47:14 | 显示全部楼层
我也想知道
回复

使用道具 举报

发表于 2003-2-21 15:42:33 | 显示全部楼层
到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://就可以了.
回复

使用道具 举报

 楼主| 发表于 2003-2-21 18:17:01 | 显示全部楼层
ffmpeg,darwin和helix哪里有得下载?
回复

使用道具 举报

发表于 2003-2-22 15:16:08 | 显示全部楼层
ffmpeg在sourceforge.net下载,其他两个分别去realnetwork和apple公司下载
回复

使用道具 举报

发表于 2003-2-22 21:13:53 | 显示全部楼层
又不是要把自己的机器配成streaming server,干什么还要去装后两个软件
回复

使用道具 举报

发表于 2003-2-27 13:38:18 | 显示全部楼层
怎样才能播放MMS协议的媒体啊
回复

使用道具 举报

发表于 2003-3-3 15:38:59 | 显示全部楼层

我的直接就可以播放mms协议的文件的呀,没有作

[quote:1458da1c73="snhym"]怎样才能播放MMS协议的媒体啊[/quote]
我就是从这里下载的呀,编译后我试过,直接支持流媒体的呀,MMS和RSTP都可以播放的。
回复

使用道具 举报

 楼主| 发表于 2003-3-3 19:55:39 | 显示全部楼层
能播放rstp://xx.xx.xx.xx.rm这样的流媒体吗?
回复

使用道具 举报

发表于 2003-3-29 09:39:08 | 显示全部楼层

ffmpeg

[quote:2ca0b5604d="luoda"]ffmpeg在sourceforge.net下载,其他两个分别去realnetwork和apple公司下载[/quote]

ffmpeg怎么安装啊
回复

使用道具 举报

发表于 2003-3-29 11:29:14 | 显示全部楼层
[quote="luoda"]到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://就可以了.[/quote

我将live拷到/usr/lib后,用./configure --enable-live --enable-gui可以正常的生成文件,但是在make时却不能完全。如果不用--enable-live则没有问题,可以正常安装并播放电影。这其中有什么特别的要求吗?
回复

使用道具 举报

发表于 2003-3-29 16:20:26 | 显示全部楼层
请察看的在mplayer和live.com的文档中有说明
回复

使用道具 举报

发表于 2003-3-29 20:19:19 | 显示全部楼层
mikeshi, 如何解压下载的 live.2003.03.28.tar.gz?  如何配置和编译?
live.come 上的文档,其中有一段:

How to configure and build the code on Unix (and QNX, and other Posix-compliant systems)
The source code package can be found (as a ".tar.gz" file) here. Use "tar -x" and "gunzip" (or "tar -xz", if available) to extract the package; then cd to the "live" directory. Then run

    ./genMakefiles <os-platform>

where <os-platform> is your target platform - e.g., "linux" or "solaris" - defined by a "config.<os-platform>" file. This will generate a Makefile in the "live" directory and each subdirectory. Then run "make".

    * If the "make" fails, you may need to make small modifications to the appropriate "config.<os-platform>" file, and then re-run "genMakefiles <os-platform>". (E.g., you may need to add another "-I<dir>" flag to the COMPILE_OPTS definition.)
    * Some systems' development tools get upset if the link target name immediately follows the "-o" flag in the Makefile. If this happens to you, you can edit each Makefile to replace each occurrence of ")$" with ") $". You can do this automatically by running

    find . -name 'Makefile' -exec fix-makefile {} \;

      (The "fix-makefile" script requires the presence of the "tclsh" shell.)
    * Some people (in particular, Solaris users) have reported that the GNU version of "make") - often called "gmake" - works better than their default, pre-installed version of "make".
* If no "config.<os-platform>" file exists for your target platform, then try using one of the existing files as a template.

There's no official 'install' procedure; you can put the "live/" directory wherever you wish - but you must leave it intact. You may wish to do the following:

    rm -rf /usr/lib/live ; cp -r live /usr/lib


live.com 网上的文档说: 用 tar -x  和 gunzip (或 tar -xz, 如果可用的话) ,解压压缩包,然后cd live ,输入命令:
    ./genMakefiles <os-platform>  (这个命令是什么意思? 实际操作时,要填哪些参数,怎样输命令?)
回复

使用道具 举报

发表于 2003-3-30 20:12:41 | 显示全部楼层
./genMakefiles linux
make
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-4-28 03:31 , Processed in 0.099583 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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