Changes between Version 2 and Version 3 of Encodings
- Timestamp:
- 03/15/13 06:36:24 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Encodings
v2 v3 17 17 Here are some rough guidelines: 18 18 * on LANs with 100MBit/s or higher, use fast lossy encodings: either rgb24 or png 19 * otherwise, choose x264 and tune the speed/quality to suit your needs 19 * otherwise, choose x264 and tune the speed/quality to suit your needs (see below) 20 20 The other encodings are somewhat less useful: 21 21 * vpx is similar to x264 but it does not support speed and quality tuning 22 * webm is single image subset of vpx, and therefore lacks [http://en.wikipedia.org/wiki/Intra-frame intra-frame] compression 22 * webm is single image subset of vpx, and therefore lacks [http://en.wikipedia.org/wiki/Intra-frame intra-frame] compression - but latency is good 23 23 * jpeg gives lower size/quality than other lossy encodings 24 24 25 ---- 26 25 27 == x264 specifics == 28 (see [http://en.wikipedia.org/wiki/H.264 wikipedia H.264]) 26 29 x264 is the encoding that supports the most options and tunings. 27 Quality/speed and minimum quality/speed can be set via the command line (and the latter scan also be changed at runtime via the tray applet)28 Note that even when using the x264 encoding, some small screen updates may get sent as png or rgb24 to save time/bandwidth .30 Quality/speed and minimum quality/speed can be set via the command line (and the latter can also be changed at runtime via the tray applet) 31 Note that even when using the x264 encoding, some small screen updates may get sent as png or rgb24 to save time/bandwidth (not encoding a full frame). 29 32 30 === Profile === 33 === Profiles === 34 (see [http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Profiles wikipedia h264 profiles]) 31 35 x264 supports the following profiles: {{{baseline}}}, {{{main}}}, {{{high}}}, {{{high10}}}, {{{high422}}} and {{{high444}}} 32 36 At present, we use {{{high}}} or better by default unless the client overrides it. … … 42 46 43 47 === Speed Option === 44 This option, shown as "latency" via the tray menu, controls how hard the encoder is going to work at compressing the picture. Working harder means lower bandwidth, but higher latency. 45 46 48 This option, shown as "latency" via the tray menu, controls how hard the encoder is going to work at compressing the picture. Working harder means lower bandwidth, but also higher latency. 49 x264 supports the following speed settings: {{{ultrafast}}}, {{{superfast}}}, {{{veryfast}}}, {{{faster}}}, {{{fast}}}, {{{medium}}}, {{{slow}}}, {{{slower}}}, {{{veryslow}}} and {{{placebo}}}. 50 xpra maps the 100% to 0% speed option from {{{superfast}}} to {{{slower}}} only. 51 {{{veryslow}}} and {{{placebo}}} are not particularly useful (diminishing returns: much much slower and without sufficient savings for real-time use). 52 {{{ultrafast}}} is not available because setting the encoder to this setting has side-effects which prevents other settings from behaving as they should if the option is later changed. And in theory, {{{superfast}}} is almost as good.