正在上传图片(0/1)

OSDK3.9 高级视觉获取摄像头视频流问题

 0
手机看帖 1 1706
Ubuntu18.04 osdk3.9 M210 RTK
ffmpeg环境


运行cmaera-stream-sample.cpp 报错如下

Please enter the type of camera stream you want to view
m: Main Camera
f: FPV  Camera
f
argv[1] = /home/yfzx/CLionProjects/flight-control-sample/UserConfig.txt
Read App ID
User Configuration read successfully.


STATUS/1 @ init, L56: Attempting to open device /dev/ttyUSB0 with baudrate 115200...

STATUS/1 @ init, L66: ...Serial started successfully.

STATUS/1 @ parseDroneVersionInfo, L762: Device Serial No. = 095XEB100200E1

STATUS/1 @ parseDroneVersionInfo, L764: Hardware = PM410

STATUS/1 @ parseDroneVersionInfo, L765: Firmware = 3.3.10.18

ERRORLOG/1 @ initVirtualRC, L1188: Virtual RC is not supported on this platform!

STATUS/1 @ init, L49: Looking for USB device...

STATUS/1 @ init, L65: Found 8 USB devices, identifying DJI device...

STATUS/1 @ init, L83: Found a DJI device...

STATUS/1 @ init, L96: Attempting to open DJI USB device...

STATUS/1 @ init, L134: ...DJI USB device started successfully.

STATUS/1 @ activate, L1398: version 0x3030A12

STATUS/1 @ activate, L1411: Activation successful

STATUS/1 @ verify, L247: Verify subscription successful.
STATUS/1 @ initGimbal, L926: Checking if gimbal is connected ...
STATUS/1 @ startPackage, L353: Start package 0 result: 0.
STATUS/1 @ startPackage, L355: Package 0 info: freq=50, nTopics=1.

STATUS/1 @ removePackage, L471: Remove package 0 successful.
STATUS/1 Connect to FPV_CAMERA successful

STATUS/1 All components for decoding initialized ...

STATUS/1 **** FPV_CAMERA data reading thread start! ****

STATUS/1 User callback thread created successfully!

STATUS/1 ****** Decoder Callback Thread Start ******
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] decode_slice_header error
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] decode_slice_header error
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] decode_slice_header error
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] decode_slice_header error
[h264 @ 0x55d9e9226100] no frame!
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] decode_slice_header error
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] decode_slice_header error
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] decode_slice_header error
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] decode_slice_header error
[h264 @ 0x55d9e9226100] no frame!
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] decode_slice_header error
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] decode_slice_header error
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] decode_slice_header error
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] decode_slice_header error
[h264 @ 0x55d9e9226100] no frame!
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] decode_slice_header error
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] decode_slice_header error
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] decode_slice_header error
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] decode_slice_header error
[h264 @ 0x55d9e9226100] no frame!
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] decode_slice_header error
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] decode_slice_header error
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] decode_slice_header error
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] decode_slice_header error
[h264 @ 0x55d9e9226100] no frame!
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] decode_slice_header error
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] decode_slice_header error
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] decode_slice_header error
[h264 @ 0x55d9e9226100] non-existing PPS 63 referenced
[h264 @ 0x55d9e9226100] decode_slice_header error
[h264 @ 0x55d9e9226100] no frame!
Assertion desc failed at src/libswscale/swscale_internal.h:668



大佬能帮忙给看看嘛,谢谢啦


评论
上传
你需要登录之后才能回帖    登录 | 注册
懒猫吃鱼  DJI FPV认证用户 2021-7-14 3#
使用原生sample,ffmpeg使用2.8.15试试
收藏 点赞 评论
分享至:
回复:
上传
取消 评论
快速回复 返回顶部 返回列表