[gst-devel] muxing streams

Henrique Ferreiro García henrique.ferreiro at gmail.com
Tue Sep 30 11:41:44 CEST 2008


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:

AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
Detected NON-INTERLEAVED AVI file format.
VIDEO:  []  0x0  0bpp    nan fps  -17179870.0 kbps (-2097152.0 kbyte/s)
FPS not specified in the header or invalid, use the -fps option.
==========================================================================
Forced audio codec: mad
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
Unknown/missing audio format -> no sound
ADecoder init failed :(
Cannot find codec for audio format 0x0.
Read DOCS/HTML/en/codecs.html!
Audio: no sound
Video: no video

Am I doing something wrong?

-- 
Henrique Ferreiro García <henrique.ferreiro at gmail.com>





More information about the gstreamer-devel mailing list