Hello again,
after a while I again try to create a script, but I cannot make it to work.
I want to create simple 1920x1080 30fps @35mbps script.
After reading a ton of information I'm stuck, have no more ideas.
Actually, I think I know what's wrong, but still I'm stuck because I don't know where to find needed offset.
This is slightly modified YIMAX pro script.
If I'm got it right, I'm missing line which define CBR2 mode bitrate, so min/max bitrate doesn't work.
#YiMAX-PRO script by nutsey for Z26 Yi cams with 1.5.6 firmware.
#
#Make sure 'goprawn.conf' file is also at the root of your memory card.
#
#Check goprawn.com website for the latest updates and discussions.
#
#Set 1080p30 video mode, ABR, 30Mbps, .75 - 1.25 bitrate range:
#
# ***SET REC MODE***
writeb 0xC05C8F7C 0x03
#
#***FHD 1920x1080/30fps/35mbps***
#default resolution [email protected] 16:9
writel 0xC05C9D04 0x04380780
#
#default bitrate 35mbps
writew 0xC05C8F72 0x420C
#
#bitrate min [email protected] 16:9
writel 0xC05C8F74 0x3f400000
#
#bitrate max [email protected] 16:9
writel 0xC05C8F78 0x3fa00000
#
#*****end
#
#cleaning
#check if your media folder is named 100MEDIA
sleep 1
#lu_util exec rm /tmp/fuse_d/DCIM/100MEDIA/*_thm.mp4
#lu_util exec rm /tmp/fuse_d/DCIM/100MEDIA/*.THM
rm \DCIM\100MEDIA\*thm.mp4
rm \DCIM\100MEDIA\*.THM
rm \DCIM\102MEDIA\*thm.mp4
rm \DCIM\102MEDIA\*.THM
#
#Set file size limit to 4GB:
writew 0xC03AB4A0 0x2004
#
sleep 9
#
#HSV, shadow/highlight clipping, gamma, NR adjustments:
t ia2 -adj ev 10 -1 70 -1 -1 150 -1
t ia2 -adj l_expo 163
t ia2 -adj autoknee 255
t ia2 -adj gamma 160
t ia2 -adj tidx -1 0 -1
#
#Set 12 scene mode (change 12 to 9 for low light):
t cal -sc 12
#
#Enable raw+jpeg stills:
t app test debug_dump 14
#
#Ready beep:
t pwm 1 set_level 80
t pwm 1 enable
sleep 1
t pwm 1 disable
#
#Main loop:
while true; do
#Enable AE/AWB/ADJ:
t ia2 -3a 1 1 0 1
sleep 1
#Blink with wifi led:
t gpio 114 sw out0
t gpio 114 sw out1
#Load settings from file:
t cal -ituner load d:\goprawn.conf
done
after a while I again try to create a script, but I cannot make it to work.
I want to create simple 1920x1080 30fps @35mbps script.
After reading a ton of information I'm stuck, have no more ideas.
Actually, I think I know what's wrong, but still I'm stuck because I don't know where to find needed offset.
This is slightly modified YIMAX pro script.
If I'm got it right, I'm missing line which define CBR2 mode bitrate, so min/max bitrate doesn't work.
#YiMAX-PRO script by nutsey for Z26 Yi cams with 1.5.6 firmware.
#
#Make sure 'goprawn.conf' file is also at the root of your memory card.
#
#Check goprawn.com website for the latest updates and discussions.
#
#Set 1080p30 video mode, ABR, 30Mbps, .75 - 1.25 bitrate range:
#
# ***SET REC MODE***
writeb 0xC05C8F7C 0x03
#
#***FHD 1920x1080/30fps/35mbps***
#default resolution [email protected] 16:9
writel 0xC05C9D04 0x04380780
#
#default bitrate 35mbps
writew 0xC05C8F72 0x420C
#
#bitrate min [email protected] 16:9
writel 0xC05C8F74 0x3f400000
#
#bitrate max [email protected] 16:9
writel 0xC05C8F78 0x3fa00000
#
#*****end
#
#cleaning
#check if your media folder is named 100MEDIA
sleep 1
#lu_util exec rm /tmp/fuse_d/DCIM/100MEDIA/*_thm.mp4
#lu_util exec rm /tmp/fuse_d/DCIM/100MEDIA/*.THM
rm \DCIM\100MEDIA\*thm.mp4
rm \DCIM\100MEDIA\*.THM
rm \DCIM\102MEDIA\*thm.mp4
rm \DCIM\102MEDIA\*.THM
#
#Set file size limit to 4GB:
writew 0xC03AB4A0 0x2004
#
sleep 9
#
#HSV, shadow/highlight clipping, gamma, NR adjustments:
t ia2 -adj ev 10 -1 70 -1 -1 150 -1
t ia2 -adj l_expo 163
t ia2 -adj autoknee 255
t ia2 -adj gamma 160
t ia2 -adj tidx -1 0 -1
#
#Set 12 scene mode (change 12 to 9 for low light):
t cal -sc 12
#
#Enable raw+jpeg stills:
t app test debug_dump 14
#
#Ready beep:
t pwm 1 set_level 80
t pwm 1 enable
sleep 1
t pwm 1 disable
#
#Main loop:
while true; do
#Enable AE/AWB/ADJ:
t ia2 -3a 1 1 0 1
sleep 1
#Blink with wifi led:
t gpio 114 sw out0
t gpio 114 sw out1
#Load settings from file:
t cal -ituner load d:\goprawn.conf
done
Comment