Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build, multiple issues... #23

Open
itssead opened this issue Jan 22, 2025 · 3 comments
Open

Unable to build, multiple issues... #23

itssead opened this issue Jan 22, 2025 · 3 comments
Assignees
Labels
reCamera-OS Label for reCamera-OS UAY Unassigned yet

Comments

@itssead
Copy link

itssead commented Jan 22, 2025

Hello!

  • I was able to connect the cams via USB Ethernet after manually setting the correct subnet on my hosts usb-eth
  • (Problem, as mentioned in open pull) The text length limit of the AP password field may has to be manually modified (fe. WebDev Tools / F12) before you can connect the AP!
  • To enable any kind of cam video I see the only step documented is to connect the 1880 node-red web interface. The Preview Video quality is OK but the streaming quality is laggy not acceptable (tried ffmpeg, mplayer, vlc via wlan and usbether).

The Preview Window quality would be enough for me. And to be honest I at least expected to just use this cam without its fancy object detection features, I currently see no way how...

I find no way to change the resolution or the fps to try fix the quality problems.

After almost a day of work I am still not able to compile the reCamera mostly due to the heavily outdated components like flatbuffers and buildroot.

  1. Error "build middleware failed !!"
    -> I found no fix but to run the setup for a 2nd time (running -j1 may solve this issue but who want to build with only 1core)

  2. Error "error: ‘enable_if_t’ is not a member of ‘std’
    -> "-std=c++0x" seems to be an backward compat flag for vs2010 (file is 6y old). I changed -std to cpp20 to get flatbuffers working
    (replacing flatbuffers with the current version does compile but does not work due to some changed function signatures (Verify*)

  3. Error: "make[1]: *** [Makefile:574: br-rootfs-pack] Error 2"
    -> I was not able to solve this error. yet. I see no rootfs.ext4 generated hmm

--

I tried to compile the following example code with the non successfully build parts of the reCamera OS to see if I find a way to reduce the resolution (1920x is laggy no matter if on WLAN on USB)
https://github.com/Seeed-Studio/sscma-example-sg200x/blob/main/solutions/device/main/main.cpp

Cross compile etc works fine, some missing include for mosquitto.h but finally failed to include libhv-v1.3.3 include files.

@LynnL4
Copy link
Member

LynnL4 commented Jan 23, 2025

Hi,

  • (Problem, as mentioned in open pull) The text length limit of the AP password field may has to be manually modified (fe. WebDev Tools / F12) before you can connect the AP!
    -> We'll fix it in 0.1.5
  • To enable any kind of cam video I see the only step documented is to connect the 1880 node-red web interface. The Preview Video quality is OK but the streaming quality is laggy not acceptable (tried ffmpeg, mplayer, vlc via wlan and usbether).
    -> You mean the quality of RTSP push streams is bad? That doesn't seem to make sense, since on the setup this stream should be of the highest quality.

For compiling recameraOS, what OS are you using. We recommend ubuntu 24.04!

@Lesords Lesords added UAY Unassigned yet reCamera-OS Label for reCamera-OS labels Jan 23, 2025
@itssead
Copy link
Author

itssead commented Jan 23, 2025

thanks for your fast reply!

please give me some time to collected detailed information about the lags

with 'bad quality' I mean that there is about 1 up to 1.5s delay if I move any object in mid range of the camera and if I move a object very close to the camera I see pixel errors and "smearing" and sometimes full freezes of the image or even the network connection at all.

ps. Its kind of hard to debug if you are connected via network terminal and start a RTSP client the remote terminal connection mostly is frozen. I think I need to be connected to the serial port terminal to give you any information about the encoding stats etc infos (f.e. from /sys).

@LynnL4
Copy link
Member

LynnL4 commented Jan 24, 2025

Regarding the delay issue, you may need to disable the cache in VLC to resolve it. As for the freezing issue, it might be caused by data loss. Could you let us know which interface you are using to access the RTSP stream? Is it through eth0, usbnet, or Wi-Fi?

Please also note that we are currently in the Chinese New Year holiday period, so our response to and resolution of issues may be slower than usual. We apologize for any inconvenience this may cause and appreciate your understanding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reCamera-OS Label for reCamera-OS UAY Unassigned yet
Projects
Status: No status
Development

No branches or pull requests

4 participants