Esato

Forum > Sony Ericsson / Sony > Software, Firmware and Drivers > C905 CamDriver Modded

Previous  123 ... 656667 ... 193194195  Next
Author C905 CamDriver Modded
Luhccas-U1a
Satio Black
Joined: Mar 24, 2008
Posts: > 500
PM, WWW
Posted: 2009-08-21 18:25
Reply with quoteEdit/Delete This PostPrint this post

On 2009-08-21 08:11:48, code28h4p wrote:
luhccas-c905, would you mind to make a mod camdriver for C901? I have gave original camdriver in a thread where u ask for it. Sorry for being out of topic here...i've lost my patient to wait nice mod camdriver for it.

Hi dude,i'm working on it right now ^^!
Waiting for my greenheart from ebay ...
is a lifestyle!
Luhccas-U1a
Satio Black
Joined: Mar 24, 2008
Posts: > 500
PM, WWW
Posted: 2009-08-21 18:28
Reply with quoteEdit/Delete This PostPrint this post
If someone discover where is the code for video buffer c905 can handle up to 3.6mbps without any problem...
And about the bitrate i've tried 24fps and works but the low bitrate kills the quality
is a lifestyle!
eltoffer
C905 Silver
Joined: Nov 01, 2007
Posts: 348
PM
Posted: 2009-08-21 19:38
Reply with quoteEdit/Delete This PostPrint this post
Im working on having both recording options

to lucas: where did you manage the FPS i can handle up the bitrate but i need to know the FPS
Luhccas-U1a
Satio Black
Joined: Mar 24, 2008
Posts: > 500
PM, WWW
Posted: 2009-08-21 19:47
Reply with quoteEdit/Delete This PostPrint this post
@Eltoffer,here:
// Supported sizes
// ===========================================

2a[140,F0,BB8], // VR 320 x 240 YCbCr 30 fps
2b[140,F0,***], // VR 640 x 480
2c[140,F0,***], // VR 640 x 480

And here:

seq_vf_config_2b = // VR
#SET_REG(23,0F) // HS_DRAFT_IMAGE_SIZE 640x480
$cf.07 1 // If menu mode
// do not change max framerate
$cl
06 02 00 24 // Start sending 2 bytes at adress 24
XX // HS_DRAFT_MAX_FRMRATE
XX // HS_DRAFT_MIN_FRMRATE
$f $r3 111 $d0002
$cx
$sf.01 1 // Video HS
$s8 00
;

seq_vf_config_2c = // VR
#SET_REG(23,0F) // HS_DRAFT_IMAGE_SIZE 320x240
$cf.07 1 // If in menu mode
// do not change max framerate
$cl
06 02 00 24 // Start sending 2 bytes at adress 24
XX // HS_DRAFT_MAX_FRMRATE
XX // HS_DRAFT_MIN_FRMRATE
$f $r3 111 $d0002
$cx
$sf.01 1 // Video HS
$s8 00
;
=======================================================================================


On 2009-08-21 19:38:09, eltoffer wrote:
Im working on having both recording options

to lucas: where did you manage the FPS i can handle up the bitrate but i need to know the FPS



Use the night mode for VGA and left the normal mode in QVGA
About the fps:
BB8 = 3000 = 30 fps ,got it?
[ This Message was edited by: luhccas-c905 on 2009-08-21 18:55 ]
is a lifestyle!
eltoffer
C905 Silver
Joined: Nov 01, 2007
Posts: 348
PM
Posted: 2009-08-21 19:54
Reply with quoteEdit/Delete This PostPrint this post
yes i did it but no success did you really get 24 fps?????? i couldnt i can reach 1.5 mbps but at low fps
Luhccas-U1a
Satio Black
Joined: Mar 24, 2008
Posts: > 500
PM, WWW
Posted: 2009-08-21 20:00
Reply with quoteEdit/Delete This PostPrint this post

On 2009-08-21 19:54:09, eltoffer wrote:
yes i did it but no success did you really get 24 fps?????? i couldnt i can reach 1.5 mbps but at low fps


Yes,but the bitrate still in 886kbps
And for sure have repeated frames...
Where do you increase bitrate?
is a lifestyle!
eltoffer
C905 Silver
Joined: Nov 01, 2007
Posts: 348
PM
Posted: 2009-08-22 11:01
Reply with quoteEdit/Delete This PostPrint this post
mmm could you please post a vid at 24 fps???? i cant make it record at that fps :S
Bryan84
C905 Black
Joined: Mar 28, 2007
Posts: 334
PM, WWW
Posted: 2009-08-22 16:09
Reply with quoteEdit/Delete This PostPrint this post
elToffer Camdriver 3.6.1

Both shots are AUTO with FLASH.

3MB


2.8MB

[ This Message was edited by: Bryan84 on 2009-08-22 15:10 ]
My Personal Homepage
http://www.bryanchung.sg
djborek
C905 Black
Joined: Feb 14, 2009
Posts: 14
From: Poland
PM
Posted: 2009-08-22 16:14
Reply with quoteEdit/Delete This PostPrint this post

There is only one minus the driver can not play the recorded file on your phone.
Luhccas-U1a
Satio Black
Joined: Mar 24, 2008
Posts: > 500
PM, WWW
Posted: 2009-08-22 18:11
Reply with quoteEdit/Delete This PostPrint this post
It's frimware limitation... Isn't the driver.
is a lifestyle!
Theliel
C510 Black
Joined: May 18, 2009
Posts: 16
PM, WWW
Posted: 2009-08-23 13:42
Reply with quoteEdit/Delete This PostPrint this post
I want give us a little explication:

I dont want to "criticize", but yours VGA mods are very poor. You can record video to VGA resolution, yes, but in the best case you only obtain 7-12fps, depending scene complexity. You can force to 15fps if you want, and 24 or 30, only need change a pair of numbers, but this change dont mean you obtain this framerate.

For example, the video upload by eltoffer with her 3.61 version. You can analyze the video and you can view that the máximun fps are 11 (it dont bit). Anyone dont trust me, i can post some images.

And this its very simple. The clock of this camera its setting to 13MHz (Master Clock its double, but its used for other things). But a 640*480 resolution for 15fps (for example) need a little more power. A simple example:

C905 camera capture video in YUV422/YUV420. YUV422/YUV420 need read 4bytes per output pixel (if i remember)

CLK 13MHZ similar to said that can read 13.000.000 bytes per second.

QVGA= 320*240 -> 320*240*4 = 307200 -> 13*10^6 / 307200 = 42.3fps max
VGA = 640*480 -> 640*480*4 = bla bla bla = 10.57fps max

Of course this its relative, you can obtain in some times a little more/less.

If you want a pure VGA at 15fps you need:

640*480*4*15 = 18432000 Hz = 18.5MHz aprox, 19MHz

this mean you must overclock the stock 13MHz clk to at least 19MHz. This can be done in camera driver. The problems? Its can be... dangerous. Always its possible a little margin in OC, but nobody know never the max threshold. My be 19MHz can be safe, maybe no

VGA at 15fps = 19MHz -> Must be safe and stable
VGA at 20fps = 24.5 -> 25MHz -> Can be safe and stable
VGA at 25fps = 30.7 -> 31MHz -> The most probable its very dangerous for cam integrity


In other point, this its only the first problems. Exist other: bitrate. If you want obtain a good quality you need a good bitrate (depending of course of codec). C905 take videos in MPGE-4 part 2 (Im sure that SP profile only) and h263 for videoconference only. In both cases, at a target bitrate of 768. With MPEG4 part 2 SP, 768 can be sufficient for 320*480 30fps, but for 640*480 at 15fps you obtain clearly much less quality. For 640*480 at 20 you obtain less. If you want obtain a similar quality at 640*480 at 20fps you need at least about >1.5Mbps.

Looking into camdriver maybe its possible make a mod to take video in pure YUV, so you can obtain a max quality for video recording with a "expensive" memory size

cheers.
[ This Message was edited by: Theliel on 2009-08-23 12:45 ]
mikely_28
Xperia X10 White
Joined: Mar 15, 2009
Posts: 466
From: Poland
PM
Posted: 2009-08-23 20:19
Reply with quoteEdit/Delete This PostPrint this post
Wow! Been on vacation for some time and what a surprise after coming back home!

Eltoffer did U make any changes with Your camdriver besides 640x480 video?
Cheers DM! nice to see U R doing great job again!
mietek190
C905 Black
Joined: May 27, 2009
Posts: 2
From: Poland/USA
PM
Posted: 2009-08-24 02:33
Reply with quoteEdit/Delete This PostPrint this post
In the location of ifs / settings / camera / There are two files camdriver0 and camdriver2 (in the older firmwares, there were three if I remember correctly).
I have a question what's for camdriver2? Has something to do with the video but what exactly?
Bryan84
C905 Black
Joined: Mar 28, 2007
Posts: 334
PM, WWW
Posted: 2009-08-24 05:35
Reply with quoteEdit/Delete This PostPrint this post

On 2009-08-24 02:33:21, mietek190 wrote:
In the location of ifs / settings / camera / There are two files camdriver0 and camdriver2 (in the older firmwares, there were three if I remember correctly).
I have a question what's for camdriver2? Has something to do with the video but what exactly?


Just like you I was puzzled. So itchy fingers of me, I went to delete camdriver2.dat. Ended up when I boot my phone and try to view videos, my phone kept hanging. So I realized it might be cause I deleted it. So true enough I flash my firmware again and this time not removing camdriver2.dat but just overwriting camdriver0.dat and no hang appear when I tried to view videos.
My Personal Homepage
http://www.bryanchung.sg
mikely_28
Xperia X10 White
Joined: Mar 15, 2009
Posts: 466
From: Poland
PM
Posted: 2009-08-24 17:28
Reply with quoteEdit/Delete This PostPrint this post

On 2009-08-24 05:35:22, Bryan84 wrote:

On 2009-08-24 02:33:21, mietek190 wrote:
In the location of ifs / settings / camera / There are two files camdriver0 and camdriver2 (in the older firmwares, there were three if I remember correctly).
I have a question what's for camdriver2? Has something to do with the video but what exactly?


Just like you I was puzzled. So itchy fingers of me, I went to delete camdriver2.dat. Ended up when I boot my phone and try to view videos, my phone kept hanging. So I realized it might be cause I deleted it. So true enough I flash my firmware again and this time not removing camdriver2.dat but just overwriting camdriver0.dat and no hang appear when I tried to view videos.



Propably it's for videocalls.
Access the forum with a mobile phone via esato.mobi
Previous  123 ... 656667 ... 193194195  Next
Goto page:
Lock this Topic Move this Topic Delete this Topic