My Command as follow:
gst-launch v4l2src device=/dev/video0 ! 'video/x-raw-yuv, format=(fourcc)UYVY' ! queue ! mfw_isink disp-width=512 d
gst-launch v4l2src device=/dev/video1 ! 'video/x-raw-yuv, format=(fourcc)UYVY' ! queue ! mfw_isink disp-width=512 d
gst-launch v4l2src device=/dev/video2 ! 'video/x-raw-yuv, format=(fourcc)UYVY' ! queue ! mfw_isink disp-width=512 d
gst-launch v4l2src device=/dev/video3 ! 'video/x-raw-yuv, format=(fourcc)UYVY' ! queue ! mfw_isink disp-width=512 d
when i want to shutdown the camera, i use "kill -2 pid1 pid2 pid3 pid4" ,but the system damaged and the following error appears:
ExecuUnable to handle kernel paging request at virtual address ca499000
tion ended after 1000159667 ns.
pgd = b8524000
Setting pipeline to PAUSED ...
h[ca499000] *pgd=4886e811andling interrupt.
Interrupt: St, *pte=00000000opping pipeline ...
Execution en, *ppte=00000000ded after 1000581001 ns.
Setting
pipeline to PAUSED ...
Setting Internal error: Oops: 807 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 Not tainted (3.0.35 #2)
PC is at memcpy+0x50/0x330
LR is at 0x407040c0
pc : [<802355b0>] lr : [<407040c0>] psr: 20000113
sp : b80a7d54 ip : 407040c0 fp : 80afda70
r10: 00000b40 r9 : 8003d278 r8 : 407040c0
r7 : 407040c0 r6 : 407040c0 r5 : 407040c0 r4 : 407040c0
r3 : 407040c0 r2 : 00000180 r1 : ff9949e0 r0 : ca499000
Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c53c7d Table: 4852404a DAC: 00000015
Process gst-launch-0.10 (pid: 3401, stack limit = 0xb80a62f0)
Stack: (0xb80a7d54 to 0xb80a8000)
The probability of the error is more than 50%(other 50% 4 cameras quit normal).
Is there any other methods to quit gstreamer or is there bug in the official plugins of v4l2src or mfw_isink?
who can help me ...thanks
Hi XiaoQi
please check below how to crrectly stop pipeline
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------