How to make a camera app question? - Galaxy S6 Q&A, Help & Troubleshooting

What developer's software is needed to make a camera app for Android?
I'd like to incorporate studio flash heads that work via the wireless transmitters on normal DSLR cameras. Maybe some signal to the headphone jack that could feed a wireless flash trigger prior to the shutter tripping?
There likely is some timing issue as well as exposure control, but if the flash units are just used for a fill light the exposure shouldn't be that much different than normal other than maybe a +/- control of a few stops (or shutter speed and/or ISO change since there are no f/stops in the cells). Why this isn't on any cell app is beyond me as it seems simple in general since the wireless triggers are already out there.
Tia.

Related

LED on while focusing?

Is there any camera app that uses the LED light while placing the focus? It's near impossible to get a sharp picture in low-light with my Desire HD.
There are ways to cut through this, though. I activate Tesla LED and keep it activated while opening my camera and sometimes and thus, use it while focusing. This is though not a sustainable solution; I would like a camera app that uses the LED in focus processing by default.
Is there one?

[Q] Make APP - Optical Tachometer (Helicopter etc)

Hi all, Got a Desire HD and a radio control helicopter (Trex 500).
Would like to be able to look at the heli in flight with the camera (in video mode is ok) and see what speed the rotors are spinning at.
All that's required is a method of adjusting the camera shutter speed while pointing at the heli until the blades look stationary. (Maybe use the volume rocker for adjustment)
Also a little routine to put the revolution figures on screen.
The heli blades should spin at about 2700rpm but for a wider variety of helis, would like to read a range from about 1900 to 3200 rpm.
A shutter harmonic frequency could be used as I dont think the shutter can operate at these speeds.
There are units available that use this method... But the mobile phone with camera already has the hardware needed. Just need a little bit of programming, I'm guessing.
If anyone can help i'm sure there would be a lot of interest from various fields....
Feedback on the idea welcome.....
aero star
PS. Thinking of existing measuring apps available, any reason why shutter speed can't be added to give object speed calculation and result etc etc
PPS Recording the heli in flight and then applying the Tachometer software would be ok.... might be easier to adjust the shutter speed for the video recording... ???

Delete

Delete
Huge thx to rocker00 and Cirra92. We worked on this for weeks, it was an adventure starting from scratch trying to reverse engineer this what Xiaomi did. A lot of frustration, hours of testing and comparing and finally getting to this point that for me, us, we have the sound that we want.
I am a huge fan of 'what you hear is what you get ' recordings. This has been done with the changes... BUT ... read below for further technical information and limitations.
Also to be precise, Xiaomi messed up the left and right microphone. Easily tested in recordings and a headphones, so that was changed in the config files.
As I already wrote in the other (original) topic, AGC can be a good thing. AGC stands for automatic gain control which makes all the sounds sound at the same level.
Most people will like that you hear birds in the background really well and that conversations will always be at the 'good' level. Now our human ear can hear the slightest noise and still cope with loud things. Our brain adjusts the volume in a sort of way. If you technically translate the difference in sound levels this means an unbelievable dynamic range. Now some of us remember a VU-meter and that ideally peaks will go to 0dB to avoid distortion and get the best signal to noise ratio. AGC normally regulates this ... but due to the huge levels in our environments it is almost technically impossible to always do this. There is always a technical limit. You can look at it like HDR, it can be fantastic but useless in a complete dark environment were the sensor doesn't get light or gets way to much light.
AGC is switched off in the modded files so what you hear in dynamics is what your ears hear . BUT!!!! there is the technical limit of 0dB and the opposite side of the scale which is almost silence. The goal is to keep within these two and to aim at the 0dB. That setting can easily be controlled by DEC1 and DEC2 levels in the files which are easily modifiable.
There is another technical thing which you cannot control and which are the microphones themselves. They might have a hardware limitation to how loud they might record without distortion. Even in a professional environment microphones have limits.
The microphones that we have in our devices are really excellent and the difference between original and modded is day and night, no magnifying glasses or angel dust needed to hear it with headphones.
To bad Android hasn't got a recording mixer to set the level like the playback mixer. For the moment I found 1 application which can change the level and which is called Footej camera. It also has a VU meter which is a must, especially in loud environments.
So people give it a go and please provide feedback. Without positive or negative feedback there is no progress.
Now let me get back to my coffee.
Thanks for this module. But I wonder, why no one has noticed the rubbish quality xiaomi has implemented in the camcorder video recording. Don't know if it's only with the Indian variant or others too.
The issue is that the quality is very bad even at 20mbps bit rate. The video has artefacts all over. I also own a Samsung galaxy note 3. Quite old device but with a great camera. Although note 5 Pro still camera beats it's old sensor, but videos come out great on my oldy Galaxy note 3.
Another biggest bug is that the continuous auto focus in camcorder works like in photo mode. Quick auto focus ruining all the video. I am talking about the lack of smooth continuous auto focus. The lens focuses back and forth quickly instead of slow smooth focusing. This ruins the whole quality and is quite irritating. I have tried many camera apps but the same bug. That means it's in the libs and nobody seems to notice it. The dynamic range is also very poor.
Such a great sensor, crippled by xiaomi's bad software. Can you guys fix it? It will make this already great camera greater. Thanks.
All the videos I took with this phone were ruined because of this issue .. I'm surprised to know there were minds working on it in the background.
I've never edited the build.prop on the vendor folder so I was digging through the lines in the /system version at first before double checking your note.
I've tested before and after the mod and I can confirm this is working with Pie pr1..
Huge thanks.
Thanks bro i installed miui version, all excelent good audio quiality but with earphones for test the module, i hear more loud in right ear, and the left ear the sound is low, it's only perceptible with earphones, it's normal?
fed_xD said:
Thanks bro i installed miui version, all excelent good audio quiality but with earphones for test the module, i hear more loud in right ear, and the left ear the sound is low, it's only perceptible with earphones, it's normal?
Click to expand...
Click to collapse
Normally the volume should be the same. One way to easily tell is to export the file to your pc (if it is a windows one) and use this meter during playback.(VLC player or so) http://www.vuplayer.com/other.php
If you play the file it shows the left and right output from the file to the amplifier (end stage) of the pc. Should show about the same values at once.
lukesan said:
Normally the volume should be the same. One way to easily tell is to export the file to your pc (if it is a windows one) and use this meter during playback.(VLC player or so) http://www.vuplayer.com/other.php
If you play the file it shows the left and right output from the file to the amplifier (end stage) of the pc. Should show about the same values at once.
Click to expand...
Click to collapse
i made a test with both mics the inferior and superior (superior is beside IR)
1.-without the module the inferior mic sound is the left ear, and superior mic is the right
2.- with the module installed, ocurs a inversion of mic, the inferior mic is the right ear, and the superior is the left ear
i'm going to faculty, and don't have time to test with vumeter right now bro, sorry
when i back from the faculty i will check with vu meter
edit: the module works fine bro, the quality is better than stock audio
fed_xD said:
i made a test with both mics the inferior and superior (superior is beside IR)
1.-without the module the inferior mic sound is the left ear, and superior mic is the right
2.- with the module installed, ocurs a inversion of mic, the inferior mic is the right ear, and the superior is the left ear
i'm going to faculty, and don't have time to test with vumeter right now bro, sorry
when i back from the faculty i will check with vu meter
edit: the module works fine bro, the quality is better than stock audio
Click to expand...
Click to collapse
The mod changes left and right modules since they are wrong in the roms. Might be that a case is messing up the levels in recordings. Try without I would say.
If not fixed it might be your phone itself. We tried on 3 phones here (mine, rocker00 and Cirra92) and all were good. Quality of left and right mic should be the same ... so if volumes are not equal then you might need to change the DEC1 or DEC2 value, we'll say the correct location where they are if it doesn't work for you.
@lukesan I really wished to have half of your patience! Great explanation man!
@unisol107 I don't think we've that kind of bug on the global version, or maybe i didn't notice it! and if it's really about libs then unfortunately i can't do anything about it, you need a programmer (C++), Thanks for your kind words
@Half Alive It's good to hear that buddy.Enjoy it
@fed_xD NOOOOOOWAAAAAAAY , this part exactly you can ask luksan how much time i spent on fixing it! the top microphone was the main one from Xiaomi's genius engineers..lol!! but i think those bugs are intended..this is how to run the business! i tested this module on MIUI 9.5.19.0 and Masik 2.3 and it's bug free, so again noway especially in this part
Thanks for these fixes.I tried it on miui 9.5.14 and the difference is huge.The video's background noise has significantly reduced which I think Xiaomi should do from the start though.Anyways excellent writeup @lukesan and thanks for the awesome work @rocker00
unisol107 said:
Thanks for this module. But I wonder, why no one has noticed the rubbish quality xiaomi has implemented in the camcorder video recording. Don't know if it's only with the Indian variant or others too.
...
Such a great sensor, crippled by xiaomi's bad software. Can you guys fix it? It will make this already great camera greater. Thanks.
Click to expand...
Click to collapse
Not really audio related and haven't really played with video yet. I was about to ask to put a small clip on Youtube but they compress video so I would not see the issue.
The global version also has different cam modules.
Thinking as I type:
EIS : crops picture and uses sensors to define shakiness. Could cause less sharp images. Try without anti-shake to determine that issue.
Default video bitrate : 20mbit/s. Could be too little for a real time simple encoder. Check with green grass, like a football (soccer) field, and pan the video. If low bitrate grass will be like blocks and not sharp. Solution would be simple and even trying H.265 in Aranova's gcam (developer settings and activate) might fix that. 13.3mbit/s but H.265
Dynamic range. I have a S7 which is worse I think. Taking pictures sometimes clouds not visible in the sky while my whyred (lets call it that way) shows everything. Might be because of the Sony sensor in your devices. Use of Masik rom. which has HDR recording might mask this issue.
The fast AF, yes it can be an issue but I guess it is a compromise for taking pictures fast. People love a fast camera ... mm Masik rom also has object tracking.
@rocker00 I've found how to change the prop from magisk... Just add:
Code:
resetprop ro.vendor.audio.sdk.fluencetype none
in common/post-fs-data.sh and enable it in module.prop with
Code:
POSTFSDATA=true
Attached my modified version of yours module.
This module affects mic for calls? I talked and I have to talk in the top mic hahahaha the other person don't heard when I talk in the inferior mic maybe is my phone? Haha
fed_xD said:
This module affects mic for calls? I talked and I have to talk in the top mic hahahaha the other person don't heard when I talk in the inferior mic maybe is my phone? Haha
Click to expand...
Click to collapse
Just disable module and check if still same happen
fed_xD said:
This module affects mic for calls? I talked and I have to talk in the top mic hahahaha the other person don't heard when I talk in the inferior mic maybe is my phone? Haha
Click to expand...
Click to collapse
I noticed the same too.I'm in miui ROM and the other person has difficulty in hearing my voice.So ,even though this fixes video problem,but it creates another problem
@fed_xD @Subhashis Now I am confused! i don't have that bug!
Please try this one, now mics are the same like before, please report back!
Edit: You are right guys, looks like i didn't test the call in a proper way since i was focus on the camera but i've found a quick fix for this issue , now the mics adjustments are on the path which is being used by camcorder only without touching the calls, tested with 2 calls and camcorder audio quality is the same
Sorry guys but it was really a tough job.
Thread updated.
@scricccettoni Thanks, i will add to the OP and the credit is for you of course but first lets see this weird issue!
rocker00 said:
@scricccettoni Thanks, i will add to the OP and the credit is for you of course but first lets see this weird issue!
Click to expand...
Click to collapse
@fed_xD @Subhashis @Subhashis
Fixed, give rocker00 new files in the openingpost a try.
rocker00 said:
@scricccettoni Thanks, i will add to the OP and the credit is for you of course but first lets see this weird issue!
Click to expand...
Click to collapse
I have my own miui camera v2 port and I've added your fix in it. It's working good on LineageOS. The background noise has a really big difference. In few days I'll back home and so will share the module with also your fix if you are OK with that. I've already put link to this thread in the module and will add also in the post.
Thanks for the share, I'll just suggest you to use a unique name for the module in module.prop (see the one I've posted previously) to avoid problems with other modules.
In your new one you changed only mixer_paths.xml right?
rocker00 said:
@fed_xD @Subhashis
, now the mics adjustments are on the path which is being used by camcorder only without touching the calls, tested with 2 calls and camcorder audio quality is the same
Sorry guys but it was really a tough job..
Click to expand...
Click to collapse
Thanks for the fixes.Now everything is working perfectly.:good:

New head unit install has static noise

I have just installed an Erisen 7591-HA (PX5) into my 2010 Golf Gti and I am getting static and digital processing sounds through my speakers.
If I mute the head unit there is no static or other sounds.
The digital processing noise happens when playing music via usb and Spotify when selecting the next track.
This is my first Android head deck and I am really disappointed.
Sound is going through an Alpine PDX-F6 amp.
I have tried disconnecting the radio plug and removing the head unit from the dash but no change still has static and processing sounds.
Sound issues remain if the engine is off it makes no difference.
Static and digital sounds do not increase with volume, it remains the same no matter what volume it is at unless the head unit is muted.
Good quality RCA and speaker cable was used.
Any help would be greatly appreciated.
I have the same issue with a Belsee unit I installed last week. Do you have a line-level filter in your harness? I have a theory that the line-level filter that's included in mine is unnecessary, as it's coming straight off where the RCA outs would normally be (and those are line level already, right?).
tonyarnold said:
I have the same issue with a Belsee unit I installed last week. Do you have a line-level filter in your harness? I have a theory that the line-level filter that's included in mine is unnecessary, as it's coming straight off where the RCA outs would normally be (and those are line level already, right?).
Click to expand...
Click to collapse
No I do not have a line level filter on mine.
I have tried using an RCA GROUND LOOP ISOLATOR but this done nothing.
Below is a link to the sound I am getting from the head unit, you will see it only makes the sounds when volume is not muted.
https://www.youtube.com/watch?v=0vhT7AavZbg
Same issue on my PX5 KGL unit, not tested with filters or similar...
I read somewhere that the LED color-changing caused interference - and I noticed that you have yours setup that way. Have you tried setting a static color? Also, make sure all of your wiring is clean and try to keep any speaker wires away from any power wires (although that is more applicable to an external app setup).
Can you hear the noise at all while music is actually playing? Obviously, it would be better if it wasn't there are all, but if you can't hear it normally (only hear it when nothing is playing), then I wouldn't sweat it too much. All you can do is make sure that your wiring is clean and maybe try adjusting the LED settings and the "pre-amp" settings under the factory menu (maybe see if reducing the "System" setting under "Voice" helps reduce it). Once you try using things like ground-loop isolaters, etc, then there is a chance that the music fidelity is reduced even more.
jtrosky said:
I read somewhere that the LED color-changing caused interference - and I noticed that you have yours setup that way. Have you tried setting a static color? Also, make sure all of your wiring is clean and try to keep any speaker wires away from any power wires (although that is more applicable to an external app setup).
Can you hear the noise at all while music is actually playing? Obviously, it would be better if it wasn't there are all, but if you can't hear it normally (only hear it when nothing is playing), then I wouldn't sweat it too much. All you can do is make sure that your wiring is clean and maybe try adjusting the LED settings and the "pre-amp" settings under the factory menu (maybe see if reducing the "System" setting under "Voice" helps reduce it). Once you try using things like ground-loop isolaters, etc, then there is a chance that the music fidelity is reduced even more.
Click to expand...
Click to collapse
Yeah have tried all the above and nothing changes.
The sound quality is poor also with higher ranges being really scratchy.
I am sure the unit would be fine if not using a higher end amp and just running the speakers off the head unit, I have read a few posts online and on youtube that the RCA output signal can be really poor with certain brands.
I just sent the unit back today for a full refund and will now be buying a brand name such as Alpine, Pioneer etc etc

Samsung Note 10 or 10 Plus with external mic - Rode VideoMic Me-C & Saramonic SmartMic+ UC + gain controller

Is there any way to controller the gain of external mic in Samsung Note 10 or 10 Plus?
I am using Rode VideoMic Me USB-C Edition and Saramonic SmartMic+ UC. When I record video through Samsung's default camera app or any other camera app, a lot of hissing sound is in the video. The only way to control or reduce the gain is through the pro video mode of Samsung's default camera app. But using pro video mode to get a decent video means doing settings for white balance, focus, etc. everytime and by the time settings are done, moment is already gone.
I tried 3rd party app called Microphone Amplifier and Google Amplifier but there was not effect.
So, is there a way to control or reduce the gain of external mic while recording through Samsung's default camera app (with default mode) or any other camera? If there is any 3rd party app other than mentioned above, then also it's fine.
Thanks in advance.
Hissing, wind noise?
Try a foam sock. Or a mic with gain control.
blackhawk said:
Hissing, wind noise?
Try a foam sock. Or a mic with gain control.
Click to expand...
Click to collapse
No wind noise because both foam and cat hairs are on. But yes, huge hissing sound. Also, recording is too loud. No mic is available which is in small form factor and has gain controller.
Not many options in settings. Try the zoom in mic option. May or may not help.
Maybe there's a 3rd party mic management app on Playstore or the Samsung Galaxy store.
blackhawk said:
Not many options in settings. Try the zoom in mic option. May or may not help.
Maybe there's a 3rd party mic management app on Playstore or the Samsung Galaxy store.
Click to expand...
Click to collapse
Zoom in mic option didn't help. I tried few 3rd party apps (mentioned in initial post) but that too didn't help. That's why I asked about it here, if somebody know about such third party app.

Categories

Resources