mjpg-streamer on mini2440, using embedded camera

Vladimir Fonov
Hello All,

I have made a plugin for mjpg-streamer application, allowing to use
mini2440 as a webcam. Source code and installation instructions are
available here: http://code.google.com/p/mjpg-streamer-mini2440/

Precompiled binary with support for CAM130 and USB UVC webcam is here:
http://mjpg-streamer-mini2440.googlecode.com/files/mjpg-streamer-mini244...
- just copy to mini2440 filesystem, untar and run start_s3c2410.sh or
start_uvc.sh

Clemente
Hello Vladimir,
thank you very much!

Clemente

Peter
Hello,

thank you, but using it with a quickcam express (old model) does not show
any picture in the webbrowser. If i choose to save the pictures, some jpgs
are saved, but icannot diyplay them, says "invalid format" in irfanview
etc..

Do i have to give some special configuration? i already adapted the picture
size to 360x296, which seems to be fine...

Any hints for me maybe? Thanky you.

Vladimir Fonov
Hello Peter,

I am not sure if it will work at all with quickcam - I have only tested it
with built-in camera (using my plugin) and with UVC camera (using standard
input_uvc.so plugin). 
Try using yuv mode with -y switch.

Peter
Thanks,

i tried that but he is complaining for libjpeg beeing 62 and not 70 ...
Although i installed libjpeg7 via aptitude but it seems like i cannot
uninstall libjpeg62 easily. Do you know how i can force him to use
libjpeg7?

Thank you

Vladimir Fonov
Hello,

I have just downloaded jpeg 7 from the JPEG Group website :
http://www.ijg.org/ and compiled it for FriendlyARM using provided gcc
( ./configure --host=arm-linux --disable-shared )

I then entered the paths to compiled library and the headers in
plugins/input_uvc/Makefile :
CFLAGS += ....... -I/home/vfonov/src/farm/jpeg-7
LFLAGS += -L/home/vfonov/src/farm/jpeg-7

Here you would have to replace /home/vfonov/src/farm/jpeg-7 with the path
to your build of libjpeg. 
 
perhaps I should explain it in the documentation. 

P.S. It looks like IJG have just realeased new version of libjpeg, now it
is version 8 ... Hopefully it will work the same way.

By the way, why did you decide to recompile the binaries? Is precompiled
version not working for you?

Peter
Hello,

i did not recompile it, i used the binaries. They are working correct.

but if i pass -y option to enable YUV to the output plugin, mjpegstreamer
(or the Inputlib (.so)) itself complains:

-----------------------------------------
MJPG Streamer Version.: 2.0
 i: Using V4L2 device.: /dev/video0
 i: Desired Resolution: 360 x 296
 i: Frames Per Second.: 10
 i: Format............: YUV
 i: JPEG Quality......: 80
 o: www-folder-path...: ./www/
 o: HTTP TCP port.....: 8080
 o: username:password.: disabled
 o: commands..........: enabled
Wrong JPEG library version: library is 62, caller expects 70
-------------------------------------------

(libjpeg7 is installed via apt-get, 62 also present)
also, if i remove 62 it does not work

Greets Peter

Vladimir Fonov
It have to be installed on mini2440, but it is strange - I thought that I
compiled with static library. 

Ok, try this one -
http://mjpg-streamer-mini2440.googlecode.com/files/mjpg-streamer-mini244...
it is compiled with version 6.2

Peter
Hello,

thanks for your effort! now it is running, but delivering a picture only
green/pink and 2/3 boxes contauining the same "pic". Guess there is
something wrong with the palette/format still.

Maybe ill get an UVC cam more up to date ;))

Thank you
Peter

Vladimir Fonov
Hello,

I have tried to add support for a few extra pixel formats, try it with your
camera:

http://mjpg-streamer-mini2440.googlecode.com/files/mjpg-streamer-mini244...

Vladimir Fonov
Hello,


sorry a nasty error got into the r5, so correct download would be r6:

http://mjpg-streamer-mini2440.googlecode.com/files/mjpg-streamer-mini244...

Peter
Hello,

unfortunately i get this output now (r6):

MJPG Streamer Version.: 2.0
 i: Using V4L2 device.: /dev/video0
 i: Desired Resolution: 360 x 296
 i: Frames Per Second.: 10
 i: Format............: YUV
 i: JPEG Quality......: 80
 Pixel format is unavailable, using GRBG
 should never arrive exit fatal !!
 i: init_VideoIn failed


Thank you very much,
Best Regards,
Peter

Vladimir Fonov
Hello,

it looks like the camera is producing unprocessed Bayer data, it should not
be difficult to convert from it to YUV, for example using libv4l:
http://freshmeat.net/projects/libv4l, but currently I don't have time. 

Maybe you could try to do it yourself? 

Just add another case statement in
http://mjpg-streamer-mini2440.googlecode.com/svn/trunk/plugins/input_uvc...
function compress_yuyv_to_jpeg and find appropriate conversion algorithm in
libv4l

Mkut
Thanks for project. Nice work.

S.Onur Selamet
I loved this project. Thank you very much for your pretty work ;)

Peter
Alright, ill give it a try these days...

Thanks for your extensive support ;)

Gerald
forgive me if this question is too shallow, but does this application allow
you to stream video using wifi, or ethernet?

We would like to use the Mini/Micro board for an autonomous vehicle while
providing video stream in real time.

Vladimir Fonov
Hello,

mjpg-streamer is basically a web server, able to send mjpeg stream. So it
can work through any connection. 

The problem with video stream in realtime is that, if you use cam130 camera
module, compression of the images is done in software, and there is also
internal buffering. So, with current implementation seem to produce around
4 frames/sec and delay of ~ 2 sec using 640x512 resolution.

If you connect a UVC camera , which is able to compress images internally,
then frame rate goes up and delay lowers to around 1/2 sec.

Peter
Hello Vladimir,

i added a new switch statement (trying several FMTs), but i think it is
breaking already in function "init_VideoIn".

Do you have a hint, if the the change needs to be done in the
compress_yuv_to_jpeg function or in the init_VideoIn (also has a switch
statement regarding format)?
Btw: i could not figure out yet, which of the V4L PIXFMTs would be
suitable, google will not tell, neither my brain does ;) (already tried
SGB... and BGR...)

Best regards
Peter

Vladimir Fonov
Hello,

yes, I am sorry I forgot about this part.
So, in the init_videoIn(v4luvc.c) the memory should be allocated, and in 
compress_yuyv_to_jpeg (jpeg_utils.c) appropriate conversion should be
defined. 
You can just convert your image into YUV format somehow (or grayscale just
to see something). 

Now , I changed the code so it always allocates memory - try to see how it
will work with you camera.
http://mjpg-streamer-mini2440.googlecode.com/files/mjpg-streamer-mini244...
- precompiled package

BTW. you can do all the testing directly on your PC, just compile it using
normal gcc (i.e make CC=gcc )

Peter
Hello,

R7 is showing a nearly perfect black/white picture (little pixelated, like
dithering? (looks like..)

Ill try to give it some color in the compress function by tomorrow ;)

Thank you..
Peter

Vivek
was trying to modify/enable for motion detection.  not getting debugging
messages from input_uvc even after setting -DDEBUG.

prev_size is also not defined, so declared that as global variable.

I am not very familiar with C coding. not sure if I am doing something
wrong.

TIA
Vivek

Vladimir Fonov
Hello,

yes, it seems that DEBUG option doesn't do much. I suggest
debugging/developing on a pc target (i.e make CC=gcc will do it) then you
can use gdb or various higher level developing tools (Kdevelop,
CODE::BLOCKS etc ). Once it is working on a pc, try to compile it for mini

Peter
Hello Vladimir,

i am compiling the source for the mini, but it will not run:
-----------
.....
 i: JPEG Quality......: 80
 Pixel format is unavailable, using GRBG
WARNING: unknown frame format, expect wiered results!
 o: www-folder-path...: ./www/
 o: HTTP TCP port.....: 8080
 o: username:password.: disabled
 o: commands..........: enabled
Illegal instruction  <----- MY PROBLEM
-------------

Got this already for programs when not specifying e.g. arch type  for 
crosscompilation, but the information should be correct in the makefile (
using Codesourcery for example and other arm toolchains will not work, they
produce correct files for my self programmed stuff)

Maybe you have a hint, if there is something special? MJpeg-streamer is
running in general i think, because it starts as seen above... but then
breaks..

Do you have a hint maybe?

Regards Peter

Vladimir Fonov
Hello,

there are several underlying Makefiles, and the way it is currently setup,
they are not called if .so files (plugins) are present in the current
directory. 
So, if you build once for pc, but then decided to rebuild for mini2440, but
didn't delete .so files (or made make clean) it will not rebuild those
plugins using proper compiler.

Peter
Hello Vladimir,

i got a fresh SVN checkout and made sure, that initial make was done with
the CodeSourcery toolchain..

Which toolchain /gcc Parameters do you use?
I have to specify -march=armv4t in order to run a program correctly (did
that with mjpg, too)

Greets Peter

Peter
PS:

um, i see that only for mjpg streamer the arch option is taken and not for
e.g. the plugins...

Will try to adapt the makefiles...

Peter
Changed all the makfiles, now i can run my build ;)
Will now try adding a suiting format..

Vladimir Fonov
Hello,

I usually setup environment variables for this, ie I have a file with
following contents:

#friendlyARM.env

BASE=/opt/FriendlyARM

export CROSS_COMPILE=arm-linux-
export ARCH=arm # Platform architecture
export CC=${CROSS_COMPILE}gcc;        echo CC: ${CC}
export AR=${CROSS_COMPILE}ar;         echo AR: ${AR}
export AS=${CROSS_COMPILE}as;         echo AS: ${AS}
export LD=${CROSS_COMPILE}ld;         echo LD: ${LD}
export NM=${CROSS_COMPILE}nm;         echo NM: ${NM}
export RANLIB=${CROSS_COMPILE}ranlib; echo RANLIB: ${RANLIB}
export STRIP=${CROSS_COMPILE}strip;   echo STRIP: ${STRIP}
export SIZE=${CROSS_COMPILE}size;     echo SIZE: ${SIZE}

export PATH=$BASE/usr/local/arm/4.3.2/bin:$PATH


Then , in the Makefile it uses CC variable to compile tools using
appropriate compiler, and if it's not set uses gcc

puma
Attachment: v4L2 Failed.JPG (42.96 KB)
Hi Vladimir,

I would like to seek your help on my USB cam using the mjpg-streamer. I got
an fatal error wherein it says "Unable to set format" (see attached). My
USB cam is working well with QT 2.2.0 USB cam app, but I wonder it didn't
work on the mjpg-streamer.

My mjpg-streamer server is working well using my built-in CAM130.

Thanks,
Puma

Vladimir Fonov
Hello,

did you try script start_uvc_yuv.sh (i.e using option -i "input_uvc.so -y"
) ?

puma
Hi Vladimir,

It's works well now using "start_uvc_yuv.sh" command. It's a great project
and I would like to credit you on that.

Thanks,
Puma

Vladimir Fonov
Hello,

I just made changes to original mjpg_streamer (
https://sourceforge.net/projects/mjpg-streamer/ ), so credit them as well.

Screwface
Hi Vladimir

I tried your mjpg_streamer package with CAM 130 but I get an error :

[root@FriendlyARM mjpg-stream]# ./start_s3c2410.sh 
MJPG Streamer Version.: 2.0
 i: Using V4L2 device.: /dev/video0
 i: Desired Resolution: 640 x 512
 i: Grayscale mode: off
ERROR opening V4L interface 
[root@FriendlyARM mjpg-stream]# 


I launch it from a FAT usb stick on the last available image (linux
2.6.32), the camera is plugged and I can use it with the Qtopia
application.

Do you have an idea of what I missed?

Thanks for your support

regards

Vladimir Fonov
Hello,

did you install the custom driver ? Because latest version of mjpg_streamer
can only work with custom CAM130 driver from
http://code.google.com/p/s3c2440camera/

Screwface
Hi Vladimir,

I tried again with th custom CAM130 driver and it works now.

Thank you for your great work!

unknowN
Hi Vladimir,

First thing, nice work and excellent project!
I have a little doubt: How can I access my webserver to see USB Cam images?


[root@FriendlyARM camera]# ./start_uvc_yuv.sh -i "input_uvc.so -y"
MJPG Streamer Version.: 2.0
 i: Using V4L2 device.: /dev/video0
 i: Desired Resolution: 640 x 480
 i: Frames Per Second.: 5
 i: Format............: YUV
 i: JPEG Quality......: 80
 format asked unavailable get width 160 height 120 
 o: www-folder-path...: ./www/
 o: HTTP TCP port.....: 8080
 o: username:password.: disabled
 o: commands..........: enabled

unknowN
Before start streaming...

[root@FriendlyARM /]# udhcpc 
udhcpc (v1.13.3) started
Sending discover...
Sending select for 192.168.10.9...
Lease of 192.168.10.9 obtained, lease time 864000
deleting routers
route: SIOCDELRT: No such process
adding dns 208.67.222.222
adding dns 200.204.0.10
adding dns 200.204.0.138

After streaming, in my browser:
http://192.168.10.9:8080/stream_simple.html

and nothing... Someone can help me?
Thanks

unknowN
I solved it!

It was my suck proxy...

but, the quality of image is bad in my SPC530NC/00
I'm using:
./mjpg_streamer -o "output_http.so -w ./www" -i "input_uvc.so -y -f 10 -q
100"

and resolution:

 i: Using V4L2 device.: /dev/video0
 i: Desired Resolution: 640 x 480
 i: Frames Per Second.: 10
 i: Format............: YUV
 i: JPEG Quality......: 100
 format asked unavailable get width 160 height 120    <--- PROBLEM
 o: www-folder-path...: ./www/
 o: HTTP TCP port.....: 8080
 o: username:password.: disabled
 o: commands..........: enabled

lesto
how many fps can you get?

Andreas
Hi Vladimir Fonov,

are you goning to port your mjpg-streamer project to the MINI6410 ?

Yours Andreas

Davy
I tried your mjpg_streamer package with CAM 130 but I get an error too:

[root@FriendlyARM mjpg-stream]# ./start_s3c2410.sh 
MJPG Streamer Version.: 2.0
 i: Using V4L2 device.: /dev/video0
 i: Desired Resolution: 640 x 512
 i: Grayscale mode: off
ERROR opening V4L interface 
[root@FriendlyARM mjpg-stream]# 

How to solve it?

santosh R patel
hi my environment variable on mini2440 lost when i reboot the system.
please tell what to do.
thanks in advance

Jeff
I am having problems getting my Logitech E2500 webcam working with
mjpg-streamer. I have tried both start_uvc.sh and start_uvc_yuv.sh and both
give me the simular errors 

MJPG Streamer Version.: 2.0
 i: Using V4L2 device.: /dev/video0
 i: Desired Resolution: 640 x 480
 i: Frames Per Second.: 5
 i: Format............: MJPG
Pixel format is unavailable, using JPEG
should never arrive exit fatal !!
i: init_videoIn failed

the camera will work with the QT usb camera app any ideas on how to get the
camera to work?

Joerg
How to start it automatic??

I try it in "etc/init.d/rcS" but not work.

Joerg
Hello Jeff. 
try the R62 Version. The other does the same as mine.

whitebank
Hi Joerg.
It could be run automatically by editing /etc/init.d/rcS:

#/bin/qtopia &                                    
#echo "                                  " > /dev/tty1
#echo "Starting Qtopia, please waiting..." > /dev/tty1
cd /mnt/mjpg_streamer/                                
./start_uvc.sh                                        

Note that, /mnt/mjpg_streamer/ is the directory of start_uvc. So, you
should change this directory in your mini2440.
However, i can't close program (normally by press Ctrl+c) until i unplug
the webcam.

Thiago Lopes
Hello Vladimir,

I'm having trouble to install the driver. Looking at the step:

¨compile new camera module , make KERNELDIR=<whenever you have linux
kernel>¨

 Where is this new camera module so i can compile it myself?
 i took this step by step on http://code.google.com/p/s3c2440camera/

dlk289
Does recompiling the kernel have better performance results?
Does the cmos camera of usb webcams have better performance?
anyone tried it with wifi?

I just got the cmos camera working tonight at 3fps.  although it didn't
work with my wifi...

excited to try out more and great job with the progam

Thiago Lopes
Hi dlk289,

Could you help and tell me how you made the cmos camera working?
the precompiled camera module didn't work for me and don't find the source
code to cross compile it myself.

Thank you

dlk289
Can you elaborate more about you problem? All i did was copy the files to a
SD card, inserted it into the device, ran start_s3c2410.sh, then i went to
my computer and typed http://192.168.1.230:8080/javascript.html into the
browser and up came the camera.

I got it to work with my usb camera, and it has better performance

what are you having problems with?

pansy_pmd
Hi all,
I am having a problems with webcam logitech c200. When i pluged it into
port usb on board mini2440, then i checked in /dev directory of root
filesystem, it appeared the console video0. Afterthat, i compiled
mjpg-streamer with CC=arm-linux-gcc. All things seem be ok. Then, I type
this command:
mini2440:/usr/mjpg-streamer# ./mjpg_streamer -i
"/usr/mjpg-streamer/input_uvc.so -d /dev/video0 -f 15 -r 320x240" -o
"/usr/mjpg-streamer/output_http.so -w /usr/mjpg-streamer/www"

But, one error occured like that:

MJPG Streamer Version.: 2.0
ERROR: could not find input plugin
       Perhaps you want to adjust the search path with:
       # export LD_LIBRARY_PATH=/path/to/plugin/folder
       dlopen: libjpeg.so.62: cannot open shared object file: No such file
or directory

I don't know how to solve this problem! it took me a lot of times but
result is nothing. i have tried for several times but stil the same
problem. Please help me! Thank you so much! :(

dlk289
pansy_pmd,

You shouldn't be running the .so file straight from the terminal.  You
should simply run the start_uvc.sh file.  It is a script and will use those
settings. You can open the script up in a text editor and change the
settings to what you wish.  hope that helps!

Edwar
hi mr Vladimir, i am a beginner who wants make a camera application that
can capture an image continously in a range of time, example every 5
minutes the camera will capture an image automatically and then send the
image to PC/notebook by usb cable or wireless network.
can i use your program to do this application??

Thiago Lopes
Hi dlk289,

Sorry for taking forever to answer you. That´s what i´ve done so far:
1: Installed my own Linux image into the board.
2: made my own cross compile toolchain
3: put the s3c2440camera.ko file and use use ¨insmod s3c2440camera.ko¨
4: got an error message...

this is copied from my console:
# insmod s3c2440camera.ko 
s3c2440camera: version magic '2.6.29.4-FriendlyARM mod_unload ARMv4 '
should be '2.6.27 preempt mod_unload ARMv4 '
insmod: can't insert 's3c2440camera.ko': invalid module format
# 

I only need the s3c2440camera.ko source code! 
can somebody help me?

edwar baihaqi
could you give me the command to edit etc/init.d/rcS??i am a beginner

scancool
I did all that and I'm getting this
[root@FriendlyARM /]# cd mjpg-streamer/                                    
    
[root@FriendlyARM /mjpg-streamer]# ls                                      
    
LICENSE               mjpg_streamer         start_uvc.sh                   
    
input_s3c2410.so      output_file.so        start_uvc_yuv.sh               
    
input_testpicture.so  output_http.so        www                            
    
input_uvc.so          start_s3c2410.sh                                     
    
[root@FriendlyARM /mjpg-streamer]# ./start_uvc.sh                          
    
-/bin/sh: ./start_uvc.sh: Permission denied                                
    
[root@FriendlyARM /mjpg-streamer]# 

why it says Permission denied?

james
hi~
to:scancoll

u can try this
#chmod 755 ./start_uvc.sh

chang the file configration.

that's should be working.

Andre
thank you james like this

[root@FriendlyARM /mjpg-streamer]# chmod 755 ./start_uvc.sh                
    
[root@FriendlyARM /mjpg-streamer]# ./start_uvc.sh                          
    
./start_uvc.sh: line 30: ./mjpg_streamer: Permission denied                
    
[root@FriendlyARM /mjpg-streamer]#

Andre
nevermind I miss this part

[root@FriendlyARM /mjpg-streamer]# chmod 755 ./mjpg_streamer               
    
[root@FriendlyARM /mjpg-streamer]# ./start_uvc.sh                          
    
MJPG Streamer Version.: 2.0                                                
    
 i: Using V4L2 device.: /dev/video0                                        
    
 i: Desired Resolution: 640 x 480                                          
    
 i: Frames Per Second.: 5                                                  
    
 i: Format............: MJPEG                                              
    
 o: www-folder-path...: ./www/                                             
    
 o: HTTP TCP port.....: 8080                                               
    
 o: username:password.: disabled                                           
    
 o: commands..........: enabled

Andre
I have this problem now

http://basicrobotics.net/Clipboard01.jpg

anyone knows why it says "Failed to connect to server(denied?)"

I tried by running this command 
[root@FriendlyARM /]# chmod 755 -R mjpg-streamer/
to set permission but I still get that error, and the LED on the camera
turns on when I run this command start_uvc.sh

prasad
sir ,
I'm using:
 ./start_uvc_yuv.sh

then i got this

 resolution:

 i: Using V4L2 device.: /dev/video0
 i: Desired Resolution: 640 x 480
 i: Frames Per Second.: 10
 i: Format............: YUV
 i: JPEG Quality......: 100
 format asked unavailable get width 160 height 120    <--- PROBLEM
 o: www-folder-path...: ./www/
 o: HTTP TCP port.....: 8080
 o: username:password.: disabled
 o: commands..........: enabled
 

what to do ?

prasad
sir ,
I'm using:
 ./start_uvc_yuv.sh

then i got this

 resolution:

 i: Using V4L2 device.: /dev/video0
 i: Desired Resolution: 640 x 480
 i: Frames Per Second.: 10
 i: Format............: YUV
 i: JPEG Quality......: 100
 format asked unavailable get width 320 height 240    <--- PROBLEM
 o: www-folder-path...: ./www/
 o: HTTP TCP port.....: 8080
 o: username:password.: disabled
 o: commands..........: enabled
 

what to do ?

Andre Marcio
I managed to compile and execute the start_uvc_yuv.sh, but all that I can
see is noise. What is wrong? In the USB Camera example program in the
Qtopia interface, my webcam works very well.

Any help?

Andre Marcio
[root@FriendlyARM /sdcard]# ./start_uvc_yuv.sh
MJPG Streamer Version.: 2.0
 i: Using V4L2 device.: /dev/video0
 i: Desired Resolution: 320 x 240
 i: Frames Per Second.: 5
 i: Format............: YUYV
 i: JPEG Quality......: 80
 requested YUYV but got JPEG format instead
 o: www-folder-path...: ./www/
 o: HTTP TCP port.....: 8080
 o: username:password.: disabled
 o: commands..........: enabled

That's what I've got. The webcam power led turns on, and all that I can see
in the example page is noise.
Any ideas?

Steve
hey Andre try to run ./start_uvc.sh instead

Andre Marcio
Steve, I've tried that. Didn't worked too.

Andre Marcio
Any idea?

Andre Marcio
Right now I am trying to cross compile the uvccapture
(http://staticwave.ca/source/uvccapture/), but I am having this problem:

[root@FriendlyARM /]# uvccapture -opicture.jpg -d/dev/video2 -x320 -y240
Unable to query buffer (22).
 Init v4L2 failed !! exit fatal

What could it be? I searched in the internet and found about low memory. No
warnings are shown about the uvccapture in the dmesg command.
 
Help?

Andre Marcio
My webcam is a a A4Tech PK-635K, and accord with the website
http://www.ideasonboard.org/uvc/, it is compatible with uvc.
What is the cause of the noise?

cyrus
Hello. Any one with idea can help please

i: Using V4L2 device.: /dev/video
 i: Desired Resolution: 640 x 480
 i: Frames Per Second.: 5
 i: Format............: YUV
 i: JPEG Quality......: 80
ERROR opening V4L interface: No such file or directory
 Init v4L2 failed !! exit fatal 
 i: init_VideoIn failed

Juergen Beisert
Run your command with the "strace" tool. Maybe it could help to show you,
what is missing.

Andre Marcio
Any help...?

Steve
just try a different camera and see what happens.

Andre Marcio
I think I'll try with a different Kernel! I saw that the 2.6.38 has some
problems with the V4L2. Anyone can confirm that?
I'll try to use the 2.6.36 and... I'm having trouble trying to compile and
execute the 2.6.28.6 Kernel. I receive a warning of incompatible device
name, even following the FriendlyARM tutorial.

Andre Marcio
Anyone got this working with the gspcav1.so driver?
I've tried that, but got a error with the color pallet.

Steve
yes I got it working, all i did was download into the mini2440 and run the
program, I didn't run into any problems.

Alexandre
Hi, 

I'm trying to use this project but I'm new with this development
enviroment. I'm having some trouble runnig the start_s3c2410.sh. The
message returned is "Segmentation fault". Can anybody help me with this?
I've read the whole discussion, but nobody seemed to have the same problem.
I'm using the r62 precompiled version.

Thanks.

Andre Marcio
Anyone who got this working could tell the webcam model used?
Thanks.

anmol rana
i am using compulab's cm-t3530 (omap 3530) eval kit. i have two nos. of
kits. one i have installed wince 6 and another linux kernel 2.6.32 and
above it linux angstrom gui. 

i want to capture video from logitech quickcam. i have ubuntu on my host
pc.

any ideas.

warm regards.

anmol rana
start_uvc.sh and start_uvc_yuv.sh give the folllowing error. i am using
logitech quikcam messenger and cm-t3530 (compulab) arm eval kit - linux
2.6.32

hi it is giving this error.

i: Using V4L2 device.: /dev/video
 i: Desired Resolution: 640 x 480
 i: Frames Per Second.: 5
 i: Format............: YUV
 i: JPEG Quality......: 80

format asked unavailabe get width 324 height 240
Pixel format is unavailable, using grgb
should never arrive exit fatal!!
1:init_VideoIn failed

thnx

shahul
Hi,

 I'm trying to connect usb camera with mini2440 using mjpg streamer
start_uvc.sh,s3c2440camera.ko and ./testcapture.c.I'm getting only read()
i/o not supported.I need a qtopia usb camera program for mini2440.Plz give
related code links....

rio
Hi!, i have same problem as pansy_pmd and i have try the dlk289 suggestion
but still have the same error, i also try to give the fullpath still not
work, i run it from start.sh and still give that error,
anyone help? thx

rio
this error:

ERROR: could not find input plugin
       Perhaps you want to adjust the search path with:
       # export LD_LIBRARY_PATH=/path/to/plugin/folder
       dlopen: ./input_uvc.so: cannot open shared object file: No such file
or directory

karunakar praveen k
hello sir,can i connect my mobile instead of web camera to mini 2440 for
mpeg streaming,my mobile  micromax x276 act as web camera whenever i
connect to PC and i am able to use my mobile as gmail voice chat,so i have
a doubt whether i can connect my mobile or not?

diwakaran
i am doing a project to stream usb webcam video using mini2440 with the
help of mjpg streamer.
i have untared mjpg streamer in my mini2440.but when start_uvc.sh is
executed it
shows error."unable to grab frames.unable to dequeue buffer" i am newbie..
any one pls  help me with  step by step instructions...
awaiting your reply
diwakaran

Anvesh Manne
When i use the driver from http://code.google.com/p/s3c2440camera/ and
http://code.google.com/p/mjpg-streamer-mini2440/ 

and i run the following command

./mjpg_streamer -i "./input_uvc.so -f 10 -r 640x480" -o "./output_file.so
-f pics -d 120000"

i get the following error.

/dev/video0 does not support streaming i/o
Init v4L2 failed !! exit fatal
i : init_VideoIn failed



I am trying to grab jpeg images from the CAM130 camera. Please let me know
how i can do this.

Thanks,
Anvesh

hatef_8
Attachment: ap04-mini6410-webcam.pdf (853.25 KB)
Hi everybody
aaccording to the attached file, I tried to use this code for mini6410
but I got error which is post in another topic:

http://www.friendlyarm.net/forum/topic/5876

but no advise was received.
could everyone help me to solve the problem
Thanks in advance.

hatef_8
Is there anyone who has a source of mjpg-streamer for mini2440?
I need it, cause I want to modify it for mini6410.

this is my Email: hatef.8@gmail.com


Thanks in advance.

Reply

Name
eMail (not visible)
Subject (no text only in upper case; no HELP, URGENT...)
Text
HTML tags are not supported and links are generated automatically if they start with http or ftp.
Please submit long source code or log files as attachment (only registered users).
Please enter the number without blanks: 9 1 0 3