Skip to content

Instantly share code, notes, and snippets.

@greenbagels
Created July 12, 2015 00:17
Show Gist options
  • Save greenbagels/57654ad7b77ec4cd1f06 to your computer and use it in GitHub Desktop.
Save greenbagels/57654ad7b77ec4cd1f06 to your computer and use it in GitHub Desktop.
png2yuv -I p -f 24 -b 1 -n 576 -j frames/%d.png > upscale_1440p.yuv
vpxenc --codec=vp9 --good --cpu-used=1 --end-usage=vbr --passes=2 --auto-alt-ref=1 --lag-in-frames=16 --threads=3 --target-bitrate=15000 -o upscale_1440p.webm upscale_1440p.yuv
ffmpeg -i upscale_1440p.webm -i audio.mp3 -c:v copy -c:a opus -strict -2 upscale_1440p_audio.webm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment