ludgerh / cam-ai

AI for security cameras
GNU General Public License v3.0
8 stars 4 forks source link

Reduce latency of ffmpeg #26

Closed ludgerh closed 7 months ago

ludgerh commented 8 months ago

https://stackoverflow.com/questions/16658873/how-to-minimize-the-delay-in-a-live-streaming-with-ffmpeg This seems to work nicely: ffplay -fflags nobuffer -flags low_delay "rtmp://192.168.125.56/bcs/channel0_main.bcs?channel=0&stream=1&user=user&password=password"

ludgerh commented 7 months ago

...done with 1.0.10. Reduced latency of ffmpeg from 5 seconds to less then 1 second,