« Return to Thread: Re: installing a web cam

Re: installing a web cam

by Parag Shah-3 :: Rate this Message:

Reply to Author | View in Thread

Hi Jagadeesh,

I tried the command you mentioned, but get an error message (shown below):

[video4linux2 @ 0x7fabdf7e3040]Missing/Wrong width, height or framerate
/dev/video0: Error while opening file

There are some lines preceding the error message as well: Here's the entire dump from the screen:

FFmpeg version r11872+debian_3:0.svn20080206-12ubuntu3.1, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-pp --enable-swscaler --enable-x11grab --prefix=/usr --enable-libgsm --enable-libtheora --enable-libvorbis --enable-pthreads --disable-strip --enable-libfaad --enable-libfaadbin --enable-liba52 --enable-liba52bin --enable-libdc1394 --enable-shared --disable-static
  libavutil version: 49.6.0
  libavcodec version: 51.50.0
  libavformat version: 52.7.0
  libavdevice version: 52.0.0
  built on Mar 13 2009 17:52:45, gcc: 4.3.2
Input #0, oss, from '/dev/dsp':
  Duration: N/A, start: 1247031899.394249, bitrate: N/A
    Stream #0.0: Audio: pcm_s16le, 44100 Hz, mono, 705 kb/s
[video4linux2 @ 0x7f9101a12040]Missing/Wrong width, height or framerate
/dev/video0: Error while opening file



Am I missing something?
 
Regards
Parag Shah

________________________________
From: Jagadeesh N. Malakannavar <mnjagadeesh@...>
To: twincling@...
Sent: Thursday, 2 July, 2009 10:30:57 AM
Subject: Re: [twincling] installing a web cam

Hi Jyothi,

Sit in front of you laptop and run following command

ffmpeg -f oss -i /dev/dsp -f video4linux2 -s 320x240 -i /dev/video0
jyothi.mpg

Then smile for couple of minutes and then hit 'q' [without '']

Thats it. Your smile is captured in jyothi.mpg

Thanks
Jagadeesh

 « Return to Thread: Re: installing a web cam