Created
March 24, 2012 15:41
-
-
Save dalpil/2184432 to your computer and use it in GitHub Desktop.
Ffmpeg screencasting
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
# Inspelning | |
ffmpeg -f alsa -ac 2 -i hw:0,0 -f x11grab -r 30 -s 800x600 -i :0.0+0,15 -vcodec libx264 -vpre lossless_ultrafast -threads 0 output.mkv | |
# aac + h264 + mp4 | |
ffmpeg -i output.mkv -acodec libfaac -ab 96k -ac 1 -vcodec libx264 -vpre hq -crf 22 -threads 0 our-final-product.mp4 | |
# vorbis + h264 + mkv | |
ffmpeg -i output.mkv -acodec libvorbis -ab 96k -ac 1 -vcodec libx264 -vpre hq -crf 22 -threads 0 our-final-product.mkv | |
# 2 Pass h264 + matroska | |
ffmpeg -i output.mkv -vcodec libx264 -vpre max -pass 1 output-h264.mkv | |
ffmpeg -i output.mkv -vcodec libx264 -vpre max -pass 2 -y output-h264.mkv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment