Toybrick

楼主: hisping

RK3399Pro入门教程(7)RTSP库的使用

 

richard

注册会员

积分
60
91#
发表于 2022-6-22 11:25:30 | 只看该作者
这论坛现在都没人管了吗
回复

使用道具 举报

gyx

注册会员

积分
82
92#
发表于 2022-6-29 14:31:02 | 只看该作者
给你们瑞星微提一个意见,你们,不开放demo,让我们学,我们就不会用你们的芯片,岂不是逼着我们不用你们的芯片?
回复

使用道具 举报

yingfalu

注册会员

积分
98
93#
发表于 2022-8-22 15:55:20 | 只看该作者

toybrick@debian10:~/RtspHardDecoding-master/local_rtsp/build$
toybrick@debian10:~/RtspHardDecoding-master/local_rtsp/build$ cmake ..
CMake Error: The current CMakeCache.txt directory /home/toybrick/RtspHardDecoding-master/local_rtsp/build/CMakeCache.txt is different than the directory /home/toybrick/local_rtsp/build where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
CMake Error: The source "/home/toybrick/RtspHardDecoding-master/local_rtsp/CMakeLists.txt" does not match the source "/home/toybrick/local_rtsp/CMakeLists.txt" used to generate cache.  Re-run cmake with a different source directory.

请问我执行,cmake..为啥会报这个错误呢?
回复

使用道具 举报

yingfalu

注册会员

积分
98
94#
发表于 2022-8-23 11:30:43 | 只看该作者
toybrick@debian10:~/local_rtsp/build$ sudo dnf install -y python3-devel python3-opencv python3-numpy-f2py python3-h5py python3-lmdb  python3-grpcio
sudo: dnf: command not found

为啥没有dnf呀。
我的是debian系统的原因吗?
回复

使用道具 举报

yingfalu

注册会员

积分
98
95#
发表于 2022-8-29 15:02:17 | 只看该作者
为啥我执行cd local_rtsp/build
cmake ..
的时候会报如下的错误呢?
toybrick@debian10:~/Documents/local_rtsp/build$ cmake ..
CMake Error: The current CMakeCache.txt directory /home/toybrick/Documents/local_rtsp/build/CMakeCache.txt is different than the directory /home/toybrick/local_rtsp/build where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
CMake Error: The source "/home/toybrick/Documents/local_rtsp/CMakeLists.txt" does not match the source "/home/toybrick/local_rtsp/CMakeLists.txt" used to generate cache.  Re-run cmake with a different source directory.

是路径不对,然后我修改了路径之后执行又报如下的错误了
toybrick@debian10:~/local_rtsp/build$ cmake ..
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /bin/cc
CMake Error: Generator: execution of make failed. Make command was: "/bin/gmake" "cmTC_bc0c8/fast"
-- Check for working C compiler: /bin/cc -- broken
CMake Error at /usr/share/cmake-3.13/Modules/CMakeTestCCompiler.cmake:52 (message):
  The C compiler

    "/bin/cc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /home/toybrick/local_rtsp/build/CMakeFiles/CMakeTmp

    Run Build Command:"/bin/gmake" "cmTC_bc0c8/fast"
    No such file or directory
    Generator: execution of make failed. Make command was: "/bin/gmake" "cmTC_bc0c8/fast"




  CMake will not be able to correctly generate this project.


-- Configuring incomplete, errors occurred!
See also "/home/toybrick/local_rtsp/build/CMakeFiles/CMakeOutput.log".
See also "/home/toybrick/local_rtsp/build/CMakeFiles/CMakeError.log".



回复

使用道具 举报

yingfalu

注册会员

积分
98
96#
发表于 2022-8-31 05:23:41 | 只看该作者
toybrick@debian10:~/local_rtsp/build$ cmake ..
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /bin/cc
CMake Error: Generator: execution of make failed. Make command was: "/bin/gmake" "cmTC_dc915/fast"
-- Check for working C compiler: /bin/cc -- broken
CMake Error at /usr/share/cmake-3.13/Modules/CMakeTestCCompiler.cmake:52 (message):
  The C compiler

    "/bin/cc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /home/toybrick/local_rtsp/build/CMakeFiles/CMakeTmp

    Run Build Command:"/bin/gmake" "cmTC_dc915/fast"
    No such file or directory
    Generator: execution of make failed. Make command was: "/bin/gmake" "cmTC_dc915/fast"




  CMake will not be able to correctly generate this project.


-- Configuring incomplete, errors occurred!
See also "/home/toybrick/local_rtsp/build/CMakeFiles/CMakeOutput.log".
See also "/home/toybrick/local_rtsp/build/CMakeFiles/CMakeError.log".

为啥我执行这个会报这个错误呢?是我有什么依赖没有安装吗?
我查看了g++的版本
看了600多行的log,看不懂,想放弃。
楼主能踢我一脚吗?
回复

使用道具 举报

yingfalu

注册会员

积分
98
97#
发表于 2022-8-31 05:24:58 | 只看该作者
caizhoucun 发表于 2022-1-14 13:01
你好,你这个怎么解决的,我也遇到这个问题

这个问题是什么原因呢?
回复

使用道具 举报

ltp4399

新手上路

积分
45
98#
发表于 2023-9-20 16:44:14 | 只看该作者
我在RV1126调用librockchip_rtsp出现如图所示错误:
  1. [2023/09/20 08:31:20] D/: listening rtp port 22540
  2. [2023/09/20 08:31:20] D/: listening rtcp port 22541
  3. [2023/09/20 08:31:20] D/: listening rtp port 22550
  4. [2023/09/20 08:31:20] D/: listening rtcp port 22551
  5. [2023/09/20 08:31:20] D/: curlto rtsp://192.168.0.239/test , cli 22540:22550, tcp: 0
  6. terminate called after throwing an instance of 'std::bad_alloc'
  7.   what():  std::bad_alloc
  8. Aborted
复制代码


安装采用如下形式:
  1. sudo apt install rockchip-rtsp rockchip-rtsp-dev libcurl4-openssl-dev
复制代码
这个视频流可以用VLC播放器秒开,是1920*1080的H.264编码的视频流
  1. 流 0
  2.     编解码器: H264 - MPEG-4 AVC (part 10) (h264)
  3.     类型: 视频
  4.     视频分辨率: 1920x1080
  5.     缓冲分辨率: 1920x1088
  6.     帧率: 25
  7.     已解码格式:
  8.     方向: 上左
  9.     色度位置: 左
  10. 流 1
  11.     编解码器: PCM ALAW (alaw)
  12.     类型: 音频
  13.     声道: 单声道
  14.     采样率: 8000 Hz
  15.     位每采样: 16
复制代码

有谁遇到过类似的问题吗?在线等个回复
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表