set /p file=目录地址:
PUSHD %file%
set "lj=%file%"
set "lj=%lj:\= %"
for %%a in (%lj%) do set wjj=%%a
(for /f "delims=*" %%a in ( 'dir /a-d /o:d /b *.*') do @echo file '%%a') >%~dp0filelist.txt
ffmpeg -y -f concat -safe 0 -i %~dp0filelist.txt -c copy %wjj%.mp4
pause
网友评论