この記事では、動画のループ回数などを自分で設定する方法について説明します。必要な方はお読みください。
This post explains how to customize loops and combine videos.
1. ffmpeg をダウンロードまたはインストール (Download or install ffmpeg)
[ダウンロード (Download)]
ライセンスの関係でこの投稿にはファイルを含めることができません。以下のリンク先からダウンロードページへアクセスしてください(「essentials」版で十分です)。
The file cannot be included in this post due to licencing issues, so please visit one of the download pages from the links below (essentials is enough)
ダウンロードしたファイルを解凍し、「ffmpeg.exe」を見つけてください。
Unzip downloaded file and find "ffmpeg.exe"
[Installation]
Windows のコマンドで以下を入力してください。
Type "winget install ffmpeg" in Windows command.
2.
ダウンロードした場合は、「ffmpeg.exe」を動画ファイルと同じフォルダに配置してください。
インストールした場合は、この手順は不要です。
If you downloaded, place ffmpeg.exe in the folder with videos.
If you installed, you don't need to do this.
3.
以下のバッチファイルをダウンロードしてください。
Download the batch command file below
このファイルには以下の2つが含まれています。
It contains two files:
1. combine.bat
2. combine_list.txt
ファイルのダウンロードに不安がある場合は、以下のコマンド内容を参考にしてください:
If you are not sure about downloading the files, please refer to the commands below:
combine_list.txt には [file 'A1 Speed 1.mp4'] が6行書かれており、combine.bat を実行すると A1 Speed 1.mp4 を6回ループした output.mp4 が生成されます。
combine_list.txt has 6 lines of [file 'A1 Speed 1.mp4'], running combine.bat will create output.mp4 video with 6 loops of A1 Speed 1.mp4.
自分の動画に合わせて combine_list.txt の内容を変更することができます。たとえば:
You can change the contents of combine_list.txt as you want your videos, like this:
テキストファイルを保存して combine.bat を実行すると、
「A1 Speed 1」を2回、「speed 2」を2回、「speed 3」を2回、その後「A2 Finish」が再生される動画が作成されます。
Save the txt file and run combine.bat. It will Loop 'A1 Speed 1' 2 times, 'speed 2' 2 times, 'speed 3' 2 times then 'A2 Finish'.
以上です!質問があればここで聞いてもらっても構いませんが、ChatGPT に聞いた方が早いかもしれません。
That is it! If you have any questions, you can ask me here, but it will be faster to just ask ChatGPT.
1. ffmpeg.exe をインストール/ダウンロードして動画フォルダに置く
2. combine_list.txt を編集して保存
3. combine.bat を実行
1. Install or download ffmpeg (place ffmpeg.exe in the video folder)
2. Modify and save combine_list.txt
3. Run combine.bat