ffmpeg -y -probesize 5000000 -f image2 -pattern_type glob -r 30 -i '*.png' -c:v libx264 -profile:v main -g 1 -tune stillimage -crf 9 -bf 0 -pix_fmt yuv420p -s 1920x1080 -r 30 -f flv rtmp:// is what i have always done for h264 encoding o pngf image seq with ffmpeg...