Trimming unnecessary operations
For a lean, quick workflow, we should delete all "presentation" operations.
Distributing to HTML5 video formats
Look into etc/encoding/youtube-movies.properties
to find the different H264 encodings we could use.
Things to look out for (as of 1.4):
You will run into "
Preset default not found
". This is becauseFFMPEG_DATADIR
is not set. By default, set it toexport FFMPEG_DATADIR=/opt/local/var/macports/build/_Users_Shared_dports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-0.6/ffpresets
- Inside
ffpresets/libx264-default.ffpreset
directpred=1
is old, should bedirect-pred=1
- Delete
flags2=+mixed_refs+wpred+dct8x8+fastpskip
- Inside
etc/encoding/youtube-movies.properties
deblockalpha, deblockbeta
are deprecated, remove
Newer ffmpeg uses internal presets instead of presets folder so we'll need to prepare for that.