windows:ffmpeg

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
windows:ffmpeg [2021/06/08 14:55] ともやんwindows:ffmpeg [2023/04/15 23:06] (現在) – [VP9 & AOMedia Video 1 (AV1) 対応な ffmpeg をインストール] ともやん
行 1: 行 1:
 ====== ffmpeg - オーディオ/ビデオ 記録・変換・再生 コマンド ====== ====== ffmpeg - オーディオ/ビデオ 記録・変換・再生 コマンド ======
-<WRAP #logo>+<WRAP logo>
 {{windows:ffmpeg_logo_new.svg?370|ffmpeg Logo}} {{windows:ffmpeg_logo_new.svg?370|ffmpeg Logo}}
 </WRAP> </WRAP>
行 14: 行 14:
 </code> </code>
  
-<WRAP prewrap 100% #result>+<WRAP prewrap 100% result>
 <code> <code>
 Installing 'ffmpeg' (4.2.2) [64bit] Installing 'ffmpeg' (4.2.2) [64bit]
行 33: 行 33:
 [[https://github.com/BtbN/FFmpeg-Builds/releases/|]] より ffmpeg をインストールする。\\ [[https://github.com/BtbN/FFmpeg-Builds/releases/|]] より ffmpeg をインストールする。\\
  
-<WRAP prewrap 100% #mincode>+<WRAP prewrap 100% mincode>
 <code javascript ~\scoop\buckets\main\bucket\ffmpeg.json> <code javascript ~\scoop\buckets\main\bucket\ffmpeg.json>
 { {
行 77: 行 77:
 \\ \\
 ちなみに、**checkver.ps1** で最新化することが出来る🤤\\ ちなみに、**checkver.ps1** で最新化することが出来る🤤\\
-<WRAP prewrap 100%> +<WRAP prewrap 100%><code powershell>
-<code powershell>+
 $ ~/scoop/apps/scoop/current/bin/checkver.ps1 <pkg name> -u -Dir <bucket dir> $ ~/scoop/apps/scoop/current/bin/checkver.ps1 <pkg name> -u -Dir <bucket dir>
-</code> +</code></WRAP> 
-</WRAP> + 
-<html> +<WRAP ncolor_result><html><pre>
-<div id=ncolor_result> +
-<pre>+
 <b class=HIG>$</b> <b class=HIY>~/scoop/apps/scoop/current/bin/checkver.ps1</b> ffmpeg <b class=WHI>-u -Dir</b> ~/scoop/buckets/main/bucket <b class=HIG>$</b> <b class=HIY>~/scoop/apps/scoop/current/bin/checkver.ps1</b> ffmpeg <b class=WHI>-u -Dir</b> ~/scoop/buckets/main/bucket
 ffmpeg: <b class=HIR>4.4-19</b> (scoop version is 4.3.2) <b class=HIC>autoupdate available</b> ffmpeg: <b class=HIR>4.4-19</b> (scoop version is 4.3.2) <b class=HIC>autoupdate available</b>
行 90: 行 87:
 <b class=YEL>Downloading</b> <b class=HIG>ffmpeg-n4.4-19-g8d172d9409-win64-gpl-4.4.zip</b> <b class=YEL>to compute hashes!</b> <b class=YEL>Downloading</b> <b class=HIG>ffmpeg-n4.4-19-g8d172d9409-win64-gpl-4.4.zip</b> <b class=YEL>to compute hashes!</b>
 ffmpeg-n4.4-19-g8d172d9409-win64-gpl-4.4.zip (94.9 MB) [=================>                              ]  34% ffmpeg-n4.4-19-g8d172d9409-win64-gpl-4.4.zip (94.9 MB) [=================>                              ]  34%
-</pre>+</pre></html></WRAP>
 ... ...
-<pre>+<WRAP ncolor_result><html><pre>
 ffmpeg-n4.4-19-g8d172d9409-win64-gpl-4.4.zip (94.9 MB) [================================================] 100% ffmpeg-n4.4-19-g8d172d9409-win64-gpl-4.4.zip (94.9 MB) [================================================] 100%
 <b class=YEL>Computed hash:</b> <b class=HIG>ba5e6a3a29ee90c90a573a39f536f64d48e31eacce3e5b6a31ce96079ef65ac7</b> <b class=YEL>Computed hash:</b> <b class=HIG>ba5e6a3a29ee90c90a573a39f536f64d48e31eacce3e5b6a31ce96079ef65ac7</b>
 <b class=GRN>Writing updated ffmpeg manifest</b> <b class=GRN>Writing updated ffmpeg manifest</b>
-</pre> +</pre></html></WRAP>
-</div> +
-</html>+
  
 bucket の json 定義が最新化される🤤\\ bucket の json 定義が最新化される🤤\\
-<WRAP prewrap 100% #mincode> +<WRAP prewrap 100% mincode><code javascript ~\scoop\buckets\main\bucket\ffmpeg.json>
-<code javascript ~\scoop\buckets\main\bucket\ffmpeg.json>+
 { {
     "version": "4.4-19",     "version": "4.4-19",
行 130: 行 124:
     }     }
 } }
-</code> +</code></WRAP>
-</WRAP>+
  
 パッケージを更新する😁\\ パッケージを更新する😁\\
-<html> +<WRAP ncolor_result><html><pre>
-<div id=ncolor_result> +
-<pre>+
 <b class=HIG>$</b> <b class=HIY>scoop</b> update ffmpeg <b class=HIG>$</b> <b class=HIY>scoop</b> update ffmpeg
 <b class=HIY>ffmpeg: 4.3.2 -> 4.4-19</b> <b class=HIY>ffmpeg: 4.3.2 -> 4.4-19</b>
行 151: 行 142:
 Linking ~\scoop\apps\ffmpeg\current => ~\scoop\apps\ffmpeg\4.4-19 Linking ~\scoop\apps\ffmpeg\current => ~\scoop\apps\ffmpeg\4.4-19
 <b class=GRN>'ffmpeg' (4.4-19) was installed successfully!</b> <b class=GRN>'ffmpeg' (4.4-19) was installed successfully!</b>
-</pre> +</pre></html></WRAP>
-</div> +
-</html>+
  
-ちなみに、scoop 標準の ffmpeg だと <wrap em>Invalid argument</wrap> になりました😅\\+ちなみに、以前は scoop 標準の ffmpeg だと <wrap em>Invalid argument</wrap> になりました😅\\
 **WebM - VP9**\\ **WebM - VP9**\\
-<WRAP prewrap 100%> +<WRAP prewrap 100%><code>
-<code>+
 $ ffmpeg -i ElectricSheep_test001.gif -c vp9 -b:v 0 -crf 41 ElectricSheep_test001.webm $ ffmpeg -i ElectricSheep_test001.gif -c vp9 -b:v 0 -crf 41 ElectricSheep_test001.webm
-</code> +</code></WRAP> 
-</WRAP> +<WRAP prewrap 100% result_long><code>
-<WRAP prewrap 100% #result_long> +
-<code>+
 ffmpeg version n4.3.1-221-gd08bcbffff Copyright (c) 2000-2021 the FFmpeg developers ffmpeg version n4.3.1-221-gd08bcbffff Copyright (c) 2000-2021 the FFmpeg developers
   built with gcc 9.3-win32 (GCC) 20200320   built with gcc 9.3-win32 (GCC) 20200320
行 182: 行 168:
 [NULL @ 0000028c2c748100] Unable to find a suitable output format for '0' [NULL @ 0000028c2c748100] Unable to find a suitable output format for '0'
 0: Invalid argument 0: Invalid argument
-</code> +</code></WRAP>
-</WRAP>+
  
 バージョンアップしたら、ffmpeg.json の url を書き換えます。\\ バージョンアップしたら、ffmpeg.json の url を書き換えます。\\
 url を書き換えただけだと、ダウンロード時の破損チェック (<wrap em>ERROR Hash check failed!</wrap>) に引っかかるので、その場合は json の hash を **Actual:** の内容に書き換えます。\\ url を書き換えただけだと、ダウンロード時の破損チェック (<wrap em>ERROR Hash check failed!</wrap>) に引っかかるので、その場合は json の hash を **Actual:** の内容に書き換えます。\\
-<WRAP prewrap 100% #result> +<WRAP prewrap 100% result><code>
-<code>+
 $ scoop install ffmpeg $ scoop install ffmpeg
 Installing 'ffmpeg' (4.3.2) [64bit] Installing 'ffmpeg' (4.3.2) [64bit]
行 201: 行 185:
 Please try again or create a new issue by using the following link and paste your console output: Please try again or create a new issue by using the following link and paste your console output:
 https://github.com/ScoopInstaller/Main/issues/new?title=ffmpeg%404.3.2%3a+hash+check+failed https://github.com/ScoopInstaller/Main/issues/new?title=ffmpeg%404.3.2%3a+hash+check+failed
-</code> +</code></WRAP>
-</WRAP>+
  
 ===== ffmpeg によるエンコード ===== ===== ffmpeg によるエンコード =====
行 213: 行 196:
 </WRAP> </WRAP>
 <html> <html>
-<div id="ncolor_result">+<div class="ncolor_result">
 <pre> <pre>
 ffmpeg version n4.3.2 Copyright (c) 2000-2021 the FFmpeg developers ffmpeg version n4.3.2 Copyright (c) 2000-2021 the FFmpeg developers
行 262: 行 245:
 </WRAP> </WRAP>
 <html> <html>
-<div id="ncolor_result_long">+<div class="ncolor_result_long">
 <pre> <pre>
 ffmpeg version n4.3.2 Copyright (c) 2000-2021 the FFmpeg developers ffmpeg version n4.3.2 Copyright (c) 2000-2021 the FFmpeg developers
行 717: 行 700:
 </WRAP> </WRAP>
 <html> <html>
-<div id="ncolor_result_long">+<div class="ncolor_result_long">
 <pre> <pre>
 ffmpeg version n4.3.2 Copyright (c) 2000-2021 the FFmpeg developers ffmpeg version n4.3.2 Copyright (c) 2000-2021 the FFmpeg developers
行 760: 行 743:
 </code> </code>
 </WRAP> </WRAP>
-<WRAP prewrap 100% #result>+<WRAP prewrap 100% result>
 <code powershell> <code powershell>
  
行 783: 行 766:
 </code> </code>
 </WRAP> </WRAP>
-<WRAP prewrap 100% #result>+<WRAP prewrap 100% result>
 <code> <code>
 Installing 'ffmpeg' (4.3.1) [64bit] Installing 'ffmpeg' (4.3.1) [64bit]
行 793: 行 776:
 [[https://nico-lab.net/zeranoe_close|Zeranoe ffmpeg、9月18日に閉鎖へ | ニコラボ]]\\ [[https://nico-lab.net/zeranoe_close|Zeranoe ffmpeg、9月18日に閉鎖へ | ニコラボ]]\\
 [[https://twitter.com/Zeranoe/status/1300596971934224385|@Zeranoe / Twitter]]\\ [[https://twitter.com/Zeranoe/status/1300596971934224385|@Zeranoe / Twitter]]\\
-<WRAP prewrap 100% #mincode>+<WRAP prewrap 100% mincode>
 <code> <code>
 http://ffmpeg.zeranoe.com will close on Sep 18, 2020, and all builds will be removed. If you're using Zeranoe @FFmpeg Builds in your product, please ensure that you have a hosting strategy in place by the 18th. Thank you to everyone who supported the project along the way! http://ffmpeg.zeranoe.com will close on Sep 18, 2020, and all builds will be removed. If you're using Zeranoe @FFmpeg Builds in your product, please ensure that you have a hosting strategy in place by the 18th. Thank you to everyone who supported the project along the way!
行 814: 行 797:
 そのため、正規の配布パッケージを異なるファイルをキャッシュに格納しても、破損しているものと判断されて削除してしまいます。\\ そのため、正規の配布パッケージを異なるファイルをキャッシュに格納しても、破損しているものと判断されて削除してしまいます。\\
 ちなみに、ハッシュチェックが通らない場合は以下のようなエラーとなります。\\ ちなみに、ハッシュチェックが通らない場合は以下のようなエラーとなります。\\
-<WRAP prewrap 100% #result>+<WRAP prewrap 100% result>
 <code> <code>
 Installing 'ffmpeg' (4.3.1) [64bit] Installing 'ffmpeg' (4.3.1) [64bit]
行 841: 行 824:
 **※compute_hash 関数の使用方法は compute_hash [ファイル名] [アルゴリズム] です。**\\ **※compute_hash 関数の使用方法は compute_hash [ファイル名] [アルゴリズム] です。**\\
  
-<WRAP prewrap 100% #result>+<WRAP prewrap 100% result>
 <code> <code>
 aad816cd86d29f43f25d64094a4b5c23b47d28e9f5bb93720b0368bf331737c6 aad816cd86d29f43f25d64094a4b5c23b47d28e9f5bb93720b0368bf331737c6
行 849: 行 832:
 そして、<html><code>~\scoop\buckets\main\bucket\ffmpeg.json</code></html>の **sha256** ハッシュ値を修正する。\\ そして、<html><code>~\scoop\buckets\main\bucket\ffmpeg.json</code></html>の **sha256** ハッシュ値を修正する。\\
 **architecture -> 64bit -> hash** の既存定義をコメントアウトして、再計算したハッシュ値で定義し直す。\\ **architecture -> 64bit -> hash** の既存定義をコメントアウトして、再計算したハッシュ値で定義し直す。\\
-<WRAP prewrap 100% #mincode>+<WRAP prewrap 100% mincode>
 <code javascript> <code javascript>
 { {
行 901: 行 884:
 </code> </code>
 </WRAP> </WRAP>
-<WRAP prewrap 100% #result>+<WRAP prewrap 100% result>
 <code powershell> <code powershell>
 Uninstalling 'ffmpeg' (4.3.1). Uninstalling 'ffmpeg' (4.3.1).
行 913: 行 896:
 </code> </code>
 </WRAP> </WRAP>
-<WRAP prewrap 100% #result>+<WRAP prewrap 100% result>
 <code powershell> <code powershell>
 Installing 'ffmpeg' (4.3.1) [64bit] Installing 'ffmpeg' (4.3.1) [64bit]
行 933: 行 916:
 [[https://yuelab82.hatenablog.com/entry/ffmpeg_av1|ffmpeg4.0のAV1使ってみた - exits]]\\ [[https://yuelab82.hatenablog.com/entry/ffmpeg_av1|ffmpeg4.0のAV1使ってみた - exits]]\\
 [[qita>Dooteeen/items/c55223c26a42776f7101|Scoopを使ったWindows環境構築のススメ - Hyper!!! - Qiita]]\\ [[qita>Dooteeen/items/c55223c26a42776f7101|Scoopを使ったWindows環境構築のススメ - Hyper!!! - Qiita]]\\
 +[[https://www.digital-den.jp/simplelife/archives/3755|QSV対応ffmpegでエンコードー最適パラメータ設定 – Simple Life in the digital age]]\\
 +[[qita>CyberRex/items/960bbd0f348ad8dca544|FFmpegでよく使う例、コーデックをまとめてみた(2021年版) - Qiita]]\\
 +[[qita>7shi/items/407ad24a5d9ad89be2e5|なるべく小さい音声ファイルを作る - Qiita]]\\
  
  • windows/ffmpeg.1623131719.txt.gz
  • 最終更新: 2021/06/08 14:55
  • by ともやん