>>1540145So because you mentioned yt-dlp I assume this is a file you downloaded from somewhere like Youtube or [spoiler:lit]a porn site[/spoiler:lit], sometimes these can still be compressed. Some questions arise here, do you need it to be the same resolution? The same quality? Download ffmpeg (I think you already have it if you're using yt-dlp) and look up some tutorials on how to get smaller files. Here are a couple of suggestions you can try
>this will scale the video to 360p, obviously this is just an example. 360p is perhaps too small for what you want. You can try 480p, 720p etc.ffmpeg -i input_video.mkv -vf scale=-2:360 output.mp4
>The -crf option lets you specify sort of a "quality" of compression > according to https://trac.ffmpeg.org/wiki/Encode/H.264#a1.ChooseaCRFvalue the default value is 23 but varies from 0-51 (51 being the worst quality)>maybe try a value of 26 or 28 and see how big the file comes out and if you're okay with the loss of qualityffmpeg -i input_video.mkv -crf 26 output.mp4
>you can also choose quality by specifying the bitrate (from https://trac.ffmpeg.org/wiki/Limiting%20the%20output%20bitrate)>you will have to do some tests to know what bitrate is the one that gives you acceptable qualityffmpeg -i input_video.mkv -c:v libx264 -b:v 2M output.mp4
Also as a tip, when you're doing tests you might want to only encode a portion of the video instead of waiting 10 minutes for it to encode the whole thing so try to prepend the -i argument like so:
ffmpeg -ss 30 -to 1:30 -i input_video.mkv (the rest of your arguments)
This will encode the video beginning from 00:30 to 1:30. I hope this at least points you in the right direction. Learning ffmpeg is a bitch.