yi-hack-MStar icon indicating copy to clipboard operation
yi-hack-MStar copied to clipboard

HighRes Snapshot functionality not working (Dome X y30)

Open thoemmes86 opened this issue 2 years ago • 9 comments

Hi,

I'm currently running 3 Yi Dome X cameras (y30) with this firmware (version 0.4.7). For whatever reason, for 1 of those cameras the Snapshot functionality in HighResolution is not working. Reboot, Firmware reinstall, Reset... are not solving this issue. Configuration is identical with the other 2 cameras.

WORKING: http://IP-ADDRESS:8080/cgi-bin/snapshot.sh?res=low&watermark=yes

NOT WORKING: http://IP-ADDRESS:8080/cgi-bin/snapshot.sh?res=high&watermark=yes No file available.

Has anybody an idea how to solve this?

Thanks.

thoemmes86 avatar Sep 16 '22 09:09 thoemmes86

Try to run the command manually. imggrabber -m y30 -r high -d

roleoroleo avatar Sep 19 '22 12:09 roleoroleo

Following I get as result: /home/yi-hack # imggrabber -m y30 -r high -d debug on Resolution: 1080 VMFE0 vaddr: 0xb47eb000 - paddr: 0x23510000 - size: 368640 copy buffer: len 368640 copy again buffer: len 368640 convert YUV image Segmentation fault

thoemmes86 avatar Sep 19 '22 13:09 thoemmes86

Segfault is not normal... Does high res stream work? Please check the yi firmware revision (with the app or with # cat /home/homever). Both for working cam and not working cam.

roleoroleo avatar Sep 21 '22 12:09 roleoroleo

Now when I explicitly checked: high res stream doesn't work neither.

Not working Cam: 4.0.0.0F_201909251646

Working Cam: 4.0.0.0F_201909251646

thoemmes86 avatar Sep 21 '22 12:09 thoemmes86

Ok, I don't know why but... Run the grabber with stdout redirection and send me the resulting file (both cams):

h264grabber -m y30 -r high > /tmp/sd/cam.h264

Leave the process running for 10 seconds and break with CTRL-C.

roleoroleo avatar Sep 22 '22 12:09 roleoroleo

Attached the links to the files: https://1drv.ms/u/s!AqxFu6uAVIMUgaJeZQ0gyYAQG-2_Vw?e=1VWpZv https://1drv.ms/u/s!AqxFu6uAVIMUgaJfmpEa0x-wbyrqEA?e=hrtNqM

thoemmes86 avatar Sep 23 '22 07:09 thoemmes86

I don't know why but the stream is different. Different SPS, PPS, etc...

Please send me 3-4 copies of the file /dev/fshare_frame_buf Copy it, wait 5 secs, copy it again, wait... I need to check better the stream.

roleoroleo avatar Sep 30 '22 14:09 roleoroleo

Use the yi app to modify the H265 stream to H264 stream, and the high-resolution stream will be ok.

wlcims avatar Aug 11 '23 13:08 wlcims

As I have still the issue, it would be perfect if this could solve it. I tried to find the Setting in the Yi Home app, but I was not able to finde where to change the setting. Can you provide same mir guidance about how to change this setting? Many thanks in advance.

thoemmes86 avatar Aug 11 '23 19:08 thoemmes86

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Apr 01 '24 02:04 github-actions[bot]