[FFmpeg-user] Can I Batch Encode with ffmpeg on Mac?

Mark Scott mark_scott at charlietango.com
Sat Jan 19 02:47:40 EET 2019


That worked! Thank you so much!

On Fri, Jan 18, 2019 at 5:32 PM Lou Logan <lou at lrcd.com> wrote:

> On Fri, Jan 18, 2019, at 2:10 PM, Mark Scott wrote:
> > Hello,
> > First off, I need to say that I'm very new to ffmpeg. I do not have
> > much experience with writing command lines or scripts so please excuse
> > me if I don't understand the terminology. I have figured out how to
> > encode uncompressed .mov files to cut off the first few seconds of the
> > video, and convert it to ProRes codec. Is there a way to automate the
> > process to batch encode several files at once? I'm using an iMac with
> > OS X El Capitan. Here is the command line that I use in terminal.
> >
> > ffmpeg -ss 6 -i "title".mov -vcodec prores -acodec pcm_s24le
> "title_Prores".mov
>
> That's more of a shell scripting question, but anyway:
>
> mkdir outputs
> for f in *.mov; do ffmpeg -ss 6 -i "$f" -c:v prores -c:a pcm_s24le
> "outputs/${f%.*}_Prores.mov"; done
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".



-- 
mark scott | video distribution
<http://www.charlieuniformtango.com/>
1722 routh street
suite 204
dallas, tx 75201
214-922-9222 t
972-740-4734 c

<https://www.facebook.com/charlieuniformtango/>
<http://twitter.com/CUTango>
<http://instagram.com/charlieuniformtango>
charlie <http://www.charlieuniformtango.com/>uniform
<http://www.charlieuniformtango.com/>tango
<http://www.charlieuniformtango.com/>.com
<http://www.charlieuniformtango.com/>


More information about the ffmpeg-user mailing list