Webcam app in particular, Linux tools in general

Hello. Are there any webcam apps out there for SFOS?

I was hoping for a GoPro type of setup using a phone to take webcam input via USB-C.

On that subject, are there any phones that you can even connect webcam to via USB-C?

As an asides, is there a conceivable algorithm for converting a deskto RPM package into an SFOS app or will it always take many hours by expert developers on a case-by-case basis?

There are some simple packages that can be installed despite being intended for another platform, but in the majority of cases it’s a very very bad idea. So just don’t.

Also “converting an rpm” is the wrong approach - for a lot of reasons.
What you want to do is build a new RPM from the same sources of the original one.

You can do that in several ways. Using the SDK is one, using OBS, or something like GitHub Actions or similar is also possible.

4 Likes

Please can you explain the connection between your commandment and my OP

Ditto this part too

Ditto this part too

I edited the following out of my OP so as not to seem like l invited the same thing myself by hiting on the subject, but here is what l didn’t include in the OP, but is probably worth saying after all:

  • I am not after workarounds
  • I am not after lifestyle or personality change suggestions

To rephrase: I want to know, (1) do users have access to RPM packages e.g. by a simple series of low-skill level steps (2) Or is this skilled work

Just (1) or (2) for the second half of my query.

The first half of my query stands without needing clarification l hope: I just want to know, any way of hooking up a webcam to my phone (caveat, again: no workarounds, no slap on the wrist, no change of entire lifestyle or personality. No, just can l plug webcam into phone or no, if no, the answer is “no” or similar, nothing else is needed, this is repeated until someone perhaps pips in to say actually there is this app, or this app is in development or hey man nice idea, maybe one day it can come to be)

Please and thank you. Upvote on the way. There, l have checked all boxes.

You don’t “convert” an RPM from desktop x86 linux to mobile ARM linux, or from any one platform to another.

You need to acquire the source code that was used to compile the RPM for one platform, and recompile it for the new platform. This, in and of itself, is trivial. In fact, most desktop Linux RPMs are now packaged alongside ARM alternatives as laptops with ARM processors are becoming more widespread. The trick is that there’s no promise the recompiled ARM binaries will have all the dependencies they need to function on just any operating system that happens to use RPM packages.

Particularly in the case of SailfishOS, we’re a bit outdated compared to desktop linux. Our version of Qt, for example, is ten years old. And what if the RPM installs something SFOS doesn’t expect, breaking other parts of the system? This is why it is usually a “very bad idea” - it’s not just as easy as recompiling the source, there’s a lot of technical debt to also patch around before you have something usable.


In short, generally speaking, you cannot pull an rpm from just anywhere and install it on SFOS. You can recompile a desktop Linux program to be suitable for SFOS, but it’s usually more work than it’s worth.

1 Like

The thread on thermal cameras could have some interest for you to read.

Thank you. And now that you mention it, l remember now, some Linux distros are ARM and not Intel or AMD (if those are the 3 main divisions? l forget, been ages since l Gparted and installed anything).

I see what you mean about breakage, and the “very bad idea” idea.

Hmm so, basically you’re implying: Don’t scavenge the repo for Fedora for Raspberry Pi for example, it will be a trail of tears THat was actuallly going to be something l would do, so thank you for saving me.

Life is never straightforward. So bottom line: the only thing that would work with SFOS is SFOS stuff, hence the SFOS team is an SFOS team and not just anybody plucking stuff from other repos and making an image from that.

Thank you for this! 20 chars

Okay l tried enquiring but l was instantly debunked and outed. The default behabiour on this forum. Developers need a reward one way or another and usually this means giving commands or insults on the forum followed by “we are tryin to help you”.

Does anybody know of a phone that can take webcam input via USB-C? I’m guessing it’s more to a question of the OS than the phone.

I don’t have a USB webcam, so I cannot try, but the internet has tutorials about USB cams on Android so maybe it also works in SailfishOS if you use an (Android) application (recommended: OTG View, USB Camera, CameraFi)

Pretty sure that doesn’t have usb access.

I just tried with the Jolla Phone 2026. It detected my ELP cam and I was able to capture from it via /dev/video3. The phone is able to power the 48MP cam and the hub I used (didn’t try video capture). I don’t know of any existing app though.

3 Likes

Please don’t paint us all with the brush of known trolls.

Oh - fantastic! So it works!
Theoretically then something like ffmpeg should be able to capture frames natively? We just need a pretty UI wrapped around it.

Ah come on!

That’s like what-not-to-do-when-entering-a-discussion 101, and people who rightly react annoyed by such rude and lazy behavior are slurred as trolls?

OK trolls were not that bad, it’s a shame they died out as a race.

If Zoom could run on SFOS then problem solved, because it can record the cam feed