blob: 0a84ff25f4677ac082c119f37167b94e4d71e00c [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>nuvdemux</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GStreamer Bad Plugins 1.0 Plugins Reference Manual">
<link rel="up" href="ch01.html" title="gst-plugins-bad Elements">
<link rel="prev" href="gst-plugins-bad-plugins-mxfmux.html" title="mxfmux">
<link rel="next" href="gst-plugins-bad-plugins-pcapparse.html" title="pcapparse">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</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-mxfmux.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 1.0 Plugins Reference Manual</th>
<td><a accesskey="n" href="gst-plugins-bad-plugins-pcapparse.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-nuvdemux.synopsis" class="shortcut">Top</a>
 | 
<a href="#gst-plugins-bad-plugins-nuvdemux.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="gst-plugins-bad-plugins-nuvdemux"></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-nuvdemux.top_of_page"></a>nuvdemux</span></h2>
<p>nuvdemux — Demultiplex a MythTV NuppleVideo .nuv file into audio and video</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="gst-plugins-bad-plugins-nuvdemux.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"> <a class="link" href="gst-plugins-bad-plugins-nuvdemux.html#GstNuvDemux" title="GstNuvDemux">GstNuvDemux</a>;
</pre>
</div>
<div class="refsect1">
<a name="gst-plugins-bad-plugins-nuvdemux.description"></a><h2>Description</h2>
<p>
Demuxes MythTVs NuppelVideo .nuv file into raw or compressed audio and/or
video streams.
</p>
<p>
This element currently only supports pull-based scheduling.
</p>
<p>
</p>
<div class="refsect2">
<a name="idp14203808"></a><h3>Example launch line</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="gtkdoc opt">-</span>launch filesrc test<span class="gtkdoc opt">.</span>nuv <span class="gtkdoc opt">!</span> nuvdemux name<span class="gtkdoc opt">=</span>demux demux<span class="gtkdoc opt">.</span>audio_00 <span class="gtkdoc opt">!</span> decodebin <span class="gtkdoc opt">!</span> audioconvert <span class="gtkdoc opt">!</span> audioresample <span class="gtkdoc opt">!</span> autoaudiosink demux<span class="gtkdoc opt">.</span>video_00 <span class="gtkdoc opt">!</span> queue <span class="gtkdoc opt">!</span> decodebin <span class="gtkdoc opt">!</span> ffmpegcolorspace <span class="gtkdoc opt">!</span> videoscale <span class="gtkdoc opt">!</span> autovideosink</pre></td>
</tr>
</tbody>
</table>
</div>
Play (parse and decode) an .nuv file and try to output it to
an automatically detected soundcard and videosink. If the NUV file contains
compressed audio or video data, this will only work if you have the
right decoder elements/plugins installed.
</div>
<p>
</p>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="refsect2">
<a name="idp13570480"></a><h3>Element Information</h3>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term">plugin</span></p></td>
<td>
<a class="link" href="gst-plugins-bad-plugins-plugin-nuvdemux.html#plugin-nuvdemux">nuvdemux</a>
</td>
</tr>
<tr>
<td><p><span class="term">author</span></p></td>
<td>Renato Araujo Oliveira Filho &lt;renato.filho@indt.org.br&gt;,Rosfran Borges &lt;rosfran.borges@indt.org.br&gt;</td>
</tr>
<tr>
<td><p><span class="term">class</span></p></td>
<td>Codec/Demuxer</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="idp13908848"></a><h3>Element Pads</h3>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term">name</span></p></td>
<td>sink</td>
</tr>
<tr>
<td><p><span class="term">direction</span></p></td>
<td>sink</td>
</tr>
<tr>
<td><p><span class="term">presence</span></p></td>
<td>always</td>
</tr>
<tr>
<td><p><span class="term">details</span></p></td>
<td>video/x-nuv</td>
</tr>
</tbody>
</table></div>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term">name</span></p></td>
<td>audio_src</td>
</tr>
<tr>
<td><p><span class="term">direction</span></p></td>
<td>source</td>
</tr>
<tr>
<td><p><span class="term">presence</span></p></td>
<td>sometimes</td>
</tr>
<tr>
<td><p><span class="term">details</span></p></td>
<td>ANY</td>
</tr>
</tbody>
</table></div>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term">name</span></p></td>
<td>video_src</td>
</tr>
<tr>
<td><p><span class="term">direction</span></p></td>
<td>source</td>
</tr>
<tr>
<td><p><span class="term">presence</span></p></td>
<td>sometimes</td>
</tr>
<tr>
<td><p><span class="term">details</span></p></td>
<td>ANY</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<p>
</p>
</div>
<div class="refsect1">
<a name="gst-plugins-bad-plugins-nuvdemux.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GstNuvDemux"></a><h3>GstNuvDemux</h3>
<pre class="programlisting">typedef struct {
GstElement parent;
guint mode;
GstAdapter *adapter;
guint64 video_offset;
guint64 audio_offset;
/* pads */
GstPad *sinkpad;
GstPad *src_video_pad;
GstPad *src_audio_pad;
gboolean first_video;
gboolean first_audio;
/* NUV decoding state */
GstNuvDemuxState state;
guint64 offset;
/* Mpeg ExtraData */
guint64 mpeg_data_size;
GstBuffer *mpeg_buffer;
nuv_header *h;
nuv_extended_header *eh;
nuv_frame_header *fh;
} GstNuvDemux;
</pre>
<p>
</p>
</div>
</div>
<div class="refsect1">
<a name="gst-plugins-bad-plugins-nuvdemux.see-also"></a><h2>See Also</h2>
mythtvsrc
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>