Sponsored Content
Top Forums UNIX for Advanced & Expert Users capture sqsh segmentation fault error Post 302338195 by sudheer1984 on Monday 27th of July 2009 08:25:56 AM
Old 07-27-2009
guys,
any suggestions?
 

10 More Discussions You Might Find Interesting

1. Programming

segmentation fault

sometimes for this code i get a segmentation fault for codes llike this : int main{ int * a= 0; int b; a = (int*)malloc(sizeof(int)); ///some code using these variable but no freeing of a if(a){ free(a); a = 0; } return... (3 Replies)
Discussion started by: wojtyla
3 Replies

2. UNIX for Dummies Questions & Answers

What's the difference between Segmentation fault and Bus error and Illegal...?

What's the difference between Segmentation fault and Bus error and Illegal instruction? Sometimes I got the one, and sometimes i got another, what are their differences? Segmentation fault (core dump)? Bus error (core dump)? Illegal instruction (core dump) Thanks Daniel (2 Replies)
Discussion started by: lakeat
2 Replies

3. Programming

segmentation fault

If I do this. Assume struct life { char *nolife; } struct life **life; // malloc initialization & everything if(life->nolife == 0) Would I get error at life->nolife if it is equal to 0. wrong accession? (3 Replies)
Discussion started by: joey
3 Replies

4. Shell Programming and Scripting

Segmentation Fault(Core Dump) Error

Hi all, I have a folder with some 28 files. I have a script file that will iteratively take one file at a time from the folder and provide an output for the input file. Till the 7th file, there was no problem but from the 8th file onwards, i got this Segmentation Fault(Core Dump) error. A file... (2 Replies)
Discussion started by: mick_000
2 Replies

5. Programming

getting Segmentation Fault (core dumped) error but Program runs fine.

i am executing following program int main() { char str; FILE * fp; int i=0; ... (4 Replies)
Discussion started by: bhavesh.sapra
4 Replies

6. UNIX and Linux Applications

How to capture the value returned by a stored proc while executing it from SQSH connection

I have a very simple set up I am connecting to a MS SQL db using SQSH statement from a shell script In this sqsh connection i am trying to execute a stored proc However I want to capture the value returned by the stored proc. I haven't really come across anything useful so far which would... (0 Replies)
Discussion started by: shishirkotkar
0 Replies

7. Programming

Using gdb, ignore beginning segmentation fault until reproduce environment segmentation fault

I use a binary name (ie polo) it gets some parameter , so for debugging normally i do this : i wrote script for watchdog my app (polo) and check every second if it's not running then start it , the problem is , if my app , remain in state of segmentation fault for a while (ie 15 ... (6 Replies)
Discussion started by: pooyair
6 Replies

8. Programming

Segmentation fault

I keep getting this fault on a lot of the codes I write, I'm not exactly sure why so I'd really appreciate it if someone could explain the idea to me. For example this code #include <stdio.h> main() { unsigned long a=0; unsigned long b=0; int z; { printf("Enter two... (2 Replies)
Discussion started by: sizzler786
2 Replies

9. Programming

Segmentation Fault ERROR in C

Hello guys, i have this code: int main(int argc, char *argv) { int i, j, N, result = 0, **vec; if (argc < 2) { fprintf(stderr, "Usage: %s N\n", argv); } /* ... how many numbers to read */ N = atoi(argv); /* check if N is a power of two; exit if not */ if (!... (3 Replies)
Discussion started by: DinisR
3 Replies

10. Programming

C. To segmentation fault or not to segmentation fault, that is the question.

Oddities with gcc, 2.95.3 for the AMIGA and 4.2.1 for MY current OSX 10.14.1... I am creating a basic calculator for the AMIGA ADE *NIX emulator in C as it does not have one. Below are two very condensed snippets of which I have added the results inside the each code section. IMPORTANT!... (11 Replies)
Discussion started by: wisecracker
11 Replies
UVCCAPTURE(1)						      General Commands Manual						     UVCCAPTURE(1)

NAME
uvccapture - USB UVC Video Class snapshot software SYNOPSIS
uvccapture [options] DESCRIPTION
This manual page documents briefly the uvccapture command. The purpose of uvccapture is to capture an image from a USB webcam at a specified interval, and save it to a JPEG file, no other formats are supported, imagemagick can handle anything else you might need. OPTIONS
A summary of options is included below. -h Show summary of options. -v Verbose output. -o<filename> Output filename (default is snap.jpg) -d<device> V4L2 Device (default is /dev/video0) -x<width> Image Width (must be supported by device) (>960 activates YUYV capture) -y<height> Image Height (must be supported by device) (>720 activates YUYV capture) -c<command> Command to run after each image capture (executed as <command> <output_filename>) -t<integer> Take continuous shots with <integer> seconds between them (0 for single shot) -q<percentage> JPEG Quality Compression Level (activates YUYV capture) -r Use read instead of mmap for image capture -w Wait for capture command to finish before starting next capture -m Toggles capture mode to YUYV capture -B<integer> Brightness -C<integer> Contrast -S<integer> Saturation SEE ALSO
http://linux-uvc.berlios.de/ AUTHOR
uvccapture was written by Gabriel A. Devenyi <ace@staticwave.ca>. This software is based of the package luvcview by Laurent Pinchart and Michel Xhaard. This manual page was written by Krzysztof Burghardt <krzysztof@burghardt.pl>, for the Debian project (but may be used by others). 28th March, 2008 UVCCAPTURE(1)
All times are GMT -4. The time now is 06:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy