Hello
funnel
I tried to understand how to make a script for 2560 x 1440 30fps 25Mbps
using your table :
[res_bitrate_fps_addr.txt]
but to be honest I don't understand really how you set anything ^^
for example I took a look at your 2304 x 1296 30fps 25Mbps :
Code:
#set video resolution to 2304x1296 30fps
writeb 0xC06CE446 0x02
#set bitrate to 25Mb/s
writew 0xC05C1006 0x41C8
I can't find C06CE446 in it, but I did find C05C1006 & 41C8 but at a different line
So could you please try to explain a bit how you set diff resolutions / bitrates so people can make their own script w/o bugging you all the time (or for learning purpose)
I suppose that your write the word 0x41C8 (16840 ?) at the address 0xC05C1006 ?
Following this method would mean you write the byte 0x02 (2 ?) at the address 0xC06CE446.
But I can't find this address in your
[res_bitrate_fps_addr.txt] file on github.
Also does this mean (the 0x02 thing) that this resolution is already registered but locked in the firmware and you just set it to the 2nd listed resolution ?
Is this also why when trying higher resolutions you have to write another line ?
Code:
#change resolution from 2304x1296 30fps to 2560x1440
#0x05A0==1440 0x0A00==2560
writel 0xC05C4674 0x05A00A00
And this would write a long at the address 0xC05C4674 (also not in the
[res_bitrate_fps_addr.txt] file on github) and write the long 0x05A00A00 which as you explained in your file is simply the mash-up of 1440 and 2560 in Hexa.
Also on the forum I found a spreadsheet from Fullgame showing the changes to make for custom bitrate on
a custom firmware.
I followed a tutorial on YouTube (
[This one] ) a made myself a modified firmware.
Is it better not to use both a mod firmware and a script or is there no risk ?
Also is if I also use a script will this not make my changes useless as the script will simply use other modes from the spreadsheet that I didn't modified ?
Also I just tried to use your 1.2.0 (I'm updated to 1.2.6 modded) file for 2304 x 1296 30fps 25Mbps, created a blank file "autoexec.ash"
and wrote this inside :
Code:
#set video resolution to 2304x1296 30fps
writeb 0xC06CE446 0x02
#set bitrate to 25Mb/s
writew 0xC05C1006 0x41C8
But when I started the cam, nothing happened, and when I started the app it said 1920 x 1080, tried to film and the film is in 1920 x 1080.
What have I done wrong ?
A big thanks to you and anyone how can help with all the questions, and sorry if a few a them if not all are a bit stupid