12
9

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 5 years have passed since last update.

ffmpegでAMD GPUを使ったエンコード

Last updated at Posted at 2019-02-06

ffmpegコマンド(AMD GPU使用)

h264
ffmpeg -i videoin.mp4 -vcodec h264_amf -b 102400k -quality quality -acodec copy videoout.mp4

h265(hevc)
ffmpeg -i videoin.mp4 -vcodec hevc_amf -b 102400k -quality quality -acodec copy videoout.mkv

純粋にビデオエンコード時間の比較をしたかったために
オーディオはコピーにしています。

コーデック末尾に_amf追加することにより
AMD GPUでのエンコードになります。

詳細は
ffmpegでAMD GPUを使ったエンコード:詳細版で紹介しています。

12
9
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
12
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?