Esato Mobile
Sony Ericsson / Sony : Software, Firmware and Drivers : c905 VGA recording hack?
> New Topic
> Reply
< Esato Forum Index > Sony Ericsson / Sony > Software, Firmware and Drivers > c905 VGA recording hack? Bookmark topic
Page <  12

spiid Posts: 91

Aino is something else. I know someone tried to get VGA on W995 sucecfully but got an average of 8 fps per sec.
I am now sure but I dont think it would be any different with C905
--
Posted: 2009-12-09 21:04:57
Edit : Quote

Bialynia Posts: 337

That may be true, but I would like to see how to do it, others have:
http://www.youtube.com/watch?v=Q7u5JU-jbSI

Apparently the mod resulted in 15fps which is acceptable to me. If someone has tried it please let me know how to do it! Especially since it was included in prototype versions and then subsequently taken out.

Here are some other mods which show VGA on the c905:

http://www.youtube.com/watch?v=sEhDS6S94bA
http://www.youtube.com/watch?v=KMh03-5ZtZE&NR=1
http://www.youtube.com/watch?v=5Xot4dBplaQ


--
Posted: 2009-12-09 21:21:24
Edit : Quote

Raiderski Posts: > 500

it's very easy, not much values to change, really. I'm not sure about all values but I can try, however you can ask Eltofer for them
--
Posted: 2009-12-09 22:43:49
Edit : Quote

strizlow800 Posts: > 500

I have been searching the same for K800. Those were the days (camera driver modding).

As far as I know it may seems like possible job, but not sure if you can do it without errors (or if you can do it at all)... You may increase the frames per second of video recording using the same (current) resolution. The phone is capable of recording at VGA imho. Later phones have enough processor power to do it...
--
Posted: 2009-12-09 23:40:01
Edit : Quote

Bialynia Posts: 337

I am waiting for eltoffer to reappear...
--
Posted: 2009-12-11 20:47:51
Edit : Quote

alexlt Posts: > 500

This has been already discuss in the C905 CamDriver Modded thread.

In short, it's possible to record VGA videos with C905 (with max 10-15fps and only record, not playback), but the fixed bitrate makes video looks worst than a QVGA video

A simple search in the forum give me this answer:

http://www.esato.com/board/vi[....]c=178559&start=975#post2778945


--
Posted: 2009-12-11 21:35:26
Edit : Quote

Bialynia Posts: 337

Thanks for finding that Alex!!! I looked through that thread and searched through this forum and unfortunately a "simple search" did not give me the answer, it's hard finding something in threads that are 100's of pages long sometimes.

Here is what Theliel wrote in that thread:
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.

--
Posted: 2009-12-11 23:11:58
Edit : Quote

alexlt Posts: > 500

Well ... yes. Sometimes it's difficult to search for something specific, but the option "search thread" its very helpful

Cheers!
--
Posted: 2009-12-11 23:23:04
Edit : Quote

DivineJakiro Posts: 132

you can change the value of C905 camdriver hex number.


although i never use c905 before...but i check the code before...
you go change the resolution part....don't worry, it just need change two part..
For VGA is easy to make, because the phone already got a free VGA code to you...
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
First, you go find the value of support size:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2a[160,120,BB8] -- this is for CIF
2b[160,120,5DC] -- this is for CIF (night mode)
2c[160,120,2EE] -- this is for CIF (night mode)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2a[280,1E0,BB8] -- this is for VGA
2b[280,1E0,5DC] -- this is for VGA (night mode)
2c[280,1E0,2EE] -- this is for VGA (night mode)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

And you also need to modify the bit of it

Example : CIF

seq_vf_config_2a =
#SET_REG(23,13)
$cf.07 1

$cl
06 02 00 24
3C
3B
$f $r3 111 $d0002
$cx
$sf.01 1
$s8 00
;

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Example : VGA

seq_vf_config_2a =
#SET_REG(23,0F)
$cf.07 1

$cl
06 02 00 24
1F
1E
$f $r3 111 $d0002
$cx
$sf.01 1
$s8 00
;

===================================================================================================

GOOD LUCK
[ This Message was edited by: DivineJakiro on 2010-05-15 13:33 ]

--
Posted: 2010-05-15 13:41:28
Edit : Quote
Page <  12

New Topic   Reply
Forum Index

Esato home