diff --git a/DOCS/xml/en/encoding-guide.xml b/DOCS/xml/en/encoding-guide.xml
index 36314dfb8a..58bdd87125 100644
--- a/DOCS/xml/en/encoding-guide.xml
+++ b/DOCS/xml/en/encoding-guide.xml
@@ -2855,6 +2855,279 @@ codec
+
+
+Encoding profiles
+
+ Xvid supports encoding profiles through the option ,
+ which are used to impose restrictions on the properties of the XviD video
+ stream such that it will be playable on anything which supports the
+ chosen profile.
+ The restrictions relate to resolutions, bitrates and certain MPEG-4
+ features.
+ The following table shows what each profile supports.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Simple
+ Advanced Simple
+ DivX
+
+
+ Profile name
+ 0
+ 1
+ 2
+ 3
+ 0
+ 1
+ 2
+ 3
+ 4
+ 5
+ Handheld
+ Portable NTSC
+ Portable PAL
+ Home Theater NTSC
+ Home Theater PAL
+ HDTV
+
+
+ Width [pixels]
+ 176
+ 176
+ 352
+ 352
+ 176
+ 176
+ 352
+ 352
+ 352
+ 720
+ 176
+ 352
+ 352
+ 720
+ 720
+ 1280
+
+
+ Height [pixels]
+ 144
+ 144
+ 288
+ 288
+ 144
+ 144
+ 288
+ 288
+ 576
+ 576
+ 144
+ 240
+ 288
+ 480
+ 576
+ 720
+
+
+ Frame rate [fps]
+ 15
+ 15
+ 15
+ 15
+ 30
+ 30
+ 15
+ 30
+ 30
+ 30
+ 15
+ 30
+ 25
+ 30
+ 25
+ 30
+
+
+ Max average bitrate [kbps]
+ 64
+ 64
+ 128
+ 384
+ 128
+ 128
+ 384
+ 768
+ 3000
+ 8000
+ 537.6
+ 4854
+ 4854
+ 4854
+ 4854
+ 9708.4
+
+
+ Peak average bitrate over 3 secs [kbps]
+
+
+
+
+
+
+
+
+
+
+ 800
+ 8000
+ 8000
+ 8000
+ 8000
+ 16000
+
+
+ Max. B-frames
+ 0
+ 0
+ 0
+ 0
+
+
+
+
+
+
+ 0
+ 1
+ 1
+ 1
+ 1
+ 2
+
+
+ MPEG quantization
+
+
+
+
+ X
+ X
+ X
+ X
+ X
+ X
+
+
+
+
+
+
+
+
+ Adaptive quantization
+
+
+
+
+ X
+ X
+ X
+ X
+ X
+ X
+ X
+ X
+ X
+ X
+ X
+ X
+
+
+ Interlaced encoding
+
+
+
+
+ X
+ X
+ X
+ X
+ X
+ X
+
+
+
+ X
+ X
+ X
+
+
+ Quaterpixel
+
+
+
+
+ X
+ X
+ X
+ X
+ X
+ X
+
+
+
+
+
+
+
+
+ Global motion compensation
+
+
+
+
+ X
+ X
+ X
+ X
+ X
+ X
+
+
+
+
+
+
+
+
+
+
+