- H0( " --profile Force H.264 profile [high]\n" );
- H0( " Overrides all settings\n");
- H0( " - baseline,main,high\n" );
- H0( " --preset Use a preset to select encoding settings [medium]\n" );
- H0( " Overridden by user settings\n");
- H0( " - ultrafast,veryfast,faster,fast,medium\n"
- " - slow,slower,veryslow,placebo\n" );
- H0( " --tune Tune the settings for a particular type of source\n" );
- H0( " Overridden by user settings\n");
- H2( " - film,animation,grain,psnr,ssim\n"
- " - fastdecode,touhou\n");
- else H0( " - film,animation,grain,psnr,ssim,fastdecode\n");
- H1( " --slow-firstpass Don't use faster settings with --pass 1\n" );
+ H0( " --profile Force the limits of an H.264 profile [high]\n"
+ " Overrides all settings.\n" );
+ H2( " - baseline:\n"
+ " --no-8x8dct --bframes 0 --no-cabac\n"
+ " --cqm flat --weightp 0\n"
+ " No interlaced.\n"
+ " No lossless.\n"
+ " - main:\n"
+ " --no-8x8dct --cqm flat\n"
+ " No lossless.\n"
+ " - high:\n"
+ " No lossless.\n" );
+ else H0( " - baseline,main,high\n" );
+ H0( " --preset Use a preset to select encoding settings [medium]\n"
+ " Overridden by user settings.\n" );
+ H2( " - ultrafast:\n"
+ " --no-8x8dct --aq-mode 0 --b-adapt 0\n"
+ " --bframes 0 --no-cabac --no-deblock\n"
+ " --no-mbtree --me dia --no-mixed-refs\n"
+ " --partitions none --ref 1 --scenecut 0\n"
+ " --subme 0 --trellis 0 --no-weightb\n"
+ " --weightp 0\n"
+ " - superfast:\n"
+ " --no-mbtree --me dia --no-mixed-refs\n"
+ " --partitions i8x8,i4x4 --ref 1\n"
+ " --subme 1 --trellis 0 --weightp 0\n"
+ " - veryfast:\n"
+ " --no-mbtree --no-mixed-refs --ref 1\n"
+ " --subme 2 --trellis 0 --weightp 0\n"
+ " - faster:\n"
+ " --no-mixed-refs --rc-lookahead 20\n"
+ " --ref 2 --subme 4 --weightp 1\n"
+ " - fast:\n"
+ " --rc-lookahead 30 --ref 2 --subme 6\n"
+ " - medium:\n"
+ " Default settings apply.\n"
+ " - slow:\n"
+ " --b-adapt 2 --direct auto --me umh\n"
+ " --rc-lookahead 50 --ref 5 --subme 8\n"
+ " - slower:\n"
+ " --b-adapt 2 --direct auto --me umh\n"
+ " --partitions all --rc-lookahead 60\n"
+ " --ref 8 --subme 9 --trellis 2\n"
+ " - veryslow:\n"
+ " --b-adapt 2 --bframes 8 --direct auto\n"
+ " --me umh --merange 24 --partitions all\n"
+ " --ref 16 --subme 10 --trellis 2\n"
+ " --rc-lookahead 60\n"
+ " - placebo:\n"
+ " --bframes 16 --b-adapt 2 --direct auto\n"
+ " --slow-firstpass --no-fast-pskip\n"
+ " --me tesa --merange 24 --partitions all\n"
+ " --rc-lookahead 60 --ref 16 --subme 10\n"
+ " --trellis 2\n" );
+ else H0( " - ultrafast,superfast,veryfast,faster,fast\n"
+ " - medium,slow,slower,veryslow,placebo\n" );
+ H0( " --tune Tune the settings for a particular type of source\n"
+ " or situation\n"
+ " Overridden by user settings.\n"
+ " Multiple tunings are separated by commas.\n"
+ " Only one psy tuning can be used at a time.\n" );
+ H2( " - film (psy tuning):\n"
+ " --deblock -1:-1 --psy-rd <unset>:0.15\n"
+ " - animation (psy tuning):\n"
+ " --bframes {+2} --deblock 1:1\n"
+ " --psy-rd 0.4:<unset> --aq-strength 0.6\n"
+ " --ref {Double if >1 else 1}\n"
+ " - grain (psy tuning):\n"
+ " --aq-strength 0.5 --no-dct-decimate\n"
+ " --deadzone-inter 6 --deadzone-intra 6\n"
+ " --deblock -2:-2 --ipratio 1.1 \n"
+ " --pbratio 1.1 --psy-rd <unset>:0.25\n"
+ " --qcomp 0.8\n"
+ " - stillimage (psy tuning):\n"
+ " --aq-strength 1.2 --deblock -3:-3\n"
+ " --psy-rd 2.0:0.7\n"
+ " - psnr (psy tuning):\n"
+ " --aq-mode 0 --no-psy\n"
+ " - ssim (psy tuning):\n"
+ " --aq-mode 2 --no-psy\n"
+ " - fastdecode:\n"
+ " --no-cabac --no-deblock --no-weightb\n"
+ " --weightp 0\n"
+ " - zerolatency:\n"
+ " --bframes 0 --force-cfr --rc-lookahead 0\n"
+ " --sync-lookahead 0 --sliced-threads\n" );
+ else H0( " - psy tunings: film,animation,grain,\n"
+ " stillimage,psnr,ssim\n"
+ " - other tunings: fastdecode,zerolatency\n" );
+ H2( " --slow-firstpass Don't force these faster settings with --pass 1:\n"
+ " --no-8x8dct --me dia --partitions none\n"
+ " --ref 1 --subme {2 if >2 else unchanged}\n"
+ " --trellis 0 --fast-pskip\n" );
+ else H1( " --slow-firstpass Don't force faster settings with --pass 1\n" );