On Sat, May 16, 2020 at 06:02:34PM +0600, Nazmus Sakib wrote: > Hi Marcus. Well noted. > > One more problem I am facing related with Live Streaming and I'll be glad > to have your advise. > > I am using Live Streaming using below commands and view the stream on VLC > Player (Network Stream). > > gphoto2 --set-config viewfinder=1 > gphoto2 --capture-movie --stdout | ffmpeg -re -i pipe:0 -listen 1 -f mjpeg > http://10.10.10.253:8080/feed.mjpg > > But I am experiencing around 3 - 5 sec delay in the Stream View. My WiFi is > stable tough. I tested it using both Canon 6D and Nikon 5100. > > Is there any way to reduce the delay and make the stream as much real-time > as possible?
This is hard to do ... we emit images via stdout as quick as we can, but the buffering over ffmpeg and http will cause delays :/ I found https://stackoverflow.com/questions/16658873/how-to-minimize-the-delay-in-a-live-streaming-with-ffmpeg e.g. ffmpeg flags: -fflags nobuffer would be worth to try. Ciao, Marcus _______________________________________________ Gphoto-devel mailing list Gphoto-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gphoto-devel