![]() |
2010-03-01
, 15:46
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#71
|
![]() |
2010-03-01
, 16:34
|
Posts: 240 |
Thanked: 68 times |
Joined on Nov 2009
|
#72
|
This is nothing to do with C, it's standard UNIX filesystem stuff. In X Terminal, to see the permissions, do (you'll need to change to the directory where you extracted the files first):
If the expcomp file it doesn't show up with (at the start of the line) "-rwx" then you'll need to reset the permissions:Code:ls -l expcomp
I'd also advise reading something like http://freeengineer.org/learnUNIXin10minutes.html to get to know a bit more about what these commands are doing.Code:chmod 755 expcomp
![]() |
2010-03-04
, 17:37
|
Posts: 240 |
Thanked: 68 times |
Joined on Nov 2009
|
#73
|
#!/bin/sh ~/expcomp -4 gst-launch v4l2src device=/dev/video0 num-buffers=2 ! ffmpegcolorspace ! dspjpegenc ! filesink location=/home/user/MyDocs/rawHDRtest_-4.jpeg ~/expcomp 2 gst-launch v4l2src device=/dev/video0 num-buffers=2 ! ffmpegcolorspace ! dspjpegenc ! filesink location=/home/user/MyDocs/rawHDRtest_-2.jpeg ~/expcomp 2 gst-launch v4l2src device=/dev/video0 num-buffers=2 ! ffmpegcolorspace ! dspjpegenc ! filesink location=/home/user/MyDocs/rawHDRtest_0.jpeg ~/expcomp 2 gst-launch v4l2src device=/dev/video0 num-buffers=2 ! ffmpegcolorspace ! dspjpegenc ! filesink location=/home/user/MyDocs/rawHDRtest_2.jpeg ~/expcomp 2 gst-launch v4l2src device=/dev/video0 num-buffers=2 ! ffmpegcolorspace ! dspjpegenc ! filesink location=/home/user/MyDocs/rawHDRtest_4.jpeg
The Following 4 Users Say Thank You to bachagabriel For This Useful Post: | ||
![]() |
2010-03-04
, 17:45
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#74
|
![]() |
2010-03-04
, 21:23
|
Posts: 240 |
Thanked: 68 times |
Joined on Nov 2009
|
#75
|
![]() |
2010-03-05
, 00:33
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#76
|
![]() |
2010-03-06
, 03:08
|
Posts: 113 |
Thanked: 22 times |
Joined on Feb 2010
@ Venezuela
|
#77
|
![]() |
2010-03-06
, 08:29
|
Posts: 210 |
Thanked: 62 times |
Joined on Jan 2010
@ Helsinki, Finland
|
#78
|
![]() |
2010-03-06
, 09:05
|
Posts: 182 |
Thanked: 69 times |
Joined on Nov 2009
@ Netherlands
|
#79
|
bachagabriel: I did compose the picture with the camera app, and the photo I took in the camera app is in sharp focus. But the photos taken by the script after closing the camera app are all out of focus.
The Following User Says Thank You to maartenmk For This Useful Post: | ||
![]() |
2010-03-07
, 02:46
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#80
|