summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSkiz <skiznet@aol.com>2024-07-29 13:32:02 -0400
committerSkiz <skiznet@aol.com>2024-07-29 13:32:02 -0400
commiteeee5be8616eca214b628e0ae0db64ee62ac84e8 (patch)
tree9401896b5205aa6e1c5707d2e897f808bb8b5ea9
parent801ef0e29714386bfc43230c88b6aba20a7d94c2 (diff)
Added FFmpeg Tips
-rw-r--r--content/articles/ffmpeg-tips.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/content/articles/ffmpeg-tips.md b/content/articles/ffmpeg-tips.md
new file mode 100644
index 0000000..be647b6
--- /dev/null
+++ b/content/articles/ffmpeg-tips.md
@@ -0,0 +1,29 @@
+---
+title: 'FFmpeg Tips'
+date: 2024-07-29T13:22:41-04:00
+draft: false
+tags: ['Tech', 'Linux', 'Guide']
+---
+
+FFmpeg is one of my favorite programs, though it can be quite difficult to learn.
+This page is dedicated to sharing the commands and knowledge I've accumulated over my time of using FFmpeg.
+
+**More will come to this page soon!**
+
+## To record screen.
+
+`ffmpeg -y -f x11grab -s 1920x1080 -i :0.0 test.mkv`
+
+You can also add `-framerate 30` to set a custom frame rate.
+
+## To record mic.
+
+`ffmpeg -f alsa -i default -c:a flac test.flac`
+
+## To record screen and mic.
+
+`ffmpeg -y -f x11grab -s 1920x1080 -i :0.0 -f alsa -i default test.mkv`
+
+The command with codecs:
+
+`ffmpeg -y -f x11grab -s 1920x1080 -i :0.0 -f alsa -i default -c:a flac -c:v libx264 test.mkv`