Trimming video from it's end using FFMpeg or Mencoder
Posted
by
get8p
on Super User
See other posts from Super User
or by get8p
Published on 2012-09-02T08:35:32Z
Indexed on
2012/09/02
9:40 UTC
Read the original article
Hit count: 213
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.
© Super User or respective owner