I've never heard of such issues. What exactly is the problem? Re-encoding to a lossy output as an intermediate file is usually not recommended.
Originally Posted by TheFu
Originally Posted by frenzen
Important options are -crf and -preset. See the CRF section of the FFmpeg and x264 Encoding Guide for details.
ffmpeg -i Julia.X.2011.720p.BRRip.XVID.AC3-TRiNiTY.avi -c:a libfaac -q:a 100 -c:v libx264 -crf 24 -preset medium output.mp4
You can encode short random sections to get an idea of the quality if you don't want to encode the whole thing using the -ss (skip x time from beginning) and -t (duration) options:
If you are targeting a specific output file size then see the Two-Pass section of the encoding guide for examples and more information.
ffmpeg -ss 00:05:30 -i Julia.X.2011.720p.BRRip.XVID.AC3-TRiNiTY.avi -t 30 -c:a libfaac -q:a 100 -c:v libx264 -crf 24 -preset medium output.mp4