If the sender (FFmpeg) and receiver (VLC) are on the same computer, you cannot simulate network congestion because no actual network traffic is used in such setup.
To create a realistic test scenario, you should use two separate computers and the
SoftPerfect Connection Emulator tool for limiting the bandwidth, adding latency, and introducing packet loss.