User Tools

Site Tools


ffmpeg

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ffmpeg [2023/02/14 06:07] – created - external edit 127.0.0.1ffmpeg [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-tl;dr 
  
-''ffmpeg -i input.mp4 -vf scale=320:240,setsar=1:1 output.mp4'' 
- 
-variables 
- 
-''ffmpeg -i input.jpg -vf scale=iw*2:ih input_double_width.png'' 
- 
-(works on images btw) 
- 
-fit a rectangle, with padding 
- 
-''ffmpeg -i input.jpg -vf "scale=320:240:force_original_aspect_ratio=decrease,pad=320:240:(ow-iw)/2:(oh-ih)/2" output_320_padding.png'' 
- 
-text over video, found in ancient text file (might not work) 
- 
-''ffmpeg -i ordeal.mkv -ss 55 -t 5 -vf drawtext="textfile=slap.txt: fontcolor=white: fontsize=96: x=(w-text_w)/2: y=(h-text_h)/2" out1.mp4; ffmpeg -i out1.mp4 -vf scale=320:180 out2.gif'' 
- 
-strip audio 
- 
-''ffmpeg -i footage_with_adamvoice.MOV -an footage.mp4'' 
ffmpeg.1676354858.txt.gz · Last modified: 2023/02/14 06:07 by 127.0.0.1