ffmpeg can’t change number of B-frames

When streaming from a source I keep receiving frames following the same pattern:
I-frame P-frame I-frame P-frame I-frame P-frame ....
I tried many options and read as many questions here as I found, but I can’t find a way to increse the number of P-frame or at least enable B-frames.

Mainly it seems that I should use:

 ffprobe rtsp://localhost/video -g 30 -bf 3 -show_frames -of csv

What am I doing wrong?

Answer

Attribution
Source : Link , Question Author : user1315621 , Answer Author : Community

Leave a Comment