title: FFMPEG to trim off last 3 seconds of videos
body: <p>I am trying to trim/cut off the last 3 secs of my videos with FFMPEG but this has really been an headache.</p>
  
  <p>The following code trims but only retains the last 3 seconds.
  I don't want to retain the 3 secs, i don't need that, i want to retain the deleted part.</p>
  
  <p>ffmpeg -sseof -3 -i input.mp4 output.mp4</p>
  
  <p>Can someone please help me with the right code?.
  I will also like to request a batch code that will auto trim all last 3 secs of videos in my folder.
  Thanks for the help.</p>