you should change your video format to "mpegts" and set "-muxrate" parameter to bitrate that you want . for example
```
ffmpeg -i in.mp4 -f mpegts -muxrate 4000K -y out.mp4
```
also for checking it you can use MediaInfo
[![MediaInfo][1]][1]
or use from VLC
[![enter image description here][2]][2]
[1]: https://i.stack.imgur.com/bqJeP.jpg
[2]: https://i.stack.imgur.com/MinWB.jpg
you should change your video format to "mpegts" and set "-muxrate" parameter to bitrate that you want . for example
```
ffmpeg -i in.mp4 -f mpegts -muxrate 4000K -y out.mp4
```
also for checking it you can use MediaInfo
[![MediaInfo][1]][1]
or use from VLC
[![enter image description here][2]][2]
[1]: https://i.stack.imgur.com/bqJeP.jpg
[2]: https://i.stack.imgur.com/MinWB.jpg