Merge branch 'master' of ssh://git.radiophotonics.ru:2222/awe/radar_frontend

This commit is contained in:
awe
2025-11-21 16:21:17 +03:00
8 changed files with 12 additions and 10 deletions

View File

@ -289,7 +289,7 @@ async def stream_video_from_fifo():
# Start ffmpeg to convert raw H.264 to HLS format
# -probesize 32 -analyzeduration 0: minimal probing for low latency startup
# -f h264: input format is raw H.264 byte-stream (Annex B from GStreamer)
# -r 10: input framerate (from config.ini StreamFps)
# -r 30: input framerate (from config.ini StreamFps)
# -i pipe:0: read from stdin
# -c:v copy: copy video codec without re-encoding (use hardware-encoded H.264)
# -f hls: output HLS format
@ -303,7 +303,7 @@ async def stream_video_from_fifo():
'-probesize', '32',
'-analyzeduration', '0',
'-f', 'h264',
'-r', '10', # Must match GStreamer StreamFps from config.ini
'-r', '30', # Must match GStreamer StreamFps from config.ini
'-i', 'pipe:0',
'-c:v', 'copy',
'-f', 'hls',