LoginSignup
1
0

More than 3 years have passed since last update.

ffmpegでmp4ファイルを結合するバッチファイル

Posted at
concat_mp4.bat
@echo off
REM UTF-8
chcp 65001>nul
type nul>temp_list.txt

for %%f in (%*) do (
  echo file '%%~nxf'>>temp_list.txt
)

SET /P TITLE="Title:"
ffmpeg -f concat -safe 0 -i temp_list.txt -c copy "%TITLE%.mp4"

del temp_list.txt
pause

これを%AppData%\Microsoft\Windows\SendToにおいておけば、
ファイルを複数選択して、(1番目のファイルを)右クリック>送る から実行、出力ファイル名を入力すると結合できます。

1
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
1
0