From: Ananthapadmanaban <gap...@e-...> - 2011-07-25 09:04:27
|
Hi gonçalo, Hope this works for you gst-launch -v v4l2src num-buffers=1000 ! video/x-raw-yuv,width=640,height=480,framerate=30/1 ! TIVidenc1 codecName=mpeg4enc engineName=codecServer ! avimux ! filesink location=sample_vga.mp4 Thanks and regards, Ananth. On Monday 25 July 2011 02:13 PM, Gonçalo Bernardo wrote: > Dear all, > > do you know if it is possible to direct the stream to an *.avi file or > similar instead of network streaming it? > is it worth using the DSP if you don't really want to stream but you > want a good quality video file? > > Thanks, > gonçalo > > On Fri, Jul 22, 2011 at 11:45 AM, Scott Ellis <sc...@ju... > <mailto:sc...@ju...>> wrote: > > Did you check for network activity? Also, why did you choose tcpserver > instead of udpserver? Isn't UDP more efficient with streaming video? > > Also remember you'll have to start the client first unless you add > the sprop-parameter-sets value to your client pipeline. > > You could also try a smaller image size. That drops the load > considerably. > > Using a command like this with the Logitech C510 > > gst-launch -v -e $VIDEO_SRC ! \ > video/x-raw-yuv,width=320,height=240 ! \ > ffmpegcolorspace ! \ > TIVidenc1 codecName=h264enc engineName=codecServer ! \ > dmaiperf print-arm-load=true engine-name=codecServer ! \ > rtph264pay pt=96 ! \ > udpsink host=$CLIENT_IP port=$PORT > > > Results in this from dmaiperf > > Timestamp: 0:08:20.897125245; bps: 4784; fps: 15; CPU: 32; DSP: 10; \ > mem_seg: DDR2; base: 0x87f0cfa0; size: 0x20000; maxblocklen: > 0x15798; \ > used: 0xa868; mem_seg: DDRALGHEAP; base: 0x87400000; size: > 0x900000; \ > maxblocklen: 0x83d500; used: 0xc2788; mem_seg: L1DSRAM; \ > base: 0x10f04000; size: 0x10000; maxblocklen: 0x0; used: 0x10000; > > > Where a 640x480 stream gives dmaiperf results like this > > Timestamp: 0:14:51.022888185; bps: 58999; fps: 16; CPU: 100; DSP: > 50; \ > mem_seg: DDR2; base: 0x87f0cfa0; size: 0x20000; maxblocklen: > 0x15798; \ > used: 0xa868; mem_seg: DDRALGHEAP; base: 0x87400000; size: > 0x900000; \ > maxblocklen: 0x765a00; used: 0x19a288; mem_seg: L1DSRAM; \ > base: 0x10f04000; size: 0x10000; maxblocklen: 0x0; used: 0x10000; > > > At least this is what I'm seeing. > > I have the camera plugged into the host port of a Tobi using a > Tide COM > running at 720 MHz watching on an Ubuntu workstation client. > > > The camera shows up this way in syslog > > ... > input: UVC Camera (046d:081d) as > /devices/platform/ehci-omap.0/usb2/2-2/2-2:1.2/input/input0 > usbcore: registered new interface driver uvcvideo > USB Video Class driver (v0.1.0) > ... > > And this way with the v4lexplore app > > === VIDIOC_QUERYCAP === > > driver: uvcvideo > card: UVC Camera (046d:081d) > bus_info: usb-ehci-omap.0-2 > version: 256 > capabilites: > V4L2_CAP_VIDEO_CAPTURE > V4L2_CAP_STREAMING > ... > > Scott > > -- > Sent from my Linux box > > > ------------------------------------------------------------------------------ > 10 Tips for Better Web Security > Learn 10 ways to better secure your business today. Topics covered > include: > Web security, SSL, hacker attacks & Denial of Service (DoS), > private keys, > security Microsoft Exchange, secure Instant Messaging, and much more. > http://www.accelacomm.com/jaw/sfnl/114/51426210/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > <mailto:gum...@li...> > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > > -- > .::Gonber::. > > > ------------------------------------------------------------------------------ > Storage Efficiency Calculator > This modeling tool is based on patent-pending intellectual property that > has been used successfully in hundreds of IBM storage optimization engage- > ments, worldwide. Store less, Store more with what you own, Move data to > the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ > > > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users |