|
2010-04-12
, 14:42
|
Posts: 240 |
Thanked: 68 times |
Joined on Nov 2009
|
#102
|
I finally wrote a script that takes 5 pictures from -4 to +4 with 2 exposure intervals
It takes around 20 secs to take the pictures and they will be in your MyDocs folder
photo_bracketing.sh
Code:#!/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 User Says Thank You to bachagabriel For This Useful Post: | ||
|
2010-04-12
, 20:53
|
Posts: 100 |
Thanked: 18 times |
Joined on Jan 2010
@ Bristol, UK
|
#103
|
|
2010-04-12
, 21:02
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#104
|
location=/home/user/MyDocs/rawHDRtest_-2.jpeg
|
2010-04-12
, 21:49
|
Posts: 100 |
Thanked: 18 times |
Joined on Jan 2010
@ Bristol, UK
|
#105
|
Just changed each part of the script that saves files? (for example)
Code:location=/home/user/MyDocs/rawHDRtest_-2.jpeg
The Following User Says Thank You to saud khan For This Useful Post: | ||
|
2010-04-13
, 01:31
|
|
Posts: 1,559 |
Thanked: 1,786 times |
Joined on Oct 2009
@ Boston
|
#107
|
|
2010-04-13
, 06:39
|
Posts: 25 |
Thanked: 4 times |
Joined on Mar 2010
|
#108
|
|
2010-04-13
, 09:04
|
Posts: 100 |
Thanked: 18 times |
Joined on Jan 2010
@ Bristol, UK
|
#109
|
|
2010-04-13
, 09:14
|
|
Posts: 3,159 |
Thanked: 2,023 times |
Joined on Feb 2008
@ Finland
|
#110
|
PS: i have installed gstreamer by typing apt-get install gstreamer-tools and it did install successfully but i am still getting the pngenc error
Last edited by saud khan; 2010-04-12 at 02:24.