YiMAX-PRO script.

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

  1. moozes

    moozes New Member

    Messages:
    3
    Likes Received:
    3
    Country:
    Finland
    Hi. I've just got my Yi upgraded to 1.5.12 and seems like the 1.5.6 scripts don't work.

    Seems like nobody has written anything about 1.5.12 yet, so here I go.

    What I was able to get from comparing the 1.5.6 and 1.5.12 firmwares was the following on 1.5.12 firmware (Z25L hw rev):

    For 1080p60 40mbit, ABR, 0.75-1.25 range

    writeb 0xC05CBEDC 0x05
    writew 0xC05CBEE2 0x4220
    writel 0xC05CBEB4 0x3f400000
    writel 0xC05CBEB8 0x3fa00000

    seems like the memory addresses have shifted a bit, 1.5.6 ones were
    writeb 0xC05C8EDC 0x05
    writew 0xC05C8EE2 0x4220
    writel 0xC05C8EE4 0x3f400000
    writel 0xC05C8EE8 0x3fa00000

    I'm still wondering that the following line in the yimax script actually does since it's different in the 1080p60 and 1296p30 scripts (in the latter one the data written is 0x02):
    writeb 0xC06D4426 0x03

    anyone care explain what is the purpose of that line in the scripts?

    Also it seems that the 4Gb filesize limit does not work. Will have to try and investigate that a bit further as well.
     
    nutsey likes this.
  2. Andrei Stefan

    Andrei Stefan New Member

    Messages:
    4
    Likes Received:
    0
    Country:
    Romania
    Hi moozes! Thank you for taking time to figure out the 1.5.12 firmware. I have a yi z23L with this firmware and I just want to increase the bitrate to 35 mbs so grass and foliage will not get so compressed. Could you help me with scripts for 1080p 30fps, 24 and 60 with 35 mbs birate (everything else same as stock)?
     
  3. moozes

    moozes New Member

    Messages:
    3
    Likes Received:
    3
    Country:
    Finland
    Hello Andrei!

    What I posted was for 1.5.12 1080p60 video mode albeit 40mbit/s. If you just want to get the bitrate amped up to 35mbit and everything else stock then the below should work for 1080p60 (35mbit -> 0x420C instead of 0x4220 for 40mbit).

    #1080p60 35mbit ABR
    writeb 0xC05CBEDC 0x05
    writew 0xC05CBEE2 0x420C
    writel 0xC05CBEB4 0x3f400000
    writel 0xC05CBEB8 0x3fa00000

    Also this works for 1296p30 35mbit bitrate:
    #1296p30 35mbit ABR
    writeb 0xC05CBEAC 0x05
    writew 0xC05CBEB2 0x420c
    writel 0xC05CBEB4 0x3f400000
    writel 0xC05CBEB8 0x3fa00000

    If somebody has the offsets for 1080p30 and 24 from fw 1.5.6 i think I could get the rest figured out for you by comparing the 1.5.12 and 1.5.6 firmwares.
     
    Andrei Stefan and nutsey like this.
  4. Andrei Stefan

    Andrei Stefan New Member

    Messages:
    4
    Likes Received:
    0
    Country:
    Romania
    Hi moozes!
    Thank you for your time in writing this but unfortunatly it does not work. I managed to safely downgrade to 1.2.10 and now I use the YIMAX Movie script and WOW!!! what a difference it makes in both video and photo. The raw files are just great for photos, I atached here some samples. I just wish that somehow the YMAX Pro script and YIMAX Movie script will someday be available to the 1.5.12 firmware.

    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
     
  5. nutsey

    nutsey Active Member

    Messages:
    278
    Likes Received:
    115
    Country:
    Turkey
    This job can't be done by itself...
     
  6. Andrei Stefan

    Andrei Stefan New Member

    Messages:
    4
    Likes Received:
    0
    Country:
    Romania
    Hi nutsey,
    Yes, of course, please don't get upset. I apologize if I upset you. I want to thank you for transforming our little cameras into something great. Your work is greatly appreciated. Unfortunately I don't have the necessary skills to help figure it out how to port them but what I did was get in touch with the YI cam support and tried to convince them to make raw support and higher bitrates officially suported. I don't know if I will succede but I read somewhere that they plan to release an open API for developers so hope is not lost.
     
  7. moozes

    moozes New Member

    Messages:
    3
    Likes Received:
    3
    Country:
    Finland
    Hello. Unfortunate to hear that this did not work for you.

    I know for a fact that it works on my cam (1.5.12 hw Z25L) which makes me wonder if there is something different after all in fw 1.5.12 for Z23 and Z25 hw versions. My understanding was that the FW should be the same for both hw revisions.

    One thing I noticed regarding the autoexec.ash file that there has to be an empty line in the end of the file. If you omitted that from the autoexec.ash that might be the reason it did not work. Also the file encoding has to be "Unix" instead of "Windows" which affects the line endings. If you just did create a file with notepad that will not work as well, since the encoding is wrong.

    Could you try with copying the files found from the attached zip. That's what I'm running on my cam currently which affects both 1080p60 and 1296p30 video modes (40mbit ABR etc.) It has the ready beep and the wifi led blinking as in the original yimax-pro scripts so one can see if the code is running in the first place. Once again, this is working on hw z25L camera with 1.5.12 fw installed.
     

    Attached Files:

    Last edited: Sep 19, 2017 at 9:00 AM
Loading...

Share This Page