[Q] camera not working in miui rc5 - Galaxy S I9000 Q&A, Help & Troubleshooting

I am currently on miui rc5 rom. After flashing the rom everything is working fine except for camera application. camera is blank shows nothing. though i am still able to take pictures. someone pls help !!

Guess it could be the old Not reading the FAQs and instructions problem.
*Camera (still choppy) From Page one
*SOME bugs from CM7 (INCLUDING: Battery drain, Camera, TV OUT, no 720p recording, choppy MKV playback, etc.)
jje

JJEgan said:
Guess it could be the old Not reading the FAQs and instructions problem.
*Camera (still choppy) From Page one
*SOME bugs from CM7 (INCLUDING: Battery drain, Camera, TV OUT, no 720p recording, choppy MKV playback, etc.)
jje
Click to expand...
Click to collapse
i read the FAQS before installing, it said camera choppy, i am not getting lines in the camera instead the whole screen is blank nothing visible.

Related

[MOD][CAM] [email protected]@20mbps + auto-focus on CM7

EDIT: [email protected] has been added to nightly and bitrate has been set to 12mbps which is not that bad. Its hence not recommended to flash these anymore. If you want higher bitrate look in the thread for those. I think it was pastime who made them. Alternatively use root explorer to manually edit /etc/mediaprofiles.XML. again, read pastimes and related posts in the thread on that.
This will replace the Camera.apk from CM7 with a more tegra2 friendly version that enables [email protected] recording. There's also included an updated media_profiles.xml file that'll enable different bitrates. Choose wisely . To test the bitrate I recommend having it running for at a minute to make sure everything can keep up. Usually it starts out smooth and then starts stuttering as the ram gets filled up. I also upped the quality for still.
Videos (I'll add experimental stuff as well, such as ultra high bitrates and auto focus):
http://www.youtube.com/user/O2XdevVids
I would stay away with 64mb ram hacks for the time being. Maybe we can find some middle ground in the future .
Anyway, please give me feedback on how it works. Some beautiful videos would be nice. Weather is really depressing here.
Please don't use this for non-tegra 2 devices.
Also, I'm experimenting a lot. Expect a lot to be buggy. I do my best not to put something out that doesn't work, but a couple of runs is really the extend of my testing before it goes up (to be honest). The autofocus-mod is seriously buggy. The bitrate-mod should be pretty much as buggy as the std. cm7 Camera app.
And, of course, thx to all the great ppl who works on cm.
------------------------------------------------------------
Source code (just the 1080p mod):
https://github.com/LeJay/Camera
Versions & Changelog & TODO
--------------Autofocus1.1----------------- (Note this is horribly buggy)
Just adds auto focus (and 25/30fps if you're on nightly), no change to bitrate. Flash this AFTER you do the bitrate mods. Flashing with any of the bitrate mods will replace the Camera app and you'll lose autofocus.
----------------------------------------------
--------------FullHDmod 1.0---------------
->Video:
HD: [email protected]@20mbps
High: [email protected]@12mbps
----------------------------------------------
--------------FullHDmod_high 1.0---------- (works for some, requires fast sd card)
->Video:
HD: [email protected]@26mbps
High: [email protected]@12mbps
----------------------------------------------
--------------FullHDmod_mid 1.0---------- (Recommended)
->Video:
HD: [email protected]@17mbps
High: [email protected]@12mbps
----------------------------------------------
--------------FullHDmod_low 1.0----------
->Video:
HD: [email protected]@14mbps
High: [email protected]@12mbps
----------------------------------------------
--------------FullHDmod_LG 1.0---------- (It's the settings used as stock LG... except for 1080p being 30fps)
->Video:
HD: [email protected]@9mbps
High: [email protected]@4mbps
----------------------------------------------
----------BitrateMod(720p only)---------- (Does not replace Camera.apk. Works for 64mb ram hack, until we find other solution)
->Video:
HD: [email protected]@20mbps
High: [email protected]@10mbps
----------------------------------------------
All audio is 128 kbps and all stills are:
Super fine: 100
Fine: 90
Normal: 80
--------------------------------CHANGELOG----------------------------------------
1.0 Initial release.
---- Small bugfix of CM7s camera app + tegra 2 specific stuff.
1.1-pre-alpha
---- Enables autofocus prior to video capture. Cannot be turned off(I don't do UIs,lol). Need to restart app for each video.
Autofocus 1.1
---- No need to restart app.
Known issues:
Does no longer auto adjust for exposure while recording. In between recordings it will auto adjust again. (I have no idea why).
Cannot disable autofocus (have no idea how to do UI).
Rather buggy, lots of freezes. For best results, don't push it. Ie. don't start and stop recordings rapidly, stuff like that.
Don't switch quickly to video when opening app... I think that might be a cm7 issue.
---------------------------------------TODO----------------------------------------
Touch to focus.
continuous auto-focus.
FAQ
Q: Does this work for non-CM7 ROMS?
A: Probably not. Certainly not froyo. But feel free to try and let me know. On stock rom-based builds, please look at somemadcaaant's awesome work at http://forum.xda-developers.com/showthread.php?t=1090785.
Q: T-Mobile LG G2x support?
A: Yes.
Q: What are the disadvantages?
A: Larger filesize. Takes longer to save (give it time to save before doing anything else with the phone). Potential issues with playback on phone.
Q: Does this work with 64 mb ram hack?
A: No. You can still use a high bitrate 720p mod for that kernel, though.
Q: It stutters after a few secs of recording or freezes once in a while, why is this?
A: Your phone/sdcard is having issues trying to keep up. Try a lower bitrate mod. If there is no lower, ask for one. I'm experimenting a little myself, trying to find a stable bitrate.
Q: If I open the Camera app and very quickly change to video I get a black screen?
A: Don't do that. I get the same bug on std. cm7 Camera app.
Q: Isn't it overkill with an FAQ for a camera mod?
A: Yes. But people kept asking the same questions last time I made a thread.
THX so much I will test it and report.
i would also add "touch to re-focus during video capture"(like in htc's) to the to-do list
Tegra 2 is some impressive hardware.... bitrate goes up crazy high. I'll add some different versions, but do people have any thoughts on what kind of bit rates they'd like to see?
Damn, I think maybe my sdcard cant keep up with the ultra high bit rates I'm testing. Starts stuttering after 10 sec. Maybe someone out there with a class 10 card?
When switching on video mode, i get a black screen and FC afterwards.
ranrick said:
When switching on video mode, i get a black screen and FC afterwards.
Click to expand...
Click to collapse
I purposely made my tweaks so code is first running when you actually start recording... If it's a new problem it's because of the settings file.
Tried restarting the app?
Work great for me on Kang today buid !
gregman26 said:
Work great for me on Kang today buid !
Click to expand...
Click to collapse
Great news.
LeJay said:
I purposely made my tweaks so code is first running when you actually start recording... If it's a new problem it's because of the settings file.
Tried restarting the app?
Click to expand...
Click to collapse
I reinstalled. Thereafter i was able to start it. But Recording doesn't work so far.It starts at 720P but when ending the recodring, I get a FC. 1080p keeps black screen and no FC and no recording. Maybe because of the 64MB RAM hack in the vorkKernal.
Thanks LeJay
But i have a bug.... The video is lagging(I think my Sd Card is Class 2), so i think it is because of the high bitrate. And sometimes after shooting a video the camera just freezes and i have to pull the battery..
LG O2x, Latest Kang, stock kernel.
ranrick said:
I reinstalled. Thereafter i was able to start it. But Recording doesn't work so far.It starts at 720P but when ending the recodring, I get a FC. 1080p keeps black screen and no FC and no recording. Maybe because of the 64MB RAM hack in the vorkKernal.
Click to expand...
Click to collapse
Okay, so it officially doesn't work with the 64 mb ram hack. Not surprising. You can enable high bitrate 720p with some of my other mods.
TattooHtc said:
Thanks LeJay
But i have a bug.... The video is lagging(I think my Sd Card is Class 2), so i think it is because of the high bitrate. And sometimes after shooting a video the camera just freezes and i have to pull the battery..
LG O2x, Latest Kang, stock kernel.
Click to expand...
Click to collapse
Isnt that the case with cm7 nightlies and 1080p recording?
Can someone up a vid?
TattooHtc said:
Thanks LeJay
But i have a bug.... The video is lagging(I think my Sd Card is Class 2), so i think it is because of the high bitrate. And sometimes after shooting a video the camera just freezes and i have to pull the battery..
LG O2x, Latest Kang, stock kernel.
Click to expand...
Click to collapse
Hmm... I just recorded for 1 min straight with no issue. I do get similar issues on som2e of the higher bitrates I've been toying with(40mbps can make most sd cards cry). Does it start lagging as soon as you start recording?
I'm going to make higher and lower bitrate versions.
Works beautifully on the G2x as well. Thanks
@LeJay: you should contact arcee to include your mod in CM tree
TattooHtc said:
Thanks LeJay
But i have a bug.... The video is lagging(I think my Sd Card is Class 2), so i think it is because of the high bitrate. And sometimes after shooting a video the camera just freezes and i have to pull the battery..
LG O2x, Latest Kang, stock kernel.
Click to expand...
Click to collapse
Could you try the low bitrate mod?
Works grat! 40 sec of video went from 18mb to 99mb. Now that we need a fast memory isn't better to use the internal memory?
buch85 said:
@LeJay: you should contact arcee to include your mod in CM tree
Click to expand...
Click to collapse
Agreed.
LeJay, I also think that you should contact Ricardo (arcee) and see if he can merge you changes. He just changed from 1080 to 1088 the other day in the .xml file so we can record 1080p nativly. Kinda wierd that you have to set it to 1088?
The best thing would of course be if he could include all the different modes/profiles for us to freely choose:
"FPS: 15, 25, 30"
"Resolution: 1080p, 720p, ..."
"Bitrate: X, Y, Z"
"Sound: 44 Khz, ..."
etc... because I know my class 2 card can't keep up at the best options. Going to buy me a new one soon though.
Send him a message and see if he's interested. His todo list probably is long though....

[Q] Hardware acceleration with CM9

HI ,
I have installed most Custom roms available - and one thing that annoys me is how the videos play.
Now i am not being picky or choosy about this but did u notice without the hardware acceleration (SW , SW fast mode) the videos have a microsecond delay to load and then to move scrolling is slow.
In fact on MKV and FLV the video takes more time which is not there in ORiginal Firmware
no problme with officiel samsung rom or custom with samsung . but i have lag or no video with cm9 .
For exemple i have lag with multitask sense 4 with us cm9 rom but with official rom no prob no lag ...
For Devs Roms/kernels
what file can I take the official samsung rom?
Thanks in advance for replies ...
I have the same problem on ParanoidAndroid. I noticed that QuickPic's videoplayer (plays only a few codecs) works just fine without any lag or delay. VPlayer on the other hand is rubbish. I can't even play a 20 minute 480p video (150 MB) without some delay.
The best one i've tried is Dice Player which works fine without any lag or delays up to 1080p.
Where can I found code of official firmware for put it on cm9 rom please reply for help

[Q] How to fix video recording in CyanogenMOD

Hello, I have CyanogenMOD nightlies on my 4X. It is totally no problem to fast take great pictures using Camera ZOOM FX, but I can't find some solution for video recording. The Cyanogen camera app is horrible and doesn't work at all. Pictures cannot be taken it freezes itself and video is in horrible quality even if FHD is selected. I tried a lot of stuff from Google Play, but it is not worth doing it. Is there any way to use original LG camera app in CMOD? Thanks alot!
There is a sample video recorded in HD, as you can see it is pretty laggy and sh*t quality.
Add this after youtube link to see video (without quotes) "/watch?v=Z5sHLFwLGBA"
1Respekt said:
Hello, I have CyanogenMOD nightlies on my 4X. It is totally no problem to fast take great pictures using Camera ZOOM FX, but I can't find some solution for video recording. The Cyanogen camera app is horrible and doesn't work at all. Pictures cannot be taken it freezes itself and video is in horrible quality even if FHD is selected. I tried a lot of stuff from Google Play, but it is not worth doing it. Is there any way to use original LG camera app in CMOD? Thanks alot!
There is a sample video recorded in HD, as you can see it is pretty laggy and sh*t quality.
Add this after youtube link to see video (without quotes) "/watch?v=Z5sHLFwLGBA"
Click to expand...
Click to collapse
im running cm10.1 with stock camera/video ,have a look at this see if it helps you. http://forum.xda-developers.com/showthread.php?t=2288917
Thank you guy. You have saved my life. I am wondering why search didin't show this thread.

Full screen video/YouTube quality playback

OK so I've checked around but I couldn't find anyone who has spoken of the problem/observation... It may have been covered off previously but it doesn't seem to spoken about much.
I currently have milaq's cm11 nightly 27th Dec but what I've noticed since JB (evervolv) on my touchpad and now the kitkat nightlies, full screen YouTube videos don't seem to smoothing out/anti aliasing correctly. Playback overall is smooth with no stutters etc, quality is set to HQ/HD and in the non full screen window seems perfectly fine, just when in full screen mode playback seems to be resized a little jaggedy.
I've previously had cm7 and cm9 installed which had no issue with fulscreen youtube playback.
Any ideas? Is this normal with JB/KK?
Thanks guys!
Anyone?
Same here with CM11 of 2014-03-05 (fresh install) and Youtube 5.3.32.
Tried changing ROM DPI, resetting youtube data, uninstall... Nothing changed.
Playback is without antialiasing, no matter the quality (LQ, HQ, HD,...).
Any solution yet?
Hey, latest YouTube version fixed the problem for me
Sent from my XT890

Google photos can't play 4k video longer than a minute

Hi,
When I record a video (with stock camera app) in 4k that is longer than a minute in the photos app it laggs (1-4 fps), the sound is playing normally. When I try to play a 30 sec 4k video it runs smoothly. In other resolution everything is fine.
But, when I play that video in an other app (like Filemanager's built in video player) it is fine.
I deleted app data, and cache, still doesn't work.
I also tried to record a 4k 1 minute long video, wich is about 300MB, then I recorded a 10 minute video in FullHd wich is 1.6 GB, the FullHd video runs smoothly, so I don't think it is a problem with size. What could be the problem?
Same here brother. After i stabilized the video the vudeo become choppy. Or if I see recorded 4k video the video stuck at some piont and show like slidesjow of photos.
For the last 2 days, that is what i am frustratingly suffering. It was not sth existing a few days ago. I was wondering what caused this and saw your post. Appreciate all kinds of recommendations.
If anyone have a solution please let me know, I still have this problem. After June update all of my 4k videos are broken and I can't play them in Google photos.
Are you sure it happens only with videos longer than 1 min? I have the same problem but it's random.
Sometimes videos longer than 1 or 2 minutes play OK, sometimes very short videos lag.
Haven't tried less than 4k, though.
Super annoying - using VLC now.
Thuyamo said:
Hi,
When I record a video (with stock camera app) in 4k that is longer than a minute in the photos app it laggs (1-4 fps), the sound is playing normally. When I try to play a 30 sec 4k video it runs smoothly. In other resolution everything is fine.
But, when I play that video in an other app (like Filemanager's built in video player) it is fine.
I deleted app data, and cache, still doesn't work.
I also tried to record a 4k 1 minute long video, wich is about 300MB, then I recorded a 10 minute video in FullHd wich is 1.6 GB, the FullHd video runs smoothly, so I don't think it is a problem with size. What could be the problem?
Click to expand...
Click to collapse
I am facing the same problem
Hi, so I tried a few things, and it works.
Disable the app. If it asks to replace the app with the factory version click "ok". After that, enable the app, and DON'T update it, even if it asks to.
This worked for me, no problem at all, the 4k works, the slowmotion videos can be played without stopping too.
@Thuyamo so you lost the improved interface, dark mode and all that?
I am just afraid it will cause sync problems or something.
igavuzzo said:
@Thuyamo so you lost the improved interface, dark mode and all that?
I am just afraid it will cause sync problems or something.
Click to expand...
Click to collapse
I'm currently on version 4.11, the newest in play store is 4.19 so it's not that old. For me this downgrade didn't cause any sync problem. Since the screen is so dim I don't want to make it harder to see stuff on my phone outside the house?, so I don't use dark mode at all. But yes, I lost the dark mode feature. The improved interface is there, I didn't lose it.
If you have any questions, please feel free to ask.
I'm on 4.18.0.250747830 version, 1st play of recorded video was playing normally, smooth, but 2nd and so on lagging like hell
@godlesplay
https://www.apkmirror.com/apk/google-inc/photos/photos-4-11-0-236189753-release/
Try the second or the third one, please let me know if it works.
I don't care if it is working or not, to play videos I'm using MX Player Pro.
I created ticket [9-1423000026724] with Google One Support. Let's see how that goes.
Guys, this is a secret so SHHH don't tell anyone.
HTML:
https://play.google.com/store/apps/details?id=org.videolan.vlc
(Because, I mean, who in their right mind uses Google-anything. Just joking, but srsly.)
Ok, here is an update on ticket [9-1423000026724] with Google support.
Long story short, they said Google Photos cannot play 4k videos.
So I said that was not true and sent them screenshots of Photos running on an iPhone and on a Motorola Android phone, including the information pop-up that shows the video resolution.
They replied they did all they could and closed the case.
I am so dissapointed with their service. I did not expect a quick solution, but I thought they would acknowledge the bug.
What do we do now? I think opening more tickets with them is all we can do. Hope you guys can help me on that.

Categories

Resources