On Fri, Aug 08, 2008 at 02:25:57PM -0400, Paul Cartwright wrote: > On Fri August 8 2008, Andrew Sackville-West wrote: > > man ffmpeg and learn how to capture the audio as well. The very first > > example in the man page Examples section shows one way to do it. It > > depends of course on whether the spca driver actually works with audio > > and captures an audio stream. That I don't know. > > I also tried that line. it didn't work. I finally tweeked it to where it > accepted all parameters, but then segfaulted: > $ ffmpeg -t 120 -i /dev/video0 -target svcd /home/pbc/paulsvideo.avi > > FFmpeg version UNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al. > > configuration: --prefix=/usr --libdir=${prefix}/lib --shlibdir=${prefix}/lib > --incdir=${prefix}/include/ffmpeg --enable-shared --enable-libmp3lame > --enable-gpl --enable-libfaad --mandir=${prefix}/share/man --enable-libvorbis > --enable-pthreads --enable-libfaac --enable-libxvid --enable-pp > --enable-libamr-nb --enable-libamr-wb --enable-x11grab --enable-libgsm > --enable-libx264 --enable-liba52 --enable-libtheora --extra-cflags=-Wall -g > -fPIC -DPIC --cc=ccache > cc --enable-swscaler --disable-mmx > libavutil version: 49.5.0 > libavcodec version: 51.48.0 > libavformat version: 52.1.0 > built on Dec 7 2007 10:05:03, gcc: 4.2.3 20071123 (prerelease) (Debian > 4.2.2-4) > /home/pbc/bin/dowebcam: line 4: 3533 Segmentation fault ffmpeg -t > 120 -i /dev/video0 -target svcd /home/pbc/paulsvideo.avi
hmmm... I believe its possible, with some cameras, to cat /dev/video0 > myvidfile and then play it with mplayer. worth a shot. A
signature.asc
Description: Digital signature