[gst-devel] muxing streams

ved kpl ved.kpl at gmail.com
Tue Sep 30 14:34:29 CEST 2008


Hi,

You probably need the elementary stream parser elements after the filesrc.
The muxer is unware of the data format that is getting.

Ved

On Tue, Sep 30, 2008 at 3:11 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:
>
> 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>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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