irungentoo / xiaomi_yi_4k_camera Goto Github PK
View Code? Open in Web Editor NEWStuff for the xiaomi yi 4k (and 4k+) cameras.
Stuff for the xiaomi yi 4k (and 4k+) cameras.
Is it possible to make the SD Card fix in the same way as bitrate mode i.e. in autoexec.ash?
Thanks! Keep the good work!
Hello,
I donwloaded the file 'autoexec.ash' saving page as (I'm on windows) ash, and after downloaded it, I copy it in main directory of my YI 4k. But nothing happened. I have no idea about what to do, I don't know if it works properly or not and I'm not able to understand how to do.
What i have to do?
Hi,
Thanks for all your hard work.
Yi have released a new firmware, version 1.4.14
The bitrate hack no longer works.
could you have a look please..
I would love to know how you determined the addresses in the first place ๐
I currently(1.4.23) changed bitrate to 90M/75M/60M, resolution to 4000x2560, 2000x1500 based on my_autoexec.ash(1080p ultra 90p not touched from irungentto version)
It works pretty fine usually. However when switched to 1080p ultra 90p, LCD display sometimes become 4:3 ratio video preview, in this case I start recording and the screen goes black and stucked.
Any idea?
Great to see the new VR stuff.
Sadly I have no success changing the video resolution - is it possible inside the VR firmware?
My current attempt:
writel 0xA05FAA6A 0xA05FAACA
(1.0.179_en-us_firmware_first)
Thank you.
I have a project that makes use of multiple Yi 4K cameras connected to a PC for syncing. However, Windows only allows a single camera to enter U-Disk mode at a time, regardless of being connected to two different usb bus ports. However, this is not the case on Mac OSX, which can connect multiple Yi 4K cameras in U-Disk mode at once. Is there a way to force Windows to allow multiple Yi 4K devices to enter U-Disk mode at once? Thank you!
Just an observation: I was able to get the bitrate hack to work so far on only one card out of three. My SanDisk 64GB SDXC I Class 10 (U1) worked (for 30 seconds before getting the "Slow Card" error).
My PNY 64GB SDXC I Class 10 (U3) and Lexar 16GB SDHC I Class 10 (U1) were both no go's... (I was a bit surprised that the SanDisk U1 worked over the PNY U3, albeit 30 seconds. But I don't think the PNY's are generally well-reviewed, despite that higher speed designation.)
The way I tested was checking the bitrate in GSpot afterwards.
I plan to get a higher end SanDisk U3 card later today. (Anything to hold off that Yi 4K+ purchase. I have more need of higher bitrate 2.7K/60 fps for the medium FOV anyway.)
Hello,
thanks for this project first of all!
I ordered 2 4k+ cameras for stereo vision, unfortunately I cannot in the moment load SD card (firmware 1.0.4 620r), but hopefully will resolve that, if you know about supported sd card for this firmware I would love to hear :-) :
http://forum.xiaoyi.com/forum.php?mod=viewthread&tid=50515&extra=
Main point of my question is if there is available to extract from the images taken and streamed via Wifi timestamp. I would like to use it for synchronization of images from 2 cameras for stereo vision. Thanks for any hints about this. I read articles where Andy S user and others discussed using NTP protocol to sync time and trigger at same time recording.
Well, my approach is little bit different, I will also use NTP to sync hours, but using OpenCV and FFmpeg projects I would like to capture images in parallel from both and sync them in the software. To to this I will need at each image timestamp mark, resolution in miliseconds is just fine for me, of course if we can get better to nanoseconds, could be more accurate ....
Thanks for any comments on this.
Hi There, is is possible to output the live view / stream over the USB out?
thx :)
can you please tell me how i can change 1280x720@240 res to 1280ร800@240 in fw1.3.11?
thank you very much for sharing this!
one question though
can this break the camera in a way that can not be restored by re-applying the firmware update or in some other way?
(probably yes, but, is it likely to happen?)
thanks!
Hi,
First off great work on this hack and many thanks for publicly sharing it. I've got my 4K+ in the mail and looking forward to trying it out.
Now since the 4K+ uses an Ambarella H2 SoC, which is able to do 4K at 120fps I was wondering if it is possible to create such a recording profile?
Hi irungentoo. Really love the work you've done here.
Do you know of a way to have the Yi 4K turn on automatically when power is connected? I notice the light comes on shortly. I have power connected directly to the board and a relay the switches it on. It would be nice if it automatically turned on once receiving power.
Thanks!
please
Hi, thx for your awesome work. i've noticed a new firmware version 1.9.4 is out for the 4K, will it be supported by your mods? TY
Is there any way to interface with the 4K using API commands over Bluetooth instead of wifi? i.e. - connect and communicate over an advertised bluetooth MAC address as opposed to the 192.168.42.1 wifi ip address. As you mentioned, both interface at the Linux level of the camera so you would think it would be possible.
Could it be possible to rar/zip the file so all those line ending would not Vanish? I tied to use notepad++ but couldn't figure out the format to asve it as.
IF you have any videos explaining this please send the link .
On the previous Yi action camera, you could enable startup scripts by placing lu_util exec "command"
in autoexec.ash . However, this does not appear to work anymore. Is there any alternate way to initialize a command on startup (can't alter file system files as the filesystem is read only).
Thanks!
I am attempting to rename files over telnet (Yi 4K) in the /tmp/fuse_d folder (sd card) via the mv command, but it doesn't seem to be possible at all. The entire prompt just hangs, and the system appears to lock up. Does anybody have experience with bypassing this limitation? Is it even possible?
Thanks!
@irungentoo the telnet script is empty.
Thanks a.... LOT for your work and for sharing this!
Unfortunately in PAL the ultra 4k remains on 3840x2160. Could you tell me the proper "writel" line please? I know that it is the same 24p but it would avoid me from swapping pal->ntsc->pal when using other resolutions.
I haven't found a resolution-fps table to work in conjunction with your bitrate table to do it myself..sorry.
As for the stream...I would like to receive a rtsp one, like I did with prevoius yi, to stream on VLC. Would it be possible by using the Live+qr code feature someway? I really would like to share the stream on a wifi network instead of using an ad-hoc YDXxxxxx classic app connection.
Thanks again for your great work!
It and possible to have a mod to make the 480fps in 640x360 and 960fps in 320x180?
Hello,
You you probably now how RTSP-Stream resolution can be changed? (RTSP works on rtsp:\192.168.42.1\live). I can only reach 640x480 or 848x480.
It would be nice to get 1920x1080 or 1280x720.
Very good work although.
Thanks,
Alex
Are these tools in this repo all supported by 4K+ model as well?
I was especially interested in 4K+ genlock sync cable for example (4K+ upgraded micro usb to USB C interface) and the answer from other repo is that genlock is not supported by 4K+:
YITechnology/YIOpenAPI#57
Could someone describe in more detail about the difference, limitation?
Regards,
Ladislav
Audio bitrate adress is not valid. Bitrate is not changing
What is the memory address for enabling 1080 100P mode on 1.5.1? Dy default, the Yi 4k only has 60 and 120 enabled, yet I see 100 here: https://github.com/irungentoo/Xiaomi_Yi_4k_Camera/blob/master/bitrate_table.txt
Thanks!
Please add addresses for PAL resolution
Hi irungentoo,
Thanks a lot for your awesome work regarding the Xiaomi cameras. I've noticed that a new firmware version 1.10.4 is out for the 4K. Unfortunately the bitrate mod is not working anymore. Will it be supported by your mods?
Thanks a lot
Hi,
can you please add address and code for 3840x2880 (proper 4:3) resolution for this and future firmwares so the 4k ultra mode can be modified to this resolution?
so this:
#set 4k ultra to 4000x2700
#NTSC
writel 0xA064DACC 0x0A8C0FA0
writew 0xA064DAD0 0x0403
#PAL
writel 0xA065444C 0x0A8C0FA0
writew 0xA0654450 0x0403
how to make to be this:
#set 4k ultra to 3840x2880
#NTSC
writel ?
writew ?
#PAL
writel ?
writew ?
or can you explain how to do it myself?
Thank you.
You mentioned:
Sharpness: Enables some shitty post processing sharpening filter. Setting it to low seems to disable it.
Should i just bump up the bit rate with bit rate mod for setting low to avoid this?
Hello,
I don't know if I'm doing something wrong.
I open a script in notepad++ with UNIX LF,
Then I copy the script to a new file and save it as a UNIX script type, with the name autoexec.ash into the root of the sd card.
And nothing happens.
The camera seems to simply ignore the scripts.
60s is not an acceptable min interval
How can i activate 50i mod?
0xA063BCEE 1920x1080 50I 16:9
Hi. Any chance You'll add RAW support to latest firmwares? Some instructions i found here but didn't try it.
https://dashcamtalk.com/forum/threads/basic-raw-support-on-firmware-1-4-0.28418/
Thank you so much for all of the information! I hate to be this guy on gh, but... do you know of a way to change the bitrate at which the camera streams?
Hi. was wondering if you will update your tweaks / hacks to support the newly released firmware? Thanks!
Is there any way to turn on the wifi without going through the screen? I am trying to initiate multiple cameras in AP mode completely without having to go through the SD Card. I recall being able to do this through autoexec.ash in the old Yi Action Camera, but that command does not seem to work with the Yi 4K (t app key start_wifi).
Thanks again!
Hi. I'm a newbie of this camera. Can you add the h265 encoding to your fw or it's an hardware limit even if supported by the Ambarella H2
Address table for the latest 1.4.9 please. Thanks!
Also there are no timestamp in 4K 48 and 60 fps with any firmware version. Any ideas why?
Hello!
firmware 1.5.8 beta 2. if use mode #set 4k ultra to 4000x2700 disabled noise reduction. The picture quality is better.
How to turn off noise reduction on other resolutions?
Thank you!
In the framerate mod you managed to increase DSP and processore core speed to 696 and 552 MHz respectively. What are nominal speeds? How to find another hex value for different speed? Thanks!
Great work! It's nice to have all this information stored in one clean place.
Any way we can find where that watermark/shameless plug is stored so we can either change it to a custom one or remove it entirely?
I got a Yi Lite 4k is it possible to enable these settings?
I tried to unpack the firmware but that did work unfortunately.
Can you please help me out?
Regards
Zork
Hello and big thanks for the great work!
I am trying to use a Toshiba EXCERIA M302-EA 128GB with the Yi 4k and suspect the same problem as you had with the Lexar 633x, wrong access frequency.
I would therefore patch mtdblock1 at the corresponding location.
As directly writing to /dev/mtdblock1 over telnet is not working (Operation not permitted) and not permanent, I am interested in how you managed to modify the firmware image.
Did you unpack & repack the firmware? Which tools were you using for achieving this result?
Thanks!
Edit: I think I found the frequency configuration at 0x469E30 in the 1.4 image file.
This may be a tall ask, but do you know the address and write values for changing the max file size across the various firmwares? I am trying to automate camera settings and unfortunately this value can't be set from the system.pref.upload file (or perhaps it can, but I can't find what to write).
Currently I am using firmware 1.7.8 (for other reasons that broke in later firmwares).
Thanks!
Any chance you can upload a copy so we can use this mod? If you can what serial# is it for?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.