From: Manish S. <man...@gm...> - 2008-12-01 11:27:19
|
HI Felipe, > 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=cam_vga_20.avi \ > alsasrc blocksize=4096 ! > > 'audio/x-raw-int,endianness=1234,signed=true,width=16,depth=16,rate=44100,channels=2' > ! omx_aacenc ! queue ! mux. \ > v4l2src queue-size=16 ! > 'video/x-raw-yuv,framerate=20/1,width=640,height=480,format=(fourcc)I420' > ! omx_mpeg4enc ! queue ! mux. > > How does that works? > Thank for the above information it works fine. It is playing fine with the media player. How to add the xvimagesink where to put the queue. > > > 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". > Yup it is a mistake... :) Regards, Manish |