[gst-devel] Muxing video and audio

Stefan Kost ensonic at hora-obscura.de
Wed Apr 29 22:25:28 CEST 2009


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
> 
> No error, but I get a file with only the audio part, no video, it's not
> copied, please, any suggestion will be appreciated, I think I have some
> concepts wrong.
> 
> Josep Creus
> 
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensign option that enables unlimited
> royalty-free distribution of the report engine for externally facing 
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list