RTSP Tips and tricks. Desktop Viewing, Password Protect, Recording, and more

HI Gang, trying to get the firmware for RTSP - 4.29.4.41 and I copied it to the SD card but didn’t delete the old stuff on there ( crappy directions on the website) So I for matted the card - did it again and rebooted. I still have a dead Pan Cam with no lights on it … Any suggestions ? Do you think it’s bricked ?

Are you using a 32 GB card formatted in FAT32?

Just use TinyCam Pro on an android device. You can run a webserver, view the cameras via any web browser. It’s a great app.

Oh yea? (grin)

I just bought it … but it’s not working with any of my 5 WYZE cams.

How do add them to the TC Pro app? I can see off them just fine in VLC when I open the rtsp stream …

Cheers’
Dave

Hi Gemniii

Got em back - the SD card was bad so now I have 5 out of six happily working with RSTP - thanks !

Now playing with VLC and working well and I just bought TinyCam Pro app to see if I can make it work for live viewing too …

Cheers’
Dave

OMG
YES
YES
YES
YES YES YES YES YES YES YES YES! :heart_eyes:

Well I’m nowhere near as excited as William but I did get it working in TinyCam !! (grin)

Thanks a bunch for the help !

Cheers’
Dave

Yeah seems like a lot of chatter for an amazing solution from the builders themselves

Yes a Desktop APP for MS PC would be great (Windows 10 64 preferably) as I am not keen on any of the ‘emulators’ which are way too large with bloatware and resource hoggers. :grin:
Is there a genius who can create a workable App for MS PC and Apple users.?

Anyway once I have read more here I will attempt RTSP Firmware change and URL generation etc,etc.

Thanks to all the information…great work ‘team’…
Ash from Australia.

Not true. You can revert to the normal firmware by completing the same process using the original firmware from github…easy peasy

I agree you can do this but there are several know issues like night mode, 1080 p issues.
Not the same as factory. I’ll stay with android emulators.

very old thread, but I wanted to share how I use the RTSP firmware in conjunction with FFMPEG and docker to achieve a timelapse.


Docker Compose (CasaOS format)
name: GrowCam
services:
growcam:
cpu_shares: 10
command:
- /bin/bash
- -c
- >
set -e

echo "======================================"

echo "GrowCam Service Starting"

echo "======================================"


echo "Installing FFmpeg..."

apt-get update

apt-get install -y --no-install-recommends ffmpeg ca-certificates


mkdir -p /output/Old



# GIF



(
  while true; do

    echo "======================================"
    echo "Creating GrowCam GIF..."
    echo "======================================"

    rm -f /tmp/growcam-inputs.txt

    find /output \
      -maxdepth 1 \
      -type f \
      -name 'GrowCam_*.jpg' \
      -printf "file '%p'\n" \
      | sort \
      | sed '/^file /a duration 0.20' \
      > /tmp/growcam-inputs.txt

    if test -s /tmp/growcam-inputs.txt; then

      echo "JPG files found."
      echo "Creating timelapse..."
      echo "Frame duration: 200ms"

      # Repeat the final JPG.
      grep "^file " /tmp/growcam-inputs.txt \
        | tail -n 1 \
        >> /tmp/growcam-inputs.txt

      echo "file list:"
      cat /tmp/growcam-inputs.txt

      ffmpeg \
        -y \
        -f concat \
        -safe 0 \
        -i /tmp/growcam-inputs.txt \
        -vf "scale=800:-1:flags=lanczos,split[s0][s1];[s0]palettegen=max_colors=128[p];[s1][p]paletteuse=dither=bayer:bayer_scale=2" \
        -loop 0 \
        /output/GrowCam_timelapse.gif

      echo "======================================"
      echo "GIF created successfully."
      echo "======================================"

    else

      echo "No JPGs found. Skipping GIF."

    fi

    echo "Waiting 5 hours until next GIF..."

    sleep 18000

  done
) &


# HOURLY SNAPSHOT


while true; do

  echo "======================================"
  echo "Taking GrowCam snapshot..."
  echo "======================================"

  ffmpeg \
    -rtsp_transport tcp \
    -probesize 20M \
    -analyzeduration 20M \
    -i "rtsp://user:pass@CAMERA_IP:554/live" \
    -frames:v 1 \
    -an \
    -strftime 1 \
    "/output/GrowCam_%Y-%m-%d_%H-%M-%S.jpg" \
    || echo "WARNING: Snapshot failed."

  echo "Snapshot attempt complete."

  echo "Waiting 1 hour..."

  sleep 3600

done

container_name: GrowCam
deploy:
resources:
limits:
memory: 256M
hostname: GrowCam
image: debian:bookworm-slim
labels:
restart: unless-stopped
volumes:

  • type: bind
    source: /DATA/Gallery/GrowCam/GrowCam1
    target: /output
    ports:
    devices:
    cap_add:
    environment:
    network_mode: bridge
    privileged: false

x-casaos:
author: self
category: self
hostname: ""
index: /
is_uncontrolled: false
port_map: ""
scheme: http
store_app_id: GrowCam
title:
custom: GrowCam
en_us: growcam