How to: test GStreamer-droid based camera support in Ubuntu Touch (for Halium 7.1 based port)
-
@Luksus I dont know of thats necessarily the case as the camera app on my note 4 has HDR available, I typically dont use it though
-
@peat_psuwit
Some update, i've tried to follow your tchat with Walid on Telegram history.
See the logs :
https://paste.ubuntu.com/p/sYpS5cX6KT/
https://paste.ubuntu.com/p/qJ3rr62j9r/
https://paste.ubuntu.com/p/gnnW2pkf55/
https://paste.ubuntu.com/p/wxKK3krMzg/
https://paste.ubuntu.com/p/qD85477qRy/Thanks
-
Regarding video capturing (on FP2):
After some seconds the image freezes and the app gets unresponsive.
The Log says something like: "audio could not be recorded fast enough".If you stop the recording before freezing, the video gets saved correctly but with sound a little off the line.
-
@peat_psuwit up this thread, you said: "This patch is in the process of upstreaming, so soon you won't have to do this."
Is it still something ? Or is it still to buggy to consider ? I mean the patch but also the halium 7 port as a whole. Thanks. -
@Emphrath Well, turns out that patch isn't needed anymore. I'll remove it from the instruction.
-
@Luksus Video recording works fine here on my FP2 with an old camera module. Could you please post the log? Follow the instruction above, but replace
GST_DEBUG="droidcamsrc:4"
to justGST_DEBUG="4"
. -
@peat_psuwit here is the log, I redirected it to a file with
&>
: https://paste.ubuntu.com/p/8Sy4gkzrDD/
I have to say that I still have the manually patched Halium, if that is something we have to take into account. -
@peat_psuwit but it's still needed to compile halium manually, right ? This is not going in the next OTA I mean ?
-
@peat_psuwit Following a hint from ernesst on github I tried the steps at the beginning of this thread and I'm happy to report that camera is now mostly working on my OP3T. Hooray and thanks for that!
I have only just done this and there are some problems, but at the moment...
Camera takes pictures and I can view them in gallery, on photoroll.
No video recording. On pressing the record button the timer comes up and freezes on 0.00
Here is the output from the debugging command you provided at the top.
https://paste.ubuntu.com/p/nBkqmQCSpR/ -
@peat_psuwit Camera didn't survive the latest system update; is this the expected behaviour?
Here is the log just in case it's useful https://paste.ubuntu.com/p/DMn8FfBWXz/
Running through the steps to Install GStreamer-droid restored the situation to yesterday's state -
@ziggutas I reckon that's because the patch is installed through apt - as long as it won't be added to the system image, every system update might roll back the changes...
-
@Emphrath Unfortunately this won't go into the next OTA. This still needs some refining for stability and I want to make sure it won't affect the existing ports.
@ziggutas The trouble with video on OP3T (and devices using 64-bit rootfs) is known. However, my only 64-bit device is not working right now and is in the repair shop. And, yes, system image upgrade will wipe this out. I suggested using
apt
to update the phone. Make sure you have another phone before doing that. -
@Emphrath @peat_psuwit Thank you both very much for your replies, I understand a bit more now! It's one long and gentle learning curve!
For now though, it is very useful to have access to the camera should need it.
-
@peat_psuwit Thanks for the explanations ! Good luck !
-
@Luksus Turns out the log doesn't tell much. Please try again, but increase the log level to 5 i.e.
GST_DEBUG=5
. -
Hello, first I would like to thanks everyone involved on this fix. Great work!!
Second, I would like to know if this fix will eventually land on the Nexus 5 also? It's possible now to test it?
Thank you in advance -
@malditobastardo I will try to get it into my Halium 7.1 port for hammerhead, which is already shaping up nicely. SO yes ^^
-
@Flohack said in How to: test GStreamer-droid based camera support in Ubuntu Touch (for Halium 7.1 based port):
@malditobastardo I will try to get it into my Halium 7.1 port for hammerhead, which is already shaping up nicely. SO yes ^^
Thanks a lot Flo.
If there is anything we (I can do) to help you with your hard work. You can count with me as always -
I've just updated the camera app to fix the issue with the rotation of the front camera. Grab the new binaries at the same link in the first post.
-
@peat_psuwit I think there something wrong with the arm64 version it is only 85k and it dont install, i have see previous version and that was 485k... ?