a21812d3f6
cuframes-rtsp-source — standalone bridge между RTSP/file и cuframes IPC. Декодирует на CUDA (nvdec), копирует D2D в pre-allocated pool (EXTERNAL ownership), публикует через cuframes. --realtime для pacing файлового ввода, --loop для зацикливания. Альтернатива FFmpeg-фильтра до v0.2 (filter требует patch FFmpeg, конфликтует с Frigate's bundled build). examples/sub_count — reference subscriber на raw C API: counts frames, trackit gaps, выходит clean при disconnect/timeout/SIGINT. test_stress (4 subscribers × 2000 frames @ 120fps) — PASS на RTX 5090. 0 torn frames у всех consumers (включая 2 slow с 5ms sleep). Smoke-проверено: testsrc 25fps → cuframes-rtsp-source → cuframes IPC → sub_count (отдельный процесс) → 200/200 frames, 0 gaps, avg_fps=25.2.
80 lines
839 B
Plaintext
80 lines
839 B
Plaintext
# Build artefacts
|
|
build/
|
|
build-*/
|
|
out/
|
|
*.o
|
|
*.a
|
|
*.so
|
|
*.so.*
|
|
*.dylib
|
|
*.dll
|
|
*.obj
|
|
|
|
# CMake
|
|
CMakeFiles/
|
|
CMakeCache.txt
|
|
cmake_install.cmake
|
|
compile_commands.json
|
|
CTestTestfile.cmake
|
|
install_manifest.txt
|
|
Testing/
|
|
|
|
# IDE
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.DS_Store
|
|
.cache/
|
|
.ccache/
|
|
|
|
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.egg-info/
|
|
.pytest_cache/
|
|
.mypy_cache/
|
|
.ruff_cache/
|
|
.venv/
|
|
venv/
|
|
dist/
|
|
*.whl
|
|
|
|
# Docker
|
|
.dockerignore.local
|
|
|
|
# Local config / secrets
|
|
.env
|
|
.env.local
|
|
local_settings.json
|
|
|
|
# Profiling
|
|
*.prof
|
|
*.svg
|
|
perf.data*
|
|
nsys-rep/
|
|
*.nvprof
|
|
*.qdrep
|
|
|
|
# Test outputs
|
|
test-results/
|
|
coverage/
|
|
*.gcov
|
|
*.gcda
|
|
*.gcno
|
|
|
|
# Build artefacts: FFmpeg source tree (выкачивается build-скриптом)
|
|
third_party/ffmpeg/
|
|
ffmpeg-*/
|
|
ffmpeg-build/
|
|
|
|
# CUDA artefacts
|
|
*.cubin
|
|
*.fatbin
|
|
*.ptx
|
|
|
|
# Spike measurement output
|
|
tools/spike/measurements/
|