完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
我想再次讨论一下我现在正在努力解决的问题。
我有一个连接了 imx8mp evk 的 usb 捕获设备,我无法使用 GStreamer 和 Qv4l2 捕获视频,bsp 版本是 5.15,下面是崩溃日志 oot@imx8mpevk:~# gst-launch-1.0 -v v4l2src device=/dev/video0 ! waylandsink 将管道设置为暂停... 错误:来自元素 /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: 设备 '/dev/video0' 不是捕获设备。 附加调试信息: ../git/sys/v4l2/v4l2_calls.c(638): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Capabilities: 0x4204000 ERROR: pipeline doesn't want to preroll. 无法将管道设置为暂停。 将管道设置为 NULL ... 释放管道 ... root@imx8mpevk:~# gst-launch-1.0 -v v4l2src device=/dev/video3 ! waylandsink 将管道设置为 PAUSED ... 管道处于活动状态并且不需要 PREROLL ... 管道是 PREROLLED ... 将管道设置为播放... 新时钟:GstSystemClock /GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw, format=(string)YUY2, width=(int)720, height=(int )576, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)54/59, interlace-mode=(string)interleaved, colorimetry=(string)2:3:5:4 /GstPipeline: pipeline0 /GstWaylandSink:waylandsink0.GstPad:sink: caps = video/x-raw, format=(string)YUY2, width=(int)720, height=(int)576, framerate=(fraction)25/1, 像素长宽比-ratio=(fraction)54/59, interlace-mode=(string)interleaved, colorimetry=(string)2:3:5:4 [152.227960] rcu: INFO: rcu_preempt self-detected stall on CPU [152.233720] rcu: 0-....:(落后 2 个 GP)idle=75f/1/0x4000000000000008 softirq=3033/3036 fqs=1934 [152.242688](t=5250 jiffies g=2497 q=5053) [152.246873]CPU 0 的任务转储: [152.250101]任务:swapper/0 状态:R 运行任务堆栈:0 pid:0 ppid:0 标志:0x0000000a [ 152.260021] Call tr� ��ace: [ 152.262465] dump_backtrace+0x0 /0x1a0 [ 152.266137] show_stack+0x1 c/0x70 [ 152.269455] sched_show_task+0x150 /0x174 [ 152.273384] dump_cpu_task+0x4 8/0x58 [ 152.276963] rcu_dump_cpu_stacks+0xe8 /0x12c [ 152.281150] rcu_sched_cloc 0x9f4/0xd10 [ 152.285426] update_process_times+0xa0/0xf0 [ 152.289614] tick_sched_handle+0x34/0x60 [ 152.293541] tick_sched_timer+0x50/0xb0 [ 152.297380] __hrtimer_run_queues+0x138/0x1e0 [ 152.301741] hrtimer_interrupt+0xec/0x250 [ 152.305755] arch_timer_handler_phys+0x38/0x50 [ 152.310204] handle_percpu_devid_irq+0x88/0x134 [ 152.314738] handle_domain_irq+0x64/0x94 [ 152.318664] gic_handle_irq+0xbc/0x140 [ 152.322419] do_interrupt_handler+0x34/0x60 [ 152.326605] el1_interrupt+0x30/0x80 [ 152.330184 ] el1h_64_irq_handler+0x1c/0x2c [ 152.334284] el1h_64_irq+0x78/0x7c [ 152.337687] _raw_spin_unlock_irqrestore+0x10/0x50 [ 152.342483] __usb_hcd_giveback_urb+0x68/0x120 [ 152.346932] usb_giveback_urb_bh+0xa8/0x110 [ 152.351116] tasklet_action_common.constprop.0+0x10c/0x140 [ 152.356604] tasklet_hi_action+0x2c/0x40 [ 152.360529] _stext+0x12c/0x2a8 [ 152.363672] __irq_exit_rcu+0xe0/0x100 [ 152.367427] irq_exit+0x14/0x2c [ 152.370575] handle_domain_irq+0x68/0x94 [ 152.374508] gic_handle_irq+0xbc/0x140 [ 152.378266] call_on_irq_stack+0x2c/0x60 [ 152.382197] do_interrupt_handler+0x54/0x60 [ 152.386388] el1_interrupt+0x30/0x80 [ 152.389971 ] el1h_64_irq_handler+0x1c/0x2c [ 152.394070] el1h_64_irq+0x78/0x7c [ 152.397473] cpuidle_enter_state+0x134/0x2f4 [ 152.401748] cpuidle_enter+0x3c/0x54 [ 152.405325] do_idle+0x214/0x29c [ 152.408558] cpu_startup_entry+0x28/0x80 [ 152.412489] rest_init +0xe8/0x100 [152.415808] arch_call_rest_init+0x14/0x20 [152.419908] start_kernel+0x620/0x660 [152.423576] __primary_switched+0xc0/0xc8 [ 215.241476] rcu: INFO: rcu_preempt self-detected stall on CPU [ 215.247236] rcu: 0-....: (2 GPs behind) idle=75f/1/0x4000000000000008 softirq=3033/3036 fqs=7206 [ 215.256200] ( t=21003 jiffies g=2497 q=20168) [ 215.260557] CPU 0 的任务转储: [ 215.263784] task:swapper/0 state:R running task stack: 0 pid: 0 ppid: 0 flags:0x0000000a [ 215.273703] Call trace : [ 215.276148] dump_backtrace+0x0/0x1a0 [ 215.279819] show_stack+0x1c/0x70 [ 215.283138] sched_show_task+0x150/0x174 [ 215.287064] dump_cpu_task+0x48/0x58 [ 215.290644] rcu_dump_cpu_stacks+0xe8/0x12c [ 215.294830] rcu_sched_clock_irq+0x9f4/0xd10 [ 215.299103] update_process_times+0xa0/0xf0 [ 215.303289] tick_sched_handle+0x34/0x60 [ 215.307216] tick_sched_timer+0x50/0xb0 [ 215.311055] __hrtimer_run_queues+0x138/0x1e0 [ 215.315414] hrtimer_interrupt+0xec/0x250 [ 215.319426] arch_timer_handler_phys+0x38/0x50 [ 215.323873] handle_percpu_devid_irq+0x88/0x134 [ 215.328406 ] handle_domain_irq+0x64/0x94 [ 215.332332] gic_handle_irq+0xbc/0x140 [ 215.336085] do_interrupt_handler+0x34/0x60 [ 215.340270] el1_interrupt+0x30/0x80 [ 215.343849] el1h_64_irq_handler+0x1c/0x2c [ 215.347949] el1h_64_irq+0x78/0x7c [ 215.351351] _raw_spin_unlock_irqrestore +0x10/0x50 [215.356146] __usb_hcd_giveback_urb+0x68/0x120 [215.360592] usb_giveback_urb_bh+0xa8/0x110 [ 215.364777] tasklet_action_common.constprop.0+0x10c/0x140 [ 215.370270] tasklet_hi_action+0x2c/0x40 [ 215.374200] _stext+0x12c/0x2a8 [ 215.377348] __irq_exit_rcu+0xe0/0x100 [ 215.381105] irq_exit+0x14/0x2c [ 215.384252] handle_domain_irq+0x68 /0x94 [ 215.388184] gic_handle_irq+0xbc/0x140 [ 215.391937] call_on_irq_stack+0x2c/0x60 [ 215.395864] do_interrupt_handler+0x54/0x60 [ 215.400051] el1_interrupt+0x30/0x80 [ 215.403634] el1h_64_irq_handler+0x1c/0x2c [ 215.407738] el1h_64_irq+0x78/0x7c [ 215.411146] cpuidle_enter_state+0x134/0x2f4 [ 215.415420] cpuidle_enter+0x3c/0x54 [ 215.418997] do_idle+0x214/0x29c [ 215.422227] cpu_startup_entry+0x28/0x80 [ 215.426152] rest_init+0xe8/0x100 [ 215.429471] arch_call_rest_init+0x14/0x20 [ 215.433571] start_kernel+0x620/0x660 [ 215.437237] __primary_switched+0xc0/0xc8 |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
1936个成员聚集在这个小组
加入小组我的项目我做主,使用GN+Ninja来完成构建系统(VSCode开发RT106X)
36433 浏览 0 评论
NXP IMX8应用处理器快速入门必备:技巧、使用、设计指南
5073 浏览 1 评论
6118 浏览 1 评论
6822 浏览 0 评论
NXP i.MX6UL开发板(linux系统烧录+规格+硬件+模块移植)使用手册
4255 浏览 0 评论
655浏览 2评论
求助,S32G上Core M启动后如何让Core A在Flash指定位置加载uboot?
646浏览 2评论
ESP32-WROVER-IE + LAN8720以太网,GPIO0电压只有1.6v,无法正常进入spi flash boot模式如何解决?
647浏览 2评论
求分享适用于PN7160 Android的NFC工厂测试应用程序
738浏览 2评论
853浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-30 04:10 , Processed in 2.151555 second(s), Total 45, Slave 38 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号