※当サイトの記事には、広告・プロモーションが含まれます。

FFmpegで動画ファイルのコーデックを確認

zatsuneta.com

afun7.com

⇧ 日本では、7月20日が「ハンバーガーの日」らしいけど、アメリカでは5月28日が「ハンバーガーの日」なんだそうな、amazing...

FFmpegとは

公式の説明によると、

ffmpeg.org

FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge. No matter if they were designed by some standards committee, the community or a corporation. It is also highly portable: FFmpeg compiles, runs, and passes our testing infrastructure FATE across Linux, Mac OS X, Microsoft Windows, the BSDs, Solaris, etc. under a wide variety of build environments, machine architectures, and configurations.

https://ffmpeg.org/about.html

⇧ とあり、FFmpeg自体は、様々なOSで利用可能な模様。

github.com

FFmpeg is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata.

https://github.com/FFmpeg/FFmpeg

GitHubの説明はあっさりしてる...

FFmpegで動画ファイルのコーデックを確認

今回は、FFmpegがwingetでインストールできるパッケージとして用意されていなかったので、chocolateyでインストールしました、wingetが実用できる日は来るのか...

chocolateyのインストール方法は、

qiita.com

⇧ 上記サイト様がまとめてくださってます。

では、FFmpegをchocolateyでインストール。

インストールされてます。

コマンドプロンプトを開き直して、ffmpegと入力してversionとか表示されればOK。

早速、FFmpegで動画ファイルの情報を確認。

で、

docs.microsoft.com

⇧ 対応してるコーデックを比較する感じになるんかな。

Azure Media Services v3 API Java側でコーデックなどのバリデーション用意しておいてくれれば良いのだけど、見当たらんかったのよね...

毎度モヤモヤ感が半端ない...

今回はこのへんで。