[gst-devel] Muxing video and audio

sledge hammer sledgehammer_999 at hotmail.com
Thu Apr 30 16:50:33 CEST 2009


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 at ac.upc.edu
> To: gstreamer-devel at 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

_________________________________________________________________
Έχετε Messenger; Έχετε και Windows Live. Μάθετε περισσότερα.
http://www.microsoft.com/windows/windowslive
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090430/cac4176f/attachment.htm>


More information about the gstreamer-devel mailing list