Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > 79c9ab370fef894753510ec7cb3261ed > files > 53

gstreamer0.10-plugins-bad-doc-0.10.18-3mdv2010.1.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>mpeg2enc</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="GStreamer Bad Plugins 0.10 Plugins Reference Manual">
<link rel="up" href="ch01.html" title="gst-plugins-bad Elements">
<link rel="prev" href="gst-plugins-bad-plugins-modplug.html" title="modplug">
<link rel="next" href="gst-plugins-bad-plugins-mplex.html" title="mplex">
<meta name="generator" content="GTK-Doc V1.13 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="ch01.html" title="gst-plugins-bad Elements">
<link rel="chapter" href="ch02.html" title="gst-plugins-bad Plugins">
<link rel="chapter" href="ch03.html" title="gst-plugins-bad Classes">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="gst-plugins-bad-plugins-modplug.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GStreamer Bad Plugins 0.10 Plugins Reference Manual</th>
<td><a accesskey="n" href="gst-plugins-bad-plugins-mplex.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#gst-plugins-bad-plugins-mpeg2enc.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#gst-plugins-bad-plugins-mpeg2enc.description" class="shortcut">Description</a>
                   | 
                  <a href="#gst-plugins-bad-plugins-mpeg2enc.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry" title="mpeg2enc">
<a name="gst-plugins-bad-plugins-mpeg2enc"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gst-plugins-bad-plugins-mpeg2enc.top_of_page"></a>mpeg2enc</span></h2>
<p>mpeg2enc — High-quality MPEG-1/2 video encoder</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="gst-plugins-bad-plugins-mpeg2enc.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">                    <a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc" title="GstMpeg2enc">GstMpeg2enc</a>;
</pre>
</div>
<div class="refsect1" title="Properties">
<a name="gst-plugins-bad-plugins-mpeg2enc.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--altscan-mpeg2" title='The "altscan-mpeg2" property'>altscan-mpeg2</a>"            <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--aspect" title='The "aspect" property'>aspect</a>"                   <span class="type">GstMpeg2encAspect</span>     : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--b-per-refframe" title='The "b-per-refframe" property'>b-per-refframe</a>"           <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--bitrate" title='The "bitrate" property'>bitrate</a>"                  <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--bufsize" title='The "bufsize" property'>bufsize</a>"                  <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--closed-gop" title='The "closed-gop" property'>closed-gop</a>"               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--constraints" title='The "constraints" property'>constraints</a>"              <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--correct-svcd-hds" title='The "correct-svcd-hds" property'>correct-svcd-hds</a>"         <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--dualprime" title='The "dualprime" property'>dualprime</a>"                <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--dummy-svcd-sof" title='The "dummy-svcd-sof" property'>dummy-svcd-sof</a>"           <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--force-b-b-p" title='The "force-b-b-p" property'>force-b-b-p</a>"              <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--format" title='The "format" property'>format</a>"                   <span class="type">GstMpeg2encFormat</span>     : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--framerate" title='The "framerate" property'>framerate</a>"                <span class="type">GstMpeg2encFramerate</span>  : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--interlace-mode" title='The "interlace-mode" property'>interlace-mode</a>"           <span class="type">GstMpeg2encInterlaceMode</span>  : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--intra-dc-prec" title='The "intra-dc-prec" property'>intra-dc-prec</a>"            <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--keep-hf" title='The "keep-hf" property'>keep-hf</a>"                  <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--max-gop-size" title='The "max-gop-size" property'>max-gop-size</a>"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--min-gop-size" title='The "min-gop-size" property'>min-gop-size</a>"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--motion-search-radius" title='The "motion-search-radius" property'>motion-search-radius</a>"     <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--non-video-bitrate" title='The "non-video-bitrate" property'>non-video-bitrate</a>"        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--norm" title='The "norm" property'>norm</a>"                     <span class="type">GstMpeg2encVideoNorm</span>  : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--playback-field-order" title='The "playback-field-order" property'>playback-field-order</a>"     <span class="type">GstMpeg2encPlaybackFieldOrders</span>  : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--pulldown-3-2" title='The "pulldown-3-2" property'>pulldown-3-2</a>"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--quant-matrix" title='The "quant-matrix" property'>quant-matrix</a>"             <span class="type">GstMpeg2encQuantisationMatrix</span>  : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--quant-reduction-max-var" title='The "quant-reduction-max-var" property'>quant-reduction-max-var</a>"  <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>                : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--quantisation" title='The "quantisation" property'>quantisation</a>"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--quantisation-reduction" title='The "quantisation-reduction" property'>quantisation-reduction</a>"   <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>                : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--reduce-hf" title='The "reduce-hf" property'>reduce-hf</a>"                <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>                : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--reduction-2x2" title='The "reduction-2x2" property'>reduction-2x2</a>"            <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--reduction-4x4" title='The "reduction-4x4" property'>reduction-4x4</a>"            <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--sequence-header-every-gop" title='The "sequence-header-every-gop" property'>sequence-header-every-gop</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--sequence-length" title='The "sequence-length" property'>sequence-length</a>"          <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--unit-coeff-elim" title='The "unit-coeff-elim" property'>unit-coeff-elim</a>"          <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
  "<a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--vcd-still-size" title='The "vcd-still-size" property'>vcd-still-size</a>"           <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
</pre>
</div>
<div class="refsect1" title="Description">
<a name="gst-plugins-bad-plugins-mpeg2enc.description"></a><h2>Description</h2>
<p>
This element encodes raw video into an MPEG-1/2 elementary stream using the
<a class="ulink" href="http://mjpeg.sourceforge.net/" target="_top">mjpegtools</a> library.
Documentation on MPEG encoding in general can be found in the 
<a class="ulink" href="https://sourceforge.net/docman/display_doc.php?docid=3456&amp;group_id=5776" target="_top">MJPEG Howto</a>
and on the various available parameters in the documentation
of the mpeg2enc tool in particular, which shares options with this element.
</p>
<p>
</p>
<div class="refsect2" title="Example pipeline">
<a name="id404526"></a><h3>Example pipeline</h3>
<div class="informalexample">
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td class="listing_lines" align="right"><pre>1</pre></td>
        <td class="listing_code"><pre class="programlisting">gst<span class="symbol">-</span>launch<span class="symbol">-</span><span class="number">0.10</span> videotestsrc num<span class="symbol">-</span>buffers<span class="symbol">=</span><span class="number">1000</span> <span class="symbol">!</span> mpeg2enc <span class="symbol">!</span> filesink location<span class="symbol">=</span>videotestsrc<span class="symbol">.</span>m1v</pre></td>
      </tr>
    </tbody>
  </table>
</div>
 This example pipeline will encode a test video source to a an MPEG1
elementary stream (with Generic MPEG1 profile).
<p>
Likely, the <a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--format" title='The "format" property'><span class="type">"format"</span></a> property
is most important, as it selects the type of MPEG stream that is produced.
In particular, default property values are dependent on the format,
and can even be forcibly restrained to certain pre-sets (and thereby ignored).
Note that the (S)VCD profiles also restrict the image size, so some scaling
may be needed to accomodate this.  The so-called generic profiles (as used
in the example above) allow most parameters to be adjusted.
</p>
<div class="informalexample">
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td class="listing_lines" align="right"><pre>1</pre></td>
        <td class="listing_code"><pre class="programlisting">gst<span class="symbol">-</span>launch<span class="symbol">-</span><span class="number">0.10</span> videotestsrc num<span class="symbol">-</span>buffers<span class="symbol">=</span><span class="number">1000</span> <span class="symbol">!</span> videoscale <span class="symbol">!</span> mpeg2enc format<span class="symbol">=</span><span class="number">1</span> norm<span class="symbol">=</span>p <span class="symbol">!</span> filesink location<span class="symbol">=</span>videotestsrc<span class="symbol">.</span>m1v</pre></td>
      </tr>
    </tbody>
  </table>
</div>
 This will produce an MPEG1 profile stream according to VCD2.0 specifications
for PAL <a class="link" href="gst-plugins-bad-plugins-mpeg2enc.html#GstMpeg2enc--norm" title='The "norm" property'><span class="type">"norm"</span></a> (as the image height is dependent on video norm).
</div>
</div>
<div class="refsect1" title="Details">
<a name="gst-plugins-bad-plugins-mpeg2enc.details"></a><h2>Details</h2>
<div class="refsect2" title="GstMpeg2enc">
<a name="GstMpeg2enc"></a><h3>GstMpeg2enc</h3>
<pre class="programlisting">typedef struct {
  GstElement parent;

  /* pads */
  GstPad *sinkpad, *srcpad;

  /* options wrapper */
  GstMpeg2EncOptions *options;

  /* general encoding object (contains rest) */
  GstMpeg2Encoder *encoder;

  /* lock for syncing with encoding task */
  GMutex *tlock;
  /* with TLOCK */
  /* signals counterpart thread that something changed;
   * buffer ready for task or buffer has been processed */
  GCond *cond;
  /* seen eos */
  gboolean eos;
  /* flowreturn obtained by encoding task */
  GstFlowReturn srcresult;
  /* buffer for encoding task */
  GstBuffer *buffer;
  /* timestamps for output */
  GQueue *time;
} GstMpeg2enc;
</pre>
<p>
</p>
</div>
</div>
<div class="refsect1" title="Property Details">
<a name="gst-plugins-bad-plugins-mpeg2enc.property-details"></a><h2>Property Details</h2>
<div class="refsect2" title='The "altscan-mpeg2" property'>
<a name="GstMpeg2enc--altscan-mpeg2"></a><h3>The <code class="literal">"altscan-mpeg2"</code> property</h3>
<pre class="programlisting">  "altscan-mpeg2"            <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Alternate MPEG-2 block scanning. Disabling this might make buggy players play SVCD streams.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2" title='The "aspect" property'>
<a name="GstMpeg2enc--aspect"></a><h3>The <code class="literal">"aspect"</code> property</h3>
<pre class="programlisting">  "aspect"                   <span class="type">GstMpeg2encAspect</span>     : Read / Write</pre>
<p>Display aspect ratio.</p>
<p>Default value: Deduce from input</p>
</div>
<hr>
<div class="refsect2" title='The "b-per-refframe" property'>
<a name="GstMpeg2enc--b-per-refframe"></a><h3>The <code class="literal">"b-per-refframe"</code> property</h3>
<pre class="programlisting">  "b-per-refframe"           <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Number of B frames between each I/P frame.</p>
<p>Allowed values: [0,2]</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" title='The "bitrate" property'>
<a name="GstMpeg2enc--bitrate"></a><h3>The <code class="literal">"bitrate"</code> property</h3>
<pre class="programlisting">  "bitrate"                  <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Compressed video bitrate (kbps).</p>
<p>Allowed values: [0,10000]</p>
<p>Default value: 1125</p>
</div>
<hr>
<div class="refsect2" title='The "bufsize" property'>
<a name="GstMpeg2enc--bufsize"></a><h3>The <code class="literal">"bufsize"</code> property</h3>
<pre class="programlisting">  "bufsize"                  <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Target decoders video buffer size (kB) (default depends on format).</p>
<p>Allowed values: [20,4000]</p>
<p>Default value: 46</p>
</div>
<hr>
<div class="refsect2" title='The "closed-gop" property'>
<a name="GstMpeg2enc--closed-gop"></a><h3>The <code class="literal">"closed-gop"</code> property</h3>
<pre class="programlisting">  "closed-gop"               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>All Group-of-Pictures are closed (for multi-angle DVDs).</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" title='The "constraints" property'>
<a name="GstMpeg2enc--constraints"></a><h3>The <code class="literal">"constraints"</code> property</h3>
<pre class="programlisting">  "constraints"              <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Use strict video resolution and bitrate checks.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2" title='The "correct-svcd-hds" property'>
<a name="GstMpeg2enc--correct-svcd-hds"></a><h3>The <code class="literal">"correct-svcd-hds"</code> property</h3>
<pre class="programlisting">  "correct-svcd-hds"         <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Force SVCD width to 480 instead of 540/720.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" title='The "dualprime" property'>
<a name="GstMpeg2enc--dualprime"></a><h3>The <code class="literal">"dualprime"</code> property</h3>
<pre class="programlisting">  "dualprime"                <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Dual Prime Motion Estimation Mode for MPEG-2 I/P-frame only streams.  Quite some players do not support this.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" title='The "dummy-svcd-sof" property'>
<a name="GstMpeg2enc--dummy-svcd-sof"></a><h3>The <code class="literal">"dummy-svcd-sof"</code> property</h3>
<pre class="programlisting">  "dummy-svcd-sof"           <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Generate dummy SVCD scan-data (for vcdimager).</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2" title='The "force-b-b-p" property'>
<a name="GstMpeg2enc--force-b-b-p"></a><h3>The <code class="literal">"force-b-b-p"</code> property</h3>
<pre class="programlisting">  "force-b-b-p"              <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Force two B frames between I/P frames when closing GOP boundaries.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" title='The "format" property'>
<a name="GstMpeg2enc--format"></a><h3>The <code class="literal">"format"</code> property</h3>
<pre class="programlisting">  "format"                   <span class="type">GstMpeg2encFormat</span>     : Read / Write</pre>
<p>Encoding profile format.</p>
<p>Default value: Generic MPEG-1</p>
</div>
<hr>
<div class="refsect2" title='The "framerate" property'>
<a name="GstMpeg2enc--framerate"></a><h3>The <code class="literal">"framerate"</code> property</h3>
<pre class="programlisting">  "framerate"                <span class="type">GstMpeg2encFramerate</span>  : Read / Write</pre>
<p>Output framerate.</p>
<p>Default value: Same as input</p>
</div>
<hr>
<div class="refsect2" title='The "interlace-mode" property'>
<a name="GstMpeg2enc--interlace-mode"></a><h3>The <code class="literal">"interlace-mode"</code> property</h3>
<pre class="programlisting">  "interlace-mode"           <span class="type">GstMpeg2encInterlaceMode</span>  : Read / Write</pre>
<p>MPEG-2 motion estimation and encoding modes.</p>
<p>Default value: Progressive</p>
</div>
<hr>
<div class="refsect2" title='The "intra-dc-prec" property'>
<a name="GstMpeg2enc--intra-dc-prec"></a><h3>The <code class="literal">"intra-dc-prec"</code> property</h3>
<pre class="programlisting">  "intra-dc-prec"            <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Number of bits precision for DC (base colour) in MPEG-2 blocks.</p>
<p>Allowed values: [8,11]</p>
<p>Default value: 9</p>
</div>
<hr>
<div class="refsect2" title='The "keep-hf" property'>
<a name="GstMpeg2enc--keep-hf"></a><h3>The <code class="literal">"keep-hf"</code> property</h3>
<pre class="programlisting">  "keep-hf"                  <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Maximize high-frequency resolution (for high-quality sources).</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" title='The "max-gop-size" property'>
<a name="GstMpeg2enc--max-gop-size"></a><h3>The <code class="literal">"max-gop-size"</code> property</h3>
<pre class="programlisting">  "max-gop-size"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Maximal size per Group-of-Pictures (-1=default).</p>
<p>Allowed values: [-1,250]</p>
<p>Default value: -1</p>
</div>
<hr>
<div class="refsect2" title='The "min-gop-size" property'>
<a name="GstMpeg2enc--min-gop-size"></a><h3>The <code class="literal">"min-gop-size"</code> property</h3>
<pre class="programlisting">  "min-gop-size"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Minimal size per Group-of-Pictures (-1=default).</p>
<p>Allowed values: [-1,250]</p>
<p>Default value: -1</p>
</div>
<hr>
<div class="refsect2" title='The "motion-search-radius" property'>
<a name="GstMpeg2enc--motion-search-radius"></a><h3>The <code class="literal">"motion-search-radius"</code> property</h3>
<pre class="programlisting">  "motion-search-radius"     <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Motion compensation search radius.</p>
<p>Allowed values: [0,32]</p>
<p>Default value: 16</p>
</div>
<hr>
<div class="refsect2" title='The "non-video-bitrate" property'>
<a name="GstMpeg2enc--non-video-bitrate"></a><h3>The <code class="literal">"non-video-bitrate"</code> property</h3>
<pre class="programlisting">  "non-video-bitrate"        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Assumed bitrate of non-video for sequence splitting (kbps).</p>
<p>Allowed values: [0,10000]</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" title='The "norm" property'>
<a name="GstMpeg2enc--norm"></a><h3>The <code class="literal">"norm"</code> property</h3>
<pre class="programlisting">  "norm"                     <span class="type">GstMpeg2encVideoNorm</span>  : Read / Write</pre>
<p>Tag output for specific video norm.</p>
<p>Default value: Unspecified</p>
</div>
<hr>
<div class="refsect2" title='The "playback-field-order" property'>
<a name="GstMpeg2enc--playback-field-order"></a><h3>The <code class="literal">"playback-field-order"</code> property</h3>
<pre class="programlisting">  "playback-field-order"     <span class="type">GstMpeg2encPlaybackFieldOrders</span>  : Read / Write</pre>
<p>Force specific playback field order.</p>
<p>Default value: Unspecified</p>
</div>
<hr>
<div class="refsect2" title='The "pulldown-3-2" property'>
<a name="GstMpeg2enc--pulldown-3-2"></a><h3>The <code class="literal">"pulldown-3-2"</code> property</h3>
<pre class="programlisting">  "pulldown-3-2"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Generate header flags for 3-2 pull down 24fps movies.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" title='The "quant-matrix" property'>
<a name="GstMpeg2enc--quant-matrix"></a><h3>The <code class="literal">"quant-matrix"</code> property</h3>
<pre class="programlisting">  "quant-matrix"             <span class="type">GstMpeg2encQuantisationMatrix</span>  : Read / Write</pre>
<p>Quantisation matrix to use for encoding.</p>
<p>Default value: Default</p>
</div>
<hr>
<div class="refsect2" title='The "quant-reduction-max-var" property'>
<a name="GstMpeg2enc--quant-reduction-max-var"></a><h3>The <code class="literal">"quant-reduction-max-var"</code> property</h3>
<pre class="programlisting">  "quant-reduction-max-var"  <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>                : Read / Write</pre>
<p>Maximal luma variance below which quantisation boost is used.</p>
<p>Allowed values: [0,2500]</p>
<p>Default value: 100</p>
</div>
<hr>
<div class="refsect2" title='The "quantisation" property'>
<a name="GstMpeg2enc--quantisation"></a><h3>The <code class="literal">"quantisation"</code> property</h3>
<pre class="programlisting">  "quantisation"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Quantisation factor (-1=cbr, 0=default, 1=best, 31=worst).</p>
<p>Allowed values: [-1,31]</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" title='The "quantisation-reduction" property'>
<a name="GstMpeg2enc--quantisation-reduction"></a><h3>The <code class="literal">"quantisation-reduction"</code> property</h3>
<pre class="programlisting">  "quantisation-reduction"   <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>                : Read / Write</pre>
<p>Max. quantisation reduction for highly active blocks.</p>
<p>Allowed values: [-4,10]</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" title='The "reduce-hf" property'>
<a name="GstMpeg2enc--reduce-hf"></a><h3>The <code class="literal">"reduce-hf"</code> property</h3>
<pre class="programlisting">  "reduce-hf"                <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>                : Read / Write</pre>
<p>How much to reduce high-frequency resolution (by increasing quantisation).</p>
<p>Allowed values: [0,2]</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" title='The "reduction-2x2" property'>
<a name="GstMpeg2enc--reduction-2x2"></a><h3>The <code class="literal">"reduction-2x2"</code> property</h3>
<pre class="programlisting">  "reduction-2x2"            <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Reduction factor for 2x2 subsampled candidate motion estimates (1=max. quality, 4=max. speed).</p>
<p>Allowed values: [1,4]</p>
<p>Default value: 3</p>
</div>
<hr>
<div class="refsect2" title='The "reduction-4x4" property'>
<a name="GstMpeg2enc--reduction-4x4"></a><h3>The <code class="literal">"reduction-4x4"</code> property</h3>
<pre class="programlisting">  "reduction-4x4"            <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Reduction factor for 4x4 subsampled candidate motion estimates (1=max. quality, 4=max. speed).</p>
<p>Allowed values: [1,4]</p>
<p>Default value: 2</p>
</div>
<hr>
<div class="refsect2" title='The "sequence-header-every-gop" property'>
<a name="GstMpeg2enc--sequence-header-every-gop"></a><h3>The <code class="literal">"sequence-header-every-gop"</code> property</h3>
<pre class="programlisting">  "sequence-header-every-gop" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Include a sequence header in every GOP.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" title='The "sequence-length" property'>
<a name="GstMpeg2enc--sequence-length"></a><h3>The <code class="literal">"sequence-length"</code> property</h3>
<pre class="programlisting">  "sequence-length"          <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Place a sequence boundary after each &lt;num&gt; MB (0=disable).</p>
<p>Allowed values: [0,10240]</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" title='The "unit-coeff-elim" property'>
<a name="GstMpeg2enc--unit-coeff-elim"></a><h3>The <code class="literal">"unit-coeff-elim"</code> property</h3>
<pre class="programlisting">  "unit-coeff-elim"          <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>How agressively small-unit picture blocks should be skipped.</p>
<p>Allowed values: [-40,40]</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" title='The "vcd-still-size" property'>
<a name="GstMpeg2enc--vcd-still-size"></a><h3>The <code class="literal">"vcd-still-size"</code> property</h3>
<pre class="programlisting">  "vcd-still-size"           <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
<p>Size of VCD stills (in KB).</p>
<p>Allowed values: [0,512]</p>
<p>Default value: 0</p>
</div>
</div>
<div class="refsect1" title="See Also">
<a name="gst-plugins-bad-plugins-mpeg2enc.see-also"></a><h2>See Also</h2>
mpeg2dec
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.13</div>
</body>
</html>