Converter settings

From DreamHost
Revision as of 09:05, 1 November 2011 by Andrew F (Talk | contribs) (update (ffmpeg+x264 0.7))

Jump to: navigation, search
The instructions provided in this article or section are considered advanced.

You are expected to be knowledgeable in the UNIX shell.
Support for these instructions is not available from DreamHost tech support.
Server changes performed by DreamHost may break your modifications. You, as the user, are responsible for troubleshooting and resolving issues with your customizations.

Here are the command-line settings used by our Flash Media Player conversion tool (Flash Media):

Command line

Bold words must be replaced with values specific to your file.

# Snapshot frame generation
nice /usr/bin/ffmpeg \
   -i INPUT.AVI \
   -f image2 -vframes 1 -ss SNAPSHOT-TIME \

# Video encoding
nice /usr/bin/ffmpeg \
   -i INPUT.AVI \
   -acodec libmp3lame -ab 96k -ar 44100 \
   -vcodec libx264 -vpre fast -crf 30 \
   -f flv OUTPUT.FLV