Giter VIP home page Giter VIP logo

Comments (8)

thomasjacquin avatar thomasjacquin commented on September 6, 2024

I believe there are 2 different issues here:
Host key verification failed happens when it's the first time you're trying to upload to your server. lftp doesn't ask you if you're trusting this server and want to add the key to your known hosts in /home/pi/.ssh
In order to fix it, try to ssh to the server. It will prompt you to add the key:

ssh <you_server_ip_address>

The segmentation fault comes from avconv. It could be a bad image in the stack of images or something else. Hard to say because avconv is not super chatty about the cause of the failure.
You can try running the timelapse command manually and see if it always fails at the same spot.

For what it's worth, this issue happened to me before when I was running the RPi inside my house. I believe avconv was making the cpu run close to 100% and the RPi was overheating. I added a line (21) in allsky.sh which seemed to solve the issue for me.

cpulimit -e avconv -l 50 & \

Try uncommenting it and re-run the timelapse command. It will generate a bit slower but it should complete.
Note that I never had that issue with the RPi outside.

from allsky.

uzelessknowledge avatar uzelessknowledge commented on September 6, 2024

OK I fixed the ftp portion, but nothing I try will build a time-lapse that is usable. I've deleted a bunch of images, but they are all viewable.
All I got for star trails was one image. It was the first clear night and not much of a moon. not complaining. Just anxious to see a full night.

Again last night it failed. I'm creasing the SD and starting over. Something is corrupt.

I ended up copying off the images and made my own time-lapse and star trails. SUPER COOL!

from allsky.

uzelessknowledge avatar uzelessknowledge commented on September 6, 2024

I formatted the SD card. Reloaded everything. Copied over the files from 20180309. Manually ran timelapse.sh. Timelapse, keogram, and star trails were built. Assemble everything and put it outside. Wakeup this morning and have no timelapse. I see a 14986 bus error. Tried to run it manually and have illegal instruction.
./timelapse.sh: line 22: 18341 Illegal instruction avconv -y -f image2 -r 25 -i images/$1/%04d.$EXTENSION -vcodec libx264 -b:v 2000k -pix_fmt yuv420p images/$1/allsky-$1.mp4

Guess I put the PI2 back out.

from allsky.

jcauthen78 avatar jcauthen78 commented on September 6, 2024

I've had my startrails come out as one single frame before (quite often), i've noticed it coming from mostly overcast/cloudy nights.. it seems the nights where its not too cloudy (some clouds here and there), the TL will work, but if it's mostly clouds with breaks to see the stars, it'll return just one image.

I had a friend that lives down the road get random buss errors in the past doing video conversion, he thought it was an overheating problem, so he used heat syncs - it lessened the errors. he swapped out his memory card after that and the errors went away - not saying that's the problem, but could be something worth giving a shot.

from allsky.

uzelessknowledge avatar uzelessknowledge commented on September 6, 2024

Thanks for the input I already have heatsinks in place. I don't have another 64Gb card for the 3, but can try a 16Gb.
The single image does happen more on cloudy nights, but also on a clear night. I changed line 32 in endofnight.sh where the 0.1 was to a 0.2 and it seemed to help some.
I'm rebuilding the SD now for the pi2. I moved to a pi3 because of the speed, but seems to be more problematic.

from allsky.

thomasjacquin avatar thomasjacquin commented on September 6, 2024

You can adjust the brightness threshold in endOfNight.sh line 32. It is set to 0.1. You could increase it to 0.2 if you live in a place with lots of light pollution and re-rerun the startrails command manually.

When the threshold is not reached, the image with the lowest brightness will be used as the result of the command.
As I mentioned earlier, I've had issues with avconv never finishing the job but that was only during a test inside, in summer without heatsinks so I can't tell whether the SD card, the heat or the Pi was the cause of failure.

from allsky.

uzelessknowledge avatar uzelessknowledge commented on September 6, 2024

Thanks Thomas. I've rebuilt it again and will see what happens tonight. I also have he pi2 stood up and ready to go.
I had heat shrinks on the 3, but didn't on the 2. Took the larger one off to see it it will let it breather better. I may pick up another 64gb card.
More to come tomorrow. thanks guys!

from allsky.

uzelessknowledge avatar uzelessknowledge commented on September 6, 2024

Failed again this morning. Pullled it out of the case and inside. Changed it to 1 cpu and it ran fine. 2 cpu and time lapse was built. Removed maxcpus line and it built fine again. Go figure. Don’t think it was too warm since it was in the low 40’s this morning.
Thanks for all your help.

from allsky.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.