Video compression is more efficient

Hello everyone, if my video broadcast goes through YouTube and is imported into PeerTube, the size of the video file after transcoding, for example, is 100 M. If I stream through OBS with the same bitrate settings and other things, I get a file 3 times larger. Is it possible to somehow think about the possibility of reducing the video broadcast file in PeerTube?

ffmpeg -version
ffmpeg version 6.0.1 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 12 (Debian 12.2.0-14)

PeerTube 6.2.1

Hi,

Can you paste the link of these two videos so I can compare them?

Now I’ve already replaced it with an optimized one, I’ll make new ones a little later and leave the links here. Thank you

Hello, I ran a series of tests, and I saw that YouTube cuts the bitrate. For example, the video volume is 29 MB, the bitrate is 40, and the Peertube video is 416. It looks like the same, but the quality suffers. Also, the file from YouTube is imported as 720 with a low bitrate, and as a result, the total volume is lower. I also realized that after broadcasting Peertube, the files initially weigh a lot, but after starting forced trascoding, they are significantly less.