How timothylee58/video-steganograhy-using-lsb-web-app works
VidStega is a Flask application for hiding password-encrypted messages in video frames and extracting them later. The main workflow submits a video and operation through the web/API layer, runs the shared pipeline synchronously or through Celery, processes frames with video, cryptography, and LSB services, and returns an output video. Capacity estimation, AI-assisted frame selection, batch processing, live progress, and metrics are additional capabilities. The README documents OAuth/JWT, but the supplied tree has no corresponding implementation modules; those are not mapped. Some connections are omitted where excerpts do not establish callers.
Main entry points: tasks.py Task pipelines · routes.py REST routes · video_service.py Video processing · batch_service.py Batch jobs
Components 15
Web interface
- Web UI
templates/index.html - App factory
app/__init__.py - REST routes
app/routes.py - Video files
app/config.py
Job processing
- Redis queue
- Task pipelines
app/tasks.py - Batch jobs
app/services/batch_service.py - Progress events
app/websocket.py
Media and payload
- Video processing
app/services/video_service.py - AES and PBKDF2
app/services/crypto_service.py - LSB and ECC
app/services/steganography_service.py - AI frame analysis
app/services/ai_service.py - Video metadata
app/services/metadata_service.py
Operations
- Pipeline metrics
app/metrics.py
Other components
- User
Connections 18
- User → Web UI: uses
README.md - Web UI → REST routes: submits jobs
- App factory → REST routes: registers routes
app/__init__.py - REST routes → Video files: locates uploads
app/routes.py - REST routes → Task pipelines: dispatches or runs
app/routes.py - Task pipelines → Redis queue: enqueues
README.md - Task pipelines → Video processing: reads and writes
app/tasks.py - Task pipelines → AES and PBKDF2: encrypts and decrypts
app/tasks.py - Task pipelines → LSB and ECC: embeds and extracts
app/tasks.py - Task pipelines → AI frame analysis: analyzes frames
app/tasks.py - Task pipelines → Pipeline metrics: records runs
app/metrics.py - Batch jobs → Video processing: reads and writes
app/services/batch_service.py - Batch jobs → AES and PBKDF2: encrypts payload
app/services/batch_service.py - Batch jobs → LSB and ECC: embeds payload
app/services/batch_service.py - Task pipelines → Progress events: reports progress
- Web UI → Progress events: receives updates
- REST routes → Video processing: estimates capacity
app/routes.py - Video processing → Video metadata: reads metadata