Хочу поподробнее ознакомиться с этой проблемой.
Прошу помощи у знающих людей.
Конкретно интересует выбор кодировщиков (главное для меня не аппаратная поддержка и индустриальные стандарты, а качество) и описание параметров для кодирования.
			
		Только на стационарном DVD проигрывателе H.264 не поддерживается, а таких пока что много. Поэтому если для аппартных проигрывателей, то лучше будет использовать XviD. А если на компьюетере или если есть соттвествующее устройство, вроде TviX или Dune или EGreat — то однозначно x264.x264 - лучший кодер
Хотя при желании можно найти железный плеер. Кому нужны адреса в москве могу показать. От 4 тыщ и с поддержкой hdtv. А теперь думаю количество плееров будет расти потому что новый divx уже перешел на avc и будет иметь aac звук. То есть будет кодировать в тот же формат что и x264. Да и к hdtv качеству народ уже привыкает.B3ND3R: (главное для меня не аппаратная поддержка и индустриальные стандарты, а качество)
d[o_0]dleZ:Я вот когда кодировал видео mencoder'ом, с x264, и делал сначала crop, потом scale (в соответствии с aspect ratio DVD), все это выводилось в raw поток. После raw поток муксил в MP4, а потом уже в MKV. Так вот я так и не понял где, но где-то видимо или mencoder, или у x264 такая фича (вот это наврятли), сохранялись оригинальные пропорции фильма.
Да, параметр получает тот, вот только как его отключить в mencoder'e x264encopts непонятно. Можно правда и другим путем пойти.Посмотри параметр --sar
CMEPTb:Скажи лучше что хочешь мутить

Забыл ответить на вторую часть вопроса. Режим кодирования однопроходный - constant quality (он же --crf). Не уступает по качеству дву и трёхпроходному кодированию. Качество устанавливается от --crf 1 (самое лучшее) до crf --64 (самый маленький размер) Битрейт выбирается автоматически и зависит от сложности и разрешения видео, зато всегда предсказуемый на глаз результат. Есть и режим кодирования без потерь. --crf 0. Так что можно x264 использовать как lossless кодировщик для yv12 видео.2. Уменьшить размер без заметной потери качества уже имеющегося видео
МедиаКодер ломится в нет за RSS-рассылкойCMEPTb:Не знаю скачивает она обновления или нет, но в инет по 80 порту при запуске ломится.
Согласен. Вот мучаюсь ;)CMEPTb:А для наилучшего результата и экономии времени лучше денёк поколупаться с megui и пару дней с avisynth.
x264 core:65 r1074M b6bb3d4
Syntax: x264 [options] -o outfile infile [widthxheight]
Infile can be raw YUV 4:2:0 (in which case resolution is required),
  or YUV4MPEG 4:2:0 (*.y4m),
  or AVI or Avisynth if compiled with AVIS support (yes).
Outfile type is selected by filename:
 .264 -> Raw bytestream
 .mkv -> Matroska
 .mp4 -> MP4 if compiled with GPAC support (yes)
Options:
  -h, --help                  List the more commonly used options
      --longhelp              List all options
Frame-type options:
  -I, --keyint <integer>      Maximum GOP size [250]
  -i, --min-keyint <integer>  Minimum GOP size [25]
      --scenecut <integer>    How aggressively to insert extra I-frames [40]
      --pre-scenecut          Faster, less precise scenecut detection.
                                  Required and implied by multi-threading.
  -b, --bframes <integer>     Number of B-frames between I and P [0]
      --b-adapt               Adaptive B-frame decision method [1]
                                  Higher values may lower threading efficiency.
                                  - 0: Disabled
                                  - 1: Fast
                                  - 2: Optimal (slow with high --bframes)
      --b-bias <integer>      Influences how often B-frames are used [0]
      --b-pyramid             Keep some B-frames as references
      --no-cabac              Disable CABAC
  -r, --ref <integer>         Number of reference frames [1]
      --no-deblock            Disable loop filter
  -f, --deblock <alpha:beta>  Loop filter AlphaC0 and Beta parameters [0:0]
      --interlaced            Enable pure-interlaced mode (tff)
      --tff                   Alias for --interlaced
      --bff                   Enable pure-interlaced mode (bff)
Ratecontrol:
  -q, --qp <integer>          Set QP (0=lossless) [26]
  -B, --bitrate <integer>     Set bitrate (kbit/s)
      --crf <float>           Quality-based VBR (nominal QP)
      --vbv-maxrate <integer> Max local bitrate (kbit/s) [0]
      --vbv-bufsize <integer> Enable CBR and set size of the VBV buffer (kbit) [
0]
      --vbv-init <float>      Initial VBV buffer occupancy [0.9]
      --qpmin <integer>       Set min QP [10]
      --qpmax <integer>       Set max QP [51]
      --qpstep <integer>      Set max QP step [4]
      --ratetol <float>       Allowed variance of average bitrate [1.0]
      --ipratio <float>       QP factor between I and P [1.40]
      --pbratio <float>       QP factor between P and B [1.30]
      --chroma-qp-offset <integer>  QP difference between chroma and luma [0]
      --aq-mode <integer>     AQ method [1]
                                  - 0: Disabled
                                  - 1: Variance AQ (complexity mask)
      --aq-strength <float>   Reduces blocking and blurring in flat and
                              textured areas. [1.0]
                                  - 0.5: weak AQ
                                  - 1.5: strong AQ
  -p, --pass <1|2|3>          Enable multipass ratecontrol
                                  - 1: First pass, creates stats file
                                  - 2: Last pass, does not overwrite stats file
                                  - 3: Nth pass, overwrites stats file
      --stats <string>        Filename for 2 pass stats ["x264_2pass.log"]
      --qcomp <float>         QP curve compression: 0.0 => CBR, 1.0 => CQP [0.60
]
      --cplxblur <float>      Reduce fluctuations in QP (before curve compressio
n) [20.0]
      --qblur <float>         Reduce fluctuations in QP (after curve compression
) [0.5]
      --zones <zone0>/<zone1>/...  Tweak the bitrate of some regions of the vide
o
                              Each zone is of the form
                                  <start frame>,<end frame>,<option>
                                  where <option> is either
                                      q=<integer> (force QP)
                                  or  b=<float> (bitrate multiplier)
      --qpfile <string>       Force frametypes and QPs
Analysis:
  -A, --partitions <string>   Partitions to consider ["p8x8,b8x8,i8x8,i4x4"]
                                  - p8x8, p4x4, b8x8, i8x8, i4x4
                                  - none, all
                                  (p4x4 requires p8x8. i8x8 requires --8x8dct.)
      --direct <string>       Direct MV prediction mode ["spatial"]
                                  - none, spatial, temporal, auto
      --direct-8x8 <-1|0|1>   Direct prediction size [1]
                                  -  0: 4x4
                                  -  1: 8x8
                                  - -1: smallest possible according to level
  -w, --weightb               Weighted prediction for B-frames
      --me <string>           Integer pixel motion estimation method ["hex"]
                                  - dia: diamond search, radius 1 (fast)
                                  - hex: hexagonal search, radius 2
                                  - umh: uneven multi-hexagon search
                                  - esa: exhaustive search
                                  - tesa: hadamard exhaustive search (slow)
      --merange <integer>     Maximum motion vector search range [16]
      --mvrange <integer>     Maximum motion vector length [-1 (auto)]
      --mvrange-thread <int>  Minimum buffer between threads [-1 (auto)]
  -m, --subme <integer>       Subpixel motion estimation and mode decision [6]
                                  - 0: fullpel only (not recommended)
                                  - 1: SAD mode decision, one qpel iteration
                                  - 2: SATD mode decision
                                  - 3-5: Progressively more qpel
                                  - 6: RD mode decision for I/P-frames
                                  - 7: RD mode decision for all frames
                                  - 8: RD refinement for I/P-frames
                                  - 9: RD refinement for all frames
      --psy-rd                Strength of psychovisual optimization ["1.0:0.0"]
                                  #1: RD (requires subme>=6)
                                  #2: Trellis (requires trellis, experimental)
      --mixed-refs            Decide references on a per partition basis
      --no-chroma-me          Ignore chroma in motion estimation
  -8, --8x8dct                Adaptive spatial transform size
  -t, --trellis <integer>     Trellis RD quantization. Requires CABAC. [0]
                                  - 0: disabled
                                  - 1: enabled only on the final encode of a MB
                                  - 2: enabled on all mode decisions
      --no-fast-pskip         Disables early SKIP detection on P-frames
      --no-dct-decimate       Disables coefficient thresholding on P-frames
      --nr <integer>          Noise reduction [0]
      --deadzone-inter <int>  Set the size of the inter luma quantization deadzo
ne [21]
      --deadzone-intra <int>  Set the size of the intra luma quantization deadzo
ne [11]
                                  Deadzones should be in the range 0 - 32.
      --cqm <string>          Preset quant matrices ["flat"]
                                  - jvt, flat
      --cqmfile <string>      Read custom quant matrices from a JM-compatible fi
le
                                  Overrides any other --cqm* options.
      --cqm4 <list>           Set all 4x4 quant matrices
                                  Takes a comma-separated list of 16 integers.
      --cqm8 <list>           Set all 8x8 quant matrices
                                  Takes a comma-separated list of 64 integers.
      --cqm4i, --cqm4p, --cqm8i, --cqm8p
                              Set both luma and chroma quant matrices
      --cqm4iy, --cqm4ic, --cqm4py, --cqm4pc
                              Set individual quant matrices
Video Usability Info (Annex E):
The VUI settings are not used by the encoder but are merely suggestions to
the playback equipment. See doc/vui.txt for details. Use at your own risk.
      --overscan <string>     Specify crop overscan setting ["undef"]
                                  - undef, show, crop
      --videoformat <string>  Specify video format ["undef"]
                                  - component, pal, ntsc, secam, mac, undef
      --fullrange <string>    Specify full range samples setting ["off"]
                                  - off, on
      --colorprim <string>    Specify color primaries ["undef"]
                                  - undef, bt709, bt470m, bt470bg
                                    smpte170m, smpte240m, film
      --transfer <string>     Specify transfer characteristics ["undef"]
                                  - undef, bt709, bt470m, bt470bg, linear,
                                    log100, log316, smpte170m, smpte240m
      --colormatrix <string>  Specify color matrix setting ["undef"]
                                  - undef, bt709, fcc, bt470bg
                                    smpte170m, smpte240m, GBR, YCgCo
      --chromaloc <integer>   Specify chroma sample location (0 to 5) [0]
Input/Output:
  -o, --output                Specify output file
      --sar width:height      Specify Sample Aspect Ratio
      --fps <float|rational>  Specify framerate
      --seek <integer>        First frame to encode
      --frames <integer>      Maximum number of frames to encode
      --level <string>        Specify level (as defined by Annex A)
  -v, --verbose               Print stats for each frame
      --progress              Show a progress indicator while encoding
      --quiet                 Quiet Mode
      --no-psnr               Disable PSNR computation
      --no-ssim               Disable SSIM computation
      --threads <integer>     Parallel encoding
      --thread-input          Run Avisynth in its own thread
      --non-deterministic     Slightly improve quality of SMP, at the cost of re
peatability
      --asm <integer>         Override CPU detection
      --no-asm                Disable all CPU optimizations
      --visualize             Show MB types overlayed on the encoded video
      --dump-yuv <string>     Save reconstructed frames
      --sps-id <integer>      Set SPS and PPS id numbers [0]
      --aud                   Use access unit delimiters
      --nal-hrd               Use NAL HRD parameters
      --pulldown <integer>    Use 3:2 pulldown
                                  - 32: TBT,BT,BTB,BT pattern
                                  - 64: triple,double *recommended for 720p