

Tells ffmpeg to use H.264 encoding for video (v)
Ffmpeg tutorial windows full#
Sets the input file to be a CatDV variable $b, the full input file path. A full description of CatDV variables that can be used in the command line is here. The full file path to the ffmpeg executable opt/local/bin/ffmpeg -i $b -codec:v libx264 -movflags +faststart -preset slow -crf 30 -vf scale=320:-1 -codec:a aac -strict -2 -vf "drawtext=fontfile=/Library/Fonts/Arial.ttf: timecode='09\:57\:00\:00': r=25: \x=(w-tw)/2: y=h-(2*lh): fontcolor=white: fontsize=32: box=1:, drawtext=fontfile=/Library/Fonts/Arial.ttf: \text='Burn In Text': \x=(w-tw)/2: y=(2*lh): fontsize=32: fontcolor=red: box=1: ” "/Volumes/NAB/Worker Webinar Outputs/ffmpeg Transcodes/$g.mp4" In the “Execute Command 1” box type the command line to run ffmpeg, something like: In this case we shall transcode to H.264 for the web. The reader is encouraged to explore these settings for their workflow. There are many options for ffmpeg including formats, frame sizes, watermarks, burn ins etc. In this case “All known media types” are selected. Now on the “Conversions” tab we will tell the Worker to run ffmpeg. Next we can choose which media this action should work with. We want to give our action a name, triggered by a file, and set up a watch action wherever the footage will arrive, for example: Now Navigate to the CatDV Worker, “Edit Config” and add a new action (the plus button).

If FFmpeg is installed correctly you should see the version number and other configuration information. This tutorial is based on OS X installed as above, with FFmpeg 2.1.3 and extensions allowing text burn in.įirst Check FFmpeg is installed and availableįirst open a Terminal window and check FFmpeg can run, plus note where the program is installed.

There is a good tutorial for installing FFmpeg with extensions on Mac here and for Windows this site offers custom ffmpeg builds on request.
Ffmpeg tutorial windows for mac#
There are several pre-built FFmpeg distributions available for Mac and Windows ( here) or it can be compiled yourself (which can be useful if you want to use third party extensions to FFmpeg, for example to burn in text or subtitles).
Ffmpeg tutorial windows how to#
This document will show how to set up transcode using FFmpeg controlled by the CatDV Worker.įFmpeg is a powerful, open source, cross platform encoder.
