Jump to content
Sign in to follow this  
par11

Interface camera with BBB

Recommended Posts

I am trying Derek Molloy's video & frame capture program. Anyone tried with Logitech c525?

1. When I try this
./capture -F -c 600 -o > output.raw

Force Format 2
Timeout

2. When I try this
./grabber.c
Permission denied

Anyone can help me out?

Share this post


Link to post
Share on other sites

My problem is solved, and I can tell u all, Logitech c525 works fine

I am using Logitech c525. It supports yuyv, mjpg and not h.264. So I was unable to use ./capture correctly. I was able to resolve my problem by using
./capture -c 600 -o > output.raw

In this case, the default setting for output format was used. I set it too mjpg using

root@beaglebone:/dev# v4l2-ctl –set-fmt-video=pixelformat=1

 

 

To resolve my 2nd doubt, I compiled the code, which I forgot to do. Use –

gcc –O2 –Wall `pkg-config –cflags –libs libv4l2` grabber.c –o grabber

 Then I was able to execute with no problems. (Don’t forget to press Ctrl+C to end frame capturing process, else your directory will be full of grabber001.ppm, grabber002.ppm, etc)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...