-
Notifications
You must be signed in to change notification settings - Fork 18
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
Port scripts to rootfs #3
Conversation
@nik0 do you understand why currentpic.cgi delivers zero length pages? |
I am not at home at this moment (holidays) will look when I will get back.. |
Maybe I am wrong (I looked on my phone) but I don’t see getimage binary, no ? |
getimage binary is in /usr/bin, it also produces a valid looking jpg. |
I tried to test:
|
Once this PR is merged, this patch should be applied:
Cause many binaries are missing in your rootfs. But instead of uploading to GIT the links to busybox, it's better to let busybox install himself in boot time. |
And another small patch
|
In addition the following directories are missing:
|
Came on, merge this PR and let's work together in the same repository! I'd send PR but they are dependent on the work done by @jmtatsch By the way, this EXT3 rootfs is the correct way to do it. The VFAT/sdcard rootfs method should be removed... So let's make this thing work :) |
…s in action.cgi, add missing directories
@p4u We need to figure out why currentpic.cgi doesn't work. Sadly I am out of ideas. |
It works for me. Just change the getimage path to full path (instead of relative).
I also found that v4lrtspserver log is taking a lot of space (14GB) cause there are many log errors related with the sound driver. I fixed it by disabling the sound (add -A option to /etc/rtspserver.conf) |
@p4u Great news, does the preview image on the website work then? |
@nik0 could you please compile rtspserver-master again with the new location for the motion scripts? |
@benleb does the preview image in the webui work for you? for me it still doesn't :( |
Hi guys! Are you building the rootfs with buildroot? Could you share the configuration files? I think instead of an ext3 partition is better to use jffs2 inside the sdcard. Are uboot and kernel able to do it? |
@anmaped I don't know for certain, but I don't think so. Your ideas and help is welcome . |
webui image and motion detection work for me now |
@jmtatsch It works for me as well. I have a from scratch build of a new toolchain, kernel, and rootfs compilation script. Is there someone interested to test it in different versions of dafang ? It includes opkg and all the wireless tools (iwlist iwconfig etc..). It is able to use dd to flash a partition in the sdcard with the rootfs.ext3 and then to resize it using the resize2fs tool. I think it is better than using git and using another device to flash it. It would be great if we could do some script for modifying the rootfs automatically with these new ports (website, scripts and others). |
@anmaped sounds great, i'd be willing to test. |
Playing sounds and mic audio is still broken for me. |
Do you have any audio logs ? Server, or dmeg ? |
@nik0 sure v4l2rtspserver-master.log:
dmsg:
|
I am not sure if available but did you test something like "audioplay" |
audioplay executable is missing :) |
I will transplant one and report back |
On my tests `/usr/bin/ossplay` works fine. So to not break backwards
compatibility, audioplay can be a link to ossplay.
…On 9/11/18 9:29 AM, jmtatsch wrote:
I will transplant one and report back
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABBo9rAbXGnEsmYNz6Q5P15BiYNlqL9Yks5uZ2ZlgaJpZM4V9oVZ>.
|
Yes you can do that. |
Mic somewhat works with -a parameter, however the image is mostly frozen and the audio stuttering.
|
Did you change the parameters ? Something like 8000 for in |
you mean AUDIOINBR=8000? |
Worst known issues:
[ ] ALSA capture broken in the rtspserver