Page 1 of 3 123 LastLast
Results 1 to 15 of 31
  1. #1
    offline Maybe Modder
    Join Date
    Jul 2010
    Posts
    36
    Thanks
    2
    Thanked 8 Times in 5 Posts
    Downloads
    0
    Uploads
    0

    Video Capture on the CLIQ/DEXT

    I have been thinking about this for a while now.
    Can we expect WVGA (800x480) video at 30fps?

    ***Rambling
    Well I've always been intrigued by why most cameras record at 24fps and learnt that it was because that was the speed the old movies were made in (film reel spins displaying 1440 pictures every minute).
    I also learnt that is the minimum speed to observe smooth videos for humans. On average, less than 23 will be choppy, around 24 will be smooth, and ~50fps will be smooth for people with a trained eye (video gamers, jet pilots, astronauts).
    Anything extra frames above 60fps, is usually not registered, so its like it wasn't there (and it doesn't matter since LCD screens have difficulty projecting images that fast).
    After learning these I thought videos should be captured at 30fps, so that its half the maximum*, its a nice round figure and can be converted (delete 1 images from each 6) to 24fps standard.
    And now that iPhone 4, is using this ideology and pushing forward at this standard the other vendors have decided to follow eg Galaxy S.
    And recently we've seen the HTC Droid Incredible and the Nexus One been hacked and pushed to hit 30fps on 720p. That got me thinking, the CLIQ/DEXT has a decent quality 5MP (2584 x 1938) shooter but its horrible at video; HVGA (480x320 or 0.153MP) at 24fps.
    So I thought may be it could be pushed to do WVGA (800x480 or 0.384MP) at 30fps, since that doesn't sound like much to ask for.
    ------

    What I'm asking for is (11520000/3686400) 312% increase or an extra 7,833,600 pixels per second.
    What the Nexus One achieved was a (27648000/9216000) 300% increase or an extra 18,432,000 pixels per second.

    What are your thoughts?

  2. #2
    offline Itty Bitty Modder
    Join Date
    Aug 2010
    Posts
    15
    Thanks
    2
    Thanked 1 Time in 1 Post
    Downloads
    0
    Uploads
    0
    I think you forgot about motion blur when talking about 24 fps vs 60 But in another note, 30 fps @ wvga would be awesome!

  3. #3
    j_r0dd's Avatar
    offline Developer
    Join Date
    Nov 2009
    Location
    FLA
    Posts
    2,182
    Thanks
    570
    Thanked 2,765 Times in 739 Posts
    Downloads
    65
    Uploads
    11
    the n1 was able to do that because it has the same camera as the Desire which stock has 720P recording. if anybody could do it it would be charnsingh_online. if i remember correctly he has a cliq
    Nexus S: CM7.1 Kang w/Voodoo
    Backflip: CM7.1
    Cliq: CM7.1
    Follow me on Twitter
    If you like something I have done & want to buy me a RedBull click HERE

  4. #4
    offline Maybe Modder
    Join Date
    Jul 2010
    Posts
    36
    Thanks
    2
    Thanked 8 Times in 5 Posts
    Downloads
    0
    Uploads
    0
    charnsingh_online , hope he sees this thread.
    I mean judging by the camera's capabilities it should be possible, but the problem is basically the drivers/camera stack that's the issue.
    Perhaps the camera used here is identical to the camera of another Android device that has more capability (looking at you Milestone).

    But yes, someone should look into this if they can because it is a no-brainer.

    In other news, the HTC Droid Incredible can now save video directly into mpeg-4 format.
    It no longer does (phone video capture) mpeg-4 > phone auto-convert (lose quality) to .3gp > "user-PC" convert (lose more quality) to mpeg-4 ....for compatibility with many devices.

    Sorry just noticed the Sony Ericson Xperia X10 runs on Cupcake (like the CLIQ/DEXT), has an 8MP camera and can do recording at WVGA @30fps. So this may be a good candidate to look into. Maybe its the same camera (but just amplified the 5MP to 8MP image = no real pixel gain) or it's totally different but may be useful source for the software stack.
    Sorry this issue is quite dear to my heart, as is the lack of an LED-flashlight which I find handy.
    Last edited by Kangal; 08-10-2010 at 05:18 AM. Reason: link to story

  5. #5
    offline Itty Bitty Modder
    Join Date
    May 2010
    Location
    TEXAS
    Posts
    13
    Thanks
    3
    Thanked 3 Times in 3 Posts
    Downloads
    3
    Uploads
    0
    The Droid2 I believe also has 30fps. I dont recall the resolution though.
    eclair2cliq Beta-Handler'sSquirtleRecovery
    idonthaveatwitter
    andidontknowstuff
    imjustahobbyist.thx

  6. #6
    offline Maybe Modder
    Join Date
    Jan 2010
    Posts
    20
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Downloads
    15
    Uploads
    0
    Quote Originally Posted by runningfugitive3 View Post
    The Droid2 I believe also has 30fps. I dont recall the resolution though.
    Droid 2 has a 5mp camera and i read sumwhere on xda that u can edit the build.prob or the prob.build i cant remember im to lazy to look it up again lol

    Ok i decided to look it up nd its the build.prop that people edited for better camera quality
    Last edited by urmothersluvr; 08-12-2010 at 10:54 PM.

  7. #7
    offline Itty Bitty Modder
    Join Date
    Jul 2010
    Posts
    12
    Thanks
    1
    Thanked 4 Times in 4 Posts
    Downloads
    10
    Uploads
    0

    here is a solution for you

    Remember to read all instruction, btw I wrote this while half asleep. Also remember to back up before trying this and that if your phone kicks the bucket it makes a nice paper weight.



    Guys my modification did not work, I am working on a fix just do not have time. I have determined that the resolution is to great I am going to use a smaller resolution, that is still larger than the default.


    here is a fix for you, not sure if it will work or not but use ADB and pull build.prop


    Code:
    adb remount
    ADB pull /system/build.prop build.prop
    this will put it in the directory in which abd is at, once you have it look for these lines of code in build.prop. (you can open it with a text editor )

    no replace lines 81 through 126 with this code, I have it set so for high quality it does 800x480 @ 30 FPS max but can vary to 1 FPS, and for low quality it will be 352x288 @30FPS max and minimum of 1fps

    Code:
    ro.media.enc.hprof.file.format=3gp
    ro.media.enc.hprof.codec.vid=m4v
    ro.media.enc.hprof.codec.aud=amrnb
    ro.media.enc.hprof.vid.width=800
    ro.media.enc.hprof.vid.height=480
    ro.media.enc.hprof.vid.fps=30
    ro.media.enc.hprof.vid.bps=4000000
    ro.media.enc.hprof.aud.bps=96000
    ro.media.enc.hprof.aud.hz=8000
    ro.media.enc.hprof.aud.ch=1
    ro.media.enc.hprof.duration=60
    ro.media.enc.lprof.file.format=3gp
    ro.media.enc.lprof.codec.vid=h263
    ro.media.enc.lprof.codec.aud=amrnb
    ro.media.enc.lprof.vid.width=352
    ro.media.enc.lprof.vid.height=288
    ro.media.enc.lprof.vid.fps=15
    ro.media.enc.lprof.vid.bps=225000
    ro.media.enc.lprof.aud.bps=12200
    ro.media.enc.lprof.aud.hz=8000
    ro.media.enc.lprof.aud.ch=1
    ro.media.enc.lprof.duration=30
    ro.media.enc.dprof.file.format=3gp
    ro.media.enc.dprof.codec.vid=m4v
    ro.media.enc.dprof.codec.aud=amrnb
    ro.media.enc.dprof.vid.width=800
    ro.media.enc.dprof.vid.height=480
    ro.media.enc.dprof.vid.fps=30
    ro.media.enc.dprof.vid.bps=4000000
    ro.media.enc.dprof.aud.bps=96000
    ro.media.enc.dprof.aud.hz=8000
    ro.media.enc.dprof.aud.ch=1
    ro.media.enc.dprof.duration=60
    ro.media.enc.file.format=3gp,mp4
    ro.media.enc.vid.codec=m4v,h263
    ro.media.enc.aud.codec=amrwb,amrnb
    ro.media.enc.vid.h263.width=352,800
    ro.media.enc.vid.h263.height=288,480
    ro.media.enc.vid.h263.bps=64000,8000000
    ro.media.enc.vid.h263.fps=1,30
    ro.media.enc.vid.m4v.width=352,800
    ro.media.enc.vid.m4v.height=288,480
    ro.media.enc.vid.m4v.bps=64000,8000000
    ro.media.enc.vid.m4v.fps=1,30
    ro.media.enc.aud.amrnb.bps=4750,12200
    ro.media.enc.aud.amrnb.hz=8000,8000
    change 352 to 800

    and 288 to 480

    Now copy your modified build.prop to your sdcard


    Code:
    adb shell
    
    su
    mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
    mv /system/build.prop /system/build.prop.bak
    cd sdcard
    busybox cp -R build.prop /system
    chmod 644 /system/build.prop
    mount -o remount,ro -t yaffs2 /dev/block/mtdblock4 /system
    sync
    reboot
    Enjoy dude, remember to make a back up of your phone just in case

    also for better performance so your phone does not think so hard change the 30 to 24
    Last edited by chagothegreat; 08-22-2010 at 04:15 PM. Reason: My modification to Build.prop did not work

  8. #8
    Saulcho009's Avatar
    offline Maybe Modder
    Join Date
    Feb 2010
    Posts
    39
    Thanks
    6
    Thanked 11 Times in 6 Posts
    Downloads
    1
    Uploads
    0

    Doesn't Work

    I tried this and it didn't work. Does it work for you?
    Phone: T-mobile Cliq US (Winter White)
    Rom: J_r0dd's CliqMod Beta 7 (MotoBlur 2.1)

  9. #9
    alexdagreat1's Avatar
    offline So I Hear You Can Mod
    Join Date
    Dec 2009
    Location
    San Jose/Hesperia
    Posts
    343
    Thanks
    48
    Thanked 37 Times in 33 Posts
    Downloads
    25
    Uploads
    0
    hmm i think ill try it out just to get another opinion to see if it worked...

    didnt work for me i kept getting messages saying that no such directory existed
    Last edited by alexdagreat1; 08-17-2010 at 05:23 PM.

    Cliq: ROOTED
    ROM:Avid Flasher(keep trying new ones)


  10. #10
    offline Itty Bitty Modder
    Join Date
    Jul 2010
    Posts
    12
    Thanks
    1
    Thanked 4 Times in 4 Posts
    Downloads
    10
    Uploads
    0
    hmm well I have not had a chance to try it out, I am going to try it out when I install JIT. I will give you guys an update tonight.


    Ok I tried it out and it seems that the CPU on the Cliq is not strong enough so itreverts back to the old high resolution, so what I am going to do is lower the res to 640x380
    Last edited by chagothegreat; 08-18-2010 at 01:21 PM.

  11. The Following User Says Thank You to chagothegreat For This Useful Post:

    alexdagreat1 (08-17-2010)

  12. #11
    offline So I Hear You Can Mod
    Join Date
    Jun 2010
    Location
    Australia
    Posts
    489
    Thanks
    17
    Thanked 123 Times in 99 Posts
    Downloads
    16
    Uploads
    0
    All those directories do exist on the phone (hmm, my adlx-2 is mounted on mtdblock1,not 4) and I guess it was either a typo or you renamed the build.prop to something that is no longer build.prop when you edited it...
    Anther way is to:
    adb remount
    adb shell
    (if you get an error when adb remount here, then adb shell, rwsystem works for adlx-2 anyway, if not, mount, see the current mounts, and mount -o remount -r -w /dev/block/mtdblock1 /system . Ensure your mtdblock1 matches what you see when you type mount, if it isn't mtdblock1, put the correct on in ).
    cp /system/build.prop /sdcard
    ed /system/build.prop
    1,$s/width=352/width=800/p
    1,$s/height=288/height=480/p
    1,$s/vid.fps=30/vid.fps=24/p
    w
    q

    Then reboot to go back to read only, or type rosystem, or type the long:
    mount -o remount -r /dev/block/mtdblock1 /system (or whatever mtdblock your system is mounted on that you found out earlier by typing mount).

    Regards
    Last edited by tonymy01; 08-20-2010 at 02:29 AM. Reason: fixed 400 typo, is 480.

  13. #12
    alexdagreat1's Avatar
    offline So I Hear You Can Mod
    Join Date
    Dec 2009
    Location
    San Jose/Hesperia
    Posts
    343
    Thanks
    48
    Thanked 37 Times in 33 Posts
    Downloads
    25
    Uploads
    0
    Quote Originally Posted by tonymy01 View Post
    All those directories do exist on the phone (hmm, my adlx-2 is mounted on mtdblock1,not 4) and I guess it was either a typo or you renamed the build.prop to something that is no longer build.prop when you edited it...
    Anther way is to:
    adb remount
    adb shell
    (if you get an error when adb remount here, then adb shell, rwsystem works for adlx-2 anyway, if not, mount, see the current mounts, and mount -o remount -r -w /dev/block/mtdblock1 /system . Ensure your mtdblock1 matches what you see when you type mount, if it isn't mtdblock1, put the correct on in ).
    cp /system/build.prop /sdcard
    ed /system/build.prop
    1,/width=352/width=800/p
    1,/height=288/height=400/p
    1,/vid.fps=30/vid.fps=24/p
    w
    q

    Then reboot to go back to read only, or type rosystem, or type the long:
    mount -o remount -r /dev/block/mtdblock1 /system (or whatever mtdblock your system is mounted on that you found out earlier by typing mount).

    Regards
    did you try this?

    Cliq: ROOTED
    ROM:Avid Flasher(keep trying new ones)


  14. #13
    offline So I Hear You Can Mod
    Join Date
    Jun 2010
    Location
    Australia
    Posts
    489
    Thanks
    17
    Thanked 123 Times in 99 Posts
    Downloads
    16
    Uploads
    0
    Yep, just tried it now ;-) (I did all that before but didn't save the file).
    It does buckleys (I did reboot the phone to check too). The end result is still a cruddy overcompressed 352x288 file, even with the video mode set to so called "high" quality (looks more like the front camera quality of my Nokia N95!). Totally garbage this phone is.

    ok, I had a typo above, it should be 1,$s/height=288/height=480/p

  15. #14
    alexdagreat1's Avatar
    offline So I Hear You Can Mod
    Join Date
    Dec 2009
    Location
    San Jose/Hesperia
    Posts
    343
    Thanks
    48
    Thanked 37 Times in 33 Posts
    Downloads
    25
    Uploads
    0
    didnt work for me it when i input ed /system/build.prop it says applet not found or something like that

    Cliq: ROOTED
    ROM:Avid Flasher(keep trying new ones)


  16. #15
    offline So I Hear You Can Mod
    Join Date
    Jun 2010
    Location
    Australia
    Posts
    489
    Thanks
    17
    Thanked 123 Times in 99 Posts
    Downloads
    16
    Uploads
    0
    The commands worked, just not the result. I thought all roms had ed, that is why i gave those instructions. are you sure you did this from shell, and it is best to copy paste the commmands so there won't be any typos. edit. hmm my ed is in /system/xbin.. and is a link to busybox, which I don't think *all* rooted roms have. I also missed the 'su' command you should type if doing this in the terminal emulator instead of adb (I do this naturally and so forgot to mention).
    Last edited by tonymy01; 08-20-2010 at 07:03 PM.

  17. The Following User Says Thank You to tonymy01 For This Useful Post:

    alexdagreat1 (08-20-2010)

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •