首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >VLC播放器无法播放来自vlcj StreamHttp示例应用程序的网络流

VLC播放器无法播放来自vlcj StreamHttp示例应用程序的网络流
EN

Stack Overflow用户
提问于 2012-03-23 21:37:37
回答 1查看 4.6K关注 0票数 1

当我用JAVA运行示例代码时,我得到以下消息-

代码语言:javascript
运行
复制
Streaming 'F:\Video\Don.mp4' to ':sout=#rtp{sdp=rtsp://@127.0.0.1:5555/demo}'
       _       _
__   _| | ___ (_)
\ \ / / |/ __|| |
 \ V /| | (__ | |
  \_/ |_|\___|/ | 2.1.0
            |__/  www.capricasoftware.co.uk

VLCJ is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

VLCJ is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with VLCJ.  If not, see <http://www.gnu.org/licenses/>.

Copyright 2009, 2010, 2011, 2012 Caprica Software Limited.

vlcj: (Info.java:66)                           | INFO  | vlcj: 2.1.0

vlcj: (Info.java:67)                           | INFO  | java: 1.6.0_26 Sun Microsystems Inc.

vlcj: (Info.java:68)                           | INFO  | java home: C:\Program Files\Java\jre6

vlcj: (Info.java:69)                           | INFO  | os: Windows 7 6.1 x86

vlcj: (LibVlcFactory.java:143)                 | INFO  | vlc: 2.0.1 Twoflower, changeset 2.0.1-0-gf432547

vlcj: (LibVlcFactory.java:144)                 | INFO  | libvlc: C:\Program Files\VideoLAN\VLC\libvlc.dll

[18587ed0] stream_out_rtp stream out: Consider passing --rtsp-host=IP on the command line instead.

上面的语句- "stream_out_rtp stream out“是什么?在http中尝试流式传输时遇到类似的错误。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2012-05-29 16:37:29

代码语言:javascript
运行
复制
 mediaPlayer.playMedia("dshow://", 
                    ":sout=#rtp{sdp=rtsp://@:5555/demo}",
                      ":no-sout-rtp-sap", 
                     ":no-sout-standard-sap", 
                      ":sout-all",
                      ":rtsp-caching=100",
                      ":sout-keep");

试试这个,它对我很有效..

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/9840162

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档