Last active
August 14, 2022 11:26
-
-
Save DecentM/3dbddbe8944804132e82880937e1a1c4 to your computer and use it in GitHub Desktop.
Convert videos with FFmpeg to VRChat video player friendly format
This file contains hidden or 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
#!/bin/sh -e | |
ffmpeg -i "$1" -c:v h264 -b:v 5M -maxrate 9M -bufsize 1M -preset veryslow -movflags +faststart -pix_fmt yuv420p -c:a aac -ab 1536k -strict 2 -threads 8 "$2" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment