Trimming video from it's end using FFMpeg or Mencoder
- by get8p
I have pack of .avi files that needs to be trimmed by 5 last seconds. I'm doing it using batch processing and naturally, they all have different length so I can't set a trim from the beginning.
I know FFMpeg has commands -t and -ss as well as Mencoder has -endpos and -ss, but in my case I don't know if I can use them this way.
My .bat file will look like this
FOR %%i IN (*.avi) DO (
ffmpeg/mencoder -options "%%i" "%%~ni"1.avi )
Thanks in advance.