FFmpeg

## Convert mp4 to webm
ffmpeg -i input.mp4 output.webm

## Convert gif to mp4
ffmpeg -i input.gif -movflags faststart -pix_fmt yuv420p output.mp4

## 指定時間でカット
ffmpeg -i input.mp4 -t 10.0 -c copy output.mp4
ffmpeg -i input.mp4 -ss 00:01:00 -to 00:02:00 -c copy output.mp4

## 入力FPSを変更 = 再生時間が変わる
ffmpeg -r 30 -i input.gif -movflags faststart -pix_fmt yuv420p output.mp4

## 出力FPSを変更 = 再生時間は変わらない
ffmpeg -i input.gif -movflags faststart -pix_fmt yuv420p -r 30 output.mp4

Daiphys is a professional-service company for research and development of leading-edge technologies in physics and engineering.
Get started accelerating your business through our deep expertise in R&D with AI, quantum computing, and space development; please get in touch with Daiphys today!

Name*


Email*


Message*


* Indicates required field

Daiphys Technologies LLC - https://www.daiphys.com/

  • Last modified: 2024/03/11 07:35
  • by Daiphys