Kaffeine不能播放rtsp流文件?
我用的是ML1.2beta2,用Kaffeine打开地址rtsp://xxx.xxx.xxx.xxx/somefile.wmv的时候,提示“没有找到插件来处理这个资源”,可是xine的lib好像可以支持流文件的播放啊,怎么样才能让Kaffeine支持呢:shock: 请更新至最新的kaffeine。
http://www.magiclinux.org/people/kanker/os/rpms/kaffeine-20041210cvs-1mgc.i686.rpm 因为不想升级gcc,所以我下载了src.rpm包,可是在编译重建的过程中,出现下面的错误:
+ pushd kaffeine-mozilla
/usr/src/mBuild/BUILD/kaffeine/kaffeine-mozilla /usr/src/mBuild/BUILD/kaffeine
+ ./autogen.sh
aclocal
autoheader
automake
src/Makefile.am:7: Libtool library used but `LIBTOOL' is undefined
src/Makefile.am:7:
src/Makefile.am:7: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/Makefile.am:7: to `configure.in' and run `aclocal' and `autoconf' again.
make: *** [all] 错误 1
error: Bad exit status from /var/tmp/rpm-tmp.78099 (%build)
开始还有一个警告,我自己修改kaffeine-mozillia文件夹下configure.in里的AM_PROG_LIBTOOL为AC_PROG_LIBTOOL后,警告没有了,但是还是说没有定义LIBTOOL,configure.in里面有阿
[root@MagicLinux kaffeine-mozilla]# cat configure.in
AC_INIT(configure.in)
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(kaffeine-mozilla, 0.2)
AC_LANG_C
AC_PROG_CC
AC_PROG_LIBTOOL<===这有定义的嘛
dnl ---------------------------------------------
dnl Checks for X11
dnl ---------------------------------------------
AC_PATH_XTRA
dnl ---------------------------------------------
dnl Check for Xaw headers
dnl ---------------------------------------------
AC_CHECK_HEADER(X11/Xaw/Form.h,,
[AC_MSG_ERROR([you need to install libxaw header files (-dev package)])])
AC_OUTPUT(Makefile src/Makefile)
我上网查了一下,有人解释说是没有装libtool*.rpm,但是本机装了的阿
[root@MagicLinux kaffeine-mozilla]# rpm -qa |grep libtool
libtool-1.5-2
libtool-libs-1.5-2
错误是在编译kaffeine-mozillia的时候发生的,请问怎么解决? 好了,自己动手丰衣足食 :mrgreen:
因为Magic的autoconf,automake,autoscan的文件夹都在/usr/share/下,而运行上述命令的时候,它们却是到@INC定义的路径/usr/local/share下去找,所以我自己在/usr/local/share添加了指向/usr/share/对应于三个命令的文件夹的链接,这次编译不出错了,只是多了一大堆的警告,成功打包。
兴奋的卸载原来的,安装新的,然后输入测试网址,一看
还是提示找不到插件播放,倒 :shock: 你贴一个rtsp的媒体文件,我来测试一下。 好吧,试试下面的这个:
rtsp://222.187.118.39/wmv/sitcom/xqj30.wmv 可以放,你试试这个网址:
rtsp://real5.mtvtop.net/rmserver5/mtvtop_19/boanext/002.rm 好吧,试试下面的这个:
rtsp://222.187.118.39/wmv/sitcom/xqj30.wmv
该链接无效! 可以放,你试试这个网址:
rtsp://real5.mtvtop.net/rmserver5/mtvtop_19/boanext/002.rm
晕倒,这个地址可以放呢,搞不懂,难道是我嗅探的网址不对,还是caffeine不能播放wmv格式的,faint,呵呵,辛苦Kanker了,我再去弄弄。KDE兄,那个网址可能作了IP限定,所以有些人能打开,有些人打不开,我以前没有发现,刚才用代理的时候才发现进不去了,对不起了:) 出错的细节如下:
xine: cannot find input plugin for MRL [rtsp://222.187.118.39/wmv/sitcom/xqj30.wmv]
xine: input plugin cannot open MRL [rtsp://222.187.118.39/wmv/sitcom/xqj30.wmv]
xine: found input plugin: rtsp streaming input plugin
xine: found demuxer plugin: Elementary MPEG stream demux plugin
xine: found input plugin: file input plugin
200 frames delivered, 2 frames skipped, 3 frames discarded
video_out: throwing away image with pts 14297365 because it's too old (diff : 8416).
video_out: throwing away image with pts 14292865 because it's too old (diff : 12916).
xine: found demuxer plugin: RealMedia file demux plugin
xine: found input plugin: rtsp streaming input plugin
video_out: throwing away image with pts 11649087 because it's too old (diff : 6239).
xine: found demuxer plugin: Elementary MPEG stream demux plugin
xine: found input plugin: file input plugin
xine: cannot find input plugin for MRL [rtsp://222.187.118.39]
xine: input plugin cannot open MRL [rtsp://222.187.118.39]
xine: found input plugin: rtsp streaming input plugin
xine: found demuxer plugin: Elementary MPEG stream demux plugin
xine: found input plugin: file input plugin
xine: cannot find input plugin for MRL [rtsp://222.187.118.39]
xine: input plugin cannot open MRL [rtsp://222.187.118.39]
xine: found input plugin: rtsp streaming input plugin
200 frames delivered, 1 frames skipped, 10 frames discarded
video_out: throwing away image with pts 2061462 because it's too old (diff : 8480).
video_out: throwing away image with pts 2056962 because it's too old (diff : 12980).
video_out: throwing away image with pts 1912280 because it's too old (diff : 5247).
video_out: throwing away image with pts 1907780 because it's too old (diff : 9457).
video_out: throwing away image with pts 1903280 because it's too old (diff : 13426).
video_out: throwing away image with pts 1898780 because it's too old (diff : 17376).
video_out: throwing away image with pts 1894280 because it's too old (diff : 21609).
video_out: throwing away image with pts 1889780 because it's too old (diff : 25566).
xine: found demuxer plugin: RealMedia file demux plugin
xine: found input plugin: rtsp streaming input plugin
video_out: throwing away image with pts 380661 because it's too old (diff : 74648).
video_out: throwing away image with pts 377061 because it's too old (diff : 78248).
xine: found demuxer plugin: Elementary MPEG stream demux plugin
xine: found input plugin: file input plugin
发现打开如下的链接没有问题
mmst://202.102.9.144/wmv/comedy/zxc2.wmv
看来不是不能播放wmv。不解中…… 这个也可以耶
http://army.news.tom.com/
mms://vod.tom.com/sport/041101hz.wmv 是不是rtsp和wmv结合就不能用了? 是不是rtsp和wmv结合就不能用了?
我也这么认为
页:
[1]