Document how to combine video files via ffmpeg

This commit is contained in:
Daniel Siepmann 2023-12-07 19:22:54 +01:00
parent e1b5c00d63
commit 778f600713
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -74,6 +74,7 @@ with pkgs; [
# Change recording from output to monitor: https://askubuntu.com/questions/682144/capturing-only-desktop-audio-with-ffmpeg/682793#682793
# Split large file into chunks (https://unix.stackexchange.com/questions/1670/how-can-i-use-ffmpeg-to-split-mpeg-video-into-10-minute-chunks):
# ffmpeg -i output.mp3 -c copy -map 0 -segment_time 00:15:00 -f segment output%03d.mp3
# Combine multiple files: https://trac.ffmpeg.org/wiki/Concatenate
# Record audio and video on ubuntu: ffmpeg -f pulse -i alsa_output.pci-0000_00_1f.3.analog-stereo.monitor -f x11grab -y -framerate 30 -s 1280x720 -i :0.0 -c:v libx264 -preset superfast -crf 18 output.mkv
# Find list of audio on ubuntu: pactl list | grep -A2 'Source #' | grep 'Name: '