Re: Virtual camera on OBS-Studio not working

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

 



On Thu, Apr 29, 2021 at 4:12 PM Paul Smith <phhs80@xxxxxxxxx> wrote:
>
> On Thu, Apr 29, 2021 at 3:59 PM Jonathan Billings <billings@xxxxxxxxxx> wrote:
> >
> > > ---------------------------
> > > [  263.923694] EDAC amd64: Node 0: DRAM ECC disabled.
> > > [  265.686950] systemd-sysv-generator[37295]: SysV service
> > > '/etc/rc.d/init.d/livesys' lacks a native systemd unit file.
> > > Automatically generating a unit file for compatibility. Please update
> > > package to include a native systemd unit file, in order to make it
> > > more safe and robust.
> > > [  265.686995] systemd-sysv-generator[37295]: SysV service
> > > '/etc/rc.d/init.d/livesys-late' lacks a native systemd unit file.
> > > Automatically generating a unit file for compatibility. Please update
> > > package to include a native systemd unit file, in order to make it
> > > more safe and robust.
> > > [  366.970723] uvcvideo: Failed to query (SET_CUR) UVC control 10 on
> > > unit 2: -32 (exp. 2).
> > > [  366.987741] uvcvideo: Failed to query (SET_CUR) UVC control 4 on
> > > unit 1: -32 (exp. 4).
> > > ---------------------------
> >
> > I don't see anything in particular wrong with that.  The uvcvideo
> > output is probably for your real video device.
> >
> > Do you see the v4l2loopback device in v4l2-ctrl?  For example, I
> > loaded the rpmfusion package 'akmod-v4l2loopback' and enabled the
> > akmods service, and now I see:
> >
> > $ v4l2-ctl --list-devices
> > OBS Virtual Camera (platform:v4l2loopback-000):
> >         /dev/video0
>
> Thanks, Jonathan. In my case, I get:
>
> $ v4l2-ctl --list-devices
> OBS Virtual Camera (platform:v4l2loopback-000):
>     /dev/video0
>
> EasyCamera 5M: EasyCamera 5M (usb-0000:01:00.0-7):
>     /dev/video2
>     /dev/video3
> $

This may be related:

------------------------------
$ ffmpeg -i /dev/video2 -f v4l2 /dev/video4
ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 11 (GCC)
  configuration: --prefix=/usr --bindir=/usr/bin
--datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg
--incdir=/usr/include/ffmpeg --libdir=/usr/lib64
--mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -flto=auto
-ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection'
--extra-ldflags='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' --extra-cflags='
-I/usr/include/rav1e' --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3
--enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r
--enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom
--enable-libdav1d --enable-libass --enable-libbluray --enable-libcdio
--enable-libdrm --enable-libjack --enable-libfreetype
--enable-libfribidi --enable-libgsm --enable-libmp3lame
--enable-libmysofa --enable-nvenc --enable-openal --enable-opencl
--enable-opengl --enable-libopenjpeg --enable-libopenmpt
--enable-libopus --enable-libpulse --enable-librsvg --enable-librav1e
--enable-libsmbclient --enable-version3 --enable-libsoxr
--enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1
--enable-libtheora --enable-libvorbis --enable-libv4l2
--enable-libvidstab --enable-libvmaf --enable-version3
--enable-vapoursynth --enable-libvpx --enable-vulkan
--enable-libglslang --enable-libx264 --enable-libx265 --enable-libxvid
--enable-libxml2 --enable-libzimg --enable-libzvbi --enable-lv2
--enable-avfilter --enable-avresample --enable-libmodplug
--enable-postproc --enable-pthreads --disable-static --enable-shared
--enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64
--enable-lto --enable-libmfx --enable-runtime-cpudetect
  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
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
Input #0, video4linux2,v4l2, from '/dev/video2':
  Duration: N/A, start: 7710.349826, bitrate: 110592 kb/s
  Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x360,
110592 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> rawvideo (native))
Press [q] to stop, [?] for help
[video4linux2,v4l2 @ 0x55c856f6b040] Unable to open V4L2 device '/dev/video4'
Could not write header for output file #0 (incorrect codec parameters
?): No such file or directory
Error initializing output stream 0:0 --
Conversion failed!
$
------------------------------

Paul
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux