appwiki:ffmpeg

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
appwiki:ffmpeg [2021/12/08 20:16] – [Common Convertion] yingappwiki:ffmpeg [2022/12/07 07:21] (current) – [Common Convertion] ying
Line 78: Line 78:
 ffmpeg -i image.jpg -vf "scale=max(iw\,ih):max(iw\,ih):force_original_aspect_ratio=decrease,pad=max(iw\,ih):max(iw\,ih):-1:-1:color=white" -q:v 1 tex_image.jpg ffmpeg -i image.jpg -vf "scale=max(iw\,ih):max(iw\,ih):force_original_aspect_ratio=decrease,pad=max(iw\,ih):max(iw\,ih):-1:-1:color=white" -q:v 1 tex_image.jpg
 </code> </code>
 +
 +====== GIF related ======
 +
 +  * use every 1 from out of 10 frame from a huge frame-by-frame gif recording, and save as a 600px width gif <code dos>
 +ffmpeg.exe -i big_recording.gif -vf "select=not(mod(n-1\,10)),scale=600:-1" -vsync vfr light_10th_600w.gif
 +</code>
 +
 +
  • appwiki/ffmpeg.1638994619.txt.gz
  • Last modified: 2021/12/08 20:16
  • by ying