Code: Select all
SetWorkingDir g:\source
#m::
Loop, %A_WorkingDir%\NEWS*.mp4
{
FileGetTime,mt,A_LoopFileLongPath
runwait,ffmpeg -y -i %A_LoopFileLongPath% -ss 8 -vcodec copy -acodec copy "g:\outpt\%A_LoopFileName%.mp4"
filesettime,mt,g:\outpt\%A_LoopFileName%
}
return
1, only two files appear in outpt folder;
2, date is still today, not as expected
Any idea?