How denzel-robin/btp-vsr works
This is a video-streaming research project and evaluation toolkit. Its primary runtime workflow paces a source through FFmpeg H.264/MPEG-TS delivery over localhost, decodes it on the client, optionally reconstructs with NanoVSR or resizes, and presents frames on a timed schedule. Separate research workflows compare quality, bitrate, latency, and client cost on natural video and run offline x4 evaluations. Source excerpts establish the live transport and client path; unsampled analysis stages are included where README capabilities support them, without asserting unverified call chains.
Main entry points: streaming_client.py Stream client · run_streaming_demo.py Demo launcher · streaming_server.py Paced stream server · natural_quality.py Natural-video quality study
Components 18
Live streaming
- Demo launcher
scripts/run_streaming_demo.py - Paced stream server
server/streaming_server.py - FFmpeg encode / mux
- Framed TCP protocol
scripts/streaming_common.py - Stream client
client/streaming_client.py
Client processing
- FFmpeg decode
- NanoVSR reconstruction
client/streaming_client.py - Playback resizing
client/streaming_client.py - Timed playback
client/streaming_client.py
Video evaluation
- Natural-video quality study
scripts/natural_quality.py - Offline x4 evaluation
scripts/evaluate_x4_video.py - Native-720 comparison
scripts/compare_native720.py - Natural-study selection
scripts/select_natural_points.py
Presentation and results
- Playback statistics
scripts/demo_stats.py - Synchronized comparison view
scripts/comparison_view.py - Natural-study summary
scripts/summarize_natural.py
Other components
- Research operator
- Playback viewer
Connections 22
- Research operator → Demo launcher: starts demo
README.md - Demo launcher → Paced stream server: launches
- Demo launcher → Stream client: launches
- Paced stream server → FFmpeg encode / mux: encodes / muxes
server/streaming_server.py - Paced stream server → Framed TCP protocol: frames and sends
server/streaming_server.py - Framed TCP protocol → Stream client: transfers stream
README.md - Stream client → FFmpeg decode: decodes
client/streaming_client.py - Stream client → NanoVSR reconstruction: optionally reconstructs
README.md - Stream client → Playback resizing: optionally resizes
README.md - Stream client → Timed playback: schedules frames
README.md - Stream client → Playback statistics: renders statistics
client/streaming_client.py - Stream client → Synchronized comparison view: renders comparison
client/streaming_client.py - Timed playback → Playback viewer: presents frames
README.md - Research operator → Natural-video quality study: runs study
README.md - Natural-video quality study → Stream client: loads model
scripts/natural_quality.py - Natural-video quality study → Offline x4 evaluation: uses metrics
scripts/natural_quality.py - Research operator → Offline x4 evaluation: runs evaluation
scripts/evaluate_x4_video.py - Research operator → Native-720 comparison: runs comparison
scripts/compare_native720.py - Native-720 comparison → Stream client: loads model
scripts/compare_native720.py - Native-720 comparison → Offline x4 evaluation: uses metrics
scripts/compare_native720.py - Research operator → Natural-study selection: selects study points
README.md - Research operator → Natural-study summary: summarizes study
README.md