0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

ffmpeg 画面録画 Windows

Last updated at Posted at 2022-07-12

Windows サウンドカード名の取得(ステレオ ミキサーのほう)

ffmpeg -list_devices true -f dshow -i dummy

ディスプレイサイズの取得(エラーログから取得)


ffmpeg -video_size 99999x99999 -f gdigrab -i desktop display_size.mp4

画面録画(音声付き)

ffmpeg -video_size 1920x1080 -framerate 16 -f gdigrab -i desktop -f dshow -i audio="ステレオ ミキサー (Realtek High Definition Audio)" -vcodec libx264 -pix_fmt yuv420p -map 0:v:0 -map 1:a:0 -y test.mp4

マルチディスプレイの場合はoffsetを使用

ffmpeg -video_size 1920x1080 -offset_x 1920 -offset_y 0 -framerate 16 -f gdigrab -i desktop -f dshow -i audio="ステレオ ミキサー (Realtek High Definition Audio)" -vcodec libx264 -pix_fmt yuv420p -map 0:v:0 -map 1:a:0 -y test.mp4
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?