Changes between Version 1 and Version 2 of Encode/H.264


Ignore:
Timestamp:
Aug 6, 2012, 7:39:14 AM (7 years ago)
Author:
llogan
Comment:

cosmetics

Legend:

Unmodified
Added
Removed
Modified
  • Encode/H.264

    v1 v2  
    4242{{{
    4343ffmpeg -i input -c:v libx264 -preset fast -b:v 555k -pass 1 -an -f mp4 - && \
    44 ffmpeg -i input -c:v libx264 -preset fast -b:v 555k -pass 2 -c:a libfaac -b:a 128k output.mkv
     44ffmpeg -i input -c:v libx264 -preset fast -b:v 555k -pass 2 -c:a libfaac -b:a 128k output.mp4
    4545}}}
    4646
     
    5252You can use `-qp 0` or `-crf 0` to encode a lossless output. Only two of the presets are generally useful: `ultrafast` or `veryslow` since either a fast encoding speed or best compression are usually the most important factors.
    5353
    54 === Lossless Example (fast encodinng) ===
     54=== Lossless Example (fast encoding) ===
    5555
    5656{{{
     
    6868
    6969== Overwriting default preset settings ==
    70 You can overwrite default preset settings with the x264opts option or by using the libx264 private options (see `libx264 AVOptions` in `ffmpeg -h`).  This is not recommended unless you know what you are doing. The presets were created by the x264 developers and tweaking values to get a better output is usually a waste of time.
     70You can overwrite default preset settings with the `x264opts` option or by using the libx264 private options (see `libx264 AVOptions` in `ffmpeg -h`).  This is not recommended unless you know what you are doing. The presets were created by the x264 developers and tweaking values to get a better output is usually a waste of time.
    7171
    7272Example: