[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gstreamer-devel
Subject:    Re: [gst-devel] [Gstreamer-openmax] Regarding camcoder exit using
From:       "Felipe Contreras" <felipe.contreras () gmail ! com>
Date:       2008-11-28 13:14:23
Message-ID: 94a0d4530811280514w5f06cf36kefe17daf713b09b4 () mail ! gmail ! com
[Download RAW message or body]

On Fri, Nov 28, 2008 at 8:28 AM, Manish Sharma <manishsharma13@gmail.com> wrote:
> Hi All,
>
> I am using following camcoder gst-pipeline on my board with gst-launch
> application.
>
> gst-launch avimux name=mux bigfile=true ! filesink locationÊm_vga_20.avi {
> alsasrc blocksize@96 !
> 'audio/x-raw-int,endianness34,signed=true,width,depth,rateD100,channel=2'
> ! queue ! omx_aacenc ! mux. } { v4l2src queue-size !
> 'video/x-raw-yuv,framerate /1,widthd0,heightH0' ! tee name=tvv tvv. !
> queue ! xvimagesink tvv. ! queue max-size-buffers=1 ! omx_mpeg4enc ! mux.}

First of all, {} are old style, then, it's 'channels', not 'channel',
also, it would be better if you specify the YUV format, queues should
be before the muxer AFAIK, and last, maybe you should try first
without the xvimagesink

gst-launch-0.10 avimux name=mux bigfile=true ! filesink
locationÊm_vga_20.avi \
alsasrc blocksize@96 !
'audio/x-raw-int,endianness34,signed=true,width,depth,rateD100,channels=2'
! omx_aacenc ! queue ! mux. \
v4l2src queue-size !
'video/x-raw-yuv,framerate /1,widthd0,heightH0,format=(fourcc)I420'
! omx_mpeg4enc ! queue ! mux.

How does that works?

> It works fine but when I press ctrl+C, the v4l2 and alsa src are closed
> properly.

I guess you meant "aren't closed properly".

--
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_id0&url=/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic