Nezmer <[email protected]> added the comment: Hi,
ffmpeg does not work here with video4linux2 devices on FreeBSD. I'm running a user-space daemon called webcamd which uses linux webcam/dvb drivers. Applications/libraries using (or patched to use) libv4l work very well. ffmpeg doesn't. The only relevant line I changed to make ffmpeg compile with v4l support is in libavdevice/v4l2.c: -#include <asm/types.h> +#include <sys/types.h> I'm not a programmer so I can't help with patches. Should I file a new feature request? ffmpeg -f video4linux2 -i /dev/video0 1.mkv FFmpeg version git-0097d3b, Copyright (c) 2000-2010 the FFmpeg developers built on Sep 19 2010 19:33:14 with gcc 4.5.2 20100805 (prerelease) configuration: --cc=/usr/local/bin/gcc45 --disable-stripping --mandir=/usr/local/man --enable-gpl --enable-nonfree --enable-version3 --enable-libmp3lame --enable-libspeex --enable-librtmp --enable-libfaac --enable-libx264 --enable-libxvid --enable-libschroedinger --enable-libvpx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-shared --enable-pthreads --enable-x11grab --enable-postproc --enable-pic --enable-runtime-cpudetect libavutil 50.26. 0 / 50.26. 0 libavcore 0. 9. 0 / 0. 9. 0 libavcodec 52.89. 0 / 52.89. 0 libavformat 52.78. 4 / 52.78. 4 libavdevice 52. 2. 2 / 52. 2. 2 libavfilter 1.38. 3 / 1.38. 3 libswscale 0.11. 0 / 0.11. 0 libpostproc 51. 2. 0 / 51. 2. 0 [video4linux2 @ 0x825c23000] mmap: Invalid argument /dev/video0: Input/output error ________________________________________________ FFmpeg issue tracker <[email protected]> <https://roundup.ffmpeg.org/issue1816> ________________________________________________
