<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
After a bit of testing myself I discovered the problem. You just need to put queue right after the demuxer(and before the caps). Here's the pipeline that produced a valid avi in my machine:<br><br>gst-launch-0.10 -v filesrc location="video.avi" ! avidemux ! queue ! video/x-xvid ! avimux name=muxer ! filesink location="video-audio.avi" filesrc location="audio.mp3" ! mp3parse ! queue ! muxer.<br><br>&gt; Date: Thu, 30 Apr 2009 17:26:15 +0200<br>&gt; From: creus@ac.upc.edu<br>&gt; To: gstreamer-devel@lists.sourceforge.net<br>&gt; Subject: Re: [gst-devel] Muxing video and audio<br>&gt; <br>&gt; No, I don't mind, my concern is that the system is in catalan, but I<br>&gt; think you will get the idea.<br>&gt; <br>&gt; The script:<br>&gt; #!/bin/bash<br>&gt; gst-launch-0.10 -v filesrc location="video.avi" ! avidemux !<br>&gt; video/x-xvid ! queue ! avimux name=muxer ! filesink<br>&gt; location="video-audio.avi" \<br>&gt; filesrc location="audio.mp3" ! mp3parse ! queue ! muxer.<br>&gt; <br>&gt; The resulting output:<br>&gt; $ ./XviD.sh<br>&gt; S'està establint el conducte a EN PAUSA ...<br>&gt; El conducte s'està PREPARANT ...<br>&gt; /GstPipeline:pipeline0/GstMPEGAudioParse:mpegaudioparse0.GstPad:src:<br>&gt; caps = audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)2,<br>&gt; layer=(int)3, rate=(int)16000, channels=(int)2, parsed=(boolean)true<br>&gt; /GstPipeline:pipeline0/GstQueue:queue1.GstPad:sink: caps = audio/mpeg,<br>&gt; mpegversion=(int)1, mpegaudioversion=(int)2, layer=(int)3,<br>&gt; rate=(int)16000, channels=(int)2, parsed=(boolean)true<br>&gt; /GstPipeline:pipeline0/GstQueue:queue1.GstPad:src: caps = audio/mpeg,<br>&gt; mpegversion=(int)1, mpegaudioversion=(int)2, layer=(int)3,<br>&gt; rate=(int)16000, channels=(int)2, parsed=(boolean)true<br>&gt; /GstPipeline:pipeline0/GstAviMux:muxer.GstPad:audio_00: caps =<br>&gt; audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)2, layer=(int)3,<br>&gt; rate=(int)16000, channels=(int)2, parsed=(boolean)true<br>&gt; /GstPipeline:pipeline0/GstCapsFilter:capsfilter1: caps = video/x-xvid<br>&gt; ERROR: des de l'element /GstPipeline:pipeline0/GstAviDemux:avidemux0:<br>&gt; S'ha produït un error intern de flux de dades.<br>&gt; Informació de depuració addicional:<br>&gt; gstavidemux.c(4163): gst_avi_demux_loop ():<br>&gt; /GstPipeline:pipeline0/GstAviDemux:avidemux0:<br>&gt; streaming stopped, reason not-linked<br>&gt; ERROR: el conducte no vol preparar-se.<br>&gt; S'està establint el conducte a NUL ...<br>&gt; /GstPipeline:pipeline0/GstAviMux:muxer.GstPad:audio_00: caps = NULL<br>&gt; /GstPipeline:pipeline0/GstQueue:queue1.GstPad:src: caps = NULL<br>&gt; /GstPipeline:pipeline0/GstQueue:queue1.GstPad:sink: caps = NULL<br>&gt; /GstPipeline:pipeline0/GstMPEGAudioParse:mpegaudioparse0.GstPad:src:<br>&gt; caps = NULL<br>&gt; /GstPipeline:pipeline0/GstAviDemux:avidemux0.GstPad:video_00: caps = NULL<br>&gt; S'ESTÀ ALLIBERANT el conducte ...<br>&gt; <br>&gt; Do I need a parser for xvid video in the video pipeline? If yes, which<br>&gt; one? I can't see one related...<br>&gt; <br>&gt; Josep<br>&gt; <br>&gt; ------------------------------------------------------------------------------<br>&gt; Register Now &amp; Save for Velocity, the Web Performance &amp; Operations <br>&gt; Conference from O'Reilly Media. Velocity features a full day of <br>&gt; expert-led, hands-on workshops and two days of sessions from industry <br>&gt; leaders in dedicated Performance &amp; Operations tracks. Use code vel09scf <br>&gt; and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf<br>&gt; _______________________________________________<br>&gt; gstreamer-devel mailing list<br>&gt; gstreamer-devel@lists.sourceforge.net<br>&gt; https://lists.sourceforge.net/lists/listinfo/gstreamer-devel<br><br /><hr />Σύρετε φωτογραφίες στο παράθυρο του Messenger. Δείτε πώς. <a href='http://download.live.com/messenger ' target='_new'>Κάντε κλικ εδώ!</a></body>
</html>