[gst-devel] muxing streams

Felipe Contreras felipe.contreras at gmail.com
Wed Oct 1 15:17:35 CEST 2008


On Tue, Sep 30, 2008 at 12:41 PM, Henrique Ferreiro García
<henrique.ferreiro at gmail.com> wrote:
> Hi all!
>
> I have extracted the video and audio streams from a matroska file
> getting:
>
> mkv.0: JVT NAL sequence, H.264 video @ L 31
> mkv.1: ATSC A/52 aka AC-3 aka Dolby Digital stream, 48 kHz,, complete
> main (CM) 3 front/2 rear, LFE on,, 448 kbit/s reserved Dolby Surround
> mode
>
> Afterwards, I have run the following:
>
> gst-launch-0.10 filesrc location=mkv.0 ! queue ! mux.video_0 avimux
> name=mux ! queue ! filesink location=house.avi filesrc location=mkv.1 !
> queue ! mux.audio_0
>
> But the end result is a unplayable file. This is the output from
> mplayer:

Probably because the caps are lost. You need the fourcc information,
codecdata, and so on. Also the timestamps in every buffer.

Since you are using a filesrc none of that information is generated,
you could use /dev/random as well.

-- 
Felipe Contreras


More information about the gstreamer-devel mailing list