<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hello,<br>
    <br>
    On 16/02/11 15:05, Babineau, Denis wrote:
    <blockquote
cite="mid:0C08BDA6B21E0B4A8F4DDCDCDA56EA0802B105876B@CSPMailMBX1.gtk.gtech.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
      <div class="Section1">
        <p class="MsoNormal" style="">Hi<o:p></o:p></p>
        <p class="MsoNormal" style=""><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal" style="">I&#8217;m experimenting with gst-launch
          and different pipelines trying to get a better understanding
          of the flow. Ultimately
          I&#8217;d want to be able to mux multiple streams from different
          sources
          (files). However I&#8217;m having problems just demuxing and
          remuxing a single
          file.<o:p></o:p></p>
        <p class="MsoNormal" style=""><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal" style="">The following works, however I
          have to decode and re-encode which I don&#8217;t want to do:<o:p></o:p></p>
        <p class="MsoNormal" style=""><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal" style="">gst-launch -v filesrc
          location=test.ogg
          ! oggdemux name=demux demux. ! queue ! theoradec ! theoraenc !
          queue ! mux.
          demux. ! queue ! vorbisdec ! vorbisenc ! queue ! mux. oggmux
          name=mux !
          filesink location=new.ogg<o:p></o:p></p>
        <p class="MsoNormal" style=""><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal" style="">The following doesn&#8217;t
          work, everything looks ok, it goes to PLAYING but it just
          stalls there and I
          get an empty file:<o:p></o:p></p>
        <p class="MsoNormal" style=""><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal" style="">gst-launch -v filesrc
          location=test.ogg
          ! oggdemux name=demux demux. ! "video/x-theora" ! queue ! mux.
          demux.
          ! "audio/x-vorbis" ! queue ! mux. oggmux name=mux ! filesink
          location=new.ogg<o:p></o:p></p>
        <p class="MsoNormal" style=""><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal" style="">I tried different permutations,
          with queues, without queues but I can&#8217;t figure out why it&#8217;s
          stalling ..<o:p></o:p></p>
        <p class="MsoNormal" style=""><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal" style="">Thanks<o:p></o:p></p>
        <p class="MsoNormal" style=""><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal" style="">Denis<span style="font-size: 10pt;
            font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;
            color: rgb(6, 42, 94);"><o:p></o:p></span></p>
      </div>
    </blockquote>
    <br>
    I had a similar problem some time ago (in a python program, not with
    gst-launch). The solution was using a "multiqueue".<br>
    <br>
    Here is the thread (you can see the python programs in the files
    attached to the posts):<br>
    <br>
<a class="moz-txt-link-freetext" href="http://gstreamer-devel.966125.n4.nabble.com/Simple-ogg-pipeline-doesn-t-work-td3076883.html">http://gstreamer-devel.966125.n4.nabble.com/Simple-ogg-pipeline-doesn-t-work-td3076883.html</a><br>
    <br>
    Documentation:<br>
    <br>
<a class="moz-txt-link-freetext" href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-multiqueue.html">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-multiqueue.html</a><br>
    <br>
    Hope that helps,<br>
    <br>
    Andr&eacute;s<br>
    <br>
    <br>
    <br>
    <br>
    <blockquote
cite="mid:0C08BDA6B21E0B4A8F4DDCDCDA56EA0802B105876B@CSPMailMBX1.gtk.gtech.com"
      type="cite">
      <div class="Section1">
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
      </div>
      <font face="monospace">CONFIDENTIALITY NOTICE: The contents of
        this email are confidential<br>
        and for the exclusive use of the intended recipient. If you
        receive this<br>
        email in error, please delete it from your system immediately
        and <br>
        notify us either by email, telephone or fax. You should not
        copy,<br>
        forward, or otherwise disclose the content of the email.</font>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>