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

Parameter keogram/startrail in script generateForDay.sh #518

Closed
hoetzgit opened this issue Sep 29, 2021 · 4 comments
Closed

Parameter keogram/startrail in script generateForDay.sh #518

hoetzgit opened this issue Sep 29, 2021 · 4 comments

Comments

@hoetzgit
Copy link

hoetzgit commented Sep 29, 2021

Hi, please correct (add) the parameters for the call of keogram and startrail (-d, -e, -o ...)

@ckuethe
Copy link
Collaborator

ckuethe commented Sep 29, 2021

Can you give more details about the problem? Are you sure your installation is up to date, eg. here and here

~/allsky/scripts$ bash ./endOfNight.sh 20210928
endOfNight.sh: Generating Keogram

endOfNight.sh: Generating Startrails

Minimum: 0.109428 maximum: 0.662406 mean: 0.187987 median: 0.150412
endOfNight.sh: Generating Timelapse

timelapse.sh: Creating symlinks to generate timelapse
timelapse.sh: Created 5293 links total
[swscaler @ 0x55b8d9257bc0] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x55b8d9b9ab80] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x55b8d9b98380] deprecated pixel format used, make sure you did set range correctly
    Last message repeated 4 times
timelapse.sh: Deleting sequence
timelapse.sh: Timelapse was created

and while that was running, the following commands were invoked

/home/ckuethe/allsky/keogram -d /home/ckuethe/allsky/images/20210928/ -e jpg -o /home/ckuethe/allsky/images/20210928/keogram/keogram-20210928.jpg
/home/ckuethe/allsky/startrails -d /home/ckuethe/allsky/images/20210928/ -e jpg -b 0.35 -o /home/ckuethe/allsky/images/20210928/startrails/startrails-20210928.jpg
ffmpeg -y -f image2 -loglevel warning -r 25 -i /home/ckuethe/allsky/images/20210928/sequence/%04d.jpg -vcodec h264_nvenc -b:v 2000k -pix_fmt yuv420p -movflags +faststart /home/ckuethe/allsky/images/20210928/allsky-20210928.mp4

This produces the following output:

$ D="20210928" ; ls -lt ~/allsky/images/$D/{keogram,startrails}/* ~/allsky/images/$D/*mp4
-rwxrwxrwx 1 ckuethe 1006 52834165 Sep 29 12:11 /home/ckuethe/allsky/images/20210928/allsky-20210928.mp4
-rwxrwxrwx 1 ckuethe 1006   311326 Sep 29 12:09 /home/ckuethe/allsky/images/20210928/startrails/startrails-20210928.jpg
-rwxrwxrwx 1 ckuethe 1006  1575755 Sep 29 12:07 /home/ckuethe/allsky/images/20210928/keogram/keogram-20210928.jpg

@hoetzgit
Copy link
Author

endOfNight.sh is ok, but generateForDay.sh is without -d, -e, -o ...

@ckuethe
Copy link
Collaborator

ckuethe commented Sep 30, 2021

Ah, I see. Thanks for clarification.

@EricClaeys
Copy link
Collaborator

The "Centralized upload" PR I submitted last night corrects this.

@ckuethe ckuethe closed this as completed in e5bb846 Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants