[libcamera-devel] libcamera on pinephone
Pavel Machek
pavel at ucw.cz
Sun Jul 3 09:21:34 CEST 2022
Hi!
> I tried to do:
>
> export GST_DEBUG=libcamera*:7
> export GST_PLUGIN_PATH=$(pwd)/build/src/gstreamer
>
> gst-launch-1.0 libcamerasrc camera-name=/base/i2c-csi/rear-camera at 4c ! video/x-raw,width=12\
> 80,height=720,format=YUYV,colorimetry=bt709,framerate=30/1 ! filesink location=/tmp/delme.u\
> nk ; ls -al /tmp/delme.unk
>
This one is wrong; format needed to be YUY2. That way, it attempts to
start video streaming, but no data go through, and I don't really know
how to debug that.
export GST_DEBUG=libcamera*:7
export GST_PLUGIN_PATH=$(pwd)/build/src/gstreamer
gst-launch-1.0 libcamerasrc camera-name=/base/i2c-csi/rear-camera at 4c !
video/x-raw,width=1280,height=720,format=YUY2,colorimetry=bt709,framerate=30/1
! filesink location=/tmp/delme.unk ; ls -al /tmp/delme.unk
[2:17:39.843678421] [6387] ERROR SimplePipeline simple.cpp:1268
Searching for device
0:00:05.342357720 6376 0x556a5b2190 INFO libcamerasrc
gstlibcamerasrc.cpp:241:gst_libcamera_src_open:<libcamerasrc0> Using
camera '/base/i2c-csi/rear-camera at 4c'
Pipeline is live and does not need PREROLL ...
0:00:05.344201334 6376 0x556a903000 DEBUG libcamerasrc
gstlibcamerasrc.cpp:391:gst_libcamera_src_task_enter:<libcamerasrc0>
Streaming thread has started
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:05.364266247 6376 0x556a903000 DEBUG libcamerasrc
gstlibcamerasrc.cpp:422:gst_libcamera_src_task_enter:<libcamerasrc0>
Srcpad config...
[2:17:39.874852646] [6404] INFO Camera camera.cpp:1029 configuring
streams: (0) 1280x720-YUYV
0:00:09.159619244 6376 0x556a903000 TRACE libcamerasrc
gstlibcamerasrc.cpp:332:gst_libcamera_src_task_run:<libcamerasrc0>
Requesting buffers
0:00:00.0 / 99:99:99.
Best regards,
Pavel
--
People of Russia, stop Putin before his war on Ukraine escalates.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20220703/c4416fd2/attachment.sig>
More information about the libcamera-devel
mailing list