[Bug 194734] New: multimedia/ffmpeg24 doesn't capture video from webcam

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 1 09:11:35 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194734

            Bug ID: 194734
           Summary: multimedia/ffmpeg24 doesn't capture video from webcam
           Product: Ports Tree
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: riggs at FreeBSD.org
          Reporter: borius at i.ua
          Assignee: riggs at FreeBSD.org
             Flags: maintainer-feedback?(riggs at FreeBSD.org)

try to capture video from a USB camera but it won't work. I installed webcamd,
ffmpeg24, pwcview. The pwcview successfully got picture from the USB camera but
ffmpeg can't do it.

root@:~ # setenv LD_PRELOAD /usr/local/lib/libv4l/v4l1compat.so 
root@:~ # ffmpeg24 -s 320x240 -r 15 -f v4l2 -i /dev/video0 test.avi
ffmpeg version 2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
  built on Oct 31 2014 21:03:33 with FreeBSD clang version 3.4.1
(tags/RELEASE_34/dot1-final 208032) 20140512
  configuration: --disable-libaacplus --disable-libopencore-amrnb
--disable-libopencore-amrwb --disable-libass --disable-libcdio
--disable-libcelt --disable-libfaac --disable-libfdk-aac --enable-ffserver
--enable-fontconfig --enable-libfreetype --enable-frei0r --enable-gnutls
--enable-libgsm --enable-iconv --disable-indev=jack --disable-libmp3lame
--disable-libbluray --enable-libv4l2 --disable-libmodplug --disable-openal
--disable-indev=openal --enable-libopencv --enable-libopenjpeg
--disable-libopus --enable-libpulse --disable-librtmp --enable-libschroedinger
--disable-libspeex --enable-libtheora --disable-vaapi --disable-vdpau
--enable-libvorbis --disable-libvo-aacenc --disable-libvo-amrwbenc
--enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid
--enable-x11grab --prefix=/usr/local --mandir=/usr/local/man
--datadir=/usr/local/share/ffmpeg24 --docdir=/usr/local/share/doc/ffmpeg24
--incdir=/usr/local/include/ffmpeg24 --libdir=/usr/local/lib/ffmpeg24
--shlibdir=/usr/local/lib/ffmpeg24 --build-suffix=24 --enable-shared
--enable-gpl --enable-postproc --enable-avfilter --enable-avresample
--enable-pthreads --enable-memalign-hack --disable-libstagefright-h264
--disable-libutvideo --disable-libsoxr --cc=cc --extra-cflags='-msse
-I/usr/local/include/vorbis -I/usr/local/include'
--extra-ldflags='-L/usr/local/lib ' --extra-libs=-pthread --disable-debug
--disable-ffplay --disable-outdev=sdl
  libavutil      54.  7.100 / 54.  7.100
  libavcodec     56.  1.100 / 56.  1.100
  libavformat    56.  4.101 / 56.  4.101
  libavdevice    56.  0.100 / 56.  0.100
  libavfilter     5.  1.100 /  5.  1.100
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  0.100 / 53.  0.100
[video4linux2,v4l2 @ 0x80dc4e420] The driver changed the time per frame from
1/15 to 1/30
libv4l2: error mmapping buffer 16: Invalid argument
[video4linux2,v4l2 @ 0x80dc4e420] ioctl(VIDIOC_QBUF): Invalid argument
libv4l2: warning v4l2 mmap buffers still mapped on close()
/dev/video0: Invalid argument

--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Auto-assigned to maintainer riggs at FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list