【发布时间】:2012-03-13 06:59:30
【问题描述】:
我最近下载了 live555 的包以使用 rtsp 流式传输剪辑。 我不知道如何使用它。 请帮助我。 对于 Ubuntu
谢谢
【问题讨论】:
-
查看 live555 文档live555.com/liveMedia/#config-unix
我最近下载了 live555 的包以使用 rtsp 流式传输剪辑。 我不知道如何使用它。 请帮助我。 对于 Ubuntu
谢谢
【问题讨论】:
虽然问题已经很老了,我相信你可能已经解决了它,但我仍然发布这个为 Linux 配置 live555 的分步指南,供那些可能面临同样问题的人使用。所以这里是:
1)cd to the live555 folder.
2)user$ ./genMakefiles linux
3)user$ make
(这是假设您在 linux 发行版中设置了 gcc/g++ 及其路径设置)。
然后您可以简单地使用 testProgs 文件夹中的一个测试程序来检查它是否工作。
我假设您需要测试您下载或制作的示例 x264 文件。要做到这一点,最简单的方法是(我总是建议初学者):
1)Copy the x264 file to live/testProgs folder.
2)Rename it to test.264 (testH264VideoStreamer by default is set to stream a file named test).
3)go to terminal and type ./testH264VideoStreamer
4)Copy the rtsp link (rtsp://xxx.xxx.xxx.xxx:8554/abcd) to your vlc player to stream.
5) Further you can check the QoS parameters and stream profile by downloading openRTSP and use openRTSP -Q rtsp://xxx.xxx.xxx.xxx:8554/abcd to view these parameters.
希望对你有帮助。
【讨论】:
$ sudo apt-get install build-essential
$ sudo apt-get remove liblivemedia-dev
$ cd $HOME
$ wget http://www.live555.com/liveMedia/public/live555-latest.tar.gz
$ tar xvf live555-latest.tar.gz
$ cd 直播
$ ./genMakefiles linux
$ 制作
$ sudo cp -r $HOME/live /usr/lib
$ 清理
【讨论】: