1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 5<title>apev2mux: GStreamer Good Plugins 1.0 Plugins Reference Manual</title> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="index.html" title="GStreamer Good Plugins 1.0 Plugins Reference Manual"> 8<link rel="up" href="ch01.html" title="gst-plugins-good Elements"> 9<link rel="prev" href="gst-plugins-good-plugins-apedemux.html" title="apedemux"> 10<link rel="next" href="gst-plugins-good-plugins-aspectratiocrop.html" title="aspectratiocrop"> 11<meta name="generator" content="GTK-Doc V1.28 (XML mode)"> 12<link rel="stylesheet" href="style.css" type="text/css"> 13</head> 14<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 15<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> 16<td width="100%" align="left" class="shortcuts"> 17<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> 18 <a href="#gst-plugins-good-plugins-apev2mux.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 19 <a href="#gst-plugins-good-plugins-apev2mux.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span> 20 <a href="#gst-plugins-good-plugins-apev2mux.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span> 21</td> 22<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> 23<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> 24<td><a accesskey="p" href="gst-plugins-good-plugins-apedemux.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> 25<td><a accesskey="n" href="gst-plugins-good-plugins-aspectratiocrop.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> 26</tr></table> 27<div class="refentry"> 28<a name="gst-plugins-good-plugins-apev2mux"></a><div class="titlepage"></div> 29<div class="refnamediv"><table width="100%"><tr> 30<td valign="top"> 31<h2><span class="refentrytitle"><a name="gst-plugins-good-plugins-apev2mux.top_of_page"></a>apev2mux</span></h2> 32<p>apev2mux</p> 33</td> 34<td class="gallery_image" valign="top" align="right"></td> 35</tr></table></div> 36<a name="GstApev2Mux"></a><div class="refsect1"> 37<a name="gst-plugins-good-plugins-apev2mux.other"></a><h2>Types and Values</h2> 38<div class="informaltable"><table class="informaltable" width="100%" border="0"> 39<colgroup> 40<col width="150px" class="name"> 41<col class="description"> 42</colgroup> 43<tbody><tr> 44<td class="datatype_keyword">struct</td> 45<td class="function_name"><a class="link" href="gst-plugins-good-plugins-apev2mux.html#GstApev2Mux-struct" title="struct GstApev2Mux">GstApev2Mux</a></td> 46</tr></tbody> 47</table></div> 48</div> 49<div class="refsect1"> 50<a name="gst-plugins-good-plugins-apev2mux.object-hierarchy"></a><h2>Object Hierarchy</h2> 51<pre class="screen"> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a> 52 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a> 53 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstObject.html#GstObject-struct">GstObject</a> 54 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstElement.html#GstElement-struct">GstElement</a> 55 <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gst-plugins-base-libs-1.0/gst-plugins-base-libs-GstTagMux.html#GstTagMux">GstTagMux</a> 56 <span class="lineart">╰──</span> GstApev2Mux 57</pre> 58</div> 59<div class="refsect1"> 60<a name="gst-plugins-good-plugins-apev2mux.implemented-interfaces"></a><h2>Implemented Interfaces</h2> 61<p> 62GstApev2Mux implements 63 <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstTagSetter.html#GstTagSetter-struct">GstTagSetter</a>.</p> 64</div> 65<div class="refsect1"> 66<a name="gst-plugins-good-plugins-apev2mux.description"></a><h2>Description</h2> 67<p>This element adds APEv2 tags to the beginning of a stream using the taglib 68library.</p> 69<p>Applications can set the tags to write using the <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstTagSetter.html#GstTagSetter-struct"><span class="type">GstTagSetter</span></a> interface. 70Tags sent by upstream elements will be picked up automatically (and merged 71according to the merge mode set via the tag setter interface).</p> 72<div class="refsect2"> 73<a name="id-1.2.13.7.4"></a><h3>Example pipelines</h3> 74<div class="informalexample"> 75 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> 76 <tbody> 77 <tr> 78 <td class="listing_lines" align="right"><pre>1</pre></td> 79 <td class="listing_code"><pre class="programlisting">gst<span class="gtkdoc opt">-</span>launch<span class="gtkdoc opt">-</span><span class="number">1.0</span> <span class="gtkdoc opt">-</span>v filesrc location<span class="gtkdoc opt">=</span>foo<span class="gtkdoc opt">.</span>ogg <span class="gtkdoc opt">!</span> decodebin <span class="gtkdoc opt">!</span> audioconvert <span class="gtkdoc opt">!</span> lame <span class="gtkdoc opt">!</span> apev2mux <span class="gtkdoc opt">!</span> filesink location<span class="gtkdoc opt">=</span>foo<span class="gtkdoc opt">.</span>mp3</pre></td> 80 </tr> 81 </tbody> 82 </table> 83</div> 84 A pipeline that transcodes a file from Ogg/Vorbis to mp3 format with an 85APEv2 that contains the same as the the Ogg/Vorbis file. Make sure the 86Ogg/Vorbis file actually has comments to preserve. 87<div class="informalexample"> 88 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> 89 <tbody> 90 <tr> 91 <td class="listing_lines" align="right"><pre>1</pre></td> 92 <td class="listing_code"><pre class="programlisting">gst<span class="gtkdoc opt">-</span>launch<span class="gtkdoc opt">-</span><span class="number">1.0</span> <span class="gtkdoc opt">-</span>m filesrc location<span class="gtkdoc opt">=</span>foo<span class="gtkdoc opt">.</span>mp3 <span class="gtkdoc opt">!</span> apedemux <span class="gtkdoc opt">!</span> fakesink silent<span class="gtkdoc opt">=</span>TRUE <span class="number">2</span><span class="gtkdoc opt">> /</span>dev<span class="gtkdoc opt">/</span>null <span class="gtkdoc opt">|</span> grep taglist</pre></td> 93 </tr> 94 </tbody> 95 </table> 96</div> 97 Verify that tags have been written. 98</div> 99<div class="refsynopsisdiv"> 100<h2>Synopsis</h2> 101<div class="refsect2"> 102<a name="id-1.2.13.7.5.1"></a><h3>Element Information</h3> 103<div class="variablelist"><table border="0" class="variablelist"> 104<colgroup> 105<col align="left" valign="top"> 106<col> 107</colgroup> 108<tbody> 109<tr> 110<td><p><span class="term">plugin</span></p></td> 111<td> 112 <a class="link" href="gst-plugins-good-plugins-plugin-taglib.html#plugin-taglib">taglib</a> 113 </td> 114</tr> 115<tr> 116<td><p><span class="term">author</span></p></td> 117<td>Sebastian Dröge <slomo@circular-chaos.org></td> 118</tr> 119<tr> 120<td><p><span class="term">class</span></p></td> 121<td>Formatter/Metadata</td> 122</tr> 123</tbody> 124</table></div> 125</div> 126<hr> 127<div class="refsect2"> 128<a name="id-1.2.13.7.5.2"></a><h3>Element Pads</h3> 129<div class="variablelist"><table border="0" class="variablelist"> 130<colgroup> 131<col align="left" valign="top"> 132<col> 133</colgroup> 134<tbody> 135<tr> 136<td><p><span class="term">name</span></p></td> 137<td>sink</td> 138</tr> 139<tr> 140<td><p><span class="term">direction</span></p></td> 141<td>sink</td> 142</tr> 143<tr> 144<td><p><span class="term">presence</span></p></td> 145<td>always</td> 146</tr> 147<tr> 148<td><p><span class="term">details</span></p></td> 149<td>ANY</td> 150</tr> 151</tbody> 152</table></div> 153<div class="variablelist"><table border="0" class="variablelist"> 154<colgroup> 155<col align="left" valign="top"> 156<col> 157</colgroup> 158<tbody> 159<tr> 160<td><p><span class="term">name</span></p></td> 161<td>src</td> 162</tr> 163<tr> 164<td><p><span class="term">direction</span></p></td> 165<td>source</td> 166</tr> 167<tr> 168<td><p><span class="term">presence</span></p></td> 169<td>always</td> 170</tr> 171<tr> 172<td><p><span class="term">details</span></p></td> 173<td>application/x-apetag</td> 174</tr> 175</tbody> 176</table></div> 177</div> 178</div> 179</div> 180<div class="refsect1"> 181<a name="gst-plugins-good-plugins-apev2mux.functions_details"></a><h2>Functions</h2> 182<p></p> 183</div> 184<div class="refsect1"> 185<a name="gst-plugins-good-plugins-apev2mux.other_details"></a><h2>Types and Values</h2> 186<div class="refsect2"> 187<a name="GstApev2Mux-struct"></a><h3>struct GstApev2Mux</h3> 188<pre class="programlisting">struct GstApev2Mux;</pre> 189</div> 190</div> 191<div class="refsect1"> 192<a name="gst-plugins-good-plugins-apev2mux.see-also"></a><h2>See Also</h2> 193<p><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstTagSetter.html#GstTagSetter-struct"><span class="type">GstTagSetter</span></a></p> 194</div> 195</div> 196<div class="footer"> 197<hr>Generated by GTK-Doc V1.28</div> 198</body> 199</html>