I think I understood your explanation, is this possible to suit the following pipeline? I need to handle subtitles, so I &#39;spilt&#39; the avi with avidemux. Then, the rtsp payloader are linked to the corresponding queues?.<br>
<br>
               <br>                             
decodebin2 ------ ....queue<br>
                               |<br>
filescr ---avidemux----<br>
                               |<br>
                               decodebin2 -------- ........---------- queue<br>
<br>You said isn&#39;t necessary the decodebin?<br><br><br>Thanks for your response, greets.<br><br>Rossana<br><br><br><div class="gmail_quote">2012/4/5 Nathanael D. Noblet <span dir="ltr">&lt;<a href="mailto:nathanael@gnat.ca">nathanael@gnat.ca</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">**Warning**<br>
I&#39;m no where near an expert - some or all of the following could be wrong<br>
<br>
----<br>
To properly answer you need to understand that a multimedia file has two &#39;levels&#39; you could say. There is the muxing (this determines the container format) for example .mp4/.mkv/.avi/.ogg have their own particular way to place video and audio data into the actual file.<br>

<br>
Once you&#39;ve demuxed the file into its individual stream(s) the data can en encoded in any number of formats. For example, an mkv file can contain h264, mjpeg, mpeg4, divx, DV, h263, theora, vp8. This determines how the actual data is compressed.<br>

<br>
Now when you want to watch a stream you need to demux and then decode the data so that you have the raw images to display on a screen. However when you want to stream, you definitely do not want to decode it. However in the same way that a muxer determines how the encoded data is laid out in a file, rtsp uses rtp to &#39;payload&#39; which for nearly all intents and purposes here could be interchanged with muxers. They determine how the encoded data is sent out on the wire you could say.<br>

<br>
So...<br>
<br>
#1) don&#39;t decode... just demux<br>
#2) Once demuxed you need to find a payloader that can handle the encoded data<br>
<br>
otherwise you are sending uncompressed data.<br>
<br>
Hope that helps<div class="im"><br>
<br>
On 04/05/2012 01:42 PM, Rossana Guerra wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
If I understood you well, I need to use avidemux and then a payloader.<br>
I did it as my pipeline shows, so the linking to a payloader is the only<br>
missing?<br>
<br>
I have something<br>
                                decodebin2 ------ ....some other<br>
artifacts......--------- queue   // for audio<br>
                               |<br>
filescr ---avidemux----<br>
                               |<br>
                               decodebin2 -------- ........ ----------<br>
queue   // for video<br>
<br>
thanks<br>
<br>
2012/4/5 Rossana Guerra &lt;<a href="mailto:guerra.rossana@gmail.com" target="_blank">guerra.rossana@gmail.com</a><br></div>
&lt;mailto:<a href="mailto:guerra.rossana@gmail.com" target="_blank">guerra.rossana@gmail.<u></u>com</a>&gt;&gt;<br>
<br>
<br>
<br>
    2012/4/5 Stefan Sauer &lt;<a href="mailto:ensonic@hora-obscura.de" target="_blank">ensonic@hora-obscura.de</a><br>
    &lt;mailto:<a href="mailto:ensonic@hora-obscura.de" target="_blank">ensonic@hora-obscura.<u></u>de</a>&gt;&gt;<br>
<br>
        __<div><div class="h5"><br>
        On 04/05/2012 03:23 AM, Rossana Guerra wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
        Hi everyone, I am very clueless about it since I didn&#39;t find<br>
        so much documentation whic could help me.<br>
        I need something like the *test-ogg.c* example but suited for<br>
        AVI files.  In the example the following line creates the<br>
        pipeline:<br>
<br>
        str = g_strdup_printf (&quot;( &quot;<br>
        &quot;filesrc location=%s ! oggdemux name=d &quot;<br>
        &quot;d. ! queue ! rtptheorapay name=pay0 pt=96 &quot;<br>
        &quot;d. ! queue ! rtpvorbispay name=pay1 pt=97 &quot; &quot;)&quot;, argv[1]);<br>
<br>
        1- Is the any AVI payloader?, if not, what is the way to do it?<br>
</blockquote>
        You would not stream the avi as such, but demux it and playload<br>
        the streams inside the avi (the audio and video). For those<br>
        there should be payloader (e.g. mpeg4 and mp3).<br>
<br>
<br>
    Stefan thanks for your answer, could you suggest any example or reading?<br>
    Second, I need some control using a message hander, is this<br>
    possible?. I don&#39;t have idea which the pipeline is.<br>
<br>
    Regards,<br>
<br>
    Rossana<br>
<br>
<br>
        Stefan<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<br>
        2- I suppose I can handle messages as usual, isn&#39;t it?.<br>
<br>
        I don&#39;t loose my hope for any suggestion, thanks and regards<br>
<br>
        Rossana<br>
<br>
<br>
        ______________________________<u></u>_________________<br>
        gstreamer-devel mailing list<br></div></div>
        <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.<u></u>freedesktop.org</a>  &lt;mailto:<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.<u></u>freedesktop.org</a>&gt;<br>

        <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/gstreamer-<u></u>devel</a><br>
</blockquote><div class="im">
<br>
<br>
        ______________________________<u></u>_________________<br>
        gstreamer-devel mailing list<br>
        <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.<u></u>freedesktop.org</a><br></div>
        &lt;mailto:<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.<u></u>freedesktop.org</a>&gt;<div class="im"><br>
        <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/gstreamer-<u></u>devel</a><br>
<br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.<u></u>freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/gstreamer-<u></u>devel</a><br>
</div></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
-- <br>
Nathanael d. Noblet<br>
t <a href="tel:403.875.4613" value="+14038754613" target="_blank">403.875.4613</a></font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.<u></u>freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/gstreamer-<u></u>devel</a><br>
</div></div></blockquote></div><br>