Last active
September 5, 2024 15:16
-
-
Save lukehedger/277d136f68b028e22bed to your computer and use it in GitHub Desktop.
Compress mp4 using FFMPEG
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4 |
Commands using Linux with ffmpeg to shrinking big MP4 video file to smaller sizes
ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 out.mp4
- 3.6 Gb to 556 Mb, great quality 🥇
ffmpeg -i input.mp4 -s 1280x720 -acodec copy -y output.mp4
- 3.6 Gb to 62 Mb, quality "good enough"/acceptable 👍
ffmpeg -i input.mp4 -vcodec h264 -b:v 1000k -acodec mp3 output.mp4
- 3.6 Gb to 30 Mb, very shitty quality 💩
Thanks for sharing, really helpful!
do these commands work just the same way on windows 10?
Thanks for sharing. I found that StreamFab can help you convert Netflix to MP4, then you can play them on most devices. You can learn more by https://streamfab.com/ .
Great discussion !
By the way if you want some dvd processing tools, theses one are highly recommanded.
https://dvdfab.fr/uhd-copy.htm
https://dvdfab.fr/dvd-copy.htm
Read this article published by KeepStreams very helpful
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe these 2 articles can help you:
https://dvdfab.at/drm-m3u8-downloader/m3u8-to-mp4.htm
https://streamfab.de/mp4-downloader