我正在尝试使用 DashCast 捕获桌面并将其实时流式传输到 Apache 服务器中。当我按需执行时,它可以正确捕获和播放,但是当我实时执行然后玩它时,MP4Client
它只显示黑屏,在捕获它时甚至没有收到任何错误消息。我正在使用的命令是:
DashCast -vf x11grab -vres 1280x720 -v :0.0 -npts -live -out /public_html/
然后我玩:
MP4Client http://localhost/vitor/dashcast.mpd
这导致以下输出:
MP4Client http://localhost/vitor/dashcast/dashcast.mpd
Using config file in /home/vitor directory
System info: 11948 MB RAM - 8 cores
Modules Found : 36
Loading GPAC Terminal
[Thread MediaManager] Couldn't set priority(2) for thread ID 0x9b55a700
[Thread MediaManager] Couldn't set priority(2) for thread ID 0x9b55a700
Terminal Loaded in 35 ms
Opening URL localhost/vitor/dashcast/dashcast.mpd
[DASH] Slight drift in UTC clock at time 2015-08-05T12:38:45Z: diff AST - now 3563501 ms
Service Connected
那么我做错了什么?客户端显然正确连接到服务器,打开播放器,但屏幕上没有显示任何内容。我正在使用带有 GPAC 版本 0.5.0 的 Ubuntu 14.04。