Also getting the following logs

Press [q] to stop encoding
[buffer @ 0x91e54b0]Buffering several frames is not supported. Please consume all available frames before adding a new one.
frame= 1 fps= 0 q=4.8 Lsize= 15kB time=1.00 bitrate= 126.4kbits/s its/s
video:15kB audio:0kB global headers:0kB muxing overhead 0.000000%