diff --git a/data/audio-profiles/mp3-lame.xml.in b/data/audio-profiles/mp3-lame.xml.in
index 1b9eaff..3805924 100644
--- a/data/audio-profiles/mp3-lame.xml.in
+++ b/data/audio-profiles/mp3-lame.xml.in
@@ -30,9 +30,14 @@
                     (gst-element-is-available "xingmux")) 
                         "xingmux" 
                         "")
-                (if (gst-element-is-available "id3v2mux")
-                    "id3v2mux"
-                    "id3mux"))
+                (if (gst-element-is-available tag_mux)
+                    ((gst-construct-element tag_mux
+                        "name" "id3mux"
+                        (if (= tag_mux "id3mux")
+                            ("write-v1" (cast-bool write_v1)
+                             "write-v2" (cast-bool write_v2)
+                             (if (= write_v2 1)
+                                ("v2-version" v2_version))))))))
         ]]>
         </process>
         <variable id="vbr_mode">
@@ -81,6 +86,34 @@
             <_value value="insane">Insane</_value>
           </possible-values>
         </variable>
+        <variable id="tag_mux">
+          <_name>Id3 tag writer</_name>
+          <control-type>combo</control-type>
+          <default-value>id3v2mux</default-value>
+          <possible-values>
+            <_value value="id3v2mux" disables="write_v1,write_v2,v2_version">id3v2mux (default)</_value>
+            <_value value="id3mux" enables="write_v1,write_v2">id3mux (compatibility)</_value>
+          </possible-values>
+        </variable>
+        <variable id="write_v1">
+          <_name>Write id3v1 tags</_name>
+          <control-type>check</control-type>
+          <default-value>1</default-value>
+        </variable>
+        <variable id="write_v2" enables="v2_version">
+          <_name>Write id3v2 tags</_name>
+          <control-type>check</control-type>
+          <default-value>0</default-value>
+        </variable>
+        <variable id="v2_version">
+          <_name>Id3v2 version</_name>
+          <control-type>combo</control-type>
+          <default-value>4</default-value>
+          <possible-values>
+            <_value value="3">2.3</_value>
+            <_value value="4">2.4</_value>
+          </possible-values>
+        </variable>
       </pipeline>
     </profile>
   </profiles>
