Toybrick

opencv调用多次gstreamer硬解是出现段错误

nutter

新手上路

积分
45
楼主
发表于 2023-6-6 17:41:49    查看: 3113|回复: 1 | [复制链接]    打印 | 只看该作者
root@debian:/home/toybrick/argo/edge_devices_web_network_configuration/test# python3 gst_test.py
rga_api version 1.7.5_[1]
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (924) open OpenCV | GStreamer warning: unable to query duration of stream
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (961) open OpenCV | GStreamer warning: Cannot query video position: status=1, value=0, duration=-1
2871697 gst
Segmentation fault
这是为什么,有什么方法可以解决吗?查询好像是因为调用同一块内存导致的,但是无法解决
回复

使用道具 举报

nutter

新手上路

积分
45
沙发
 楼主| 发表于 2023-6-6 18:14:59 | 只看该作者
系统日志显示


[   10.257425] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   17.768510] of_dma_request_slave_channel: dma-names property of node '/serial@febc0000' missing or empty
[   17.768552] dw-apb-uart febc0000.serial: failed to request DMA, use interrupt mode
[   33.559548] ttyFIQ ttyFIQ0: tty_port_close_start: tty->count = 1 port count = 2
[   36.282076] vbus5v0_typec: disabling
[   36.282093] vcc3v3_pcie30: disabling
[   36.282099] vcc_mipicsi0: disabling
[   36.282103] vcc_mipicsi1: disabling
[   36.282107] vcc_mipicsi1: disabling
[   36.282119] vcc_3v3_sd_s0: disabling
[   36.282125] vcc3v3_lcd0_n: disabling
[   77.260887] rockchip-csi2-dphy0: No link between dphy and sensor
[   77.260917] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[   77.260922] stream_cif_mipi_id0: update sensor info failed -19
[   77.261018] rockchip-csi2-dphy0: No link between dphy and sensor
[   77.261028] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
[   77.261032] stream_cif_mipi_id1: update sensor info failed -19
[   77.261120] rockchip-csi2-dphy0: No link between dphy and sensor
[   77.261129] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
[   77.261133] stream_cif_mipi_id2: update sensor info failed -19
[   77.261223] rockchip-csi2-dphy0: No link between dphy and sensor
[   77.261231] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[3] get remote terminal sensor failed!
[   77.261234] stream_cif_mipi_id3: update sensor info failed -19
[   77.261321] rockchip-csi2-dphy0: No link between dphy and sensor
[   77.261329] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[   77.261333] rkcif_scale_ch0: update sensor info failed -19
[   77.261421] rockchip-csi2-dphy0: No link between dphy and sensor
[   77.261429] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
[   77.261433] rkcif_scale_ch1: update sensor info failed -19
[   77.261519] rockchip-csi2-dphy0: No link between dphy and sensor
[   77.261527] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
[   77.261531] rkcif_scale_ch2: update sensor info failed -19
回复

使用道具 举报

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

本版积分规则

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


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