Ubuntu 使用live555的RTSP
我最近下载了live555的软件包,使用rtsp传输剪辑。 我不知道如何使用它。 请帮助我。 对于UbuntuUbuntu 使用live555的RTSP,ubuntu,rtsp,live555,Ubuntu,Rtsp,Live555,我最近下载了live555的软件包,使用rtsp传输剪辑。 我不知道如何使用它。 请帮助我。 对于Ubuntu 谢谢虽然这个问题已经很老了,而且我相信您可能已经解决了,但我仍然发布了这篇关于为linux配置live555的分步指南,供那些可能面临同样问题的人参考。下面是: 1)cd to the live555 folder. 2)user$ ./genMakefiles linux 3)user$ make (假设您在linux发行版及其路径设置中设置了gcc/g++) 然后,您可以简单地使
谢谢虽然这个问题已经很老了,而且我相信您可能已经解决了,但我仍然发布了这篇关于为linux配置live555的分步指南,供那些可能面临同样问题的人参考。下面是:
1)cd to the live555 folder.
2)user$ ./genMakefiles linux
3)user$ make
(假设您在linux发行版及其路径设置中设置了gcc/g++)
然后,您可以简单地使用testProgs文件夹中的一个测试程序来检查它是否工作
我假设您需要测试您下载或制作的示例x264文件。要做到这一点,最简单的方法是(我总是建议初学者):
希望能有帮助
$make clean查看live555文档嗨,我发现下面有错误。$vlcrtsp://192.168.0.121:8554/testStream VLC media player 3.0.3 Vetinari(版本3.0.3-1-0-gc2bb759264)[00005568c971a570]主库VLC:使用默认界面运行VLC。使用“cvlc”可使用无接口的vlc。为连接[h264@0x7f53dc079540]创建的新TCP套接字36无效NAL单元0,正在跳过。UE golomb代码无效[h264@0x7f53dc079540]pps_id 3199971767超出范围[00007f53dc04cc00]avcodec解码器错误:无法启动编解码器(h264)[00007f53dc04cc00]主解码器错误:不支持编解码器'h264'(h264-MPEG-4 AVC(第10部分))。我可以直接从vlc播放器播放该test.264文件。
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.