Recording videos on phones and camera on Librem 5 devboard
Hi!
Who is the right person to talk about Librem 5 cameras? Is there mailing list I should use?
AFAICS from bugzillas, it is still not compeletely working. I see megapixels packaged in the repository, but without required config files. Are there work-in-progress configurations somewhere? Would it be useful if I tried to get it to work on the devboard?
I created simple python+gtk+gstreamer application to take photos, pictures and record videos. It is in tui repository; it is work on progress but some functionality is available on PinePhone, Librem 5 devboard and a PC. If someone could test it on actual Librem 5... that would be nice.
https://gitlab.com/tui/tui/-/tree/master/cam
Best regards,
Pavel
Signature · 1 line
(english) http://www.livejournal.com/~pavelmachek
Hi Pavel,
Quoted 4 lines · Pavel Machek
Hi!
Who is the right person to talk about Librem 5 cameras? Is there mailing list I should use?
I think most of the coordination is mostly happening via the gitlab issues in
https://source.puri.sm/Librem5/linux-next
Maybe Martin and Dorota who are working on the camera drivers (put in cc:) have a more suggestions.
Quoted 5 lines
AFAICS from bugzillas, it is still not compeletely working. I see megapixels packaged in the repository, but without required config files. Are there work-in-progress configurations somewhere? Would it be useful if I tried to get it to work on the devboard?
Megapixels work is mostly happening here atm:
https://source.puri.sm/dorota.czaplejewicz/megapixels
Cheers,
-- Guido
Quoted 15 lines
I created simple python+gtk+gstreamer application to take photos, pictures and record videos. It is in tui repository; it is work on progress but some functionality is available on PinePhone, Librem 5 devboard and a PC. If someone could test it on actual Librem 5... that would be nice.
https://gitlab.com/tui/tui/-/tree/master/cam
Best regards,
PavelSignature · 1 line
(english) http://www.livejournal.com/~pavelmachek
Le jeudi 13 mai 2021 à 11:42 +0200, Guido Günther a écrit :
Quoted 15 lines
Hi Pavel,
Quoted 4 lines · Pavel Machek
Hi!
Who is the right person to talk about Librem 5 cameras? Is there mailing list I should use?
I think most of the coordination is mostly happening via the gitlab issues in
https://source.puri.sm/Librem5/linux-next
Maybe Martin and Dorota who are working on the camera drivers (put in cc:) have a more suggestions.
Quoted 1 line
Quoted 8 lines
Quoted 4 lines
AFAICS from bugzillas, it is still not compeletely working. I see megapixels packaged in the repository, but without required config files. Are there work-in-progress configurations somewhere? Would it be useful if I tried to get it to work on the devboard?
Megapixels work is mostly happening here atm:
While this is interesting work, I would also keep an eye on libcamera, which I believe is a better place for HW specific media controller and request handling. Shouldn't be very hard to port this GTK3 library on top of libcamera.
Quoted 21 lines
Cheers,
-- GuidoQuoted 15 lines
I created simple python+gtk+gstreamer application to take photos, pictures and record videos. It is in tui repository; it is work on progress but some functionality is available on PinePhone, Librem 5 devboard and a PC. If someone could test it on actual Librem 5... that would be nice.
https://gitlab.com/tui/tui/-/tree/master/cam
Best regards,
PavelSignature · 1 line
(english) http://www.livejournal.com/~pavelmachek
Hi!
Quoted 18 lines
Quoted 18 lines
Quoted 2 lines
Who is the right person to talk about Librem 5 cameras? Is there mailing list I should use?
I think most of the coordination is mostly happening via the gitlab issues in
https://source.puri.sm/Librem5/linux-next
Maybe Martin and Dorota who are working on the camera drivers (put in cc:) have a more suggestions.
Quoted 5 lines
AFAICS from bugzillas, it is still not compeletely working. I see megapixels packaged in the repository, but without required config files. Are there work-in-progress configurations somewhere? Would it be useful if I tried to get it to work on the devboard?
Megapixels work is mostly happening here atm:
Quoted 7 lines
While this is interesting work, I would also keep an eye on libcamera, which I believe is a better place for HW specific media controller and request handling. Shouldn't be very hard to port this GTK3 library on top of libcamera.
Hmm, famous last words :-).
I view megapixels as hand-optimized camera application tailored to phones and taking photos (and it is good at that).
OTOH Unicsy camera (https://gitlab.com/tui/tui/-/tree/master/cam ) is simple python wrapper over GTK+ and gstreamer aimed at videos. (It can do photos, too; slowly. Hand-coded app would probably have better performance).
Eventually it would be nice to have media controller support in libcamera, gstreamer and probably some other framework I forgot about.
Best regards,
Pavel
Signature · 1 line
http://www.livejournal.com/~pavelmachek
Hello,
Quoted 22 lines · Pavel Machek
Hi!
Quoted 20 lines
Quoted 19 lines
Quoted 2 lines
Who is the right person to talk about Librem 5 cameras? Is there mailing list I should use?
I think most of the coordination is mostly happening via the gitlab issues in
https://source.puri.sm/Librem5/linux-next
Maybe Martin and Dorota who are working on the camera drivers (put in cc:) have a more suggestions.
Quoted 5 lines
AFAICS from bugzillas, it is still not compeletely working. I see megapixels packaged in the repository, but without required config files. Are there work-in-progress configurations somewhere? Would it be useful if I tried to get it to work on the devboard?
Megapixels work is mostly happening here atm:
Quoted 7 lines
Quoted 5 lines
While this is interesting work, I would also keep an eye on libcamera, which I believe is a better place for HW specific media controller and request handling. Shouldn't be very hard to port this GTK3 library on top of libcamera.
Hmm, famous last words :-).
No humans or animals were terminally injured during libcamera development :-)
Quoted 10 lines
I view megapixels as hand-optimized camera application tailored to phones and taking photos (and it is good at that).
OTOH Unicsy camera (https://gitlab.com/tui/tui/-/tree/master/cam ) is simple python wrapper over GTK+ and gstreamer aimed at videos. (It can do photos, too; slowly. Hand-coded app would probably have better performance).
Eventually it would be nice to have media controller support in libcamera, gstreamer and probably some other framework I forgot about.
Media controller (and any camera-related kernel API really) support is exactly what libcamera is about. While it may make sense for gstreamer to deal directly with kernel devices that require configuration through the media controller API is some cases, for computational cameras (or software-defined cameras as they're also called today) it's increasingly a dead end. GStreamer is good as an application API, or as a framework wrapped in helpers that offer a simpler, higher-level API, and the libcamerasrc element can bridge it to the camera implementation.
Signature · 3 lines
Regards, Laurent Pinchart
Hi!
Quoted 9 lines
Quoted 2 lines
Who is the right person to talk about Librem 5 cameras? Is there mailing list I should use?
I think most of the coordination is mostly happening via the gitlab issues in
https://source.puri.sm/Librem5/linux-next
Maybe Martin and Dorota who are working on the camera drivers (put in cc:) have a more suggestions.
Thanks for pointers.
In the meantime I got silent video recording to work on Librem 5 devboard --
https://gitlab.com/tui/tui/-/tree/master/cam
-- but quality is awful, probably either hardware or kernel issue.
Is pulseaudio supposed to be running in Phosh? I have trouble capturing any audio and am wondering if I should attempt to do full reinstall.
Quoted 8 lines
Quoted 4 lines
AFAICS from bugzillas, it is still not compeletely working. I see megapixels packaged in the repository, but without required config files. Are there work-in-progress configurations somewhere? Would it be useful if I tried to get it to work on the devboard?
Megapixels work is mostly happening here atm:
Ok, so you seem to have that one under control.
Best regards,
Pavel
Signature · 1 line
http://www.livejournal.com/~pavelmachek
Hi,
Quoted 17 lines · Pavel Machek
Hi!
Quoted 9 lines
Quoted 2 lines
Who is the right person to talk about Librem 5 cameras? Is there mailing list I should use?
I think most of the coordination is mostly happening via the gitlab issues in
https://source.puri.sm/Librem5/linux-next
Maybe Martin and Dorota who are working on the camera drivers (put in cc:) have a more suggestions.
Thanks for pointers.
In the meantime I got silent video recording to work on Librem 5 devboard --
Quoted 7 lines
https://gitlab.com/tui/tui/-/tree/master/cam
-- but quality is awful, probably either hardware or kernel issue.
Is pulseaudio supposed to be running in Phosh? I have trouble capturing any audio and am wondering if I should attempt to do full reinstall.
Pulseaudio is what we use in Phosh for audio yes. If you reinstall i'd use the byzantium based images rather than the current stable amber ones (librem5-flash-image --board=devkit --dist=byzantium) since that's way newer software.
Cheers,
-- Guido
Quoted 16 lines
Quoted 9 lines
Quoted 5 lines
AFAICS from bugzillas, it is still not compeletely working. I see megapixels packaged in the repository, but without required config files. Are there work-in-progress configurations somewhere? Would it be useful if I tried to get it to work on the devboard?
Megapixels work is mostly happening here atm:
Ok, so you seem to have that one under control.
Best regards,
PavelSignature · 1 line
http://www.livejournal.com/~pavelmachek
Hello,
Quoted 12 lines · Pavel Machek
Hi!
Quoted 9 lines
Quoted 2 lines
Who is the right person to talk about Librem 5 cameras? Is there mailing list I should use?
I think most of the coordination is mostly happening via the gitlab issues in
https://source.puri.sm/Librem5/linux-next
Maybe Martin and Dorota who are working on the camera drivers (put in cc:) have a more suggestions.
Quoted 8 lines
Thanks for pointers.
In the meantime I got silent video recording to work on Librem 5 devboard --
https://gitlab.com/tui/tui/-/tree/master/cam
-- but quality is awful, probably either hardware or kernel issue.
It's due to the lack of an ISP. As the i.MX8QM doesn't have a hardware ISP, the backup plan is to implement one in software, with GPU offloading (as the CPU alone very likely won't have the computing power).
Quoted 14 lines
Is pulseaudio supposed to be running in Phosh? I have trouble capturing any audio and am wondering if I should attempt to do full reinstall.
Quoted 8 lines
Quoted 4 lines
AFAICS from bugzillas, it is still not compeletely working. I see megapixels packaged in the repository, but without required config files. Are there work-in-progress configurations somewhere? Would it be useful if I tried to get it to work on the devboard?
Megapixels work is mostly happening here atm:
Ok, so you seem to have that one under control.
Signature · 3 lines
Regards, Laurent Pinchart