@doohan93
Onboard camera is bayer sensor you need some plugin like bayer2rbg element and the format is bayer “bggr”
a possible command should be like below.
→ error log
vert ! xvimagesink -e40, height=480, format=(string)rggb" ! bayer2rgb ! videocov
Setting pipeline to PAUSED …
ERROR: Pipeline doesn’t want to pause.
ERROR: from element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0: Could nt
Additional debug info:
xvimagesink.c(1760): gst_xv_image_sink_open (): /GstPipeline:pipeline0/GstXvIma:
Could not open display (null)
Setting pipeline to NULL …
Freeing pipeline …
But after i apply export DISPLAY=:0 , i got error message below.
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data f.
Additional debug info:
gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l:
streaming task paused, reason not-negotiated (-4)
EOS on shutdown enabled – waiting for EOS after Error
Waiting for EOS…
I test v4l2src plugin using R27.1 sources.
I checked PXL_SOF error take place in kernel device driver.
And i knew that R28.1 sources released. so i’ll update R28.1 and test.
After test using R28.1, i’ll report v4l2src test result.
I’d like to share my test procedure and v4l2src test results .
If my test prodecures have a problem, plz let me know.
And all test using v4l2src failed. plz give me resolution.
Thanks,
Doohan93
test procedure using R28.1 sources
a. flash all binary to clean board status
sudo ./flash.sh jetson-tx2 mmcblk0p1
test result
a, gst-launch-1.0 nvcamerasrc sensor-id=0 ! ‘video/x-raw(memory:NVMM), framerate=(fraction)30/1’ ! nvtee ! nvoverlaysink
→ it’s working
b. gst-launch-1.0 v4l2src device=“/dev/video0” ! “video/x-bayer, width=640, height=480, format=(string)rggb” ! bayer2rgb ! videoconvert ! xvimagesink -e
→ not working
→ error log
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data f.
Additional debug info:
gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l:
streaming task paused, reason not-negotiated (-4)
EOS on shutdown enabled – waiting for EOS after Error
Waiting for EOS…
c. gst-launch-1.0 v4l2src device=“/dev/video0” ! “video/x-bayer, width=640, height=480, format=(string)rggb” ! fakesink
→ not working
→ error log
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data f.
Additional debug info:
gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l:
streaming task paused, reason not-negotiated (-4)
Execution ended after 0:00:00.000316940
Setting pipeline to PAUSED …
Setting pipeline to READY …
Setting pipeline to NULL …
Freeing pipeline …