diff --git a/DOCS/xml/en/mencoder.xml b/DOCS/xml/en/mencoder.xml
index cfd5d0ffa4..2ecec04d5a 100644
--- a/DOCS/xml/en/mencoder.xml
+++ b/DOCS/xml/en/mencoder.xml
@@ -293,7 +293,7 @@ The explanation of the option is in the man page.
Creating an MPEG-4 file from all the JPEG files in the current directory:
-mencoder mf://*.jpg -mf type=jpg:w=800:h=600:fps=25 -ovc lavc -lavcopts vcodec=mpeg4 -oac copy -o output.avi
+mencoder mf://*.jpg -mf w=800:h=600:fps=25:type=jpg -ovc lavc -lavcopts vcodec=mpeg4 -oac copy -o output.avi
@@ -302,7 +302,7 @@ mencoder mf://*.jpg -mf type=jpg:w=800:h=600:fps=25 -ovc lavc -lavcopts vcodec=m
Creating an MPEG-4 file from some JPEG files in the current directory:
-mencoder mf://frame001.jpg,frame002.jpg -mf type=jpg:w=800:h=600:fps=25 -ovc lavc -lavcopts vcodec=mpeg4 -oac copy -o output.avi
+mencoder mf://frame001.jpg,frame002.jpg -mf w=800:h=600:fps=25:type=jpg -ovc lavc -lavcopts vcodec=mpeg4 -oac copy -o output.avi
@@ -312,7 +312,7 @@ mencoder mf://frame001.jpg,frame002.jpg -mf type=jpg:
Creating a Motion JPEG (MJPEG) file from all the JPEG files in the current
directory:
-mencoder mf://*.jpg -mf type=jpg:w=800:h=600:fps=25 -ovc copy -oac copy -o output.avi
+mencoder mf://*.jpg -mf w=800:h=600:fps=25:type=jpg -ovc copy -oac copy -o output.avi
@@ -335,7 +335,7 @@ Width must be integer multiple of 4, it's a limitation of the RAW RGB AVI format
Creating a Motion PNG (MPNG) file from all the PNG files in the current
directory:
-mencoder mf://*.jpg -mf w=800:h=600:fps=25:type=png -ovc copy -oac copy -o output.avi