Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: Chuck Randall <shibboleth@ro...> - 2007-12-18 03:04:01
|
Hi Cesar, Your suggested export stmts and configure command line got me much farther! But it stops at an odd place during the 'make': ranlib libavcodec.a make[1]: Leaving directory `/usr/build_1161/ffmpeg-export-2007-12-06/ libavcodec' make -C libavformat all make[1]: Entering directory `/usr/build_1161/ffmpeg-export-2007-12-06/ libavformat' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/build_1161/ffmpeg-export-2007-12-06/ libavformat' make -C libavdevice all make[1]: Entering directory `/usr/build_1161/ffmpeg-export-2007-12-06/ libavdevice' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/build_1161/ffmpeg-export-2007-12-06/ libavdevice' make: *** No rule to make target `/usr/ffmpeg/ffmpeg- export-2007-12-06/libavformat/avformat.h', needed by `ffmpeg.o'. Stop. I'm not sure how to interpret this. Is is saying that it can't find avformat.h? Or is it trying to generate it? Strange that it says there's 'nothing to be done' for libavformat. Thanks, Chuck On Dec 10, 2007, at 2:53 PM, Cesar Maciel wrote: > Hi Chuck. > These were the flags I passed to the configure script: > > ./configure --cross-compile --cc=arm-linux-gcc --arch=arm > --extra-cflags=-O3 > > Prior to run the configure script, I also set the following variables: > > export PATH=/usr/src/gumstix-buildroot/build_arm_nofpu/staging_dir/ > bin:$PATH > export CC=arm-linux-gcc > export CXX=arm-linux-g++ > > I am cross-compiling on an openSuse 10.2 system. > > Adding some more information for people looking for video streaming > (not > recording, at least not locally), there is a package that looks like a > very nice candidate. uvc_streamer is a tool that grabs the video > stream > from an UVC webcam and streams it through the network. If you get a > webcam that outputs mjpeg frames, it handles 640x480 at 30fps with > minimal CPU usage. I tried it on a 400 MHz PowerPC machine and could > stream 640x480 at 30fps with less than 5% CPU usage. And since it > grabs > the mjpeg frames directly from the webcam (I am using a Logitech > Quickcam 5000), it does not need to process anything, so the > absence of > the FPU on the gumstix should not be a problem. > The Linux UVC driver (http://linux-uvc.berlios.de/) must be first > compiled and installed on the Gumstix. Someone asked about it here > last > week. I have not yet tried to compile it, but it seems to be a well > behaved module (compilation for ppc works fine). If someone > compiles UVC > for the gumstix, please post details. > Firefox, VLC and some other video tools can play the stream directly > from the network. VLC is very resource efficient too. > > Regards > Cesar > > > Chuck Randall wrote: >> Hi Cesar, >> >> I, too, am trying to get video capture working on the gumstix, using >> ffmpeg. Can I ask how you were able to build ffmpeg for the gumstix? >> When I try I get: >> >> $ ./configure --host=arm-linux >> Unknown option "--host=arm-linux". >> >> Thanks! >> Chuck >> >> >> On Oct 30, 2007, at 10:50 AM, Cesar Maciel wrote: >> >> >>> Hi Jeff, >>> I was using v4l, with an USB webcam, running ffmpeg for video >>> capture, >>> using an avi codec. at 15fps CPU usage was around 92%, and the "q" >>> factor on ffmpeg (that indicates quality, from 0 to 28) was >>> between 15 >>> and 20. >>> I tried capturing at 25fps but the output file for some reason was >>> running at 1fps (although the size indicated that the 25fps rate >>> was used). >>> I tried to capture using 640x480 but not even at 10fps I could >>> get a >>> decent video. >>> If you have other experiences, with or without gumstix, I'll be >>> interested in hearing. I am also looking for a solution on video >>> capture. >>> regards >>> Cesar >>> >>> >>> Jeff Tyler wrote: >>> >>>> Cesar, >>>> >>>> How much CPU did you have left at 15fps? I'm looking at a >>>> streaming >>>> video application myself. Were you running VFL with a USB cam? >>>> >>>> JT >>>> >>>> Cesar Maciel wrote: >>>> >>>> >>>>> Look for other solution, unfortunately. I have been playing >>>>> with the >>>>> gumstix for video, and the best I could get was 320x240 at 15fps >>>>> (on a >>>>> verdex 400 MHz). The lack of a fp unit makes video capture a very >>>>> CPU >>>>> intensive task for the gumstix. >>>>> regards >>>>> Cesar >>>>> >>>>> >>>>> David Reilly wrote: >>>>> >>>>> >>>>>> Hi, >>>>>> >>>>>> I wonder if anyone might be able to point me in the direction >>>>>> of a >>>>>> third party developer who has or is creating a solution around >>>>>> the >>>>>> Gumstix for the following requirement; >>>>>> >>>>>> Capture of video or HD quality video from a lightweight lense, >>>>>> gumstick running codec to compress into mpeg4 and store on a >>>>>> 8Gb Sd >>>>>> card or similar. The idea is that this device would be very >>>>>> light, >>>>>> including power, and could be self-contained to be able to be >>>>>> lifted >>>>>> into the air by a remote controlled aircraft. The video could >>>>>> then be >>>>>> retrieved by plugging the memory card into a computer. >>>>>> >>>>>> Any pointers you can give of existing products, in development >>>>>> products or developers who would be interested in creating a >>>>>> solution. >>>>>> >>>>>> Thanks >>>>>> >>>>>> Regards >>>>>> >>>>>> David Reilly >>>>>> (United Kingdom) >>>>>> |