user22117: How do I crop and resize about 6000 mp4-movies? They are all 1280 x 800. I need to crop the bottom 100 px and remove the first 4 seconds of each movie. Can this be done with ffmpeg?

user21418: You need to re-encode all vids to crop the bottom 100 px - you have to decide which codecs you want to use.... and think about the filters - this depends on the sourcefile.... The ffmpeg code is:
ffmpeg -i INPUTFILE -ss 00:00:04 -map v -vf "crop=out_h=in_h-100:y=0" -c:v libx264 -c:a copy OUTPUTFILE 

The best would be to iterate the INPUTFILEs by a for-loop. put the new files in a new directory and you won't have any problems with the names.

22117: <p>How do I crop and resize about 6000 mp4-movies? They are all 1280 x 800. I need to crop the bottom 100 px and remove the first 4 seconds of each movie. Can this be done with ffmpeg?</p>
 21418: <p>You need to re-encode all vids to crop the bottom 100 px - you have to decide which codecs you want to use.... and think about the filters - this depends on the sourcefile.... The ffmpeg code is:</p>

<pre><code>ffmpeg -i INPUTFILE -ss 00:00:04 -map v -vf "crop=out_h=in_h-100:y=0" -c:v libx264 -c:a copy OUTPUTFILE 
</code></pre>

<p>The best would be to iterate the INPUTFILEs by a for-loop. put the new files in a new directory and you won't have any problems with the names.</p>
