FFmpeg Command line syntax

See http://rodrigopolo.com/ffmpeg/cheats.html

-target

A target can have 3 prefixes: pal-, ntsc-, film- these prefix have following presets:

The suffix sets following presets:

...

Cmd line from lxp for x264 :

ffmpeg -vcodec libx264 -s hd480 -r 25 -vpre hq -crf 15 -threads 0 -acodec libmp3lame -ac 2 -ar 44100 -ab 128k FILE.avi

Main Options: -vcodec libx264 -vpre hq -crf 15 -threads 0 -acodec libmp3lame -ac 2 -ar 44100 -ab 128k

you can also use -vpre default if you want faster encoding speed and -crf 18 or even higher if you want lower bitrate

(22:54:47) lxp: it would be really great if there is a custom mode where you can enter a custom resolution, ratio and ffmpeg options

(23:02:45) lxp: maybe you know avidemux, it uses libavcodec directly and has all these x264 options in the gui

(23:05:45) lxp: i also used kdenlive recently, it has default profiles for many export formats and also lets the user specify profiles, but only through a single configuration textbox

(23:08:48) lxp: by the way, one additional thing to the above ffmpeg command: you shouldn't drop the -threads 0 option (23:08:59) lxp: this lets ffmpeg choose the thread count based on the cpu count. i think the default is only 1 thread

ffmpeg versions

Versions as of 8.1.2010

Ubuntu:

Debian

Page last modified on 09 juin 2011 à 22h18