diff options
author | Sacha Chua <sacha@sachachua.com> | 2021-11-21 10:22:48 -0500 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2021-11-21 10:22:48 -0500 |
commit | fe0fc4783da7ae32e129f0eb28c789be480d393e (patch) | |
tree | eb7d08ca2e816e81cef6547696064448ffcd5e27 | |
parent | bd8f700e5644667d433df16046c9b3f8741796b0 (diff) | |
download | emacsconf-wiki-fe0fc4783da7ae32e129f0eb28c789be480d393e.tar.xz emacsconf-wiki-fe0fc4783da7ae32e129f0eb28c789be480d393e.zip |
remove wrong options for ffmpeg
Diffstat (limited to '')
-rw-r--r-- | playbook.md | 2 | ||||
-rw-r--r-- | playbook.org | 2 | ||||
-rw-r--r-- | playbook/stream-desktop-and-audio.sh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/playbook.md b/playbook.md index 03ee8b59..6b16988a 100644 --- a/playbook.md +++ b/playbook.md @@ -482,7 +482,7 @@ Exceptions: 2. Install pavucontrol if you don't have it already. 3. Start the following command (<playbook/stream-desktop-and-audio.sh>: - while true; do ffmpeg -reconnect_at_eof 1 -reconnect_streamed 1 -loglevel 0 -ar 48000 -f alsa -channels 2 -sample_rate 48000 -i default -re -video_size 1280x720 -framerate 25 -f x11grab -i :0.0 -cluster_size_limit 2M -cluster_time_limit 5100 -content_type video/webm -c:v libvpx -b:v 1M -crf 30 -g 125 -deadline good -threads 4 -f webm $CONFALT; done + while true; do ffmpeg -loglevel 0 -ar 48000 -f alsa -channels 2 -sample_rate 48000 -i default -re -video_size 1280x720 -framerate 25 -f x11grab -i :0.0 -cluster_size_limit 2M -cluster_time_limit 5100 -content_type video/webm -c:v libvpx -b:v 1M -crf 30 -g 125 -deadline good -threads 4 -f webm $CONFALT; done 4. Use pavucontrol to set the recording source for the ffmpeg command to be the audio monitor, so you get system output as well. diff --git a/playbook.org b/playbook.org index 15cb4bed..1888f094 100644 --- a/playbook.org +++ b/playbook.org @@ -368,7 +368,7 @@ Exceptions: 2. Install pavucontrol if you don't have it already. 3. Start the following command ([[file:playbook/stream-desktop-and-audio.sh]]: #+begin_src sh :eval no :tangle playbook/stream-desktop-and-audio.sh - while true; do ffmpeg -reconnect_at_eof 1 -reconnect_streamed 1 -loglevel 0 -ar 48000 -f alsa -channels 2 -sample_rate 48000 -i default -re -video_size 1280x720 -framerate 25 -f x11grab -i :0.0 -cluster_size_limit 2M -cluster_time_limit 5100 -content_type video/webm -c:v libvpx -b:v 1M -crf 30 -g 125 -deadline good -threads 4 -f webm $CONFALT; done + while true; do ffmpeg -loglevel 0 -ar 48000 -f alsa -channels 2 -sample_rate 48000 -i default -re -video_size 1280x720 -framerate 25 -f x11grab -i :0.0 -cluster_size_limit 2M -cluster_time_limit 5100 -content_type video/webm -c:v libvpx -b:v 1M -crf 30 -g 125 -deadline good -threads 4 -f webm $CONFALT; done #+end_src 4. Use pavucontrol to set the recording source for the ffmpeg command to be the audio monitor, so you get system output as diff --git a/playbook/stream-desktop-and-audio.sh b/playbook/stream-desktop-and-audio.sh index 694dc171..d3a7e6f8 100644 --- a/playbook/stream-desktop-and-audio.sh +++ b/playbook/stream-desktop-and-audio.sh @@ -1 +1 @@ - while true; do ffmpeg -reconnect_at_eof 1 -reconnect_streamed 1 -loglevel 0 -ar 48000 -f alsa -channels 2 -sample_rate 48000 -i default -re -video_size 1280x720 -framerate 25 -f x11grab -i :0.0 -cluster_size_limit 2M -cluster_time_limit 5100 -content_type video/webm -c:v libvpx -b:v 1M -crf 30 -g 125 -deadline good -threads 4 -f webm $CONFALT; done + while true; do ffmpeg -loglevel 0 -ar 48000 -f alsa -channels 2 -sample_rate 48000 -i default -re -video_size 1280x720 -framerate 25 -f x11grab -i :0.0 -cluster_size_limit 2M -cluster_time_limit 5100 -content_type video/webm -c:v libvpx -b:v 1M -crf 30 -g 125 -deadline good -threads 4 -f webm $CONFALT; done |