You said xvid right? Then try to use as caps 'video/x-xvid' instead of 'video/mpeg'. And of course don't use mpeg4parse because it doesn't accept video/x-xvid.
Also you mind posting the new pipeline you're constructing and the exact error message you're getting?

> Date: Thu, 30 Apr 2009 16:10:07 +0200
> From: creus@ac.upc.edu
> To: gstreamer-devel@lists.sourceforge.net
> Subject: Re: [gst-devel] Muxing video and audio
>
> Stefan Kost wrote:
> > Josep Creus schrieb:
> >
> >> Hi,
> >>
> >> I'm missing something, I'm just trying to mux a .avi only video file
> >> with a .mp3 file to get a .avi with both video an audio, quite easy, right?
> >> .avi file is GStreamer generated and XviD compressed, .mp3 is also from
> >> GStreamer, so I try this:
> >>
> >> $gst-launch-0.10 -v filesrc location="video.avi" ! avidemux !
> >> mpeg4videoparse ! video/mpeg ! avimux name=muxer. ! filesink
> >> location="video-audio.avi" \
> >> { filesrc location="audio.mp3" ! mp3parse ! audio/mpeg ! muxer. }
> >>
> >
> > what about this
> > $gst-launch-0.10 -v filesrc location="video.avi" ! avidemux !
> > mpeg4videoparse ! queue ! avimux name=muxer. ! filesink
> > location="video-audio.avi" \
> > filesrc location="audio.mp3" ! mp3parse ! queue ! muxer.
> >
> > Stefan
> >
> Thanks Stefan for your response.
>
> I already tryed something similar, without success. Now there is a
> internal data stream error in the avidemux element (and then "streaming
> stopped, reason not linked"), before that, only the mpeg/audio pipeline
> is prepared (Normal, I think). I'm on Ubuntu 9.04, if it helps somebody
> see the light. Any other suggestion?
>
> Josep
>
> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


Μείνετε συνδεδεμένοι με τους φίλους σας στο Facebook και το Hotmail Κάντε κλικ εδώ!