[gst-devel] multiplexing audio and video

ANTONIO MARQUES MARQUES amm at tid.es
Tue Nov 20 16:36:06 CET 2007


Thanks Michal,

The thing is that I want to multiplex H264 and audio and I have not seen
any other muxer to do so. Any idea?

Thanks in advanced,
Antonio

----- Mensaje original -----
De: Michal Benes <michal.benes at itonis.tv>
Fecha: Martes, Noviembre 20, 2007 10:22 am
Asunto: Re: [gst-devel] multiplexing audio and video
Para: ANTONIO MARQUES MARQUES <amm at tid.es>
CC: "gstreamer-devel at lists.sourceforge.net"
<gstreamer-devel at lists.sourceforge.net>

> Hi Antonio,
> 
> 	matroska muxer uses so called push mode on src pad and hevily 
> utilizesseeking in the output stream. On the other hand, 
> matroskademux activates
> the sink pad in pull mode (which much simplified means that it 
> wants to
> seek in the input stream). To sum things up, these two elements are
> incompatible and can not be joined without changes in both of them.
> 
> 	You can either try other muxer/demuxer, perhaps more oriented towards
> streaming media such as ogg, mpeg-ts or asf (but I am not sure if you
> find one that both does what you need and supports raw streams) or
> enhance matroska.
> 
> 	Michal
> 
> ANTONIO MARQUES MARQUES píše v Út 20. 11. 2007 v 09:54 +0000:
> > Hello to all,
> > 
> > I am interested in multiplexing audio and video in the same flow. 
> I have
> > tried with matroska muxer to multiplex both flows but it does not 
> work.> I have tried with videotestsrc and audiotestsrc as a first 
> step with the
> > following instruction:
> > 
> > gst-launch videotestsrc ! matroskamux name=mux audiotestsrc ! 
> mux. mux.
> > ! matroskademux name=demux demux.video_00 ! ffmpegcolorspace !
> > ximagesink demux.audio_00 ! audioconvert ! alsasink
> > 
> > It fails when activating demuxer sink pad. Any idea for this 
> purpose?> 
> > Thanks in advanced.
> > 
> > Antonio Marques
> > 
> > ------------------------------------------------------------------
> -------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > 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