[gst-devel] Muxing audiotestsrc and videotestsrc insinglepipeline

irfanshaikh irfanshaikh at tataelxsi.co.in
Wed Oct 8 07:42:23 CEST 2008


Hi
Thanks a lot .....for the basic understanding provided by you...

:-)
Regards,
Irfan

-----Original Message-----
From: Felipe Contreras [mailto:felipe.contreras at gmail.com]
Sent: Wednesday, October 08, 2008 12:25 AM
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] Muxing audiotestsrc and videotestsrc
insinglepipeline


On Tue, Oct 7, 2008 at 8:36 AM, Irfan Shaikh
<irfanshaikh at tataelxsi.co.in> wrote:
> Hi,
>
>  Actually this pipeline is able to mux in ASF container
>
> gst-launch filesrc
> location=/root/Desktop/teststreams/mpeg4/mpeg4_imaadpcm.ASF ! decodebin
> name=d ffmux_asf name=mux ! filesink location=/root/Desktop/asf1.asf d. !
> queue ! videoscale ! ffenc_msmpeg4 ! queue ! mux. d. ! queue ! ffenc_mp2 !
> mp3parse ! queue ! mux
>
>
> Also i tried to mux vedio ans audio seperately in ASF container
>
> Example:
> 1) gst-launch videotestsrc ! ffmpegcolorspace ! ffenc_mpeg4 ! ffmux_asf !
> filesink=/root/Desktop/mpeg4.asf
> 2) gst-launch audiotestsrc ! audioconvert ! ffenc_mp2 ! ffmux_asf !
> filesink=/root/Desktop/mp2.asf
>
> I dont know hoe to mux audiotestsrc and videotestsrc together for the
above
> scenario in ASF container format. Please sugest me structure on pipeline
to
> mux the above in single pipeline.

Do it step by step:

mux:
ffmux_asf name=m ! filesink location=foo.asf

video:
videotestsrc ! ffmpegcolorspace ! ffenc_mpeg4

audio:
audiotestsrc ! audioconvert ! ffenc_mp2

Then simply add the muxing part to the video and audio " ! m." and join
them:
ffmux_asf name=m ! filesink location=foo.asf videotestsrc !
ffmpegcolorspace ! ffenc_mpeg4 ! m. audiotestsrc ! audioconvert !
ffenc_mp2 ! m.

--
Felipe Contreras

-------------------------------------------------------------------------
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


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.




More information about the gstreamer-devel mailing list