Hi Dears,
nvv4l2camerasrc can’t handle stop and start pipe line, when it is stop and play again can’t capture frames.
but in initial state it can start correctly but if it is stopped it can’t play again.
Thanks so much
hello royayeazadi,
may I know what’s your complete capture pipeline, and, how you terminal the steam.
could you please also share kernel messages for detail failures. i.e. $ dmesg > klog.txt
thanks for your reply,
pipeline:
nvv4l2camerasrc name=v4l2src device=/dev/video1 ! video/x-raw(memory:NVMM), format=UYVY, width=1920, height=1080 ! nvvidconv name=convertor ! video/x-raw(memory:NVMM), width=1920, height=1080, format=I420 ! nvv4l2h264enc insert-sps-pps=true maxperf-enable=1 ! rtph264pay pt=96 config-interval=1 ! udpsink host=192.168.50.100 port=5000 sync=false
start_stream:
gst_element_set_state (pipeline, GST_STATE_PLAYING);
stop_stream:
gst_element_set_state (pipeline, GST_STATE_NULL);
kernel messages:
klog.txt (74.1 KB)
hello royayeazadi,
there’s sync point timeouts according to kernel failures.
for example,
[ 104.873448] tegra-vi4 15700000.vi: PXL_SOF syncpt timeout! err = -11
[ 104.879916] tegra-vi4 15700000.vi: tegra_channel_error_recovery: attempting to reset the capture channel
this might be an issue from your sensor side, is it actually restart correctly for sending MIPI signal to CSI channel?
please narrow down the issue, you may refer to developer guide, Applications Using V4L2 IOCTL Directly.
please use V4L2 IOCTL to verify basic functionality.
for example, $ v4l2-ctl --set-fmt-video=width=1920,height=1080,pixelformat=UYVY--stream-mmap --stream-count=100 -d /dev/video0
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.