NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: web-camera




On 6/13/21 5:00 PM, Todd Gruhn wrote:
"libc.so.12"  isnt that a C-programming lib?

On Sun, Jun 13, 2021 at 7:03 PM Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
On Sun, 13 Jun 2021 at 12:15, Todd Gruhn <tgruhn2%gmail.com@localhost> wrote:
Is there a nice way to collect it?   I get stuff about a linux device.
I dont understand why...

On Sun, Jun 13, 2021 at 7:12 AM nia <nia%netbsd.org@localhost> wrote:
On Sun, Jun 13, 2021 at 07:11:47AM -0400, Todd Gruhn wrote:
I built ffplay4 from  the current pkgsrc tree. It compiled completely, but
I get an error when I execute the command

ffplay4 /dev/video0
OK, what error...?
I tested ffplay4 on a -current system, which is a VirtualBox guest
(W10 client) and has an Intel F200 camera, it worked fine, up until I
tried to stop it - I got a core dump (not much info, it happened  in
__cxa_finalize () from /usr/lib/libc.so.12; the system was functional,
the mouse was working, but I lost the keyboard...

I'll later try the same laptop running -current on metal.

No luck on real hardware - I get:

........

ffplay version 4.4 Copyright (c) 2003-2021 the FFmpeg developers
  built with gcc 10.3.0 (nb1 20210411)
  configuration: --disable-ffmpeg --disable-ffprobe --disable-encoders --disable-decoders --disable-hwaccels --disable-muxers --disable-demuxers --disable-parsers --disable-bsfs --dis able-protocols --disable-devices --disable-filters --disable-htmlpages --disable-podpages --disable-txtpages --enable-ffplay --enable-dct --enable-mdct --enable-rdft --cc=gcc --disabl e-debug --disable-optimizations --disable-stripping --enable-gpl --enable-libxml2 --enable-pthreads --enable-shared --mandir=/usr/pkg/man --prefix=/usr/pkg --progs-suffix=4 --datadir= /usr/pkg/share/ffmpeg4 --docdir=/usr/pkg/share/doc/ffmpeg4 --incdir=/usr/pkg/include/ffmpeg4 --libdir=/usr/pkg/lib/ffmpeg4 --shlibdir=/usr/pkg/lib/ffmpeg4 --enable-runtime-cpudetect
  WARNING: library configuration mismatch

......  [similar configuration strings for a bunch of modules]

 libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
    nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0

[video4linux2,v4l2 @ 0x7be03402d000] Cannot find a proper format for codec 'none' (id 0), pixel format 'none' (id -1)
/dev/video0: Invalid argument
    nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0

As I said above, the same physical camera when passed through VirtualBox works on the same version NetBSD-current; the packages in both occasions were built on another NetBSD box (and installed via pkgin).


Strange.





--
----


Home | Main Index | Thread Index | Old Index