leave torch in if it is on
For what it's worth, OC does now see both rear cameras on the Pixel 6a (turns out the third one shown by the Google app is a silly virtual camera, a fake telephoto, so I'm not worried about missing it). I've been enjoying exploring OC's options compared to the limited built-in camera app. though I do kind of miss having a quick one-tap way to switch cameras.
This was asked for about 10 years ago and now I'm asking again. I would like to be able to disable the video button at times. And I would gladly pay for the option. There are situations where I am in bright light, or I'm holding the camera way over my head or some other strange angle, and I accidentally switch to video. Of course I don't realize this until my shooting environment has changed, so instead of getting the hi-res raw file I was hoping for I get a video instead. Thanks for reading. --...
when I take a photo, setting zoom to something other than 1:1, it resets back to 1:1 when I look at photo, or even when I switch to another app. I can't find any setting that makes zomm level stay where I last used it. Any help greatly appreciated. TIA ken
I think there is a version—if I remember correctly, ver. 1.52—from 4pda. But you need to have an account registered there to download it; I tested it once on a Motorola and eventually got all the cameras working... They focused more on HedgeCam 2 and modded that one too, and all the lenses work there as well, but that version is still from around 2023, I think.
Any volunteer that could write code that tries all IDs and catches any crash exceptions would be lovely. It's a shame this is still an unresolved thing and makes opencamera a deal breaker against blackmagic's app for macro videography. We cannot realistically expect the device manufacturer to expose something in a way they already didn't invest to do...
Add pause/resume mode for remote-controlled video recording
Thanks for the link. Note that more recently Galaxy S flagship devices seem to expose the telephoto lense (e.g., this works on my Galaxy S24+), but I don't know about older or other Samsung devices.
When I bought Samsung Galaxy S21FE this feature which I had hoped for long time was finally available. Now I updated phone to Oneplus Nord 5 and unfortunately its stock camera app does not have it. During last 3 years this became one of top3 most used features on my camera. Ability to switch between front and back cameras while recording is very important and useful feature when creating video blog type of videos. For example first you speak and then switch the camera to be able to demonstrate to...
+1
Thanks!
Update Traditional Chinese translation.
Recently I replaced the broken camera on my phone with a cheap after-market part, and whoever manufactured it soldered on the camera sensor upside-down, meaning the preview and any pictures taken with this new sensor are also upside-down. As I only need this camera for casual daily use I didn't really want to keep buying replacement cameras and just hoping that they wouldn't be defective, so I did some research and downloaded Open Camera in the hopes that there would be a feature here that could...
I can't select a specific camera / lens on Motorola Edge 50 Neo (Android 16 with all the latest OS updates W1UIS36H.39-17-1 as of 04/15/2026).
I have tried every single option, the audio just seems like it is recorded and an incredibly low bitrate. Not sure if I am losing my mind, I can't find anyone else that has mentioned the issue, there's nothing I can change outside of the app that would affect the microphone or recording bitrate.
Feature request: a preference for initial zoom
Thank you for the wonderful app. I'm using Open Camera 1.55 on a Pixel 9 Pro running GrapheneOS. Please add an option in the settings / user interface to include a button (show a icon) in the user interface for switching between Focus Lock and Continuous Focus. Please make the button red for Focus Lock and white for Continuous Focus. This would be helpful in many photography situations where I set the focus with a single click and then adjust the framing. It would also be great for macro photogr...
Failed to start camera preview
I'm using Open Camera 1.55 on a Pixel 9 Pro with GrapheneOS. In the list of hardware cameras, there's a camera (Lens2) that appears to be the same as Lens1, but produces very poor images and RAW files. All other lenses works great! I'd like a feature in the menu that lets me deselect individual hardware cameras so they don't appear in the pop-up menu. Please also include a feature where the individual hardware cameras appear as small buttons on the user interface so that they can be selected with...
Gallery does not open, because of wrong Intent string
As noted in my earlier comment, it's not possible to add this by default, but the next version will have the debug option Settings/More camera control/Gallery to support different methods of launching a third party gallery application.
viewing last photo opens Image Toolbox
As noted in my earlier comment, it's not possible to resolve this by default, but the next version will have the debug option Settings/More camera control/Gallery to support different methods of launching a third party gallery application.
From the GCam TG Group, has shared this link. https://mattpilz.com/clean-hdmi-note-10-telephoto-camera-lens/#comment-40120 That user modified OCam to get Optical Zoom support on a Samsung phone.
This settings backup did work again.
Unable to save RAW after updating app (Android)
thank you! 💖 this is the default gallery app (org.lineageos.glimpse 16) on LineageOS 23 (Android 16).
Generally speaking, someone would have to look into this, starting with the simplest things—like changing the “applicationId” to begin with. You might as well ask the modders how they figured it out. Maybe someday someone will do something about it. A long time ago, someone did something with OpenCamera - but that’s a different story https://www.celsoazevedo.com/files/android/open-camera/
Thanks for the support as for the OCam App. I'll keep an eye on those options. Thanks
Note that Dolby have reportedly sued Snap over AV1 (e.g. https://www.techspot.com/news/111865-dolby-sues-snap-over-video-compression-patent-claims.html ). It's possible that applies more to applications including that code specifically rather than using on-device codecs (AV1 at least has Android support directly now as far as I can tell). But then, more generally, that does highlight a risk of including third party libraries to do image/video encoding (in theory the risk applies to any code I write...
I'm not quite sure what methods that the GCam ports use, but I note they have the advantage that there are many versions of these often tailored made/supported for specific devices, In theory there are hacky backdoor methods that work on some devices, but will break or give buggy behaviour on other devices - the link above is indeed useful, so yes that explains why they need different versions. Renaming the package name requires some kind of development tools (either rebuilding from the source, or...
See also https://sourceforge.net/p/opencamera/tickets/1328/ .
I've added support for MediaStore.ACTION_REVIEW for the next version, but I'd had to add it as a second priority to "com.android.camera.action.REVIEW" - a problem is that some older gallery apps only support "com.android.camera.action.REVIEW" (even though in theory they're the ones that should be updated, users will complain to me if Open Camera no longer works with it...) I wasn't sure what your symptoms were - if you weren't seeing any options at all for viewing photos/videos, then the new version...
Hi, what device and gallery application is this? The reason is due to the various different ways of calling applications on Android: Originally, the only official way was to call an application to open an image/video ("Intent.ACTION_VIEW"). This was very broad, and meant it would also include image editors, media players and so on. Google camera and Google photos used an undocumented method ("com.android.camera.action.REVIEW") which meant (a) it restricted it to gallery apps, and (b) meant videos...
One class I found on the quick: https://developer.android.com/reference/androidx/heifwriter/AvifWriter
Sure, I just added AVIF support, though via https://github.com/awxkee/avif-coder. Would you have more info on an Android SDK/API for AVIF?
Thank you very much @Nicolas! Waiting for this for a while! Do you think it would be much effort to also add AVIF (images) #963 and/or AV1 (video) #1215 support? Especially in this case it should be possible without additional dependencies. As far I understand there are Android SDK/API capabilities for these formats. (Might be possible to only offer as selectable option on newer Android versions/hardware though)
I implemented JPEG XL inside the OpenCamera source code: https://github.com/nicolas-raoul/OpenCamera-JPEG-XL Using Apache 2 library https://github.com/awxkee/jxl-coder. It does the job for me on a Pixel 5. I added two variants as you can see on the screenshot below. Feedback welcome!
Can confirm this still happens for v1.55
Regarding framing resolution.
Data is lost if the app is closed while saving.
Cool, I am looking forward for the update. Yeah, I already guessed, that this is either legacy or hacky code. :) I am using a Samsung S9+ (SM-G965F) with LineageOS 20 20241227-NIGHTLY. The gallery app I am running is com.android.gallery3d Version 1.1.40030. But as far as I remember, it did not work with other, alternate gallery apps from F-Droid either.
I've seen this on Celso Acevedo's, but I was not aware about this as an access to all the options, instead as something to check all the variants. This would be an option maybe. IDK whether we can rename OpenCamera and try whether gets full acces. It would be great if works!
I've seen this on Celso Acevedo's, but O was not aware about this as an access to all the options, instead as something to check all the variants. This would be an option maybe. IDK whether we can rename OpenCamera and try whether gets full acces. It would be great if works!
https://www.celsoazevedo.com/files/android/google-camera/troubleshooting/ What are package names (multiple apks in one release)? » Why are different package names needed? Package names are usually needed to access all cameras and/or to enable features like Google Lens. Some brands (eg: OnePlus, Samsung, etc) restrict access to all cameras. They have a "whitelist" of apps (package names) that can access those cameras, so modders release their versions with package names that are on those lists. For...
Also, I've forgotten to mention, my current device it's: RealMe 14 Pro+ | RUI6 | A15 There's a GCam, AGC 9.0 that it's capable to access all 3 back cams. Would be related to the fact that it shares internal components/signatures with the OS? BTW, It resets the app itself to interchange between one and another, so if you're on Tele x3, you can go to Main without the restart, being mostly useless for video recording.
Also, I've forgotten to mention, my current device it's: RealMe 14 Pro+ | RUI6 | A15 There's a GCam, AGC 9.0 that it's capable to access all 3 back cams. Would be related to the fact that it shares internal components/signatures with the OS? BTW, it reset the app itself to interchange between one and another, so if you're on Tele x3, you can go to Main without the restart, being mostly useless for video recording.
Also, I've forgotten to mention, my current device it's: RealMe 14 Pro+ | RUI6 | A15 There's a GCam, AGC 9.0 that it's capable to access all 3 back cams. Would be related to the fact ot shares internal components/signatures with the OS? BTW, it reset the app itself to interchange between one and another, so if you're on Tele x3, you can go to Main without the restart, being mostly useless for video recording.
Also, I've forgotten to mention, my current device it's: RealMe 14 Pro+ | RUI6 | A15 There's a GCam, AGC 9.0 that it's capable to access all 3 back cams. Would be related to the fackt ot shares internal components/signatures with the OS? BTW, it reset the app itself to interchange between one and another, so if you're on Tele x3, you can go to Main without the restart, being mostly useless for video recording.
Also, I've forgotten to mention, my current device it's: RealMe 14 Pro+ | RUI6 | A15 There's a GCam, AGC 9.0 that it's capable to access all 3 back cams. Would be related to fack ot shares internal components/signatures with the OS? BTW, it reset the app itself to interchange between one and another, so if you're on Tele x3, you can go to Main without the restart, being mostly useless for video recording.
Also, I've forgotten to mention, my current device it's: RealMe 14 Pro+ | RUI6 | A15 There's a GCam, AGC 9.0 that it's capable to access all 3 back cams. Would be related to fack ot shares internal components/signatures with the OS? BTW, it reset the app itself to interchange between one and another, soiof you're on Tele x3, you can go to Main without the restart, being mostly useless for video recording.
Thanks Mark, I've read the "blocking" is because of security, "as always...", but I don't see any difference accessing just Main Back/Front or all of them. A toggle in Dev Options would be enough to allow 3rdP for those interested on it. So, A Call for All!! To press Brands on the Feedback / SSNN to allow 3P access to whole pack of cams or improve their Cam Apps! BTW, If a Brand does that having a good Cam pack, I guess they would sell many more phone units. Thanks
With all of your experience, in your experience have you found anything that could mitigate the possibility of tampering?
oh really. I would be interested in seeing untampered bitmap have you found any sensor you can get an uncompressed bitmap from?
Thanks, I'll take a look. com.android.camera.action.REVIEW is an unofficial intent as it was used by the stock Android camera years ago and because a kind of unofficial standard. I hadn't noticed MediaStore.ACTION_REVIEW, so I'll see if thican replace it. Which gallery app are you using - or if it's the stock gallery, what device is this?
YouTube generally play video through two separate files, one have video frames but no sound, another have just audio tracks. So I believe maybe there's a way to make WebM videos able to hear, that is, use two separate recording methods to get video frames and audio tracks, then inject audio into WebM.
YouTube generally play video through two separate files, one have video frames but no sound, another have just audio tracks. So I believe maybe there's a way to make WebM videos able to hear, that is, use two separate recording methods to get video frames and audio tracks, then merge them together.
Note it's not possible to capture directly as PNG - the JPEG data comes direct from the camera driver (although possibly this could be done by requesting data in YUV_420_888 format). if I use YUV_420_888 format to get a lossless result, there wouldn't be any HDR info to add to the PNG result). To my eyes, such circumstances should be documented in Open Camera Help. I think UltraHDR is only currently supported via JPEG and HEIC formats, so there's a gap here If this is right, and could be reproduced...
The official PNG specification also added HDR support, making it possible to interchange HDR information with other image formats. https://www.w3.org/TR/png-3/
The official PNG specification also added HDR support, making it possible to interchnage HDR information with other image formats. https://www.w3.org/TR/png-3/
add resolution 50Mpxl and macro
As far as I can tell, most devices aren't allowing third party applications to access the very high resolutions. (Note that you'll still get the benefit of the camera's sensor - I don't know if you have a particular need for a 50MP image, or are just assuming higher MP is better.)
Hi, yes it depends on the manufacturer. Open Camera supports all the relevant APIs (accessing multiple cameras, automatically switching via zooming in and out; accessing specific "lenses") but some manufacturers still don't expose to third party applications via the Android API. I did look at CameraX a few years ago, but I don't think it would help here (CameraX still uses the Android API).
Can't set it as a Default Camera App
Unfortunately Android doesn't have a concept of default camera app - it's no longer possible for apps to call third party camera apps, and behaviour such as launching from a gesture is device/company specific.
The next version will support Exif interface for PNG and WebP. Note it's not possible to capture directly as PNG - the JPEG data comes direct from the camera driver (although possibly this could be done by requesting data in YUV_420_888 format). Thanks for the info on PNG and HDR. I think UltraHDR is only currently supported via JPEG and HEIC formats, so there's a gap here (if I use YUV_420_888 format to get a lossless result, there wouldn't be any HDR info to add to the PNG result).
For non-RAW mode I get the data from a JPEG stream - Android does support returning in other formats (e.g. Camera2 supports YUV_420_888), I have thought about trying to convert from that instead but not yet implement this.
Is there no way to do this without root now that you can no longer set a default app for camera activity in Android?
add resolution 50Mpxl and macro
go figure
The official PNG specification also added HDR support, making it possible to apply HDR information to other image formats as well. https://www.w3.org/TR/png-3/
Hi, I would like to ask about the Multi Cam Access, Main/Wide/Tele. Do this depend exclusively from the phone's manufacturer? AFAIK, some allows the access, i guess to the API to 3rdP Apps, others do not, but IDK whether OCam can access them at all or not. Also read about CameraX API, is Mark working also on this? Would this help on access the whole pack of back cams? Any link to clarify this questions is welcomed Thank you
Hi, I would like to ask about the Multi Cam Access, Main/Wide/Tele. Do this depend exclusively from the phone's manufacturer? AFAIK, some allows the access, i guess to the API to 3rdP Apps, others do not, but IDK whether OCam can access them at all or not. Also read about CameraX API, is Mark working also on this? Would this help on access the whole pack of back cams? Any link to clarify this questions is welcomed Thanks
Hi, I would like to ask about the Multi Cam Access, Main/Wide/Tele. Do this depend exclusively from the phone manufacturer? AFAIK, some allows the access, i guess to the API to 3rdP Apps, others do not, but IDK whether OCam can access them at all or not. Also read about CameraX API, is Mark working also on this? Would this help on access the whole pack of back cams? Any link to clarify this questions is welcomed Thanks
On paper, yes. In practice, no. You have to have a high-level of image sensor access through the Camera2 API, which is simply not happening on many devices that are neutered and controlled by their manufacturers. Apart from that, there is no standardized RAW video codec currently available to use on these devices, just proprietary stuff.
Can't set it as a Default Camera App
See this discussion here: https://github.com/beatbrot/ScreenshotAssistant/issues/55 Also see the following comment: https://github.com/beatbrot/ScreenshotAssistant/commit/3d8ce0dc0e2580a6ba55d3379654b67ad79d9112
Well, it's been a decade now. Bye guys.
This is what I'm looking for. In fact, precisely why I downloaded Open Camera was to try get good quality audio but ultra low video quality (for the small file size). As a muso I want to record lots of melody ideas and just need to barely see my finger placement, with sharp clear sound.
Add pause/resume mode for remote-controlled video recording
This is fixed for the next version.
Recently, in the list of widgets on my phone, I found a widget from OpenCamera that allows you to instantly take a photo. It might be worth adding several widgets that could be used to launch the camera with specific settings. For example, one widget could immediately launch the camera with low settings for capturing text, while another would launch the camera with default settings. You could also add a widget for one-click video recording, which is useful for recording events that happen very quickly...
this should be it String REVIEW_ACTION; if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.Q) { REVIEW_ACTION = android.provider.MediaStore.ACTION_REVIEW; } else { REVIEW_ACTION = "com.android.camera.action.REVIEW"; }
Gallery does not open, because of wrong Intent string
I'd like to be able to directly input a fractional/decimal shutter speed in photo and video mode, rather than using the slider. This is to be able to record CRTs at non "standard" refresh rates easily. Hedgecam 2 has slider with greater granularity but it would be so much easier to use as direct keyboard entry
Granular shutter speed control (0.01 increments)
It would be good if the previous zoom level could be remembered. I usually use 2x and would be convenient not to have to set it each time. The exposure compensation setting is retained, which I would prefer to reset to 0 when re-opening the app. Maybe in the settings there could be options for which values are persistent.
please approve my anon post at Stvk so I can repost it under my login
please approve my anon post at so I can repost it under my login
Presets for different photo resolutions and quality
Nah it's just normal question like any other in the open-source world, if I'm trying to highlight something then it would be my limited knowledge of Android :P
Thanks for the reply, I'm unfamilar with Android Camera(2) API. When it's not RAW mode, is the data returned from the camera a JPEG codestream or RGB? Maybe I can prevent a second color transform by re-using JPEG's YCbCr stuff to feed the encoder of some format idk
Please keep things friendly :)
Indeed I need to add support for this, since Android restricted this. Note though that the standard Android backup when moving to a new phone should transfer application settings anyway - unless you're preferring to not use this or aren't using Google services(?)
Indeed there is a double save/compression. MyApplicationInterface.getImageQualityPref() will set the first request to 100% for when non-JPEG formats (WebP, PNG) (which I know is still lossy, but tries to minimise the first generation loss). Although JPEG XL could be supported similarly to WebP/PNG, I'm a bit wary of adding it at the moment, firstly due to the issue that it won't be direct from the camera, and due to losing support for UltraHDR.
Thanks for the comments and suggestions! Yes it's true, some sort of intro guide could be useful. I don't have immediately plans for a built-in gallery I'm afraid.
It still feels unlikely that this is due to build issues (it wasn't clear which differences you were seeing between Google Play, Sourceforge and F-Droid?) If there was a change due to a phone's update, again that could just be a change in the update and not spyware. "Can you point me to your best documentation and the source code for these settings?" It's set in VideoProfile.copyToMediaRecorder(), specifically the call to media_recorder.setVideoEncodingBitRate(this.videoBitRate); "Is there any way...
Are you trying to highlight that the dev does not know what he is doing because it is obvious that it would be.
To be honest if I record two videos with different content and their file size varies greatly but the quality doesn't change much then I don't think my device's Android API is compromised, after all the purpose of lossy compression is to retain as much quality as possible using the smallest amount of space possible within the time constraint. And you can't test whatever the app or your OS has been compromised or screwed up by testing the same settings on different subject (videos) and expecting the...