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