I am streaming a live HLS buffer with ffmpeg and I want to play it back on a Chromecast device with the lowest latency possible.
Best result I have so far is with that command:ffmpeg -y -f x11grab -video_size 1280x720 -i :99 -f alsa -ac 2 -i pulse -fflags nobuffer -vcodec libx264 -r 24 -preset superfast -pix_fmt yuv420p -g 6 -hls_list_size 5 -hls_time 0 -strict -2 video/test.m3u8
The main issue I have is that it seems that my Google cast has a bigger buffer than when I try with VLC with a buffer of size 0, 3 seconds difference. Is there a way to make sure the device uses the smallest buffer size as possible?
I looked at the Cast reference and I haven't found anything yet.