Skip to content

Latest commit

 

History

History
132 lines (103 loc) · 4.84 KB

File metadata and controls

132 lines (103 loc) · 4.84 KB

Changelog - Luckfox Pico Pro Video System

[2.0.0] - 2024-11-23

🎉 Major Release - Web UI v2.0 & Complete Feature Overhaul

Added - Web Configuration v2.0

  • Modern Dashboard - Real-time status with 6 cards (uptime, memory, storage, datetime, recording, RTSP)
  • Recording Control - Start/Stop/Restart buttons via web UI
  • RTSP Resolution Changer - Switch between 4 presets (2304x1296/1920x1080/1280x720/704x576)
  • Debug Logs Viewer - Real-time system logs with filtering (dmesg)
  • Beautiful UI - Gradient dark blue theme, responsive design, auto-refresh every 5s
  • RESTful API - 4 endpoints: /api/status, /api/control, /api/resolution, /api/logs

Fixed - All 6 Critical Issues

  1. ✅ Recording auto-starts after firmware flash (first-boot init script)
  2. ✅ RTSP status shows correctly (real port 554 detection)
  3. ✅ Debug logs display working (dmesg parsing)
  4. ✅ Recording restart buttons added (3 control buttons)
  5. ✅ Status display redesigned (modern card-based UI)
  6. ✅ RTSP resolution changeable (via web UI + API)

Added - Config Persistence System

  • S00userdata_init - First-boot initialization script
  • rkipc.ini.template - Config template with correct defaults (enable=1)
  • Marker system - /userdata/.initialized_v2 prevents re-init
  • Auto-fix scripts - fix_userdata_persistence.sh, quick_fix.sh

Technical Details

  • Web config v2.0: 588 lines (was 790 in v1.3)
  • Binary size: 38KB (optimized)
  • API response: 15ms (status), 50ms (logs), 2.5s (control), 8s (resolution)
  • Memory: <1MB runtime, <1% CPU idle

Documentation

  • docs/FIRMWARE_V2_FEATURES.md - Complete feature guide
  • docs/API_REFERENCE.md - RESTful API documentation
  • Updated README.md with v2.0 features

[1.4.0] - 2024-11-23 [SUPERSEDED by 2.0.0]

Fixed - Video Recording to H.265 MP4

  • CRITICAL FIX: Changed recording from raw .h264 streams to playable .mp4 containers
  • H.265 Codec: Enabled H.265/HEVC hardware encoding for better compression
  • Storage Location: Configured recording to SD card (/mnt/sdcard/recordings/)
  • Auto-rotation: Enabled automatic file deletion when disk space < 500MB
  • Dual Streams: Recording both main (2304x1296) and sub (704x576) streams

Configuration Changes

  • Updated /userdata/rkipc.ini:
    • [storage] mount_path = /mnt/sdcard (was /userdata)
    • [storage.0] enable = 1 (was 0 - recording disabled)
    • [storage.0] file_format = mp4
    • [storage.0] file_duration = 180 (3 minute segments, was 60s)
    • [storage.0] folder_name = recordings

Build System Updates

  • Added overlay/userdata/rkipc.ini to firmware build
  • Build script now includes working rkipc config in rootfs
  • Auto-deploy of H.265 recording settings on fresh installs

Documentation

  • Added RECORDING_SETUP.md with complete recording configuration guide
  • Includes troubleshooting, manual config changes, and technical details

Verified Working

  • File format: ISO Media MP4 Base Media v1
  • Codec: H.265/HEVC
  • Playback: Compatible with VLC, ffplay, browsers
  • File size: ~22MB per 20 seconds @ 2304x1296 25fps
  • Auto-deletion: Working when free space < 500MB

[1.3.0] - 2025-11-22

Fixed - RTSP Streaming with Native rkipc

  • Switched from custom luckfox_video_stream to Luckfox native rkipc daemon
  • Fixed library loading issues (LD_LIBRARY_PATH=/oem/usr/lib:/oem/lib)
  • RTSP server now working on port 554:
    • Main stream: rtsp://IP:554/live/0 (2304x1296 @ 25fps H.265)
    • Sub stream: rtsp://IP:554/live/1 (704x576 @ 30fps H.265)

Changed

  • Removed custom video framework binary (had no real camera implementation)
  • Updated init script to launch rkipc daemon
  • Build script now only compiles web_config (uses SDK's rkipc)

[1.2.0] - 2025-11-22

Fixed - Web UI JavaScript Errors

  • Fixed syntax errors in web_config.c:
    • Line 417: .then(r => r.json).then(r => r.json())
    • Line 469: .then(r => r.json).then(r => r.json())
  • Web interface now loads correctly at http://IP:8080

Deployment

  • Created scripts/deploy.sh for easy deployment to board
  • Deployed working version to 172.32.0.93
  • Services auto-start on boot via /etc/init.d/S99luckfox_video

[1.1.0] - 2025-11-22

Added

  • Project structure with overlay system
  • Build script with Buildroot PATH cleaning
  • Deployment documentation

Initial Implementation

  • Web configuration server (port 8080)
  • Video streaming placeholder
  • SD card management
  • Auto-start init script

Format

This changelog follows Keep a Changelog format.

Categories:

  • Added: New features
  • Changed: Changes in existing functionality
  • Deprecated: Soon-to-be removed features
  • Removed: Removed features
  • Fixed: Bug fixes
  • Security: Vulnerability fixes