Toybrick

标题: opencv调用多次gstreamer硬解是出现段错误 [打印本页]

作者: nutter    时间: 2023-6-6 17:41
标题: opencv调用多次gstreamer硬解是出现段错误
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    时间: 2023-6-6 18:14
系统日志显示


[   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





欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3