Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 220 Bytes

ffmpeg.md

File metadata and controls

7 lines (6 loc) · 220 Bytes
# add subtitle
ffmpeg -i <infile> -i <subtitle> -c copy -c:s mov_text <outfile>

# record screen
ffmpeg -video_size "$(xrandr | awk ' /\*/ { print $1 }')" -framerate 25 -f x11grab -i :0.0+100,200 output.mp4