4

I see there are videos on youtube with 1080p resolution that are more than 10 minutes long and only 50-60 mb in size.

I have a video only 3 minutes long and only 720p resolution but unable to bring it down below 90mb in size.

I checked another answer here on reducing size. Tried changing bitrate using ffmpeg -i input.mp4 -b 1000000 output.mp4

also tried ffmpeg -i input.mp4 -vcodec libx265 -crf 20 output.mp4 Tried changing -crf between 18 to 24, used both libx264,265 but it all resulted in nearly same output size, sometimes it even got bigger instead of smaller.

  • Which codec do those very small videos use? support.google.com/youtube/troubleshooter/2888402?hl=en-GB shows HEVC (h.265) is permitted, and it is very efficient at compression. Also, typically, audio is 1/3 of file size; which audio codec with which parameters do those very small files use? – K7AAY Jul 22 '19 at 17:50
  • 1
    @K7AAY I am not sure but these are links to some of the videos youtube.com/watch?v=9A-HLSvtBWc youtube.com/watch?v=KTr8n4Ln3hw – Sanchit Jul 22 '19 at 22:16
  • No YouTube access at work, sorry. However, you can download the videos with https://www.computerhope.com/issues/ch001724.htm then open them with VLC to find the codecs used. AV1 evilmartians.com/chronicles/better-web-video-with-av1-codec is also a new codec which offers even greater compression than HEVC (h.265). – K7AAY Jul 23 '19 at 15:24
  • 1
    Ok I found the issue, those youtube videos were using lower bitrates. After changing bitrate to 1000kb, got it to 50 mb with a slight loss of quality. – Sanchit Jul 25 '19 at 15:09
  • You may turn that into an answer if you wish, by explaining what tool you used to find the bit rates, and how you adjusted the videos to reduce the file size, as well as the result, so others may benefit. This will elevate your standing here, and I have found I get quicker and more meaningful answers to my questions when I earned more points. – K7AAY Jul 25 '19 at 15:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.