RtspMonitor icon indicating copy to clipboard operation
RtspMonitor copied to clipboard

how to build it

Open gczhcm opened this issue 6 years ago • 23 comments

I use QT5.4 with X64 platform in DEBUG model. When I run the code,error presented that the application is unable to start the 0xc000007b normally

gczhcm avatar Jul 23 '18 04:07 gczhcm

what's version of ffmpeg?

gczhcm avatar Jul 23 '18 06:07 gczhcm

@gczhcm use dependency walker analyze exe file , I guess exe file lack of something dll. You can use any version of ffmpeg.

AlexiaChen avatar Jul 23 '18 08:07 AlexiaChen

I find the fact that error appears when the exe file loads the swscale-5.dll,so I use ffmpeg version of 3.2.4 which has swscale-4.dll. The result is that exe file can normally run.

gczhcm avatar Jul 23 '18 09:07 gczhcm

@gczhcm 👍 nice . This project is 3 years ago, its simply a prototype and show the usage of ffmpeg and Live 555 processes Rtsp Stream . the code is mess,ugly. no optimization. be careful of using it in product. You must do a lot based on this project.

AlexiaChen avatar Jul 23 '18 09:07 AlexiaChen

I choose some sdp file, but nothing happen. what 's the requirment for sdp file?

gczhcm avatar Jul 24 '18 00:07 gczhcm

Are you Chinese ? my QQ number is1774081830. Can I ask you some question?

gczhcm avatar Jul 24 '18 10:07 gczhcm

@gczhcm 我靠,大哥。你不早说!我还以为你是老外呢!我QQ:442499771 . 另外,这个项目是很久以前的了,sdp文件是其他人发给我生成好的了。至于其他规格的sdp能不能播放,我还没有弄过,哪个sdp文件样本我已经找不到了。

AlexiaChen avatar Jul 25 '18 01:07 AlexiaChen

哈哈哈哈哈......

Mapleroid avatar Jul 26 '18 05:07 Mapleroid

Hi, Could you please tell me how to open this project in Qt? I found no .pro file in there. Thanks!

jxmelody avatar Oct 09 '18 09:10 jxmelody

@jxmelody sorry. this project does not support Qt Creator. It developed by Visual Studio. You Could export .pro file from Visual Studio's Qt plugin. Use Visual Studio open .sln file

AlexiaChen avatar Oct 09 '18 10:10 AlexiaChen

Ok, 我猜也是这样。。hhh 谢谢你阿 不过我在linux下开发,没有VS。是不是可以自己写一个.pro文件构建工程?

jxmelody avatar Oct 09 '18 10:10 jxmelody

可以试一下visualgdb

gczhcm avatar Oct 09 '18 10:10 gczhcm

@gczhcm 谢谢! 刚刚查了一下,visualGDB是在VS下开发linux程序呀?...

jxmelody avatar Oct 09 '18 10:10 jxmelody

你可以使用vs中的qt插件生成pro文件,再根据配置修改一下,应该可以在Linux上运行

gczhcm avatar Oct 09 '18 10:10 gczhcm

@gczhcm 嗯。。有没有办法不用VS呢?因为我电脑只装了centos系统。。。

jxmelody avatar Oct 09 '18 10:10 jxmelody

@jxmelody 这我不知道,不知道vs code可不可以

gczhcm avatar Oct 09 '18 10:10 gczhcm

嗯嗯 不管怎么样谢谢啦

jxmelody avatar Oct 09 '18 10:10 jxmelody

@AlexiaChen Use qmake can produce a .pro file and a Makefile!

cd RtspMonitor/
qmake

You should modify the RtspMonitor.pro file (to add necessary include & lib dependencies) , and then

make

It will come up some errors when runs in linux, but it's easy to fix it .

jxmelody avatar Oct 10 '18 09:10 jxmelody

@jxmelody Thank you for your contribution :+1:

AlexiaChen avatar Oct 18 '18 05:10 AlexiaChen

@AlexiaChen I should say thanks for your previous great work!

jxmelody avatar Oct 18 '18 06:10 jxmelody

Hi AlexiaChen, I know it's a long time away but I would to test your code to understand QT with rtsp stream. Exemples are good for understanding but it's more that one day that I have many errors to build it. I fixed the FFmpeg errors with a builded libs but now I don't understand how to install live555, because they tell me about header files, The source of live555 is very big ! When I only put yours files This don't work. I use VS2017, QT 5.12.4 and the required FFMPEG Libs. The errors tells me about the live555 header (liveMedia.hh,...) Thank you if you can help me.

maxriffs avatar May 18 '20 13:05 maxriffs

check this http://live555.com/liveMedia/ You need to build live555 as static lib with Visual Studio.

AlexiaChen avatar May 18 '20 13:05 AlexiaChen

Ah ok as the FFMPEG ^^I will try, thank you ;)

maxriffs avatar May 18 '20 13:05 maxriffs