2012-03-13 48 views
-2

我最近下载了live555的软件包以使用rtsp流剪辑。 我不知道如何使用它。 请帮助我。 对于Ubuntu的使用live555的RTSP

感谢

+0

,看一下LIVE555文档http://www.live555.com/liveMedia/#config-unix – mpromonet 2015-02-22 10:21:50

回答

2

虽然问题很旧,我敢肯定,你可能已经得到了各地你的方式,我仍然张贴这一步一步引导配置live555是用于Linux,对于那些谁可能会面临同样的问题。所以在这里:

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. 

希望它有帮助。

1
  1. 确保适当的编译器。

$ sudo易于得到安装建立必要的

  • 验证您的系统没有LIVE555库。
  • $ sudo易于得到删除liblivemedia-dev的

  • 下载并安装库。
  • $ CD $ HOME

    $ wget的http://www.live555.com/liveMedia/public/live555-latest.tar.gz

    $焦油xvf命令LIVE555-latest.tar.gz

    $ CD住

    $ ./genMakefiles在linux

    $ make

    $ sudo的CP -r $ HOME /现场/ usr/lib目录

    $使清洁