[libcamera-devel] Video recording on PinePhone Re: libcamera on pinephone
Rafael Diniz
rafael at riseup.net
Tue Jul 5 17:14:00 CEST 2022
Tested. I still get:
gst-launch-1.0 libcamerasrc camera-name="/base/i2c-csi/rear-camera at 4c" !
videoconvert ! glimagesink
(...)
Pipeline is live and does not need PREROLL ...
Got context from element 'sink': gst.gl.GLDisplay=context,
gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\ gldisplayx11-0";
Setting pipeline to PLAYING ...
New clock: GstSystemClock
** (gst-launch-1.0:3168): CRITICAL **: 18:07:44.336:
gst_video_format_to_string: assertion 'format !=
GST_VIDEO_FORMAT_UNKNOWN' failed
[7:47:57.606487929] [3176] INFO Camera camera.cpp:1029 configuring
streams: (0) 1280x720-YUYV
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Other gst-launch samples give me:
(...)
New clock: GstSystemClock
ERROR: from element
/GstPipeline:pipeline0/GstLibcameraSrc:libcamerasrc0: Internal data
stream error.
Additional debug info:
../src/gstreamer/gstlibcamerasrc.cpp(483): gst_libcamera_src_task_enter
(): /GstPipeline:pipeline0/GstLibcameraSrc:libcamerasrc0:
streaming stopped, reason not-negotiated (-4)
(...)
Thanks,
Rafael
On 7/5/22 10:52, Rafael Diniz via libcamera-devel wrote:
> Thanks a a lot Rishikesh. I will test and let you know!
>
> Rafael
>
> On 7/5/22 10:02, Rishikesh Donadkar wrote:
>> Hello Rafael,
>> Yes, I have a github fork of libcamera. You can find the branch with
>> applied commits here
>> https://github.com/RISHI27-dot/libcamera/tree/colorspace_integration_patch
>> <https://github.com/RISHI27-dot/libcamera/tree/colorspace_integration_patch>
>>
>>
>> Regards,
>>
>> Rishikesh Donadkar
>>
>> On Tue, Jul 5, 2022 at 4:02 AM Laurent Pinchart
>> <laurent.pinchart at ideasonboard.com
>> <mailto:laurent.pinchart at ideasonboard.com>> wrote:
>>
>> Hi Rafael,
>>
>> On Mon, Jul 04, 2022 at 09:37:39PM +0300, Rafael Diniz wrote:
>> > Hi Laurent,
>> >
>> > > I'd like to fix libcamerasrc if it doesn't work on the
>> PinePhone.
>> > > There's ongoing work on colorimetry support by Rishikesh as
>> part of his
>> > > GSoC (initial patches are on the list) which should help. What
>> are the
>> > > other issues ?
>> >
>> > Where can I find these patches? If possible, a branch with such
>> work
>> > already committed would be even better. I can help debug
>> libcamerasrc.
>> > : )
>>
>>
>> https://lists.libcamera.org/pipermail/libcamera-devel/2022-July/031906.html
>>
>>
>> <https://lists.libcamera.org/pipermail/libcamera-devel/2022-July/031906.html>
>>
>>
>> Rishikesh may have a branch somewhere.
>>
>> -- Regards,
>>
>> Laurent Pinchart
>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20220705/ebf7289b/attachment.sig>
More information about the libcamera-devel
mailing list