YiMAX-PRO script.

Discussion in 'Yi Action Camera' started by nutsey, Jul 7, 2016.

  1. nutsey

    nutsey Active Member

    Messages:
    268
    Likes Received:
    114
    Country:
    Turkey
    No more 'watercolor' look. The real 'flat' picture. Optimized bitrate settings.

    This script provides video footage applicable for post-production needs.
     

    Attached Files:

    Last edited: Jul 12, 2016
    GoranTZ, Kaouthia, sp5it and 3 others like this.
  2. toniepadius

    toniepadius New Member

    Messages:
    1
    Likes Received:
    0
    Country:
    Poland
    Hi Nutsey, thanks for your work!
    What is needed to change YIMAX-PRO script for 1080p60 mode in these lines (using ABR@40Mbps).

    Code:
    #Set 1296p30 video mode, ABR, 40Mbps, .75 - 1.25 bitrate range:
    writeb 0xC06CC426 0x02
    writeb 0xC05C1EAC 0x05
    writew 0xC05C1EB2 0x4220
    writel 0xC05C1EB4 0x3f400000
    writel 0xC05C1EB8 0x3fa00000
    0xC05C1EB2 0x4220 - this sets bitrate to 40Mbps, should be replaced with 0xC05C1EE2 for 1080p60. But what about the rest?
     
  3. nutsey

    nutsey Active Member

    Messages:
    268
    Likes Received:
    114
    Country:
    Turkey
    You can shift other offsets correspondingly.
     
  4. Armdromeda

    Armdromeda New Member

    Messages:
    27
    Likes Received:
    6
    Country:
    Australia
    This is so great. Can't wait to try it out! Thanks so much nutsey.
     
  5. nutsey

    nutsey Active Member

    Messages:
    268
    Likes Received:
    114
    Country:
    Turkey
  6. Tanckom

    Tanckom Active Member

    Messages:
    178
    Likes Received:
    61
    Country:
    Germany
    Are there any sample videos? Didnt had time yet to test it.

    And could you also explain this:

    Code:
    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
    
     
  7. nutsey

    nutsey Active Member

    Messages:
    268
    Likes Received:
    114
    Country:
    Turkey
    No. But you can see the huge difference shown with GIF above (100% crops from video footage).

    My YiMAX-PRO script runs the loop containings the following commands:
    1. Re-enable ae/awb/adj modules disabled after setting are loaded.
    2. 1 sec delay to let the cam update its settings.
    3. Short blink with the WiFi led to indicate the script is on.
    4. Load settings to disable 'watercolor' look. This disables ae/awb/adj modules.
    5. Goto 1 ;)
     
  8. Tanckom

    Tanckom Active Member

    Messages:
    178
    Likes Received:
    61
    Country:
    Germany
    And how did you get those configs which are in
    d:\goprawn.conf?
     
  9. nutsey

    nutsey Active Member

    Messages:
    268
    Likes Received:
    114
    Country:
    Turkey
    Endless hours of trials and errors...
     
  10. Tanckom

    Tanckom Active Member

    Messages:
    178
    Likes Received:
    61
    Country:
    Germany
    But where did you get the source/idea for it?
     
  11. nutsey

    nutsey Active Member

    Messages:
    268
    Likes Received:
    114
    Country:
    Turkey
    I found it by myself as a result of kinda complex research analyzing FW, logs, telnet and so on.
     
    Anton Sundqvist likes this.
  12. Tanckom

    Tanckom Active Member

    Messages:
    178
    Likes Received:
    61
    Country:
    Germany
    Wow! Nice work! I think I'll add it to XIMODE the following week.
     
    Anton Sundqvist likes this.
  13. Tanckom

    Tanckom Active Member

    Messages:
    178
    Likes Received:
    61
    Country:
    Germany
    p.s. I would however maybe remove the wifi led thing (which i'm going to do) :p
     
  14. nutsey

    nutsey Active Member

    Messages:
    268
    Likes Received:
    114
    Country:
    Turkey
    Sure. I'm also working on Yi's h.264 encoder tuning (GOP, deblocking). So, stay tuned! :)
     
    toniepadius, sp5it, Tanckom and 2 others like this.
  15. Falsificator

    Falsificator Well-Known Member

    Messages:
    274
    Likes Received:
    256
    Location:
    Kaliningrad
    Country:
    Russian Federation
    Dash Cam:
    Ambarella A2-5-7-12...
    1. Auto
    2. Script
    3. Script + Config
    1.jpg 2.jpg 3.jpg
     
    Armdromeda and nutsey like this.
  16. nutsey

    nutsey Active Member

    Messages:
    268
    Likes Received:
    114
    Country:
    Turkey
    Falsificator likes this.
  17. Falsificator

    Falsificator Well-Known Member

    Messages:
    274
    Likes Received:
    256
    Location:
    Kaliningrad
    Country:
    Russian Federation
    Dash Cam:
    Ambarella A2-5-7-12...
    Thanx for the idea...)
     
  18. nutsey

    nutsey Active Member

    Messages:
    268
    Likes Received:
    114
    Country:
    Turkey
  19. Falsificator

    Falsificator Well-Known Member

    Messages:
    274
    Likes Received:
    256
    Location:
    Kaliningrad
    Country:
    Russian Federation
    Dash Cam:
    Ambarella A2-5-7-12...
  20. nutsey

    nutsey Active Member

    Messages:
    268
    Likes Received:
    114
    Country:
    Turkey
    One more comparison. Default settings (only bitrate matched) vs YiMAX-PRO script. Key (I) frames captured from original footages and zoomed to 300% using nearest neighbour algo.

    yimax-pro_vs_def.gif
     
    Falsificator likes this.
Loading...

Share This Page