Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.2.1 (build 4043) - 19 October 2024
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V4 release 4.2.1 (build 4043) - 19 October 2024
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
RTSP and RPi Bookworm
-
- Posts: 218
- Joined: Fri 04 Dec 2020 4:35 pm
- Weather Station: Davis VP2 (Cabled)
- Operating System: RPi 4 (Bookworm)
- Contact:
Re: RTSP and RPi Bookworm
Thank you Simon.
I’ll be sure to post back on my results.
I am tackling the errors/ issues line by line. So the imagemagick convert will come later.
As ever on this forum thanks for sharing your knowledge.
Martyn
I’ll be sure to post back on my results.
I am tackling the errors/ issues line by line. So the imagemagick convert will come later.
As ever on this forum thanks for sharing your knowledge.
Martyn
- ConligWX
- Posts: 1723
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 24.04.1 LTS
- Location: Bangor, NI
- Contact:
Re: RTSP and RPi Bookworm
no problem. some of the text values have pixel values. start and end of lines etc depending on the size of your rtsp image too. it will take time to get it correct. but should be able to help with that once we have a image captured.
Regards Simon
https://www.conligwx.org
vPro2 Plus with DFARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX 4.2.1
https://www.conligwx.org
vPro2 Plus with DFARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX 4.2.1
-
- Posts: 218
- Joined: Fri 04 Dec 2020 4:35 pm
- Weather Station: Davis VP2 (Cabled)
- Operating System: RPi 4 (Bookworm)
- Contact:
Re: RTSP and RPi Bookworm
Hi,
Partial success. I can run the Bash script to generate a snapshot(with a couple of errors, in addition to the code I haven't amended as yet), and save it to my Pictures folder.
The resultant terminal screen opens with all the ffmpeg details first, then shows all the additional steps taken to follow the script.
The error:
Oh and it doesn't seem to like a .jpg extension but works with .jpeg.
I'll plod through amending the rest of your code amending to suit my circumstances later.
Also introduce myself to running a CRON job to automate these updates.
Thanks for helping out.
Martyn
Partial success. I can run the Bash script to generate a snapshot(with a couple of errors, in addition to the code I haven't amended as yet), and save it to my Pictures folder.
The resultant terminal screen opens with all the ffmpeg details first, then shows all the additional steps taken to follow the script.
The error:
Code: Select all
[image2 @ 0x55bcf67630] The specified filename '/home/pi2/Pictures/scene.jpeg' does not contain an image sequence pattern or a pattern is invalid.
[image2 @ 0x55bcf67630] Use a pattern such as %03d for an image sequence or use the -update option (with -frames:v 1 if needed) to write a single image.
I'll plod through amending the rest of your code amending to suit my circumstances later.
Also introduce myself to running a CRON job to automate these updates.
Thanks for helping out.
Martyn
- ConligWX
- Posts: 1723
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 24.04.1 LTS
- Location: Bangor, NI
- Contact:
Re: RTSP and RPi Bookworm
it maybe a difference in ffmpeg versions I guess or compiled modules perhaps. the command line values maybe slightly different.Nottub wrote: ↑Fri 19 Apr 2024 8:59 am
The error:Oh and it doesn't seem to like a .jpg extension but works with .jpeg.Code: Select all
[image2 @ 0x55bcf67630] The specified filename '/home/pi2/Pictures/scene.jpeg' does not contain an image sequence pattern or a pattern is invalid. [image2 @ 0x55bcf67630] Use a pattern such as %03d for an image sequence or use the -update option (with -frames:v 1 if needed) to write a single image.
Thanks for helping out.
Martyn
Regards Simon
https://www.conligwx.org
vPro2 Plus with DFARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX 4.2.1
https://www.conligwx.org
vPro2 Plus with DFARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX 4.2.1
-
- Posts: 218
- Joined: Fri 04 Dec 2020 4:35 pm
- Weather Station: Davis VP2 (Cabled)
- Operating System: RPi 4 (Bookworm)
- Contact:
Re: RTSP and RPi Bookworm
Happy so far SimonConligWX wrote: ↑Fri 19 Apr 2024 9:57 amit maybe a difference in ffmpeg versions I guess or compiled modules perhaps. the command line values maybe slightly different.Nottub wrote: ↑Fri 19 Apr 2024 8:59 am
The error:Oh and it doesn't seem to like a .jpg extension but works with .jpeg.Code: Select all
[image2 @ 0x55bcf67630] The specified filename '/home/pi2/Pictures/scene.jpeg' does not contain an image sequence pattern or a pattern is invalid. [image2 @ 0x55bcf67630] Use a pattern such as %03d for an image sequence or use the -update option (with -frames:v 1 if needed) to write a single image.
Thanks for helping out.
Martyn
I'll be looking at a CRON job next.
Thank you
Martyn
-
- Posts: 218
- Joined: Fri 04 Dec 2020 4:35 pm
- Weather Station: Davis VP2 (Cabled)
- Operating System: RPi 4 (Bookworm)
- Contact:
Re: RTSP and RPi Bookworm
Simon,
Many thanks again.
Martyn
If you’re still willing to send the Timelapse code, I’d love to have a go.you can also use ffmpeg to create a timelapse video is your want to with another script I have.
Many thanks again.
Martyn
-
- Posts: 405
- Joined: Tue 16 Aug 2022 8:01 pm
- Weather Station: Ecowitt 2551
- Operating System: Raspberry Pi5 Debian Bookworm
- Location: Stewarton, East Ayrshire UK
- Contact:
Re: RTSP and RPi Bookworm
I haven't really looked at overlays for a while, but this is really useful - thanks!
Ian.
http://www.StewartonWeather.com
Containerised Cumulus[MX] 4.2.1 (build: 4040) ● CumulusUtils Version 7.1.1● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
http://www.StewartonWeather.com
Containerised Cumulus[MX] 4.2.1 (build: 4040) ● CumulusUtils Version 7.1.1● Ecowitt 2551/WH65/T&HP/WH57/WH45/3x WH51 ● Pi 5 8GB ● Debian Bookworm ● Ubuntu Server Host
- ConligWX
- Posts: 1723
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 24.04.1 LTS
- Location: Bangor, NI
- Contact:
Re: RTSP and RPi Bookworm
just rename the timelapse.txt to timelapse.sh
this is an old script I had many years ago. I dont however use it now but it was working.
You do not have the required permissions to view the files attached to this post.
Regards Simon
https://www.conligwx.org
vPro2 Plus with DFARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX 4.2.1
https://www.conligwx.org
vPro2 Plus with DFARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX 4.2.1
-
- Posts: 218
- Joined: Fri 04 Dec 2020 4:35 pm
- Weather Station: Davis VP2 (Cabled)
- Operating System: RPi 4 (Bookworm)
- Contact:
Re: RTSP and RPi Bookworm
Many thanks Simon, i'll be sure to take a look at this.
BTW I did create a CRONJOB for the webcam capture script you provided and it worked a treat, updating every two minutes.
https://www.calvertoncam.co.uk/weather/overlay
Many thanks
Martyn
- ConligWX
- Posts: 1723
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 24.04.1 LTS
- Location: Bangor, NI
- Contact:
Re: RTSP and RPi Bookworm
nice you, just gotta add it to the cmx template as a page:)
https://www.conligwx.org/webcam.htm
I dont however use the htm cmx template. I prefer Niel's Reworked default website template as its just more appealing.
https://www.conligwx.org/webcam.html
https://www.conligwx.org/webcam.htm
I dont however use the htm cmx template. I prefer Niel's Reworked default website template as its just more appealing.
https://www.conligwx.org/webcam.html
Regards Simon
https://www.conligwx.org
vPro2 Plus with DFARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX 4.2.1
https://www.conligwx.org
vPro2 Plus with DFARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX 4.2.1
- ConligWX
- Posts: 1723
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 24.04.1 LTS
- Location: Bangor, NI
- Contact:
Re: RTSP and RPi Bookworm
Nottub wrote: ↑Fri 19 Apr 2024 8:59 am Hi,
Partial success. I can run the Bash script to generate a snapshot(with a couple of errors, in addition to the code I haven't amended as yet), and save it to my Pictures folder.
The resultant terminal screen opens with all the ffmpeg details first, then shows all the additional steps taken to follow the script.
The error:MartynCode: Select all
[image2 @ 0x55bcf67630] The specified filename '/home/pi2/Pictures/scene.jpeg' does not contain an image sequence pattern or a pattern is invalid. [image2 @ 0x55bcf67630] Use a pattern such as %03d for an image sequence or use the -update option (with -frames:v 1 if needed) to write a single image.
i had a similar issue with mine recently ended up fixing this with "-frames:v 1 -update 1"
Code: Select all
/opt/ffmpeg/ffmpeg -rtsp_transport tcp -i rtsps://192.168.1.22:5678/hYHihPWuoJzS5W0A?enableSrtp -vf scale=2688:1512 -frames:v 1 -update 1 /share/weather/sky1.jpg -y
I also have tried using the new feature of "enhanced" image on my camera, but ffmpeg complains of codec issues with the stream when using h265
chatgpt blames the rtsp stream so not sure if I can use the h265 codec as yet.
Regards Simon
https://www.conligwx.org
vPro2 Plus with DFARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX 4.2.1
https://www.conligwx.org
vPro2 Plus with DFARS • WeatherLink Live • Davis AirLink • PurpleAir • CumulusMX 4.2.1