~broder/ubuntu/natty/gst-plugins-base0.10/perlsectomy

« back to all changes in this revision

Viewing changes to docs/plugins/html/gst-plugins-base-plugins-giosink.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2010-06-26 21:12:29 UTC
  • mfrom: (11.5.1 upstream) (33.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100626211229-0k34egbnd2octtpv
Tags: 0.10.29.2-1
* New upstream pre-release:
  + debian/rules,
    debian/compat,
    debian/control.in,
    debian/source/format,
    debian/patches/*:
    - Update to debhelper compat level 7.
    - Update to source format 3.0 (quilt).
    - Update to Standards-Version 3.8.4.
  + debian/build-deps.in,
    debian/rules:
    - Build depend on GLib 2.20 and GStreamer 0.10.29.2.
    - Build depend on ORC instead of liboil.
  + debian/patches/00*:
    - Dropped, merged upstream.
  + debian/libgstreamer-plugins-base.symbols:
    - Update symbols file with the new API.
  + debian/patches/01_videotestsrc-libm-linking.patch,
    debian/patches/02_videoscale-libm-linking.patch:
    - Link videotestsrc and videoscale with libm to fix FTBFS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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>giosink</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
 
<link rel="home" href="index.html" title="GStreamer Base Plugins 0.10 Plugins Reference Manual">
8
 
<link rel="up" href="ch01.html" title="gst-plugins-base Elements">
9
 
<link rel="prev" href="gst-plugins-base-plugins-gdppay.html" title="gdppay">
10
 
<link rel="next" href="gst-plugins-base-plugins-giosrc.html" title="giosrc">
11
 
<meta name="generator" content="GTK-Doc V1.13 (XML mode)">
12
 
<link rel="stylesheet" href="style.css" type="text/css">
13
 
<link rel="chapter" href="ch01.html" title="gst-plugins-base Elements">
14
 
<link rel="chapter" href="ch02.html" title="gst-plugins-base Plugins">
15
 
<link rel="chapter" href="ch03.html" title="gst-plugins-base Classes">
16
 
</head>
17
 
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
18
 
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
19
 
<tr valign="middle">
20
 
<td><a accesskey="p" href="gst-plugins-base-plugins-gdppay.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
21
 
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
22
 
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
23
 
<th width="100%" align="center">GStreamer Base Plugins 0.10 Plugins Reference Manual</th>
24
 
<td><a accesskey="n" href="gst-plugins-base-plugins-giosrc.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
25
 
</tr>
26
 
<tr><td colspan="5" class="shortcuts">
27
 
<a href="#gst-plugins-base-plugins-giosink.synopsis" class="shortcut">Top</a>
28
 
                   | 
29
 
                  <a href="#gst-plugins-base-plugins-giosink.description" class="shortcut">Description</a>
30
 
                   | 
31
 
                  <a href="#gst-plugins-base-plugins-giosink.object-hierarchy" class="shortcut">Object Hierarchy</a>
32
 
                   | 
33
 
                  <a href="#gst-plugins-base-plugins-giosink.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
34
 
                   | 
35
 
                  <a href="#gst-plugins-base-plugins-giosink.properties" class="shortcut">Properties</a>
36
 
</td></tr>
37
 
</table>
38
 
<div class="refentry" title="giosink">
39
 
<a name="gst-plugins-base-plugins-giosink"></a><div class="titlepage"></div>
40
 
<div class="refnamediv"><table width="100%"><tr>
41
 
<td valign="top">
42
 
<h2><span class="refentrytitle"><a name="gst-plugins-base-plugins-giosink.top_of_page"></a>giosink</span></h2>
43
 
<p>giosink — Write to any GIO-supported location</p>
44
 
</td>
45
 
<td valign="top" align="right"></td>
46
 
</tr></table></div>
47
 
<div class="refsynopsisdiv" title="Synopsis">
48
 
<a name="gst-plugins-base-plugins-giosink.synopsis"></a><h2>Synopsis</h2>
49
 
<a name="GstGioSink"></a><pre class="synopsis">                    <a class="link" href="gst-plugins-base-plugins-giosink.html#GstGioSink-struct" title="GstGioSink">GstGioSink</a>;
50
 
</pre>
51
 
</div>
52
 
<div class="refsect1" title="Object Hierarchy">
53
 
<a name="gst-plugins-base-plugins-giosink.object-hierarchy"></a><h2>Object Hierarchy</h2>
54
 
<pre class="synopsis">
55
 
  <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
56
 
   +----<a href="/usr/share/gtk-doc/html/gstreamer-0.10/GstObject.html">GstObject</a>
57
 
         +----<a href="/usr/share/gtk-doc/html/gstreamer-0.10/GstElement.html">GstElement</a>
58
 
               +----<a href="/usr/share/gtk-doc/html/gstreamer-libs-0.10/GstBaseSink.html">GstBaseSink</a>
59
 
                     +----GstGioBaseSink
60
 
                           +----GstGioSink
61
 
</pre>
62
 
</div>
63
 
<div class="refsect1" title="Implemented Interfaces">
64
 
<a name="gst-plugins-base-plugins-giosink.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
65
 
<p>
66
 
GstGioSink implements
67
 
 <a href="/usr/share/gtk-doc/html/gstreamer-0.10/gstreamer-GstUriHandler.html#GstURIHandler">GstURIHandler</a>.</p>
68
 
</div>
69
 
<div class="refsect1" title="Properties">
70
 
<a name="gst-plugins-base-plugins-giosink.properties"></a><h2>Properties</h2>
71
 
<pre class="synopsis">
72
 
  "<a class="link" href="gst-plugins-base-plugins-giosink.html#GstGioSink--location" title='The "location" property'>location</a>"                 <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
73
 
  "<a class="link" href="gst-plugins-base-plugins-giosink.html#GstGioSink--file" title='The "file" property'>file</a>"                     <a href="/usr/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a>*                : Read / Write
74
 
</pre>
75
 
</div>
76
 
<div class="refsect1" title="Description">
77
 
<a name="gst-plugins-base-plugins-giosink.description"></a><h2>Description</h2>
78
 
<p>
79
 
This plugin writes incoming data to a local or remote location specified
80
 
by an URI. This location can be specified using any protocol supported by
81
 
the GIO library or it's VFS backends. Common protocols are 'file', 'ftp',
82
 
or 'smb'.
83
 
</p>
84
 
<p>
85
 
If the URI or <a href="/usr/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> already exists giosink will post a message of
86
 
type <code class="literal">GST_MESSAGE_ELEMENT</code> with name "file-exists" on the bus. The message
87
 
also contains the <a href="/usr/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> and the corresponding URI.
88
 
Applications can use the "file-exists" message to notify the user about
89
 
the problem and to set a different target location or to remove the
90
 
existing file. Note that right after the "file-exists" message a normal
91
 
error message is posted on the bus which should be ignored if "file-exists"
92
 
is handled by the application, for example by calling
93
 
gst_bus_set_flushing(bus, TRUE) after the "file-exists" message was
94
 
received and gst_bus_set_flushing(bus, FALSE) after the problem is
95
 
resolved.
96
 
</p>
97
 
<p>
98
 
Similar to the "file-exist" message a "not-mounted" message is posted
99
 
on the bus if the target location is not mounted yet and needs to be
100
 
mounted. This message can be used by application to mount the location
101
 
and retry after the location was mounted successfully.
102
 
</p>
103
 
<p>
104
 
</p>
105
 
<div class="refsect2" title="Example pipelines">
106
 
<a name="id422557"></a><h3>Example pipelines</h3>
107
 
<div class="informalexample">
108
 
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
109
 
    <tbody>
110
 
      <tr>
111
 
        <td class="listing_lines" align="right"><pre>1</pre></td>
112
 
        <td class="listing_code"><pre class="programlisting">gst<span class="symbol">-</span>launch <span class="symbol">-</span>v filesrc location<span class="symbol">=</span>input<span class="symbol">.</span>xyz <span class="symbol">!</span> giosink location<span class="symbol">=</span>file<span class="symbol">:</span><span class="gtkdoc slc">///home/joe/out.xyz</span></pre></td>
113
 
      </tr>
114
 
    </tbody>
115
 
  </table>
116
 
</div>
117
 
 The above pipeline will simply copy a local file. Instead of giosink,
118
 
we could just as well have used the filesink element here.
119
 
<div class="informalexample">
120
 
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
121
 
    <tbody>
122
 
      <tr>
123
 
        <td class="listing_lines" align="right"><pre>1</pre></td>
124
 
        <td class="listing_code"><pre class="programlisting">gst<span class="symbol">-</span>launch <span class="symbol">-</span>v filesrc location<span class="symbol">=</span>foo<span class="symbol">.</span>mp3 <span class="symbol">!</span> mad <span class="symbol">!</span> flacenc <span class="symbol">!</span> giosink location<span class="symbol">=</span>smb<span class="symbol">:</span><span class="gtkdoc slc">//othercomputer/foo.flac</span></pre></td>
125
 
      </tr>
126
 
    </tbody>
127
 
  </table>
128
 
</div>
129
 
 The above pipeline will re-encode an mp3 file into FLAC format and store
130
 
it on a remote host using the Samba protocol.
131
 
<div class="informalexample">
132
 
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
133
 
    <tbody>
134
 
      <tr>
135
 
        <td class="listing_lines" align="right"><pre>1</pre></td>
136
 
        <td class="listing_code"><pre class="programlisting">gst<span class="symbol">-</span>launch <span class="symbol">-</span>v audiotestsrc num<span class="symbol">-</span>buffers<span class="symbol">=</span><span class="number">100</span> <span class="symbol">!</span> vorbisenc <span class="symbol">!</span> oggmux <span class="symbol">!</span> giosink location<span class="symbol">=</span>file<span class="symbol">:</span><span class="gtkdoc slc">///home/foo/bar.ogg</span></pre></td>
137
 
      </tr>
138
 
    </tbody>
139
 
  </table>
140
 
</div>
141
 
 The above pipeline will encode a 440Hz sine wave to Ogg Vorbis and stores
142
 
it in the home directory of user foo.
143
 
</div>
144
 
</div>
145
 
<div class="refsect1" title="Details">
146
 
<a name="gst-plugins-base-plugins-giosink.details"></a><h2>Details</h2>
147
 
<div class="refsect2" title="GstGioSink">
148
 
<a name="GstGioSink-struct"></a><h3>GstGioSink</h3>
149
 
<pre class="programlisting">typedef struct _GstGioSink GstGioSink;</pre>
150
 
<p>
151
 
Opaque data structure.</p>
152
 
</div>
153
 
</div>
154
 
<div class="refsect1" title="Property Details">
155
 
<a name="gst-plugins-base-plugins-giosink.property-details"></a><h2>Property Details</h2>
156
 
<div class="refsect2" title='The "location" property'>
157
 
<a name="GstGioSink--location"></a><h3>The <code class="literal">"location"</code> property</h3>
158
 
<pre class="programlisting">  "location"                 <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
159
 
<p>URI location to write to.</p>
160
 
<p>Default value: NULL</p>
161
 
</div>
162
 
<hr>
163
 
<div class="refsect2" title='The "file" property'>
164
 
<a name="GstGioSink--file"></a><h3>The <code class="literal">"file"</code> property</h3>
165
 
<pre class="programlisting">  "file"                     <a href="/usr/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a>*                : Read / Write</pre>
166
 
<p>
167
 
<a href="/usr/share/gtk-doc/html/gio/GFile.html"><code class="literal">GFile</code></a> to write to.</p>
168
 
<p class="since">Since 0.10.20</p>
169
 
</div>
170
 
</div>
171
 
<div class="refsect1" title="See Also">
172
 
<a name="gst-plugins-base-plugins-giosink.see-also"></a><h2>See Also</h2>
173
 
<a href="/usr/share/gtk-doc/html/gstreamer-plugins-0.10/gstreamer-plugins-filesink.html#GstFileSink"><span class="type">GstFileSink</span></a>, <a class="link" href="gst-plugins-base-plugins-gnomevfssink.html#GstGnomeVFSSink"><span class="type">GstGnomeVFSSink</span></a>, <a class="link" href="gst-plugins-base-plugins-giosrc.html#GstGioSrc"><span class="type">GstGioSrc</span></a>
174
 
</div>
175
 
</div>
176
 
<div class="footer">
177
 
<hr>
178
 
          Generated by GTK-Doc V1.13</div>
179
 
</body>
180
 
</html>
 
 
b'\\ No newline at end of file'