Table of Contents

ffmpeg

Common tasks

Record system audio

save_audio.sh
# Record system audio
ffmpeg -f pulse -i default output.wav

Extract audio from video

extract_audio_from_video.sh
# Extract audio only from a video
ffmpeg -i x.m4v -vn x.ogg

Convert video to OGG

convert_vid_to_ogg.sh
# Convert video to OGG
ffmpeg -i x.m4v x.ogg

Flip video vertically

flip_video_vertically.sh
# Flip video vertically
ffmpeg -i in.avi -vf vflip -c:a copy out