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

Animations not working #934

Open
Lopastudio opened this issue Mar 7, 2024 · 10 comments
Open

Animations not working #934

Lopastudio opened this issue Mar 7, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@Lopastudio
Copy link

Hi. I would like to ask about the animations. I enabled them, and they do not work.
After a little examination, it seems that the application does not even create videos (animations). Is it something I am missing?
I would really like for it to make animations from diffrent passes, so I can see how wind blows etc.

Thanks

@OK1SLM
Copy link

OK1SLM commented Mar 11, 2024

The noaa_avi.sh script refers to folders and files that I don't think are used anymore

@Lopastudio
Copy link
Author

Is there any way I can use noaa_avi.sh or reenable it?

@OK1SLM
Copy link

OK1SLM commented Mar 14, 2024

The script itself must be modified

@Lopastudio
Copy link
Author

OK1SLM: Ahoj, ako presnejsie "modifikovany", mohol by si sa na to prosim pozrieť, ak zvýši čas? :)

English friends:
Hi, do you mean "modified", could you please look at it if you have the time for that? Thanks :)

@PhilRepisky
Copy link

check/set 3 things in the configuration:

config/settings.yml

--> noaa_decoder: 'wxtoimg'

(note: default value seen includes list of ALL supported image processors excluding 'avi' which must be explicitly added when opting to 'enable_animation' below )

--> noaa_daytime_enhancements: 'ZA MCIR MCIR-precip MSA MSA-precip HVCT HVCT-precip NO sea therm avi'
--> noaa_nighttime_enhancements: 'ZA MCIR MCIR-precip NO sea therm avi'

fix a broken IF statement:

scripts/recieve_noaa.sh
scripts/receive_meteor.sh
(there is a space missing for the brackets)
--> see line 256 https://github.com/jekhokie/raspberry-noaa-v2/blob/master/scripts/receive_noaa.sh

change it to: if [ $enhancement == "avi" ]; then

personal preference:
update the avi generated to use the MCIR-precip instead of MCIR

scripts/image_processors/noaa_avi.sh

produce the output image

$WXTOIMG -o -M 49 -m "${MAP_OVERLAY}" ${extra_args} -e "MCIR-precip" "${INPUT_WAV}" "${OUTPUT_IMAGE}"

@OK1SLM
Copy link

OK1SLM commented Jun 22, 2024

Great job, but it would still like the video to be automatically deleted after 24 hours

@ShianMull
Copy link

Hi, Just wondering if anyone can point me to where the animation should be called from? I can see RollingAnnimation.avi created in the /tmp folder, but browser Passes Page does not seem to link to the created video. Just need a pointer to tie them together. Many thanks. Ps I’m running the Bookworm 64-bit beta version of RaspiNOAA.

@OK1SLM
Copy link

OK1SLM commented Aug 11, 2024

I have the 32 bit version
/srv/videos

@ShianMull
Copy link

Ah! Thanks, but I can see the videos as created. It’s that the web front end does not seem to be pointing to the latest video when video enabled. I need to know where the website code is located to check where it is expecting to see the video file.

@MihajloPi
Copy link
Collaborator

This is a known issue and proper animation implementation is to be expected.

@MihajloPi MihajloPi added the bug Something isn't working label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants