I am currently grabbing a live stream video with the following command:
ffmpeg -i https://urlToTheStream/playlist.m3u8 -f image2 -q:v 30 C:\pathToOutputFolder\%01d.bmp
video is running in 24 fps.
I am then live-processing the bmp files with a self written java program. My processing program is a bit faster than the output of ffmpeg. i can see that ffmpeg produces packages of bmp files. Around 25 and then pauses.
Is it possible to tell ffmpeg not to buffer anything and instead just producing "in realtime"?
At first I used jpg format which was clearly slower than bmp. I changed quality to 30 which helped too. But I still have a latency about 0.7 seconds compared watching the stream in the browser. I also tried the no buffering option with no efford.
Thanks for any tips!
edit: code format settings in text